1 2013-02-27 Roland McGrath <roland@hack.frob.com>
3 * csu/gmon-start.c: Add special exception to license text.
5 2013-02-27 Richard Henderson <rth@redhat.com>
7 * scripts/config.guess: Update from config.git.
8 * scripts/config.sub: Likewise.
10 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22 2013-02-26 Roland McGrath <roland@hack.frob.com>
24 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25 [$(build-shared = yes].
27 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30 (__mul): Reduce iterations for calculating mantissa.
32 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34 (__mpranred): Likewise.
37 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
42 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49 * posix/regex_internal.h (__attribute): Remove.
50 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51 (re_string_context_at): Likewise.
52 (bitset_not): Use __attribute__ and mark function as possibly
54 (bitset_merge): Likewise.
55 (bitset_mask): Likewise.
56 (re_string_char_size_at): Likewise.
57 (re_string_wchar_at): Likewise.
58 (re_string_elem_size_at): Likewise.
60 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
72 (add_magnitudes): Likewise.
73 (sub_magnitudes): Likewise.
77 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
80 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
83 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
86 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
87 up changes with default code.
88 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
91 2013-02-24 Allan McRae <allan@archlinux.org>
93 * manual/socket.texi (The Internet Namespace): Order menu items
94 to match that in the file.
96 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
97 node listing of the info page menu.
99 2013-02-21 Joseph Myers <joseph@codesourcery.com>
102 * sysdeps/i386/bp-asm.h: Remove file.
103 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
104 (PARMS): Do not use macros from bp-asm.h.
108 (__mpn_add_n): Do not use BP_SYM
109 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
111 (PARMS): Do not use macros from bp-asm.h.
114 (__mpn_addmul_1): Do not use BP_SYM
115 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
117 (PARMS): Do not use macros from bp-asm.h.
119 (_setjmp): Likewise. Do not use BP_SYM.
120 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
122 (PARMS): Do not use macros from bp-asm.h.
124 (setjmp): Likewise. Do not use BP_SYM.
125 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
127 (PARMS): Do not use macros from bp-asm.h.
128 (__frexp): Do not use BP_SYM.
130 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
132 (PARMS): Do not use macros from bp-asm.h.
133 (__frexpf): Do not use BP_SYM.
135 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
137 (PARMS): Do not use macros from bp-asm.h.
138 (__frexpl): Do not use BP_SYM.
140 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
142 (PARMS): Do not use macros from bp-asm.h.
143 (__remquo): Do not use BP_SYM.
145 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
147 (PARMS): Do not use macros from bp-asm.h.
148 (__remquof): Do not use BP_SYM.
150 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
152 (PARMS): Do not use macros from bp-asm.h.
153 (__remquol): Do not use BP_SYM.
155 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
157 (PARMS): Do not use macros from bp-asm.h.
160 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
161 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
163 (PARMS): Do not use macros from bp-asm.h.
164 (strlen): Do not use BP_SYM.
165 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
167 (PARMS): Do not use macros from bp-asm.h.
171 (__mpn_add_n): Do not use BP_SYM.
172 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
174 (PARMS): Do not use macros from bp-asm.h.
177 (__mpn_addmul_1): Do not use BP_SYM.
178 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
181 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
183 (PARMS): Do not use macros from bp-asm.h.
186 (__mpn_lshift): Do not use BP_SYM.
187 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
189 (PARMS): Do not use macros from bp-asm.h.
193 (memcpy): Likewise. Do not use BP_SYM.
194 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
195 libc_hidden_def and weak_alias.
196 (mempcpy): Do not use BP_SYM in weak_alias.
197 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
199 (PARMS): Do not use macros from bp-asm.h.
202 [!BZERO_P] (CHR): Likewise.
203 (memset): Likewise. Do not use BP_SYM.
204 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
206 (PARMS): Do not use macros from bp-asm.h.
209 (__mpn_mul_1): Do not use BP_SYM.
210 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
212 (PARMS): Do not use macros from bp-asm.h.
215 (__mpn_rshift): Do not use BP_SYM.
216 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
218 (PARMS): Do not use macros from bp-asm.h.
221 (strchr): Likewise. Do not use BP_SYM.
222 (index): Do not use BP_SYM in weak_alias.
223 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
225 (PARMS): Do not use macros from bp-asm.h.
228 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
229 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
231 (PARMS): Do not use macros from bp-asm.h.
232 (strlen): Do not use BP_SYM.
233 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
235 (PARMS): Do not use macros from bp-asm.h.
239 (__mpn_sub_n): Do not use BP_SYM.
240 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
242 (PARMS): Do not use macros from bp-asm.h.
245 (__mpn_submul_1): Do not use BP_SYM.
246 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
248 (PARMS): Do not use macros from bp-asm.h.
252 (__mpn_add_n): Do not use BP_SYM.
253 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
256 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
258 (PARMS): Do not use macros from bp-asm.h.
261 (memcmp): Do not use BP_SYM.
262 (bcmp): Do not use BP_SYM in weak_alias.
263 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
265 (PARMS): Do not use macros from bp-asm.h.
269 (memcpy): Likewise. Do not use BP_SYM.
270 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
272 (PARMS): Do not use macros from bp-asm.h.
276 (memmove): Likewise. Do not use BP_SYM.
277 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
279 (PARMS): Do not use macros from bp-asm.h.
283 (__mempcpy): Likewise. Do not use BP_SYM.
284 (mempcpy): Do not use BP_SYM in weak_alias.
285 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
287 (PARMS): Do not use macros from bp-asm.h.
290 [!BZERO_P] (CHR): Likewise.
291 (memset): Likewise. Do not use BP_SYM.
292 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
294 (PARMS): Do not use macros from bp-asm.h.
296 (strcmp): Do not use BP_SYM.
297 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
299 (PARMS): Do not use macros from bp-asm.h.
302 [USE_AS_STRTOK_R] (SAVE): Likewise.
303 (FUNCTION): Likewise. Do not use BP_SYM.
304 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
306 (strtok_r): Likewise.
307 (__GI___strtok_r): Likewise.
308 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
309 (PARMS): Do not use macros from bp-asm.h.
312 (__mpn_lshift): Do not use BP_SYM.
313 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
314 (PARMS): Do not use macros from bp-asm.h.
317 (__memchr): Do not use BP_SYM.
318 (memchr): Do not use BP_SYM in weak_alias.
319 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
320 (PARMS): Do not use macros from bp-asm.h.
323 (memcmp): Do not use BP_SYM.
324 (bcmp): Do not use BP_SYM in weak_alias.
325 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
326 (PARMS): Do not use macros from bp-asm.h.
329 (__mpn_mul_1): Do not use BP_SYM.
330 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
332 (PARMS): Do not use macros from bp-asm.h.
335 (__rawmemchr): Do not use BP_SYM.
336 (rawmemchr): Do not use BP_SYM in weak_alias.
337 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
338 (PARMS): Do not use macros from bp-asm.h.
341 (__mpn_rshift): Do not use BP_SYM.
342 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
345 (__sigsetjmp): Likewise. Do not use BP_SYM.
346 * sysdeps/i386/start.S: Do not include "bp-sym.h".
347 (_start): Do not use BP_SYM.
348 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
349 (PARMS): Do not use macros from bp-asm.h.
352 (__stpcpy): Likewise. Do not use BP_SYM.
353 (stpcpy): Do not use BP_SYM in weak_alias.
354 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
356 (PARMS): Do not use macros from bp-asm.h.
360 (__stpncpy): Likewise. Do not use BP_SYM.
361 (stpncpy): Do not use BP_SYM in weak_alias.
362 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
363 (PARMS): Do not use macros from bp-asm.h.
366 (strchr): Likewise. Do not use BP_SYM.
367 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
369 (PARMS): Do not use macros from bp-asm.h.
372 (__strchrnul): Likewise. Do not use BP_SYM.
373 (strchrnul): Do not use BP_SYM in weak_alias.
374 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
376 (PARMS): Do not use macros from bp-asm.h.
378 (strcspn): Do not use BP_SYM.
379 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
381 (PARMS): Do not use macros from bp-asm.h.
384 (strpbrk): Likewise. Do not use BP_SYM.
385 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
387 (PARMS): Do not use macros from bp-asm.h.
390 (strrchr): Likewise. Do not use BP_SYM.
391 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
392 (PARMS): Do not use macros from bp-asm.h.
394 (strspn): Do not use BP_SYM.
395 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
396 (PARMS): Do not use macros from bp-asm.h.
400 (FUNCTION): Likewise. Do not use BP_SYM.
401 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
403 (strtok_r): Likewise.
404 (__GI___strtok_r): Likewise.
405 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
406 (PARMS): Do not use macros from bp-asm.h.
410 (__mpn_sub_n): Do not use BP_SYM.
411 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
413 (PARMS): Do not use macros from bp-asm.h.
416 (__mpn_submul_1): Do not use BP_SYM.
417 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
419 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
421 (PARMS): Do not use macros from bp-asm.h.
426 (__clone): Do not use BP_SYM.
427 (clone): Do not use BP_SYM in weak_alias.
428 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
430 (PARMS): Do not use macros from bp-asm.h.
432 (__mmap64): Do not use BP_SYM.
433 (mmap64): Do not use BP_SYM in weak_alias.
434 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
435 <bp-sym.h> and <bp-asm.h>.
436 (PARMS): Do not use macros from bp-asm.h.
437 (__posix_fadvise64_l64): Do not use BP_SYM.
438 * sysdeps/unix/sysv/linux/i386/semtimedop.S
439 (PARMS): Do not use macros from bp-asm.h.
441 (semtimedop): Do not use BP_SYM.
442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
445 2013-02-21 Allan McRae <allan@archlinux.org>
447 * manual/message.texi (Charset conversion in gettext):
448 Move @end statement to beginning of line.
450 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
457 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
462 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
464 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
465 tail-call to the resolved function if pltexit isn't needed.
467 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
470 or Y being zero as being unlikely.
471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
474 2013-02-20 Carlos O'Donell <carlos@redhat.com>
476 * manual/nss.texi (System Databases and Name Service Switch):
477 Remove frobnicate @pxref.
479 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
481 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
482 __attribute__ ((unused)) to __attribute__ ((__unused__)).
484 2013-02-20 Petr Machata <pmachata@redhat.com>
486 * elf/elf.h (R_ARM_TARGET1): New macro.
487 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
488 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
489 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
490 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
491 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
492 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
493 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
494 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
495 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
496 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
497 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
498 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
499 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
500 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
501 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
502 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
503 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
504 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
505 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
506 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
507 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
508 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
509 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
510 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
511 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
512 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
513 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
514 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
515 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
516 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
517 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
518 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
519 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
520 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
521 (R_ARM_THM_GOT_BREL12): Likewise.
522 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
523 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
524 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
525 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
526 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
527 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
528 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
529 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
530 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
532 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
534 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
535 __attribute_used__ to __attribute__ ((unused)).
537 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
545 2013-02-19 Joseph Myers <joseph@codesourcery.com>
548 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
550 (ENTER): Remove both macro definitions.
552 (CHECK_BOUNDS_LOW): Likewise.
553 (CHECK_BOUNDS_HIGH): Likewise.
554 (CHECK_BOUNDS_BOTH): Likewise.
555 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
556 (RETURN_BOUNDED_POINTER): Likewise.
557 (RETURN_NULL_BOUNDED_POINTER): Likewise.
558 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
559 (POP_ERRNO_LOCATION_RETURN): Likewise.
560 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
562 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
565 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
566 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
567 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
568 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
569 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
570 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
571 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
572 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
573 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
574 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
575 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
576 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
577 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
579 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
580 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
583 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
584 * sysdeps/i386/i586/memset.S (memset): Likewise.
585 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
586 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
589 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
590 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
591 Change uses of L(2) to L(out).
592 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
593 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
594 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
596 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
598 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
603 (RETURN): Do not use macro LEAVE.
604 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
605 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
606 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
607 * sysdeps/i386/i686/memset.S (memset): Likewise.
608 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
609 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
610 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
611 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
614 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
615 L(1_2) and L(1_3) into L(1).
616 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
617 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
618 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
619 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
620 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
621 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
622 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
624 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
626 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
628 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
629 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
630 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
631 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
632 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
633 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
634 * sysdeps/i386/strcspn.S (strcspn): Likewise.
635 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
636 * sysdeps/i386/strrchr.S (strrchr): Likewise.
637 * sysdeps/i386/strspn.S (strspn): Likewise.
638 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
640 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
641 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
642 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
643 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
645 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
646 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
647 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
649 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
651 2013-02-19 Jakub Jelinek <jakub@redhat.com>
653 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
656 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
658 * math/atest-exp.c (exp_mpn): Remove ROUND.
659 * math/atest-exp2.c (exp_mpn): Likewise.
660 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
662 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
663 * stdlib/tst-tls-atexit-lib.c: Likewise.
664 * stdlib/tst-tls-atexit.c: Likewise.
666 2013-02-18 Mike Frysinger <vapier@gentoo.org>
668 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
669 and __attribute_alloc_size__.
671 2013-02-18 Mike Frysinger <vapier@gentoo.org>
673 * include/programs/xmalloc.h: Change __attribute_alloc_size to
674 __attribute_alloc_size__.
675 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
676 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
678 2013-02-18 Mike Frysinger <vapier@gentoo.org>
680 * include/programs/xmalloc.h: New file.
681 * catgets/gencat.c: Include it.
682 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
683 * elf/pldd.c: Likewise.
684 * iconv/iconv_charmap.c: Likewise.
685 * iconv/iconvconfig.c: Likewise.
686 * iconv/strtab.c: Likewise.
687 * locale/programs/locale.c: Likewise.
688 * locale/programs/localedef.h: Likewise.
689 * locale/programs/simple-hash.c: Likewise.
690 * nscd/nscd.h: Likewise.
691 * nss/makedb.c: Likewise.
692 * sysdeps/generic/ldconfig.h: Likewise.
694 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
696 * Versions.def: Add GLIBC_2.18.
697 * include/link.h (struct link_map): New member l_tls_dtor_count.
698 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
699 (__call_tls_dtors): Likewise.
700 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
701 __cxa_thread_atexit_impl.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
718 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
719 (tests): Add test case tst-tls-atexit.
720 (modules-names): Add shared library for tst-tls-atexit.
721 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
722 (GLIBC_PRIVATE): Add __call_tls_dtors.
723 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
725 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
726 * stdlib/tst-tls-atexit.c: New test case.
727 * stdlib/tst-tls-atexit-lib.c: New test case.
729 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
731 * elf/Versions (ld): Add _dl_find_dso_for_object.
732 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
733 * elf/dl-open.c (_dl_find_dso_for_object): New function.
734 (dl_open_worker): Use _dl_find_dso_for_object.
735 * elf/dl-sym.c (do_sym): Likewise.
736 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
738 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
740 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
741 Syntactic changes only.
742 (_dl_runtime_profile): Do a tail-call to the resolved function.
744 2013-02-17 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/x86_64/bp-asm.h: Remove file.
748 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
749 <bp-sym.h> and <bp-asm.h>.
750 (__clone): Do not use BP_SYM.
751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
752 <bp-sym.h> and <bp-asm.h>.
753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
754 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
756 (_setjmp): Do not use BP_SYM.
757 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
759 (setjmp): Do not use BP_SYM.
760 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
762 (mempcpy): Do not use BP_SYM in weak_alias.
763 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
765 (strchr): Do not use BP_SYM.
766 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
768 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
769 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
770 (_start): Do not use BP_SYM.
771 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
773 (strcat): Do not use BP_SYM.
774 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
776 (STRCMP): Do not use BP_SYM.
777 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
779 (STRCPY): Do not use BP_SYM.
780 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
782 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
784 (FUNCTION): Do not use BP_SYM.
785 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
787 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
789 2013-02-17 Andreas Jaeger <aj@suse.de>
791 * time/Versions: Sort entries.
792 * string/Versions: Likewise.
793 * resolv/Versions: Likewise.
794 * posix/Versions: Likewise.
795 * iconv/Versions: Likewise.
796 * elf/Versions: Likewise.
797 * wcsmbs/Versions: Likewise.
799 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
802 loop termination condition.
804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
805 variable to calculate EZ.
808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
809 the lower precision input.
811 2013-02-15 Joseph Myers <joseph@codesourcery.com>
814 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
815 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
816 (run-via-rtld-prefix): Do not handle %-bp tests.
817 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
818 (all-object-suffixes): Remove .ob.
819 (bppfx): Remove variable.
820 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
821 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
822 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
823 [$(build-bounded) = yes] (libtype.ob): Likewise.
824 * Makerules (elide-routines.ob): Remove variable.
825 (do-tests-clean): Do not handle *-bp.out.
826 (common-mostlyclean): Do not handle *-bp and *-bp.out.
827 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
828 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
829 (tests): Do not include $(tests-bp.out).
830 (xtests): Do not include $(xtests-bp.out).
831 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
832 [$(build-bounded) = yes] ($(addprefix
833 $(objpfx),$(binaries-bounded))): Remove rule.
834 ($(objpfx)%-bp.out): Remove rule.
835 * config.make.in (build-bounded): Remove variable.
836 * crypt/Makefile [$(build-bounded) = yes]
837 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
838 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
840 [$(build-bounded) = yes] (install-lib): Likewise.
841 [$(build-bounded) = yes] (generated): Likewise.
842 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
844 * intl/Makefile [$(build-bounded) = yes]
845 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
846 * math/Makefile [$(build-bounded) = yes]
847 ($(tests:%=$(objpfx)%-bp): Likewise.
848 * misc/Makefile [$(build-bounded) = yes]
849 ($(objpfx)tst-tsearch-bp): Likewise.
850 * nptl/Makeconfig (bounded-thread-library): Remove variable.
851 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
853 * string/Makefile (o-objects.ob): Remove variable.
854 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
855 (CFLAGS-.ob): Remove variable.
856 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
858 both definitions of variable.
859 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
860 (ASFLAGS-.ob): Remove variable.
862 2013-02-14 Joseph Myers <joseph@codesourcery.com>
865 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
866 Remove __BOUNDED_POINTERS__ from condition.
867 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
868 * string/bits/string2.h [!__NO_STRING_INLINES &&
869 !__BOUNDED_POINTERS__]: Likewise.
870 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
872 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
873 Remove conditional code.
874 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
875 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
876 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
880 * csu/libc-start.c: Do not include <bp-sym.h>.
881 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
882 * elf/dl-open.c: Do not include <bp-sym.h>.
883 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
884 * math/fegetenv.c: Do not include <bp-sym.h>.
885 (fegetenv): Do not use BP_SYM in versioned symbols.
886 * nptl/sysdeps/pthread/bits/libc-lockP.h
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
890 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
892 (__pthread_mutex_destroy): Likewise.
893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
894 (__pthread_mutex_lock): Likewise.
895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
896 (__pthread_mutex_trylock): Likewise.
897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
898 (__pthread_mutex_unlock): Likewise.
899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
900 (__pthread_mutexattr_init): Likewise.
901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
902 (__pthread_mutexattr_destroy): Likewise.
903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
904 (__pthread_mutexattr_settype): Likewise.
905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
906 (__pthread_rwlock_init): Likewise.
907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
908 (__pthread_rwlock_destroy): Likewise.
909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
910 (__pthread_rwlock_rdlock): Likewise.
911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
912 (__pthread_rwlock_tryrdlock): Likewise.
913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
914 (__pthread_rwlock_wrlock): Likewise.
915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
916 (__pthread_rwlock_trywrlock): Likewise.
917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
918 (__pthread_rwlock_unlock): Likewise.
919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
920 (__pthread_key_create): Likewise.
921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
922 (__pthread_setspecific): Likewise.
923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
924 (__pthread_getspecific): Likewise.
925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
928 (_pthread_cleanup_push_defer): Likewise.
929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
930 (_pthread_cleanup_pop_restore): Likewise.
931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
932 (pthread_setcancelstate): Likewise.
933 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
935 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
936 (memchr): Do not use BP_SYM in weak_alias.
937 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
938 (fegetenv): Do not use BP_SYM in versioned symbols.
939 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
940 (fesetenv): Do not use BP_SYM in versioned symbols.
941 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
942 (feupdateenv): Do not use BP_SYM in versioned symbols.
943 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
945 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
946 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
947 (open64): Do not use BP_SYM in weak_alias.
948 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
949 (fegetenv): Do not use BP_SYM in versioned symbols.
950 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
951 (fesetenv): Do not use BP_SYM in versioned symbols.
952 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
953 (feupdateenv): Do not use BP_SYM in versioned symbols.
954 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
955 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
956 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
957 (feraiseexcept): Do not use BP_SYM in versioned symbols.
958 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
959 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
960 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
962 (__libc_start_main): Do not use BP_SYM.
964 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
967 redundant return line.
971 (sub_magnitudes): Likewise.
977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
981 (sub_magnitudes): Likewise.
988 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
990 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
991 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
995 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
997 of __mul for squares.
998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1005 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1008 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1010 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1011 prototype or function definition. Rename ubp_* variables and
1012 parameters. Remove argv definitions conditional on
1013 [__BOUNDED_POINTERS__].
1014 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1015 * elf/dl-runtime.c (_dl_fixup): Likewise.
1016 * include/set-hooks.h (RUN_HOOK): Likewise.
1017 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1019 * string/strcpy.c (strcpy): Do not use __unbounded.
1020 * sysdeps/generic/frame.h (struct layout): Likewise.
1021 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1022 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1023 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1024 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1025 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1026 (__backtrace): Likewise.
1027 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1029 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1030 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1031 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1033 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1034 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1035 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1036 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1037 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1038 Do not use __unbounded.
1039 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1040 Rename __unboundedrlimits parameter to rlimits in prototype.
1041 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1042 Do not use __unbounded.
1043 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1046 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1047 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1049 __ptrvalue or __unbounded.
1050 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1051 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1053 (__new_msgctl): Do not use __ptrvalue.
1054 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1056 (__libc_msgrcv): Do not use __ptrvalue.
1057 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1058 startup_info): Do not use __unbounded.
1059 (__libc_start_main): Likewise. Rename ubp_* variables and
1060 parameters. Remove argv definitions conditional on
1061 [__BOUNDED_POINTERS__].
1062 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1064 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1066 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1068 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1070 (__new_shmctl): Do not use __ptrvalue.
1071 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1072 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1074 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1076 (__libc_sigaction): Likewise.
1077 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1082 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1084 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1086 * string/mempcpy.c: Implement by calling memcpy.
1088 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1096 values in the mantissa.
1098 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1099 minimize writes to Z.
1100 (sub_magnitudes): Simplify code a bit.
1102 2013-02-12 Roland McGrath <roland@hack.frob.com>
1104 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1105 from the message. The linker prefixes all warnings with that already.
1107 2013-02-12 Andreas Schwab <schwab@suse.de>
1110 * posix/regexec.c (extend_buffers): Add parameter min_len.
1111 (check_matching): Pass minimum needed length.
1112 (clean_state_log_if_needed): Likewise.
1113 (get_subexp): Likewise.
1114 * posix/Makefile (tests): Add bug-regex34.
1115 (bug-regex34-ENV): Define.
1116 * posix/bug-regex34.c: New file.
1119 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1120 elements compare against the byte sequence of it, not its name.
1121 * posix/Makefile (tests): Add bug-regex35.
1122 (bug-regex35-ENV): Define.
1123 * posix/bug-regex35.c: New file.
1125 2013-02-11 Tom de Vries <tom@codesourcery.com>
1127 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1129 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1130 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1131 (CHECK_EOL): Add undef.
1133 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1135 * bits/stdlib-bsearch.h: New file.
1136 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1137 * stdlib/stdlib.h: Likewise.
1139 2013-02-11 Roland McGrath <roland@hack.frob.com>
1141 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1142 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1144 * manual/search.texi (Array Search Function): Add missing const in
1146 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1147 declaration to use rlim_t.
1148 (Basic Scheduling Functions): Remove erroneous const from
1149 sched_getparam prototype. Remove erroneous * from
1150 sched_get_priority_max and sched_get_priority_min prototypes.
1151 (Resource Usage): Fix summary @comment on vtimes to refer to
1152 sys/vtimes.h rather than vtimes.h.
1153 Add missing *s in vtimes prototype.
1154 (Limits on Resources): Fix ulimit prototype to return long int.
1155 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1156 prototypes to use long int rather than double.
1157 (BSD Random): Fix initstate and setstate to use char *, not void *.
1158 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1159 prototype to make second argument 'struct aiocb64 *const[]'.
1160 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1161 (Status of AIO Operations): Remove erroneous const in aio_return and
1162 aio_return64 prototypes.
1163 (Synchronizing I/O): Fix sync prototype to return void.
1164 * manual/startup.texi (Suboptions): Remove an erroneous const in
1165 getsubopt prototype.
1166 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1167 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1168 use size_t rather than int.
1169 (Scanning All Users): Likewise for getpwent_r.
1170 (Setting Groups): Add missing const to setgroups prototype.
1171 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1172 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1173 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1174 'const void *' rather than 'const char *'.
1175 (Host Address Functions): Likewise for inet_ntop.
1176 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1177 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1178 ssize_t for return value.
1179 (Sending Data): Likewise for send, sendto, sendmsg.
1180 (Socket Option Functions): Add a missing const in setsockopt prototype.
1181 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1182 use wchar_t for the argument.
1183 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1184 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1186 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1187 double/float/long double for second argument.
1188 Fix return types of significand, significandf, significandl.
1189 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1190 argument in fchmod prototype.
1191 (File Owner): Use uid_t and gid_t in fchown prototype.
1192 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1193 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1194 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1195 use 'const struct dirent **' as argument types to CMP function pointer
1197 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1198 (File Times): Fix summary magic @comment for struct utimbuf and utime
1199 to refer to utime.h, not time.h.
1200 * manual/string.texi (Argz Functions): Add missing const in
1201 argz_extract and argz_next prototypes.
1202 (Finding Tokens in a String): Likewise for basename.
1203 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1204 (Copying and Concatenation): Fix typo in wmemmove prototype.
1205 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1206 (Signal Stack): Remove erroneous const in sigstack prototype.
1207 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1209 (Simple Calendar Time): Likewise for stime.
1210 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1212 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1213 say sys/sysctl.h instead.
1214 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1215 and vsyslog prototypes.
1217 2013-02-11 Tom de Vries <tom@codesourcery.com>
1219 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1222 2013-02-11 Roland McGrath <roland@hack.frob.com>
1224 * misc/sys/mman.h: Fix typo in mremap comment.
1226 2013-02-08 Roland McGrath <roland@hack.frob.com>
1228 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1229 the '\0' terminator.
1231 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1234 * debug/segfault.c: Don't include <bp-checks.h>.
1235 * sysdeps/generic/bp-checks.h: Remove file.
1236 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1237 (__GETDENTS): Don't use CHECK_N.
1238 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1239 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1240 (__getgroups): Don't use CHECK_N.
1241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1242 (setgroups): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1244 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1245 (__libc_msgrcv): Don't use CHECK_N.
1246 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1247 (__libc_msgsnd): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1250 (__libc_pread): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1252 include <bp-checks.h>.
1253 (__libc_pread64): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1255 include <bp-checks.h>.
1256 (__libc_pwrite): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1258 include <bp-checks.h>.
1259 (__libc_pwrite64): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1262 (__libc_pread): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1264 include <bp-checks.h>.
1265 (__libc_pread64): Don't use CHECK_N.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1267 include <bp-checks.h>.
1268 (__libc_pwrite): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1270 include <bp-checks.h>.
1271 (__libc_pwrite64): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1273 (do_pread): Don't use CHECK_N.
1274 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1275 (do_pread64): Don't use CHECK_N.
1276 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1277 (do_pwrite): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1279 (do_pwrite64): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1281 (__libc_readv): Don't use CHECK_N.
1282 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1283 (semop): Don't use CHECK_N.
1284 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1286 (semtimedop): Don't use CHECK_N.
1287 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1288 (__libc_pread): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1291 (__libc_pread64): Don't use CHECK_N.
1292 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1294 (__libc_pwrite): Don't use CHECK_N.
1295 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1297 (__libc_pwrite64): Don't use CHECK_N.
1298 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1300 (__libc_msgrcv): Don't use CHECK_N.
1301 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1302 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1303 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1304 (__libc_writev): Don't use CHECK_N.
1306 2013-02-08 Roland McGrath <roland@hack.frob.com>
1308 * string/strcpy.c: Removed unused variable.
1310 * Makeconfig (+sysdep-includes): Define with := rather than =.
1311 Use an existing include/ subdir of each sysdeps dir before it.
1313 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1315 * nscd/connection.c (register_traced_file): Comment function.
1316 [HAVE_INOTIFY] (union __inev): Define.
1317 [HAVE_INOTIFY] (inotify_check_files): New function.
1318 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1319 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1321 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1323 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1325 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1326 loaded if not already and that a failure is permanent.
1328 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1331 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1332 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1334 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1337 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1338 (CHECK_1_NULL_OK): Likewise.
1339 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1340 (__fxstat): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1343 (___fxstat64): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1346 (__fxstatat): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1349 (__fxstatat64): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1352 (__fxstat): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1355 (__fxstatat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1358 (__getresgid): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1361 (__getresuid): Do not use CHECK_1.
1362 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1364 (__lxstat): Do not use CHECK_1.
1365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1367 (__old_msgctl): Do not use CHECK_1.
1368 (__new_msgctl): Likewise.
1369 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1371 (__new_setrlimit): Do not use CHECK_1.
1372 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1374 (__old_shmctl): Do not use CHECK_1.
1375 (__new_shmctl): Likewise.
1376 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1378 (__xstat): Do not use CHECK_1.
1379 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1380 (__lxstat): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1383 (___lxstat64): Do not use CHECK_1.
1384 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1385 (__old_msgctl): Do not use CHECK_1.
1386 (__new_msgctl): Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1389 (__gettimeofday): Do not use CHECK_1.
1390 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1391 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1392 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1394 (__gettimeofday): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1396 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1397 (__new_shmctl): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1400 (do_sigtimedwait): Do not use CHECK_1.
1401 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1403 (do_sigwaitinfo): Do not use CHECK_1.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1406 (msgctl): Do not use CHECK_1.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1409 (shmctl): Do not use CHECK_1.
1410 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1411 (ustat): Do not use CHECK_1.
1412 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1414 (__fxstat): Do not use CHECK_1.
1415 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1417 (__fxstatat): Do not use CHECK_1.
1418 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1420 (__lxstat): Do not use CHECK_1.
1421 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1423 (__xstat): Do not use CHECK_1.
1424 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1425 (__xstat): Do not use CHECK_1.
1426 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1427 (___xstat64): Do not use CHECK_1.
1430 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1432 (CHECK_BOUNDS_HIGH): Likewise.
1433 * string/strcpy.c: Do not include <bp-checks.h>.
1434 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1436 2013-02-07 Roland McGrath <roland@hack.frob.com>
1438 * nscd/nscd-client.h (__nscd_drop_map_ref):
1439 Add __attribute__ ((unused)).
1440 * nis/nss-nisplus.h (niserr2nss): Likewise.
1442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1443 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1445 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1446 Remove inline keyword.
1447 * include/rounding-mode.h (round_away): Likewise.
1448 * libio/wfileops.c (adjust_wide_data): Likewise.
1449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1450 (__m128i_strloadu_tolower): Likewise.
1451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1452 (__m128i_strloadu_tolower): Likewise.
1453 * time/mktime.c (ydhms_diff): Likewise.
1454 * locale/elem-hash.h (elem_hash): Likewise.
1455 * locale/setlocale.c (setdata): Likewise.
1456 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1457 (re_string_wchar_at): Likewise.
1458 (bitset_not, bitset_merge, bitset_mask): Likewise.
1459 [!(__GNUC__ > 3)] (inline): Remove macro.
1460 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1461 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1462 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1463 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1464 * string/memcmp.c (memcmp_bytes): Likewise.
1465 * locale/programs/locarchive.c (compute_hashval): Likewise.
1466 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1467 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1468 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1469 * nss/getent.c (print_rpc, print_protocols): Likewise.
1470 (print_passwd, print_group, print_aliases): Likewise.
1471 * nis/nss-nisplus.h (niserr2nss): Likewise.
1472 * nscd/connections.c (restart_p): Likewise.
1473 Change return type to bool.
1475 2013-02-05 Roland McGrath <roland@hack.frob.com>
1477 * Makeconfig (all-Depend-files): Add existing
1478 $(sorted-subdirs:=/Depend) files.
1479 (all-subdirs): Remove nss.
1480 * sysdeps/unix/inet/Subdirs: Add it here instead.
1481 * hesiod/Depend: New file.
1483 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1484 instead of calling alloca.
1486 * io/lseek.c (__lseek): Rename to __libc_lseek.
1487 Define __lseek as an alias.
1489 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1491 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1493 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1494 else clause and remove check for non-standard endianness.
1496 2013-02-04 David S. Miller <davem@davemloft.net>
1498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1500 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1503 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1504 (__ubp_memchr): Remove prototype.
1505 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1506 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1507 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1508 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1509 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1511 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1512 (__ubp_memchr): Likewise.
1513 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1514 (__ubp_memchr): Likewise.
1515 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1516 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1517 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1518 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1520 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1521 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1522 (__getcwd): Do not use CHECK_STRING.
1523 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1525 (__real_chown): Do not use CHECK_STRING.
1526 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1528 (fchownat): Do not use CHECK_STRING.
1529 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1533 (__lchown): Do not use CHECK_STRING.
1534 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1535 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1536 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1537 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1539 include <bp-checks.h>.
1540 (truncate64): Do not use CHECK_STRING.
1541 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1543 (__real_chown): Do not use CHECK_STRING.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1546 (__lchown): Do not use CHECK_STRING.
1547 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1549 (__chown): Do not use CHECK_STRING.
1550 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1552 (truncate64): Do not use CHECK_STRING.
1553 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1555 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1556 (__xmknod): Do not use CHECK_STRING.
1557 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1559 (__xmknodat): Do not use CHECK_STRING.
1560 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1561 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1563 2013-02-04 Andreas Schwab <schwab@suse.de>
1566 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1567 * include/netdb.h: Likewise for h_errno.
1568 * elf/tst-stackguard1.c: Include <tls.h>.
1570 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1572 * elf/link.h (struct link_map): Extend the l_addr comment.
1573 * include/link.h (struct link_map): Likewise.
1575 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1578 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1579 (BOUNDED_1): Remove macro.
1580 * debug/backtrace.c: Don't include <bp-checks.h>.
1581 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1582 (__backtrace): Likewise.
1583 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1585 (__backtrace): Don't use BOUNDED_1.
1586 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1588 (__backtrace): Don't use BOUNDED_1.
1589 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1590 (__backtrace): Don't use BOUNDED_1.
1591 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1592 (shmat): Don't use BOUNDED_N.
1594 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1597 * sysdeps/generic/bp-start.h: Remove file.
1598 * csu/libc-start.c: Don't include <bp-start.h>.
1599 (LIBC_START_MAIN): Set up __environ directly instead of using
1600 INIT_ARGV_and_ENVIRON.
1601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1605 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1607 (CHECK_FCNTL): Likewise.
1608 (CHECK_N_PAGES): Likewise.
1611 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1613 (CHECK_SIGSET_NULL_OK): Likewise.
1614 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1616 (sigpending): Don't use CHECK_SIGSET.
1617 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1620 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1622 (do_sigsuspend): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1625 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1626 (do_sigwait): Don't use CHECK_SIGSET.
1627 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1630 include <bp-checks.h>.
1631 (sigpending): Don't use CHECK_SIGSET.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1633 include <bp-checks.h>.
1634 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1635 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1637 (sigpending): Don't use CHECK_SIGSET.
1638 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1640 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1643 * sysdeps/generic/bp-semctl.h: Remove file.
1644 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1645 <bp-checks.h> and <bp-semctl.h>.
1646 (__old_semctl): Don't use CHECK_SEMCTL.
1647 (__new_semctl): Likewise.
1648 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1650 (__old_semctl): Don't use CHECK_SEMCTL.
1651 (__new_semctl): Likewise.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1653 <bp-checks.h> and <bp-semctl.h>.
1654 (__old_semctl): Don't use CHECK_SEMCTL.
1655 (__new_semctl): Likewise.
1656 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1657 <bp-checks.h> and <bp-semctl.h>.
1658 (semctl): Don't use CHECK_SEMCTL.
1661 * Makerules (elide-bp-thunks): Remove variable.
1662 (elide-routines.oS): Don't use $(elide-bp-thunks).
1663 (elide-routines.os): Likewise.
1664 (elide-routines.o): Likewise.
1665 (elide-routines.op): Likewise.
1666 (elide-routines.og): Likewise.
1667 (objects): Don't use $(bp-thunks).
1668 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1670 (common-generated): Do not add s-proto-bp.d.
1671 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1674 Do not generate makefile rules for bounded-pointer thunks.
1675 * sysdeps/generic/bp-thunks.h: Remove file.
1676 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1677 * sysdeps/unix/s-proto-bp.S: Likewise.
1680 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1681 parts of result separately when argument is not close to line from
1682 -i to i and one part of argument is small.
1683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1685 * math/libm-test.inc (cacos_test): Add more tests.
1686 (casin_test): Likewise.
1687 (casinh_test): Likewise.
1688 * sysdeps/i386/fpu/libm-test-ulps: Update.
1689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1691 2013-01-31 David S. Miller <davem@davemloft.net>
1693 * po/de.po: Update from translation team.
1695 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1697 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1699 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1701 * configure.in (_AC_PROG_CC_C89): New definition.
1702 * configure: Regenerate.
1704 * configure.in (AC_PROG_CPP): New definition.
1705 * configure: Regenerate.
1707 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1709 * debug/tst-backtrace.h: New file.
1710 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1711 (ret): Remove variable.
1713 (FAIL): Remove macro.
1714 (NO_INLINE): Likewise.
1715 (fn1): Use match function instead of strstr.
1716 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1717 (ret): Remove variable.
1719 (FAIL): Remove macro.
1720 (NO_INLINE): Likewise.
1721 (fn): Use match function instead of strstr.
1722 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1723 (ret): Remove variable.
1725 (FAIL): Remove macro.
1726 (NO_INLINE): Likewise.
1727 (handle_signal): Use match function instead of strstr.
1728 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1729 (ret): Remove variable.
1731 (FAIL): Remove macro.
1732 (NO_INLINE): Likewise.
1733 (handle_signal): Use match function instead of strstr.
1735 2013-01-23 Roland McGrath <roland@hack.frob.com>
1737 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1739 2013-01-23 David S. Miller <davem@davemloft.net>
1741 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1742 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1743 argument of CAS if possible.
1744 * sysdeps/sparc/sparc64/bits/atomic.h
1745 (__arch_compare_and_exchange_val_32_acq): Likewise.
1746 (__arch_compare_and_exchange_val_64_acq): Likewise.
1748 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1750 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1751 * sysdeps/posix/ulimit.c: ... this.
1753 * sysdeps/unix/bsd/ulimit.c: Remove file.
1755 2013-01-23 Adam Conrad <adconrad@0c3.net>
1757 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1758 (LDFLAGS-tst-array5): Likewise.
1760 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1763 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1764 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1765 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1766 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1768 2013-01-21 David S. Miller <davem@davemloft.net>
1770 * sysdeps/sparc/backtrace.c: New file.
1771 * sysdeps/sparc/sparc32/backtrace.h: New file.
1772 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1773 * sysdeps/sparc/sparc64/backtrace.h: New file.
1774 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1775 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1778 2013-01-21 Andreas Schwab <schwab@suse.de>
1781 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1784 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1790 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1791 Mark Mitchell <mark@codesourcery.com>
1792 Tom de Vries <tom@codesourcery.com>
1793 Paul Pluzhnikov <ppluzhnikov@google.com>
1795 * debug/tst-backtrace2.c: New file.
1796 * debug/tst-backtrace3.c: Likewise.
1797 * debug/tst-backtrace4.c: Likewise.
1798 * debug/tst-backtrace5.c: Likewise.
1799 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1800 (CFLAGS-tst-backtrace3.c): Likewise.
1801 (CFLAGS-tst-backtrace4.c): Likewise.
1802 (CFLAGS-tst-backtrace5.c): Likewise.
1803 (LDFLAGS-tst-backtrace2): Likewise.
1804 (LDFLAGS-tst-backtrace3): Likewise.
1805 (LDFLAGS-tst-backtrace4): Likewise.
1806 (LDFLAGS-tst-backtrace5): Likewise.
1807 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1808 tst-backtrace4 and tst-backtrace5.
1810 2013-01-18 Anton Blanchard <anton@samba.org>
1811 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1814 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1816 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1818 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1819 "+r" and remove output regs list as redundant. Add explicit inline
1820 asm to specify register of return val to work around compiler codegen
1821 bug. Remove (int) cast on return value. Add return type parameter to
1822 use in macro so that this macro does not truncate return value for
1824 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1825 pass to INTERNAL_VSYSCALL_NCS.
1826 (INLINE_VSYSCALL): Add 'long int' as return type to
1827 INTERNAL_VSYSCALL_NCS macro invocation.
1828 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1829 INTERNAL_VSYSCALL_NCS macro invocation.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1832 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1835 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1836 Fix application of SIMD FP exception mask.
1838 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1839 mp_no from a power of two.
1840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1841 __mpexp_twomm1. Use __pow_mp.
1843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1846 2013-01-17 David S. Miller <davem@davemloft.net>
1848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1850 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1853 * include/complex.h: Condition contents on [!_COMPLEX_H].
1854 (__kernel_casinhf): New prototype.
1855 (__kernel_casinh): Likewise.
1856 (__kernel_casinhl): Likewise.
1857 * math/Makefile (libm_calls): Add k_casinh.
1858 * math/k_casinh.c: New file.
1859 * math/k_casinhf.c: Likewise.
1860 * math/k_casinhl.c: Likewise.
1861 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1862 finite nonzero arguments.
1863 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1864 finite nonzero arguments.
1865 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1866 finite nonzero arguments.
1867 * math/s_casinh.c: Do not include <float.h>.
1868 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1869 * math/s_casinhf.c: Do not include <float.h>.
1870 (__casinhf): Move code for finite nonzero arguments to
1872 * math/s_casinhl.c: Do not include <float.h>.
1873 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1875 (__casinhl): Move code for finite nonzero arguments to
1877 * math/libm-test.inc (cacos_test): Add more tests.
1878 * sysdeps/i386/fpu/libm-test-ulps: Update.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1881 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1884 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1885 [!HAVE_MREMAP]: Remove [defined linux] case.
1886 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1888 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1892 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1894 * elf/elf.h (R_386_SIZE32): New relocation.
1895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1897 (elf_machine_rela): Likewise.
1898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1899 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1901 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1903 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1904 (FP_FAST_FMA): Do not define.
1905 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1906 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1907 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1908 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1909 !_SOFT_FLOAT]: Likewise.
1910 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1913 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1914 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1917 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1918 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1921 2013-01-16 Andreas Schwab <schwab@suse.de>
1924 * include/stdlib.h (__mktemp): Add declaration.
1925 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1926 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1928 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1930 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1932 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1933 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1934 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1936 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1937 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1939 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1941 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1942 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1943 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1945 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1946 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1948 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1950 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1952 2013-01-15 David S. Miller <davem@davemloft.net>
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1955 trunc{,f} to libm-sysdep_routes.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1970 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1971 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1974 nearbyint{,f} to libm-sysdep_routes.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1986 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1992 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1993 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1996 libc_feholdexcept and libc_fesetenv.
1998 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2000 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2002 2013-01-14 David S. Miller <davem@davemloft.net>
2004 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2005 (SPARC_ASM_VIS2_IFUNC): Likewise.
2006 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2008 use of 'siam' instruction.
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2042 routines to libm-sysdep_routines.
2043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2046 fdim/fdimf to libm-sysdep_routines.
2047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2055 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2056 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2057 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2058 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2060 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2065 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2070 local variable MPTWO.
2071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2074 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2076 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2079 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2081 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2083 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2085 * manual/pattern.texi (glob_t): Document gl_flags.
2086 (glob64_t): Likewise.
2088 2013-01-11 David S. Miller <davem@davemloft.net>
2090 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2091 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2092 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2093 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2094 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2095 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2096 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2097 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2098 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2099 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2100 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2101 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2102 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2105 sparc V9 rather than using V8 code.
2106 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2107 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2109 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2114 2013-01-11 Roland McGrath <roland@hack.frob.com>
2116 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2117 not in the main loop.
2118 * configure: Regenerated.
2120 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2122 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2123 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2125 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2126 [!__GLIBC_HAVE_LONG_LONG] case.
2127 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2128 condition to just #else.
2129 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2130 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2131 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2132 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2134 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2135 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2136 #elif condition to just #else.
2137 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2138 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2139 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2140 #elif condition to just #else.
2142 2013-01-11 Steve Ellcey <sellcey@mips.com>
2144 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2145 (EF_MIPS_ARCH_64): Fix value.
2146 (EF_MIPS_ARCH_32R2): New.
2147 (EF_MIPS_ARCH_64R2): New.
2149 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2151 * Makeconfig (+link-pie-before-libc): New.
2152 (+link-pie-after-libc): Likewise.
2153 (+link-pie-tests): Likewise.
2154 (+link-pie): Rewritten.
2155 (link-before-libc): Remove $(config-LDFLAGS).
2156 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2157 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2158 (config-LDFLAGS): Renamed to ...
2159 (rtld-LDFLAGS): This.
2160 (rtld-tests-LDFLAGS): New macro.
2161 (link-libc-rpath-link): Likewise.
2162 (link-libc-tests-rpath-link): Likewise.
2163 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2164 (link-libc): Prepand $(link-libc-rpath-link).
2165 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2166 (test-program-prefix): New macro.
2167 (test-via-rtld-prefix): Likewise.
2168 (test-program-cmd): Likewise.
2169 (host-test-program-cmd): Likewise.
2170 * Makefile ($(common-objpfx)testrun.sh): Replace
2171 $(run-program-prefix) with $(test-program-prefix).
2172 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2174 ($(common-objpfx)shlib.lds): Likewise.
2175 (build-module-helper): Likewise.
2176 ($(common-objpfx)format.lds): Likewise.
2177 * Rules (binaries-pie-tests): New.
2178 (binaries-pie-notests): Likewise.
2179 (binaries-pie): Rewritten.
2180 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2181 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2182 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2183 (make-test-out): Replace $(host-built-program-cmd) with
2184 $(host-test-program-cmd).
2185 * config.make.in (build-hardcoded-path-in-tests): New variable.
2186 * configure.in (--enable-hardcoded-path-in-tests): New configure
2188 (hardcoded_path_in_tests): New AC_SUBST.
2189 * configure: Regenerated.
2190 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2191 $(built-program-cmd) with $(test-program-cmd).
2192 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2193 (test_program_cmd): This.
2194 * elf/Makefile ($(objpfx)order.out): Run test with
2195 $(test-program-prefix).
2196 ($(objpfx)order2.out): Likewise.
2197 ($(objpfx)tst-initorder.out): Likewise.
2198 ($(objpfx)tst-initorder2.out): Likewise.
2199 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2200 $(test-program-cmd).
2201 ($(objpfx)tst-array1-static.out): Likewise.
2202 ($(objpfx)tst-array2.out): Likewise.
2203 ($(objpfx)tst-array3.out): Likewise.
2204 ($(objpfx)tst-array4.out): Likewise.
2205 ($(objpfx)tst-array5.out): Likewise.
2206 ($(objpfx)tst-array5-static.out): Likewise.
2207 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2208 $(test-program-cmd).
2209 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2210 $(run-program-prefix) with $(test-program-prefix).
2211 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2212 (test_program_prefix): This.
2213 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2214 $(run-program-prefix) with $(test-program-prefix).
2215 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2216 (test_program_prefix): This.
2217 * iconvdata/tst-tables.sh: Likewise.
2218 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2219 $(run-program-prefix) with $(test-program-prefix).
2220 ($(objpfx)tst-translit.out): Likewise.
2221 ($(objpfx)tst-gettext2.out): Likewise.
2222 ($(objpfx)tst-gettext4.out): Likewise.
2223 ($(objpfx)tst-gettext6.out): Likewise.
2224 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2225 (test_program_prefix): This.
2226 * intl/tst-gettext2.sh: Likewise.
2227 * intl/tst-gettext4.sh Likewise.
2228 * intl/tst-gettext6.sh: Likewise.
2229 * intl/tst-translit.sh: Likewise.
2230 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2231 with $(test-program-cmd).
2232 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2233 $(run-program-prefix) with $(test-program-prefix).
2234 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2235 (test_program_prefix): This.
2236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2237 $(run-program-prefix) with $(test-program-prefix).
2238 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2239 (test_program_prefix): This.
2240 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2241 * posix/Makefile ($(objpfx)globtest.out): Replace
2242 $(run-via-rtld-prefix) and $(test-wrapper) with
2243 $(test-program-prefix) and $(test-via-rtld-prefix).
2244 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2245 $(test-program-prefix).
2246 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2247 $(host-test-program-cmd).
2248 (tst-spawn-ARGS): Likewise.
2249 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2250 $(test-program-prefix).
2251 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2252 (test_via_rtld_prefix): This.
2253 (test_wrapper): Renamed to ...
2254 (test_program_prefix): This.
2255 (run_program_prefix): Replaced by test_program_prefix.
2256 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2257 (test_program_prefix): This.
2258 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2259 with $(host-test-program-cmd).
2260 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2261 $(run-program-prefix) with $(test-program-prefix).
2262 ($(objpfx)tst-printf.out): Likewise.
2263 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2264 $(test-program-cmd).
2265 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2266 (test_program_prefix): This.
2267 * stdio-common/tst-unbputc.sh: Likewise.
2268 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2269 $(run-program-prefix) with $(test-program-prefix).
2270 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2271 (test_program_prefix): This.
2272 * string/Makefile ($(objpfx)tst-svc.out): Replace
2273 $(built-program-cmd) with $(test-program-cmd).
2275 2013-01-11 Andreas Jaeger <aj@suse.de>
2278 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2279 value. Sync with Linux 3.7.
2281 2013-01-10 David S. Miller <davem@davemloft.net>
2283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2287 2013-01-10 Roland McGrath <roland@hack.frob.com>
2289 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2291 * configure: Regenerated.
2293 2013-01-10 David S. Miller <davem@davemloft.net>
2295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2296 sparc V9 rather than using V8 code.
2297 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2298 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2300 2013-01-10 Roland McGrath <roland@hack.frob.com>
2302 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2303 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2304 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2305 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2306 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2307 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2308 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2309 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2310 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2311 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2312 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2313 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2314 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2315 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2316 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2317 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2318 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2319 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2320 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2321 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2322 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2323 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2324 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2325 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2326 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2327 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2328 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2330 2013-01-10 David S. Miller <davem@davemloft.net>
2332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2334 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2336 * posix/Makefile (tests-static): New variable.
2337 (tests): Add $(tests-static).
2338 (tst-exec-static-ARGS): New variable.
2339 (tst-spawn-static-ARGS): Likewise.
2340 * posix/tst-exec-static.c: New file.
2341 * posix/tst-spawn-static.c: Likewise.
2342 * posix/tst-exec.c: Support run directly.
2343 * posix/tst-spawn.c: Likewise.
2345 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2347 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2349 * math/bits/mathcalls.h (llrint): Likewise.
2350 (llround): Likewise.
2351 * stdlib/stdlib.h (struct drand48_data): Likewise.
2352 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2353 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2356 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2358 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2359 (elf_greg_t): Likewise.
2360 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2361 (__jmp_buf): Likewise.
2362 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2364 (llrint): Likewise, for all definitions.
2365 (llrintl): Likewise.
2367 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2368 Remove [__GNUC__] condition.
2369 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2370 condition to just [__USE_ISOC99].
2371 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2373 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2376 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2377 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2379 (_POSIX_V6_ILP32_OFF32): Likewise.
2380 (_XBS5_ILP32_OFF32): Likewise.
2381 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2382 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2384 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2386 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2389 doubles __mpexp_twomm1. Adjust usage.
2390 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2393 2013-01-10 Andreas Schwab <schwab@suse.de>
2396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2397 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2399 2013-01-09 David S. Miller <davem@davemloft.net>
2402 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2403 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2404 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2405 TCP_FASTOPEN): Define.
2406 (tcp_repair_opt): New structure.
2407 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2409 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2410 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2411 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2412 (tcp_cookie_transactions): New structure.
2414 2013-01-09 Anton Blanchard <anton@samba.org>
2416 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2417 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2418 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2421 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2423 * include/features.h (__USE_ANSI): Remove.
2425 2013-01-09 Roland McGrath <roland@hack.frob.com>
2427 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2429 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2431 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2433 * sysdeps/s390/fpu/libm-test-ulps: Update.
2435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2437 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2442 (__mp_dbl): Likewise.
2443 (__dbl_mp): Likewise.
2444 (add_magnitudes): Likewise.
2445 (sub_magnitudes): Likewise.
2451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2456 (__mp_dbl): Likewise.
2457 (__dbl_mp): Likewise.
2458 (add_magnitudes): Likewise.
2459 (sub_magnitudes): Likewise.
2465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2470 (__mp_dbl): Likewise.
2471 (__dbl_mp): Likewise.
2472 (add_magnitudes): Likewise.
2473 (sub_magnitudes): Likewise.
2480 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2482 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2483 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2484 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2485 2 && __USE_EXTERN_INLINES]: Likewise.
2487 2013-01-08 Andreas Jaeger <aj@suse.de>
2490 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2492 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2493 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2495 2013-01-07 Anton Blanchard <anton@samba.org>
2497 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2498 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2499 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2500 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2501 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2503 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2517 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2519 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2524 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2527 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2530 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2541 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2543 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2544 (__MALLOC_PMT): Likewise.
2545 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2546 [__GNUC__], only on [_LIBC].
2547 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2548 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2549 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2550 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2551 forward declaration.
2552 (realloc_hook_ini): Likewise.
2553 (memalign_hook_ini): Likewise.
2554 (__libc_memalign): Do not use __MALLOC_PMT in variable
2556 (__libc_valloc): Likewise.
2557 (__libc_pvalloc): Likewise.
2558 (__libc_calloc): Likewise.
2559 (__posix_memalign): Likewise.
2562 * math/s_casinh.c: Include <float.h>.
2563 (__casinh): Do not do computation with squaring and square root
2564 for large arguments.
2565 * math/s_casinhf.c: Include <float.h>.
2566 (__casinhf): Do not do computation with squaring and square root
2567 for large arguments.
2568 * math/s_casinhl.c: Include <float.h>.
2569 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2570 (__casinhl): Do not do computation with squaring and square root
2571 for large arguments.
2572 * math/libm-test.inc (casin_test): Add more tests.
2573 (casinh_test): Likewise.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2579 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2580 (__x86_64_raw_data_cache_size): Likewise.
2581 (__x86_64_data_cache_size_half): Likewise.
2582 (__x86_64_raw_data_cache_size_half): Likewise.
2583 (__x86_64_shared_cache_size): Likewise.
2584 (__x86_64_raw_shared_cache_size): Likewise.
2585 (__x86_64_shared_cache_size_half): Likewise.
2586 (__x86_64_raw_shared_cache_size_half): Likewise.
2587 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2589 (__x86_data_cache_size): This.
2590 (__x86_64_raw_data_cache_size): Renamed to ...
2591 (__x86_raw_data_cache_size): This.
2592 (__x86_64_data_cache_size_half): Renamed to ...
2593 (__x86_data_cache_size_half): This.
2594 (__x86_64_raw_data_cache_size_half): Renamed to ...
2595 (__x86_raw_data_cache_size_half): This.
2596 (__x86_64_shared_cache_size): Renamed to ...
2597 (__x86_shared_cache_size): This.
2598 (__x86_64_raw_shared_cache_size): Renamed to ...
2599 (__x86_raw_shared_cache_size): This.
2600 (__x86_64_shared_cache_size_half): Renamed to ...
2601 (__x86_shared_cache_size_half): This.
2602 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2603 (__x86_raw_shared_cache_size_half): This.
2604 * sysdeps/x86_64/memcpy.S: Updated.
2605 * sysdeps/x86_64/memset.S: Likewise.
2606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2610 2013-01-04 David S. Miller <davem@davemloft.net>
2612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2614 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2616 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2617 1 to avoid redefinition warning.
2618 (__USE_GNU): Don't define.
2619 (init_signaling_nan): Protoize.
2621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2623 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2625 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2627 (__cpymn): Likewise.
2628 (norm): Remove commented code.
2630 (__mp_dbl): Likewise.
2632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2633 (__cpymn): Likewise.
2634 (norm): Remove commented code.
2636 (__mp_dbl): Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2640 mp_no value for 1.0 and 2.0.
2641 (norm): Use RADIXI instead of radixi.d.
2643 (__mul): Use 0.0 instead of zero.d.
2644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2645 mp_no value for 1.0 and 2.0.
2646 (norm): Use RADIXI instead of radixi.d.
2648 (__mul): Use 0.0 instead of zero.d.
2650 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2653 * math/s_casinh.c (__casinh): Reduce finite argument to first
2654 quadrant then set signs of results at the end.
2655 * math/s_casinhf.c (__casinhf): Likewise.
2656 * math/s_casinhl.c (__casinhl): Likewise.
2657 * math/libm-test.inc (casin_test): Add more tests.
2658 (casinh_test): Likewise.
2659 * sysdeps/i386/fpu/libm-test-ulps: Update.
2660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2664 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2666 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2668 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2671 (__mp_dbl): Likewise.
2674 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2675 and adjust the header comment.
2677 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2678 variable name from declaration.
2680 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2683 Initialize COMMON_CPUID_INDEX_7 element.
2684 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2685 (CPUID_RTM): Likewise.
2686 (HAS_RTM): Likewise.
2687 (COMMON_CPUID_INDEX_7): New enum.
2689 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2692 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2693 size is zero, record memory as freed.
2695 2013-01-03 Andreas Jaeger <aj@suse.de>
2697 * po/ia.po: Add new Interlingua translation.
2699 2012-01-03 Allan McRae <allan@archlinux.org>
2701 * locale/programs/localedef.c: Fix description of '--posix' flag.
2703 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2705 * NEWS: Update dates in second copyright notice.
2706 * README: Update copyright dates in example.
2707 * manual/libc.texinfo: Update copyright dates.
2708 * scripts/test-installation.pl: Update copyright date in --version
2711 * hurd/ctty-input.c: Fix copyright notice formatting.
2712 * hurd/ctty-output.c: Likewise.
2713 * hurd/dtable.c: Likewise.
2714 * hurd/hurd-raise.c: Likewise.
2715 * hurd/hurdprio.c: Likewise.
2716 * hurd/msgportdemux.c: Likewise.
2717 * misc/sys/file.h: Likewise.
2718 * misc/sys/ioctl.h: Likewise.
2719 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2720 * sysdeps/mach/hurd/chdir.c: Likewise.
2721 * sysdeps/mach/hurd/fchdir.c: Likewise.
2722 * sysdeps/mach/hurd/rename.c: Likewise.
2723 * sysdeps/mach/hurd/rmdir.c: Likewise.
2724 * sysdeps/mach/hurd/seekdir.c: Likewise.
2725 * sysdeps/mach/hurd/setsid.c: Likewise.
2726 * sysdeps/posix/wait3.c: Likewise.
2728 * All files with FSF copyright notices: Update copyright dates
2729 using scripts/update-copyrights.
2730 * intl/plural.c: Regenerated.
2731 * locale/programs/charmap-kw.h: Likewise.
2732 * locale/programs/locfile-kw.h: Likewise.
2734 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2740 calculation loop and add branch prediction.
2742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2743 check access beyond bounds of m1np.
2745 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2747 (__inv): Remove local variable MPTWO to use the global
2749 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2753 MP3HALFS static const.
2755 2013-01-01 David S. Miller <davem@davemloft.net>
2757 * po/ca.po: Update from translation team.
2759 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2761 * scripts/update-copyrights: New file.
2762 * Makeconfig: Reformat copyright notice.
2763 * ctype/ctype.h: Likewise.
2764 * debug/swprintf_chk.c: Likewise.
2765 * elf/dl-cache.c: Likewise.
2766 * elf/dl-debug.c: Likewise.
2767 * elf/dl-object.c: Likewise.
2768 * grp/initgroups.c: Likewise.
2769 * hurd/Makefile: Likewise.
2770 * hurd/hurd/signal.h: Likewise.
2771 * hurd/hurdfault.c: Likewise.
2772 * hurd/hurdioctl.c: Likewise.
2773 * hurd/hurdlookup.c: Likewise.
2774 * hurd/intr-msg.c: Likewise.
2775 * iconv/gconv_open.c: Likewise.
2776 * libio/swprintf.c: Likewise.
2777 * locale/lc-ctype.c: Likewise.
2778 * locale/nl_langinfo.c: Likewise.
2779 * mach/Machrules: Likewise.
2780 * mach/Makefile: Likewise.
2781 * malloc/obstack.h: Likewise.
2782 * manual/Makefile: Likewise.
2783 * manual/tsort.awk: Likewise.
2784 * misc/bits/stab.def: Likewise.
2785 * nis/nis_print_group_entry.c: Likewise.
2786 * nis/nis_table.c: Likewise.
2787 * nis/nss_compat/compat-pwd.c: Likewise.
2788 * nis/nss_compat/compat-spwd.c: Likewise.
2789 * po/Makefile: Likewise.
2790 * posix/fnmatch.c: Likewise.
2791 * posix/regex.h: Likewise.
2792 * resolv/Makefile: Likewise.
2793 * resolv/nss_dns/dns-network.c: Likewise.
2794 * resolv/res_hconf.c: Likewise.
2795 * scripts/gen-sorted.awk: Likewise.
2796 * soft-fp/soft-fp.h: Likewise.
2797 * stdio-common/printf.h: Likewise.
2798 * stdlib/monetary.h: Likewise.
2799 * stdlib/random.c: Likewise.
2800 * stdlib/random_r.c: Likewise.
2801 * sysdeps/generic/Makefile: Likewise.
2802 * sysdeps/gnu/Makefile: Likewise.
2803 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2831 * sysdeps/mach/hurd/errnos.awk: Likewise.
2832 * sysdeps/mach/hurd/fork.c: Likewise.
2833 * sysdeps/mach/hurd/getcwd.c: Likewise.
2834 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2835 * sysdeps/mach/hurd/mmap.c: Likewise.
2836 * sysdeps/mach/hurd/utimes.c: Likewise.
2837 * sysdeps/mach/hurd/xmknod.c: Likewise.
2838 * sysdeps/posix/profil.c: Likewise.
2839 * sysdeps/posix/readdir_r.c: Likewise.
2840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2841 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2842 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2843 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2845 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2847 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2849 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2851 * sysdeps/pthread/lio_listio.c: Likewise.
2852 * sysdeps/sparc/dl-procinfo.h: Likewise.
2853 * sysdeps/unix/i386/sysdep.S: Likewise.
2854 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2855 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2856 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2857 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2859 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2860 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2861 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2862 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2863 * sysdeps/wordsize-32/divdi3.c: Likewise.
2864 * time/sys/time.h: Likewise.
2865 * wcsmbs/Makefile: Likewise.
2867 2013-01-01 David S. Miller <davem@davemloft.net>
2869 * po/fr.po: Update from translation team.
2871 * catgets/gencat.c: Update copyright year.
2872 * csu/version.c: Likewise.
2873 * debug/catchsegv.sh: Likewise.
2874 * debug/pcprofiledump.c: Likewise.
2875 * debug/xtrace.sh: Likewise.
2876 * elf/ldconfig.c: Likewise.
2877 * elf/ldd.bash.in: Likewise.
2878 * elf/pldd.c: Likewise.
2879 * elf/sotruss.ksh: Likewise.
2880 * elf/sprof.c: Likewise.
2881 * iconv/iconv_prog.c: Likewise.
2882 * iconv/iconvconfig.c: Likewise.
2883 * locale/programs/locale.c: Likewise.
2884 * locale/programs/localedef.c: Likewise.
2885 * login/programs/pt_chown.c: Likewise.
2886 * malloc/memusage.sh: Likewise.
2887 * malloc/memusagestat.c: Likewise.
2888 * malloc/mtrace.pl: Likewise.
2889 * nscd/nscd.c: Likewise.
2890 * nss/getent.c: Likewise.
2891 * nss/makedb.c: Likewise.
2892 * posix/getconf.c: Likewise.
2894 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2896 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2899 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2901 * math/bits/mathcalls.h (modf): Use __nonnull.
2903 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2905 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2906 (split): Use macro CN instead of the bare value.
2907 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2910 instead of the bare value.
2913 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2919 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2921 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2923 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2924 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2926 2012-12-28 Andreas Jaeger <aj@suse.de>
2928 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2929 values are from Linux 3.7.
2931 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2932 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2934 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2936 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2941 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2942 variables with preprocessor constants.
2943 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2945 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2947 2012-12-27 Bruno Haible <bruno@clisp.org>
2950 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2953 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2956 and use variable directly.
2957 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2959 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2966 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2967 include directive. Remove local variable MPONE.
2968 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2972 2012-12-25 David S. Miller <davem@davemloft.net>
2974 * version.h (RELEASE): Set to "development".
2975 (VERSION): Set to "2.17.90".
2976 * NEWS: Add 2.18 section.
2978 2012-12-21 David S. Miller <davem@davemloft.net>
2980 * po/hr.po: Update from translation team.
2982 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2984 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2986 2012-12-19 Steve Ellcey <sellcey@mips.com>
2988 * NEWS: Mention new memcpy for MIPS.
2990 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2992 * manual/contrib.texi (Contributors): Spelling correction.
2994 2012-12-15 David S. Miller <davem@davemloft.net>
2996 * po/ru.po: Update from translation team.
2998 2012-12-13 David S. Miller <davem@davemloft.net>
3000 * NEWS: Mention IFUNC testsuite enhancements.
3002 * po/pl.po: Update from translation team.
3003 * po/bg.po: Likewise.
3005 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3006 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3008 2012-12-11 David S. Miller <davem@davemloft.net>
3010 * po/sv.po: Update from translation team.
3012 * po/vi.po: Update from translation team.
3014 * po/cs.po: Update from translation team.
3016 * po/de.po: Update from translation team.
3017 * po/eo.po: Likewise.
3018 * po/nl.po: Likewise.
3020 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3023 * manual/argp.texi (Argp Helper Functions): Move node to follow
3027 * manual/conf.texi (Limits on File System Capacity): Mention if
3028 terminating null is included in the max size.
3030 2012-12-10 Andreas Jaeger <aj@suse.de>
3032 * po/cs.po: Update from translation team.
3034 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3037 void pointer and cast to uintptr_t.
3038 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3040 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3041 * sysdeps/s390/s390-64/memset.S: Likewise.
3043 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3046 * menual/message.texi (Message Translation): Fix typos.
3047 (Helper programs for gettext): Likewise.
3049 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3052 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3055 2012-12-07 David S. Miller <davem@davemloft.net>
3057 * po/libc.pot: Update.
3059 2012-12-07 Richard Henderson <rth@redhat.com>
3062 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3063 normal/normal case to before the switch.
3064 (_FP_DIV): Likewise.
3066 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3067 Mike Frysinger <vapier@gentoo.org>
3069 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3070 check for __NR_fadvise64_64.
3072 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3074 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3075 0, not just to plain "0" as a statement.
3076 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3079 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3081 * NEWS: Use sourceware.org in Bugzilla URL.
3083 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3086 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3088 * stdio-common/tst-put-error.c (do_test): Add newline to the
3089 padded test to ensure flush.
3091 2012-12-05 Jeff Law <law@redhat.com>
3093 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3095 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3097 * README: Don't refer to ports add-on as distributed separately.
3098 Mention AArch64 in list of systems supported in the ports add-on.
3100 * LICENSES: Add more non-FSF copyright and license notices.
3102 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3107 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3108 10000 as width of padded output.
3110 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3112 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3115 variable LX with __attribute__ ((unused)).
3116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3118 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3121 with __attribute__ ((unused)).
3123 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3125 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3127 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3129 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3130 (CFLAGS-nldbl-acos.c): New variable.
3131 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3219 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3220 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3221 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3222 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3223 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3224 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3225 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3226 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3227 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3230 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3234 whole low double instead of just low 47 bits when splitting values
3237 2012-12-03 Allan McRae <allan@archlinux.org>
3239 * manual/stdio.texi (Predefined Printf Handlers): Remove
3240 @hsep and @vsep usage.
3242 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3244 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3245 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3247 2012-12-03 Jeff Law <law@redhat.com>
3249 * time/sys/time.h (settimeofday): Do not mark TV argument
3252 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3254 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3255 when currently writing and seek to current position when not.
3256 * libio/Makefile (tests): Remove bug-fclose1.
3257 * libio/bug-fclose1.c: Delete.
3259 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3261 * manual/arith.texi (feenableexcept): Fix typo.
3262 (fedisableexcept): Likewise.
3264 2012-11-30 Roland McGrath <roland@hack.frob.com>
3266 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3267 second, differently-typed declaration, rather than a cast.
3269 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3271 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3272 * include/rpc/svc.h: ... here.
3274 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3277 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3278 depending n and resplen2 to catch cases where answer
3281 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3284 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3286 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3290 2012-11-29 Roland McGrath <roland@hack.frob.com>
3292 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3294 2012-11-28 Jeff Law <law@redhat.com>
3297 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3298 dataset_temporary. Track alloca usage into alloca_used.
3299 If dataset is large allocate and release it via malloc/free.
3301 2012-06-04 Florian Weimer <fweimer@redhat.com>
3304 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3306 2012-11-28 David S. Miller <davem@davemloft.net>
3308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3310 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3313 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3314 of pi/2 rounded to nearest to 64 bits.
3315 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3317 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3320 2012-11-28 Jeff Law <law@redhat.com>
3321 Martin Osvald <mosvald@redhat.com>
3324 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3325 * sunrpc/svc.c: Include time.h.
3326 (__svc_accept_failed): New function.
3327 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3328 any reason other than EINTR, call __svc_accept_failed.
3329 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3330 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3332 2012-11-28 Andreas Schwab <schwab@suse.de>
3334 * scripts/abilist.awk: Also handle indirect functions in .opd
3337 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/x86/fpu/powl_helper.c: New file.
3341 * sysdeps/x86/fpu/Makefile: Likewise.
3342 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3344 (__ieee754_powl): Use __powl_helper for finite arguments except
3345 integer exponents below 8.
3346 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3348 (__ieee754_powl): Use __powl_helper for finite arguments except
3349 integer exponents below 8.
3350 * math/libm-test.inc (pow_test): Add more tests and enable some
3351 previously disabled tests.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 Carlos O'Donell <carlos_odonell@mentor.com>
3358 * nss/makedb.c (is_prime): Assert that input is odd and greater
3359 than 4. Note that fact in a comment too.
3360 (next_prime): Add 4 to input.
3362 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3365 * libio/Makefile (tests): Add test case tst-fwrite-error.
3366 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3367 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3368 * libio/tst-fwrite-error.c: New test case.
3370 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3372 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3373 before casting to void *.
3374 * include/libc-internal.h (__pointer_type): New macro.
3375 (__integer_if_pointer_type_sub): Likewise.
3376 (__integer_if_pointer_type): Likewise.
3377 (cast_to_integer): Likewise.
3378 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3379 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3380 before casting to atomic64_t.
3381 (atomic_exchange_acq): Likewise.
3382 (__arch_exchange_and_add_body): Likewise.
3383 (__arch_add_body): Likewise.
3384 (atomic_add_negative): Likewise.
3385 (atomic_add_zero): Likewise.
3387 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3389 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3390 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3391 (add_fdes): Likewise.
3392 (linear_search_fdes): Likewise.
3393 (binary_search_unencoded_fdes): Likewise.
3395 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3397 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3399 2012-11-24 Adam Conrad <adconrad@0c3.net>
3401 * configure.in: Autodetect C++ header directories.
3402 * configure: Regenerated.
3404 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3406 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3408 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3412 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3414 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3415 LDBL_MANT_DIG == 106]: Disable some tests.
3416 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3418 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3423 input for small inputs. Return +/- pi/2 for large inputs.
3424 * math/libm-test.inc (atan_test): Add more tests.
3426 * sysdeps/generic/unwind-dw2-fde-glibc.c
3427 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3428 __attribute__ ((unused)).
3431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3432 x * y if x and y are nonzero and z is zero.
3435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3436 nonzero exponents with absolute value below 0x1p-117 to +/-
3440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3441 up arguments below 2**-450, not just those below 2**-500.
3442 * math/libm-test.inc (hypot_test): Add another test.
3445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3446 Return a+b for ratio over 2**120, not 2**60.
3447 * math/libm-test.inc (hypot_test): Add another test.
3449 * math/libm-test.inc (clog_test): Use
3450 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3451 (clog10_test): Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3456 2012-11-22 Andreas Schwab <schwab@suse.de>
3458 * sysdeps/i386/fpu/libm-test-ulps: Update.
3460 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3462 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3463 printf output with newline.
3465 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3468 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3469 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3470 -z nodlopen, -z initfirst and -z execstack support.
3471 * configure: Regenerated.
3473 * elf/elf.h (DF_1_NODIRECT): New macro.
3474 (DF_1_IGNMULDEF): Likewise.
3475 (DF_1_NOKSYMS): Likewise.
3476 (DF_1_NOHDR): Likewise.
3477 (DF_1_EDITED): Likewise.
3478 (DF_1_NORELOC): Likewise.
3479 (DF_1_SYMINTPOSE): Likewise.
3480 (DF_1_GLOBAUDIT): Likewise.
3481 (DF_1_SINGLETON): Likewise.
3482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3483 DT_1_SUPPORTED_MASK bits.
3484 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3486 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3488 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3490 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3492 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3495 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3496 (sendmmsg): Move declarations...
3497 * socket/sys/socket.h: ... here.
3498 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3499 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3501 * socket/recvmmsg.c: ... this new file.
3502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3503 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3504 definition of __sendmmsg hidden.
3505 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3506 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3507 Move ENOSYS stub into and include it from...
3508 * socket/sendmmsg.c: ... this new file.
3509 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3510 (sysdep_routines): Move recvmmsg and sendmmsg...
3511 * socket/Makefile (routines): ... here.
3512 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3513 (GLIBC_PRIVATE): Add __sendmmsg.
3514 * include/sys/socket.h (__sendmmsg): Add declarations.
3515 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3518 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3521 variable I1 with __attribute__ ((unused)).
3522 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3524 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3526 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3527 DUMMY variables with __attribute__ ((unused)).
3529 * bits/byteswap.h: Include <bits/types.h>.
3530 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3532 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3534 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3535 string_t. Do not manually set errno.
3536 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3537 length with __strnlen. Make sure to both set errno and return it on
3540 2012-11-19 David S. Miller <davem@davemloft.net>
3542 With help from Joseph Myers.
3543 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3544 very large arguments properly.
3545 * math/libm-test.inc (atan_test): New tests.
3546 (atan2_test): New tests.
3547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3550 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3553 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3556 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3557 [POSIX] (EADDRNOTAVAIL): Likewise.
3558 [POSIX] (EAFNOSUPPORT): Likewise.
3559 [POSIX] (EALREADY): Likewise.
3560 [POSIX] (ECONNABORTED): Likewise.
3561 [POSIX] (ECONNREFUSED): Likewise.
3562 [POSIX] (ECONNRESET): Likewise.
3563 [POSIX] (EDESTADDRREQ): Likewise.
3564 [POSIX] (EDQUOT): Likewise.
3565 [POSIX] (EHOSTUNREACH): Likewise.
3566 [POSIX] (EIDRM): Likewise.
3567 [POSIX] (EISCONN): Likewise.
3568 [POSIX] (ELOOP): Likewise.
3569 [POSIX] (EMULTIHOP): Likewise.
3570 [POSIX] (ENETDOWN): Likewise.
3571 [POSIX] (ENETUNREACH): Likewise.
3572 [POSIX] (ENOBUFS): Likewise.
3573 [POSIX] (ENODATA): Likewise.
3574 [POSIX] (ENOLINK): Likewise.
3575 [POSIX] (ENOMSG): Likewise.
3576 [POSIX] (ENOPROTOOPT): Likewise.
3577 [POSIX] (ENOSR): Likewise.
3578 [POSIX] (ENOSTR): Likewise.
3579 [POSIX] (ENOTCONN): Likewise.
3580 [POSIX] (ENOTSOCK): Likewise.
3581 [POSIX] (EOPNOTSUPP): Likewise.
3582 [POSIX] (EOVERFLOW): Likewise.
3583 [POSIX] (EPROTO): Likewise.
3584 [POSIX] (EPROTONOSUPPORT): Likewise.
3585 [POSIX] (EPROTOTYPE): Likewise.
3586 [POSIX] (ESTALE): Likewise.
3587 [POSIX] (ETIME): Likewise.
3588 [POSIX] (ETXTBSY): Likewise.
3589 [POSIX] (EWOULDBLOCK): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3591 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3592 [POSIX] (SEEK_CUR): Likewise.
3593 [POSIX] (SEEK_END): Likewise.
3594 [POSIX || UNIX98] (mode_t): Do not require.
3595 [POSIX] (off_t): Likewise.
3596 [POSIX] (pid_t): Likewise.
3597 [POSIX] (sys/stat.h): Do not allow header.
3598 [POSIX] (unistd.h): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3600 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3602 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3604 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3605 sigevent): Specify elements.
3606 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3608 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3609 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3611 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3612 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3613 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3614 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3615 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3616 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3617 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3618 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3620 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3621 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3622 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3623 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3628 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3632 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3633 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3634 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3635 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3637 Specify lower bound on value.
3638 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3644 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3675 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3680 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3683 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3687 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3688 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3689 specify as optional.
3690 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3691 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3692 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3693 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3694 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3695 [XPG3] (NL_LANGMAX): Likewise.
3696 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3697 [POSIX || XPG3] (NL_NMAX): Likewise.
3698 [POSIX || XPG3] (NL_SETMAX): Likewise.
3699 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3700 [XPG3] (NZERO): Likewise.
3701 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3702 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3703 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3704 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3705 (REG_ERANGE): Expect.
3706 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3708 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3709 Use (void) in prototype.
3710 [POSIX] (*_t): Allow.
3711 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3712 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3713 (WRDE_BADVAL): Expect.
3715 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3717 [XPG3 || XPG4] (O_RSYNC): Likewise.
3718 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3720 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3721 [XPG3 || XPG4] (sigqueue): Likewise.
3722 [XPG3 || XPG4] (sigtimedwait): Likewise.
3723 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3724 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3725 [XPG3 || XPG4] (vsnprintf): Likewise.
3726 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3728 [XPG3 || XPG4] (blksize_t): Likewise.
3729 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3731 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3732 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3733 [XPG3 || XPG4] (struct itimerspec): Likewise.
3734 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3735 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3736 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3737 [XPG3 || XPG4] (clockid_t): Likewise.
3738 [XPG3 || XPG4] (timer_t): Likewise.
3739 [XPG3 || XPG4] (clock_getres): Likewise.
3740 [XPG3 || XPG4] (clock_gettime): Likewise.
3741 [XPG3 || XPG4] (clock_settime): Likewise.
3742 [XPG3 || XPG4] (nanosleep): Likewise.
3743 [XPG3 || XPG4] (timer_create): Likewise.
3744 [XPG3 || XPG4] (timer_delete): Likewise.
3745 [XPG3 || XPG4] (timer_gettime): Likewise.
3746 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3747 [XPG3 || XPG4] (timer_settime): Likewise.
3748 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3749 [XPG3 || XPG4] (getlogin_r): Likewise.
3750 [XPG3 || XPG4] (pread): Likewise.
3751 [XPG3 || XPG4] (pthread_atfork): Likewise.
3752 [XPG3 || XPG4] (pwrite): Likewise.
3755 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3758 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3760 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3761 finalizing MALLSTREAM.
3763 * sysdeps/mach/hurd/syncfs.c: New file.
3765 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3768 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3769 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3771 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3772 (_nss_dns_gethostbyname4_r): Likewise.
3773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3774 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3776 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3779 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3781 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3783 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3784 * elf/cache.c (print_entry): Print ",AArch64" for
3787 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3788 * elf/cache.c (print_entry): Print ",hard-float" for
3791 2012-11-18 David S. Miller <davem@davemloft.net>
3793 With help from Joseph Myers.
3794 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3796 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3798 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3799 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3801 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3802 * math/libm-test.inc (y0_test): New tests.
3803 (y1_test): New tests.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3808 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3810 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3812 * configure: Regenerated.
3814 2012-11-17 David S. Miller <davem@davemloft.net>
3817 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3818 nonzero exponents with absolute value below 0x1p-128 to +/-
3821 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3823 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3825 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3827 * posix/getconf-speclist.c: New file.
3828 * posix/posix-envs.def: Likewise.
3829 * posix/confstr.c (START_ENV_GROUP): New macro.
3830 (END_ENV_GROUP): Likewise.
3831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3832 (KNOWN_PRESENT_ENV_STRING): Likewise.
3833 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3834 (UNKNOWN_ENVIRONMENT): Likewise.
3835 (confstr): Include posix-envs.def instead of handling
3836 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3837 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3838 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3839 (END_ENV_GROUP): Likewise.
3840 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3841 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3842 (UNKNOWN_ENVIRONMENT): Likewise.
3843 (__sysconf): Include posix-envs.def instead of handling associated
3844 cases directly here.
3845 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3846 preprocessing getconf-speclist.c rather than running getconf or
3847 generating empty file.
3849 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3851 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3853 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3856 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3858 2012-11-16 David S. Miller <davem@davemloft.net>
3860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3861 smaller than LDBL_EPSILON/2.0L, just return xm1.
3863 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3865 * elf/tst-array1.c (init): Set constructor priority to 1000.
3866 (fini): Set destructor priority to 1000.
3867 * elf/tst-array2dep.c: Likewise.
3869 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3872 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3873 (_IO_new_file_xsputn): Also return EOF if none of the input
3874 data was written when overflow failed.
3875 * libio/iopadn.c (_IO_padn): Likewise.
3876 * libio/iowpadn.c (_IO_wpadn): Likewise.
3877 * stdio-common/tst-put-error.c: Add copyright notice.
3878 (do_test): Add case for printing padded string.
3879 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3880 _IO_padn returned error.
3881 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3882 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3885 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3887 * libio/libioP.h: Add comment note that the references to C++
3888 bits are now obsolete.
3890 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3892 * math/libm-test.inc (check_complex): Use asprintf.
3894 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3896 * debug/pcprofiledump.c (print_version): Update copyright year.
3897 * malloc/memusagestat.c (print_version): Likewise.
3899 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3902 * elf/Makefile (tests): Add tst-audit8.
3903 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3904 ($(objpfx)tst-audit8.out): New target.
3905 (tst-audit8-ENV): New variable.
3906 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3907 audit if l_reloc_result is NULL.
3908 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3909 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3910 * elf/tst-audit8.c: New file.
3912 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3914 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3915 * misc/Makefile (CFLAGS-select.c): Define.
3916 * posix/Makefile (CFLAGS-pause.c): Define.
3918 2012-11-13 David S. Miller <davem@davemloft.net>
3920 * crypt/Makefile: Move test targets after toplevel Rules
3921 inclusion. Grab any necessary sysdep routines when linking.
3922 * crypt/md5.c (md5_process_block): Remove define, we will always
3923 name it __md5_process_block.
3924 (md5_finish_ctx): Update md5_process_block call.
3925 (md5_stream): Likewise.
3926 (md5_process_bytes): Likewise.
3927 (md5_process_block): Rename to __md5_process_block and move to ...
3928 * crypt/md5-block.c: ... here.
3929 * crypt/sha256.c (sha256_process_block): Move to ...
3930 * crypt/sha256-block.c: ... here.
3931 * crypt/sha512.c (sha512_process_block): Move to ...
3932 * crypt/sha512-block.c: ... here.
3933 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3935 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3936 * sysdeps/sparc/sparc64/multiarch/Makefile
3937 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3939 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3942 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3943 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3944 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3945 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3946 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3947 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3948 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3949 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3950 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3957 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3959 * timezone/tzselect.ksh: Update from tzcode git revision
3960 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3961 * timezone/zdump.c: Likewise.
3962 * timezone/zic.c: Likewise.
3963 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3964 in TZVERSION setting, not $(PKGVERSION).
3965 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3966 REPORT_BUGS_TO settings.
3969 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3972 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3974 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3975 detection to immediately after _FP_ROUND().
3976 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3979 2012-11-11 David S. Miller <davem@davemloft.net>
3981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3983 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3984 __close rather than their public counterparts.
3986 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3988 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3990 [UNIX98] (sem_timedwait): Do not expect.
3991 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3992 [XPG4 || UNIX98] (sockatmark): Do not expect.
3993 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3994 (clock_getcpuclockid): Do not expect.
3995 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3996 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3998 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3999 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4000 [UNIX98] (vwscanf): Likewise.
4001 [UNIX98] (vswscanf): Likewise.
4003 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4005 * timezone/version.h: Remove file.
4006 * timezone/README: Do not refer to version.h.
4007 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4009 ($(objpfx)zdump.o): Likewise.
4010 ($(objpfx)version.h): New target.
4012 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4014 * timezone/README: Don't mention modification to tzselect.ksh.
4015 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4016 work on unmodified tzselect.ksh. Substitute version numbers in
4019 * Makefile (format-me): Remove.
4020 (INSTALL): Adjust indentation. Use commands directly instead of
4023 * aclocal.m4 (ACX_PKGVERSION): New macro.
4024 (ACX_BUGURL): Likewise.
4025 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4026 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4027 (REPORT_BUGS_TO): Likewise.
4028 * configure: Regenerated.
4029 * config.h.in (PKGVERSION): New macro.
4030 (REPORT_BUGS_TO): Likewise.
4031 * config.make.in (PKGVERSION): New variable.
4032 (PKGVERSION_TEXI): Likewise.
4033 (REPORT_BUGS_TO): Likewise.
4034 (REPORT_BUGS_TEXI): Likewise.
4035 * Makefile (format-me): Use -I$(common-objpfx)manual.
4036 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4037 ($(common-objpfx)manual/%): New target.
4038 (manual/%): Remove target.
4039 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4040 (print_version): Use PKGVERSION.
4041 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4042 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4044 ($(objpfx)xtrace): Likewise.
4045 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4046 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4047 (print_version): Use PKGVERSION.
4048 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4049 (do_version): Use PKGVERSION.
4050 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4052 (common-ldd-rewrite): Likewise.
4053 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4054 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4055 (print_version): Use PKGVERSION.
4056 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4057 * elf/pldd.c (argp_program_bug_address): Remove variable.
4058 (more_help): New function.
4059 (argp): Use more_help.
4060 (print_version): Use PKGVERSION.
4061 * elf/sln.c (main): Use PKGVERSION.
4062 (usage): Use REPORT_BUGS_TO.
4063 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4064 (top level): Use PKGVERSION.
4065 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4066 (print_version): Use PKGVERSION.
4067 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4068 (print_version): Use PKGVERSION.
4069 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4070 (print_version): Use PKGVERSION.
4071 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4072 (print_version): Use PKGVERSION.
4073 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4074 (print_version): Use PKGVERSION.
4075 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4076 (print_version): Use PKGVERSION.
4077 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4079 ($(objpfx)memusage): Likewise.
4080 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4081 (do_version): Use PKGVERSION.
4082 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4083 (print_version): Use PKGVERSION.
4084 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4085 ($PKGVERSION): New variable.
4086 ($REPORT_BUGS_TO): Likewise.
4087 (usage): Use $REPORT_BUGS_TO.
4088 (top level): Use $PKGVERSION.
4089 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4090 ($(objpfx)pkgvers.texi): New rule.
4091 ($(objpfx)stamp-pkgvers): Likewise.
4092 * manual/install.texi: Include pkgvers.texi.
4093 (--with-pkgversion): Document new configure option.
4094 (--with-bugurl): Likewise.
4095 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4096 than necessarily for this particular distribution. Use
4097 REPORT_BUGS_TO for where to report bugs.
4098 * INSTALL: Regenerated.
4099 * manual/libc.texinfo: Include pkgvers.texi.
4100 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4101 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4102 (print_version): Use PKGVERSION.
4103 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4104 (print_version): Use PKGVERSION.
4105 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4106 (print_version): Use PKGVERSION.
4107 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4108 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4110 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4111 (print_version): Use PKGVERSION.
4112 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4113 (print_version): Use PKGVERSION.
4114 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4117 * timezone/checktab.awk: Update from tzcode 2012i.
4118 * timezone/ialloc.c: Likewise.
4119 * timezone/private.h: Likewise.
4120 * timezone/scheck.c: Likewise.
4121 * timezone/tzfile.h: Likewise.
4122 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4123 (TZVERSION): Hardcode tzcode version number.
4124 * timezone/zdump.c: Update from tzcode 2012i.
4125 * timezone/zic.c: Likewise.
4126 * timezone/version.h: New file.
4127 * timezone/README: Describe version.h. Update upstream location.
4130 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4131 (mktemp): Enable declaration.
4132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4149 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4150 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4151 for copies of such integer values.
4152 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4153 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4155 2012-11-09 Andreas Jaeger <aj@suse.de>
4157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4158 definitions and declarations that are provided by
4159 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4161 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4163 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4164 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4165 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4168 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4170 * elf/elf.h: Update comment before AArch64 relocations.
4172 2012-11-07 David S. Miller <davem@davemloft.net>
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4175 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4176 (__start_context): Declare.
4177 (__makecontext_ret): Delete.
4178 (__makecontext): Hook up __start_context instead of
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4181 (sysdep_routines): Add __start_context when in stdlib.
4183 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4185 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4186 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4187 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4189 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4190 (READELF): New variable. Use it instead of hardcoded "readelf".
4192 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4194 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4195 * sysdeps/x86/Makefile: Here.
4196 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4197 * sysdeps/x86/tst-xmmymm.sh: This.
4199 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4201 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4203 [UNIX98] (pthread_barrier_t): Do not expect.
4204 [UNIX98] (pthread_barrierattr_t): Likewise.
4205 [UNIX98] (pthread_spinlock_t): Likewise.
4206 [UNIX98] (pthread_barrier_destroy): Likewise.
4207 [UNIX98] (pthread_barrier_init): Likewise.
4208 [UNIX98] (pthread_barrier_wait): Likewise.
4209 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4210 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4211 [UNIX98] (pthread_barrierattr_init): Likewise.
4212 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4213 [UNIX98] (pthread_getcpuclockid): Likewise.
4214 [UNIX98] (pthread_mutex_timedlock): Likewise.
4215 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4216 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4217 [UNIX98] (pthread_sigmask): Likewise.
4218 [UNIX98] (pthread_spin_destroy): Likewise.
4219 [UNIX98] (pthread_spin_init): Likewise.
4220 [UNIX98] (pthread_spin_lock): Likewise.
4221 [UNIX98] (pthread_spin_trylock): Likewise.
4222 [UNIX98] (pthread_spin_unlock): Likewise.
4223 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4225 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4227 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4228 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4229 [XPG3 || XPG4] (pthread_key_t): Likewise.
4230 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4231 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4232 [XPG3 || XPG4] (pthread_once_t): Likewise.
4233 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4234 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4236 [XPG3 || XPG4] (pthread_t): Likewise.
4238 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4240 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4242 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4243 Change function return type to int.
4245 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4246 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4247 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4248 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4249 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4250 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4251 [!POSIX] (posix_madvise): Likewise.
4252 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4254 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4255 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4257 (posix_mem_offset): Likewise.
4258 (posix_typed_mem_get_info): Likewise.
4259 (posix_typed_mem_open): Likewise.
4261 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4262 Change condition to [XOPEN2K8].
4264 * conform/conformtest.pl: Preprocess allow-header data with -x c
4265 instead of from stdin.
4266 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4267 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4268 [C99-based standards] (cerfc): Likewise.
4269 [C99-based standards] (cexp2): Likewise.
4270 [C99-based standards] (cexpm1): Likewise.
4271 [C99-based standards] (clog10): Likewise.
4272 [C99-based standards] (clog1p): Likewise.
4273 [C99-based standards] (clog2): Likewise.
4274 [C99-based standards] (clgamma): Likewise.
4275 [C99-based standards] (ctgamma): Likewise.
4276 [C99-based standards] (cerff): Likewise.
4277 [C99-based standards] (cerfcf): Likewise.
4278 [C99-based standards] (cexp2f): Likewise.
4279 [C99-based standards] (cexpm1f): Likewise.
4280 [C99-based standards] (clog10f): Likewise.
4281 [C99-based standards] (clog1pf): Likewise.
4282 [C99-based standards] (clog2f): Likewise.
4283 [C99-based standards] (clgammaf): Likewise.
4284 [C99-based standards] (ctgammaf): Likewise.
4285 [C99-based standards] (cerfl): Likewise.
4286 [C99-based standards] (cerfcl): Likewise.
4287 [C99-based standards] (cexp2l): Likewise.
4288 [C99-based standards] (cexpm1l): Likewise.
4289 [C99-based standards] (clog10l): Likewise.
4290 [C99-based standards] (clog1pl): Likewise.
4291 [C99-based standards] (clog2l): Likewise.
4292 [C99-based standards] (clgammal): Likewise.
4293 [C99-based standards] (ctgammal): Likewise.
4294 * conform/data/inttypes.h-data [C99-based standards]: Include
4295 stdint.h-data. Remove all expectations for stdint.h contents.
4296 [C99-based standards] (PRI*): Do not allow.
4297 [C99-based standards] (SCN*): Likewise.
4298 [C99-based standards] (*_t): Likewise.
4299 [C99-based-standards] (PRId8): Expect macro.
4300 [C99-based-standards] (PRIi8): Likewise.
4301 [C99-based-standards] (PRIo8): Likewise.
4302 [C99-based-standards] (PRIu8): Likewise.
4303 [C99-based-standards] (PRIx8): Likewise.
4304 [C99-based-standards] (PRIX8): Likewise.
4305 [C99-based-standards] (SCNd8): Likewise.
4306 [C99-based-standards] (SCNi8): Likewise.
4307 [C99-based-standards] (SCNo8): Likewise.
4308 [C99-based-standards] (SCNu8): Likewise.
4309 [C99-based-standards] (SCNx8): Likewise.
4310 [C99-based-standards] (PRIdLEAST8): Likewise.
4311 [C99-based-standards] (PRIiLEAST8): Likewise.
4312 [C99-based-standards] (PRIoLEAST8): Likewise.
4313 [C99-based-standards] (PRIuLEAST8): Likewise.
4314 [C99-based-standards] (PRIxLEAST8): Likewise.
4315 [C99-based-standards] (PRIXLEAST8): Likewise.
4316 [C99-based-standards] (SCNdLEAST8): Likewise.
4317 [C99-based-standards] (SCNiLEAST8): Likewise.
4318 [C99-based-standards] (SCNoLEAST8): Likewise.
4319 [C99-based-standards] (SCNuLEAST8): Likewise.
4320 [C99-based-standards] (SCNxLEAST8): Likewise.
4321 [C99-based-standards] (PRIdFAST8): Likewise.
4322 [C99-based-standards] (PRIiFAST8): Likewise.
4323 [C99-based-standards] (PRIoFAST8): Likewise.
4324 [C99-based-standards] (PRIuFAST8): Likewise.
4325 [C99-based-standards] (PRIxFAST8): Likewise.
4326 [C99-based-standards] (PRIXFAST8): Likewise.
4327 [C99-based-standards] (SCNdFAST8): Likewise.
4328 [C99-based-standards] (SCNiFAST8): Likewise.
4329 [C99-based-standards] (SCNoFAST8): Likewise.
4330 [C99-based-standards] (SCNuFAST8): Likewise.
4331 [C99-based-standards] (SCNxFAST8): Likewise.
4332 [C99-based-standards] (PRId16): Likewise.
4333 [C99-based-standards] (PRIi16): Likewise.
4334 [C99-based-standards] (PRIo16): Likewise.
4335 [C99-based-standards] (PRIu16): Likewise.
4336 [C99-based-standards] (PRIx16): Likewise.
4337 [C99-based-standards] (PRIX16): Likewise.
4338 [C99-based-standards] (SCNd16): Likewise.
4339 [C99-based-standards] (SCNi16): Likewise.
4340 [C99-based-standards] (SCNo16): Likewise.
4341 [C99-based-standards] (SCNu16): Likewise.
4342 [C99-based-standards] (SCNx16): Likewise.
4343 [C99-based-standards] (PRIdLEAST16): Likewise.
4344 [C99-based-standards] (PRIiLEAST16): Likewise.
4345 [C99-based-standards] (PRIoLEAST16): Likewise.
4346 [C99-based-standards] (PRIuLEAST16): Likewise.
4347 [C99-based-standards] (PRIxLEAST16): Likewise.
4348 [C99-based-standards] (PRIXLEAST16): Likewise.
4349 [C99-based-standards] (SCNdLEAST16): Likewise.
4350 [C99-based-standards] (SCNiLEAST16): Likewise.
4351 [C99-based-standards] (SCNoLEAST16): Likewise.
4352 [C99-based-standards] (SCNuLEAST16): Likewise.
4353 [C99-based-standards] (SCNxLEAST16): Likewise.
4354 [C99-based-standards] (PRIdFAST16): Likewise.
4355 [C99-based-standards] (PRIiFAST16): Likewise.
4356 [C99-based-standards] (PRIoFAST16): Likewise.
4357 [C99-based-standards] (PRIuFAST16): Likewise.
4358 [C99-based-standards] (PRIxFAST16): Likewise.
4359 [C99-based-standards] (PRIXFAST16): Likewise.
4360 [C99-based-standards] (SCNdFAST16): Likewise.
4361 [C99-based-standards] (SCNiFAST16): Likewise.
4362 [C99-based-standards] (SCNoFAST16): Likewise.
4363 [C99-based-standards] (SCNuFAST16): Likewise.
4364 [C99-based-standards] (SCNxFAST16): Likewise.
4365 [C99-based-standards] (PRId32): Likewise.
4366 [C99-based-standards] (PRIi32): Likewise.
4367 [C99-based-standards] (PRIo32): Likewise.
4368 [C99-based-standards] (PRIu32): Likewise.
4369 [C99-based-standards] (PRIx32): Likewise.
4370 [C99-based-standards] (PRIX32): Likewise.
4371 [C99-based-standards] (SCNd32): Likewise.
4372 [C99-based-standards] (SCNi32): Likewise.
4373 [C99-based-standards] (SCNo32): Likewise.
4374 [C99-based-standards] (SCNu32): Likewise.
4375 [C99-based-standards] (SCNx32): Likewise.
4376 [C99-based-standards] (PRIdLEAST32): Likewise.
4377 [C99-based-standards] (PRIiLEAST32): Likewise.
4378 [C99-based-standards] (PRIoLEAST32): Likewise.
4379 [C99-based-standards] (PRIuLEAST32): Likewise.
4380 [C99-based-standards] (PRIxLEAST32): Likewise.
4381 [C99-based-standards] (PRIXLEAST32): Likewise.
4382 [C99-based-standards] (SCNdLEAST32): Likewise.
4383 [C99-based-standards] (SCNiLEAST32): Likewise.
4384 [C99-based-standards] (SCNoLEAST32): Likewise.
4385 [C99-based-standards] (SCNuLEAST32): Likewise.
4386 [C99-based-standards] (SCNxLEAST32): Likewise.
4387 [C99-based-standards] (PRIdFAST32): Likewise.
4388 [C99-based-standards] (PRIiFAST32): Likewise.
4389 [C99-based-standards] (PRIoFAST32): Likewise.
4390 [C99-based-standards] (PRIuFAST32): Likewise.
4391 [C99-based-standards] (PRIxFAST32): Likewise.
4392 [C99-based-standards] (PRIXFAST32): Likewise.
4393 [C99-based-standards] (SCNdFAST32): Likewise.
4394 [C99-based-standards] (SCNiFAST32): Likewise.
4395 [C99-based-standards] (SCNoFAST32): Likewise.
4396 [C99-based-standards] (SCNuFAST32): Likewise.
4397 [C99-based-standards] (SCNxFAST32): Likewise.
4398 [C99-based-standards] (PRId64): Likewise.
4399 [C99-based-standards] (PRIi64): Likewise.
4400 [C99-based-standards] (PRIo64): Likewise.
4401 [C99-based-standards] (PRIu64): Likewise.
4402 [C99-based-standards] (PRIx64): Likewise.
4403 [C99-based-standards] (PRIX64): Likewise.
4404 [C99-based-standards] (SCNd64): Likewise.
4405 [C99-based-standards] (SCNi64): Likewise.
4406 [C99-based-standards] (SCNo64): Likewise.
4407 [C99-based-standards] (SCNu64): Likewise.
4408 [C99-based-standards] (SCNx64): Likewise.
4409 [C99-based-standards] (PRIdLEAST64): Likewise.
4410 [C99-based-standards] (PRIiLEAST64): Likewise.
4411 [C99-based-standards] (PRIoLEAST64): Likewise.
4412 [C99-based-standards] (PRIuLEAST64): Likewise.
4413 [C99-based-standards] (PRIxLEAST64): Likewise.
4414 [C99-based-standards] (PRIXLEAST64): Likewise.
4415 [C99-based-standards] (SCNdLEAST64): Likewise.
4416 [C99-based-standards] (SCNiLEAST64): Likewise.
4417 [C99-based-standards] (SCNoLEAST64): Likewise.
4418 [C99-based-standards] (SCNuLEAST64): Likewise.
4419 [C99-based-standards] (SCNxLEAST64): Likewise.
4420 [C99-based-standards] (PRIdFAST64): Likewise.
4421 [C99-based-standards] (PRIiFAST64): Likewise.
4422 [C99-based-standards] (PRIoFAST64): Likewise.
4423 [C99-based-standards] (PRIuFAST64): Likewise.
4424 [C99-based-standards] (PRIxFAST64): Likewise.
4425 [C99-based-standards] (PRIXFAST64): Likewise.
4426 [C99-based-standards] (SCNdFAST64): Likewise.
4427 [C99-based-standards] (SCNiFAST64): Likewise.
4428 [C99-based-standards] (SCNoFAST64): Likewise.
4429 [C99-based-standards] (SCNuFAST64): Likewise.
4430 [C99-based-standards] (SCNxFAST64): Likewise.
4431 [C99-based-standards] (PRIdMAX): Likewise.
4432 [C99-based-standards] (PRIiMAX): Likewise.
4433 [C99-based-standards] (PRIoMAX): Likewise.
4434 [C99-based-standards] (PRIuMAX): Likewise.
4435 [C99-based-standards] (PRIxMAX): Likewise.
4436 [C99-based-standards] (PRIXMAX): Likewise.
4437 [C99-based-standards] (SCNdMAX): Likewise.
4438 [C99-based-standards] (SCNiMAX): Likewise.
4439 [C99-based-standards] (SCNoMAX): Likewise.
4440 [C99-based-standards] (SCNuMAX): Likewise.
4441 [C99-based-standards] (SCNxMAX): Likewise.
4442 [C99-based-standards] (PRIdPTR): Likewise.
4443 [C99-based-standards] (PRIiPTR): Likewise.
4444 [C99-based-standards] (PRIoPTR): Likewise.
4445 [C99-based-standards] (PRIuPTR): Likewise.
4446 [C99-based-standards] (PRIxPTR): Likewise.
4447 [C99-based-standards] (PRIXPTR): Likewise.
4448 [C99-based-standards] (SCNdPTR): Likewise.
4449 [C99-based-standards] (SCNiPTR): Likewise.
4450 [C99-based-standards] (SCNoPTR): Likewise.
4451 [C99-based-standards] (SCNuPTR): Likewise.
4452 [C99-based-standards] (SCNxPTR): Likewise.
4453 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4455 * conform/data/stdint.h-data: Update comments to clarify
4457 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4459 [C99-based standards] (INT8_MAX): Likewise.
4460 [C99-based standards] (INT16_MIN): Likewise.
4461 [C99-based standards] (INT16_MAX): Likewise.
4462 [C99-based standards] (INT32_MIN): Likewise.
4463 [C99-based standards] (INT32_MAX): Likewise.
4464 [C99-based standards] (INT64_MIN): Likewise.
4465 [C99-based standards] (INT64_MAX): Likewise.
4466 [C99-based standards] (UINT8_MAX): Likewise.
4467 [C99-based standards] (UINT16_MAX): Likewise.
4468 [C99-based standards] (UINT32_MAX): Likewise.
4469 [C99-based standards] (UINT64_MAX): Likewise.
4470 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4471 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4472 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4473 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4474 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4475 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4476 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4477 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4478 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4479 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4480 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4481 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4482 [C99-based standards] (INT_FAST8_MIN): Likewise.
4483 [C99-based standards] (INT_FAST8_MAX): Likewise.
4484 [C99-based standards] (INT_FAST16_MIN): Likewise.
4485 [C99-based standards] (INT_FAST16_MAX): Likewise.
4486 [C99-based standards] (INT_FAST32_MIN): Likewise.
4487 [C99-based standards] (INT_FAST32_MAX): Likewise.
4488 [C99-based standards] (INT_FAST64_MIN): Likewise.
4489 [C99-based standards] (INT_FAST64_MAX): Likewise.
4490 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4491 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4492 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4493 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4494 [C99-based standards] (INTPTR_MIN): Likewise.
4495 [C99-based standards] (INTPTR_MAX): Likewise.
4496 [C99-based standards] (UINTPTR_MAX): Likewise.
4497 [C99-based standards] (INTMAX_MIN): Likewise.
4498 [C99-based standards] (INTMAX_MAX): Likewise.
4499 [C99-based standards] (UINTMAX_MAX): Likewise.
4500 [C99-based standards] (PTRDIFF_MIN): Likewise.
4501 [C99-based standards] (PTRDIFF_MAX): Likewise.
4502 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4503 [C99-based standards] (SIZE_MAX): Likewise.
4504 [C99-based standards] (WCHAR_MAX): Likewise.
4505 [C99-based standards] (WINT_MAX): Likewise.
4506 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4507 constraint on value.
4508 [C99-based standards] (WCHAR_MIN): Likewise.
4509 [C99-based standards] (WINT_MIN): Likewise.
4510 [C99-based standards] (*_t): Allow.
4511 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4512 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4513 Include math.h-data and complex.h-data. Remove all expectations
4514 of math.h and complex.h contents.
4515 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4517 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4518 (struct tm): Expect tag.
4519 [C99-based-standards] (wcstof): Expect function.
4520 [C99-based-standards] (wcstold): Likewise.
4521 [C99-based-standards] (wcstoll): Likewise.
4522 [C99-based-standards] (wcstoull): Likewise.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4524 macro-int-constant. Specify type.
4525 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4526 constraint on value.
4527 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4529 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4531 [ISO C standards]: Do not allow headers.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4533 wcs[abcdefghijklmnopqrstuvwxyz]*.
4534 [ISO C standards] (*_t): Do not allow.
4535 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4537 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4538 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4540 [ISO C standards]: Do not allow headers.
4541 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4542 is[abcdefghijklmnopqrstuvwxyz]*.
4543 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4544 to[abcdefghijklmnopqrstuvwxyz]*.
4545 [ISO C standards] (*_t): Do not allow.
4546 * conform/data/stdalign.h-data: New file.
4547 * conform/data/stdbool.h-data: Likewise.
4548 * conform/data/stdnoreturn.h-data: Likewise.
4550 2012-11-07 Roland McGrath <roland@hack.frob.com>
4553 * manual/filesys.texi (Directory Entries): Typo fix.
4554 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4556 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4558 * elf/elf.h (EM_AARCH64): New macro.
4559 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4560 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4561 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4562 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4563 (R_AARCH64_TLSDESC): Likewise.
4564 (NT_ARM_TLS): Likewise.
4565 (NT_ARM_HW_BREAK): Likewise.
4566 (NT_ARM_HW_WATCH): Likewise.
4568 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4571 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4572 (__ieee754_powl): Saturate nonzero exponents with absolute value
4573 below 0x1p-79 to +/- 0x1p-79.
4574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4575 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4576 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4577 nonzero exponents with absolute value below 0x1p-32 to +/-
4579 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4580 (__ieee754_powl): Saturate nonzero exponents with absolute value
4581 below 0x1p-79 to +/- 0x1p-79.
4582 * math/libm-test.inc (pow_test): Add more tests.
4584 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4586 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4587 _dl_s390_cap_flags with kernel. Increase string length.
4588 (_dl_s390_platforms): Add z196 and zEC12.
4590 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4592 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4593 Change XOPEN21K to XOPEN2K.
4595 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4597 * string/memmove.c: Use memcpy when possible.
4599 2012-11-06 Andreas Jaeger <aj@suse.de>
4601 * po/eo.po: Update from translation team.
4603 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4607 exponent and small x and y exponents, scale x or y up. Increase
4608 by 2 the exponent used in scaling up.
4609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4611 * math/libm-test.inc (fma_test): Add more tests.
4612 (fma_test_towardzero): Likewise.
4613 (fma_test_downward): Likewise.
4614 (fma_test_upward): Likewise.
4616 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4619 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4623 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4624 namespace for names of struct fields.
4625 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4627 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4628 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4630 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4633 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4635 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4637 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4641 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4644 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4648 definitely overflow as x * y not x * y + z.
4649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4651 * math/libm-test.inc (fma_test): Add more tests.
4652 (fma_test_towardzero): Likewise.
4653 (fma_test_downward): Likewise.
4654 (fma_test_upward): Likewise.
4656 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4660 * include/stub-tag.h: Remove file.
4661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4663 * manual/maint.texi (Porting): Don't reference it.
4664 * Makerules ($(objpfx)stubs): Likewise.
4665 * dirent/closedir.c: Don't include <stub-tag.h>.
4666 * dirent/dirfd.c: Likewise.
4667 * dirent/fdopendir.c: Likewise.
4668 * dirent/getdents.c: Likewise.
4669 * dirent/getdents64.c: Likewise.
4670 * dirent/opendir.c: Likewise.
4671 * dirent/readdir.c: Likewise.
4672 * dirent/readdir64.c: Likewise.
4673 * dirent/readdir64_r.c: Likewise.
4674 * dirent/readdir_r.c: Likewise.
4675 * dirent/rewinddir.c: Likewise.
4676 * dirent/seekdir.c: Likewise.
4677 * dirent/telldir.c: Likewise.
4678 * gmon/profil.c: Likewise.
4679 * grp/setgroups.c: Likewise.
4680 * inet/if_index.c: Likewise.
4681 * io/access.c: Likewise.
4682 * io/chdir.c: Likewise.
4683 * io/chmod.c: Likewise.
4684 * io/chown.c: Likewise.
4685 * io/close.c: Likewise.
4686 * io/dup.c: Likewise.
4687 * io/dup2.c: Likewise.
4688 * io/dup3.c: Likewise.
4689 * io/euidaccess.c: Likewise.
4690 * io/faccessat.c: Likewise.
4691 * io/fchdir.c: Likewise.
4692 * io/fchmod.c: Likewise.
4693 * io/fchmodat.c: Likewise.
4694 * io/fchown.c: Likewise.
4695 * io/fchownat.c: Likewise.
4696 * io/fcntl.c: Likewise.
4697 * io/flock.c: Likewise.
4698 * io/fstatfs.c: Likewise.
4699 * io/fstatfs64.c: Likewise.
4700 * io/fstatvfs.c: Likewise.
4701 * io/fstatvfs64.c: Likewise.
4702 * io/futimens.c: Likewise.
4703 * io/fxstat.c: Likewise.
4704 * io/fxstat64.c: Likewise.
4705 * io/fxstatat.c: Likewise.
4706 * io/fxstatat64.c: Likewise.
4707 * io/getcwd.c: Likewise.
4708 * io/isatty.c: Likewise.
4709 * io/lchmod.c: Likewise.
4710 * io/lchown.c: Likewise.
4711 * io/link.c: Likewise.
4712 * io/linkat.c: Likewise.
4713 * io/lseek.c: Likewise.
4714 * io/lseek64.c: Likewise.
4715 * io/lxstat64.c: Likewise.
4716 * io/mkdir.c: Likewise.
4717 * io/mkdirat.c: Likewise.
4718 * io/mkfifo.c: Likewise.
4719 * io/mkfifoat.c: Likewise.
4720 * io/open.c: Likewise.
4721 * io/open64.c: Likewise.
4722 * io/openat.c: Likewise.
4723 * io/openat64.c: Likewise.
4724 * io/pipe.c: Likewise.
4725 * io/pipe2.c: Likewise.
4726 * io/poll.c: Likewise.
4727 * io/posix_fadvise.c: Likewise.
4728 * io/posix_fadvise64.c: Likewise.
4729 * io/posix_fallocate.c: Likewise.
4730 * io/posix_fallocate64.c: Likewise.
4731 * io/read.c: Likewise.
4732 * io/readlink.c: Likewise.
4733 * io/readlinkat.c: Likewise.
4734 * io/rmdir.c: Likewise.
4735 * io/sendfile.c: Likewise.
4736 * io/sendfile64.c: Likewise.
4737 * io/statfs.c: Likewise.
4738 * io/statfs64.c: Likewise.
4739 * io/statvfs.c: Likewise.
4740 * io/statvfs64.c: Likewise.
4741 * io/symlink.c: Likewise.
4742 * io/symlinkat.c: Likewise.
4743 * io/ttyname.c: Likewise.
4744 * io/ttyname_r.c: Likewise.
4745 * io/umask.c: Likewise.
4746 * io/unlink.c: Likewise.
4747 * io/unlinkat.c: Likewise.
4748 * io/utime.c: Likewise.
4749 * io/utimensat.c: Likewise.
4750 * io/write.c: Likewise.
4751 * io/xmknod.c: Likewise.
4752 * io/xmknodat.c: Likewise.
4753 * io/xstat.c: Likewise.
4754 * io/xstat64.c: Likewise.
4755 * login/getpt.c: Likewise.
4756 * login/grantpt.c: Likewise.
4757 * login/unlockpt.c: Likewise.
4758 * math/e_acoshl.c: Likewise.
4759 * math/e_acosl.c: Likewise.
4760 * math/e_asinl.c: Likewise.
4761 * math/e_atan2l.c: Likewise.
4762 * math/e_atanhl.c: Likewise.
4763 * math/e_coshl.c: Likewise.
4764 * math/e_expl.c: Likewise.
4765 * math/e_fmodl.c: Likewise.
4766 * math/e_gammal_r.c: Likewise.
4767 * math/e_hypotl.c: Likewise.
4768 * math/e_j0l.c: Likewise.
4769 * math/e_j1l.c: Likewise.
4770 * math/e_jnl.c: Likewise.
4771 * math/e_lgammal_r.c: Likewise.
4772 * math/e_log10l.c: Likewise.
4773 * math/e_log2l.c: Likewise.
4774 * math/e_logl.c: Likewise.
4775 * math/e_powl.c: Likewise.
4776 * math/e_rem_pio2l.c: Likewise.
4777 * math/e_sinhl.c: Likewise.
4778 * math/e_sqrtl.c: Likewise.
4779 * math/fclrexcpt.c: Likewise.
4780 * math/fedisblxcpt.c: Likewise.
4781 * math/feenablxcpt.c: Likewise.
4782 * math/fegetenv.c: Likewise.
4783 * math/fegetexcept.c: Likewise.
4784 * math/fegetround.c: Likewise.
4785 * math/feholdexcpt.c: Likewise.
4786 * math/fesetenv.c: Likewise.
4787 * math/fesetround.c: Likewise.
4788 * math/feupdateenv.c: Likewise.
4789 * math/fgetexcptflg.c: Likewise.
4790 * math/fraiseexcpt.c: Likewise.
4791 * math/fsetexcptflg.c: Likewise.
4792 * math/ftestexcept.c: Likewise.
4793 * math/k_cosl.c: Likewise.
4794 * math/k_rem_pio2l.c: Likewise.
4795 * math/k_sinl.c: Likewise.
4796 * math/k_tanl.c: Likewise.
4797 * math/s_asinhl.c: Likewise.
4798 * math/s_atanl.c: Likewise.
4799 * math/s_cbrtl.c: Likewise.
4800 * math/s_erfl.c: Likewise.
4801 * math/s_expm1l.c: Likewise.
4802 * math/s_log1pl.c: Likewise.
4803 * math/s_tanhl.c: Likewise.
4804 * misc/acct.c: Likewise.
4805 * misc/brk.c: Likewise.
4806 * misc/chflags.c: Likewise.
4807 * misc/chroot.c: Likewise.
4808 * misc/fchflags.c: Likewise.
4809 * misc/fgetxattr.c: Likewise.
4810 * misc/flistxattr.c: Likewise.
4811 * misc/fremovexattr.c: Likewise.
4812 * misc/fsetxattr.c: Likewise.
4813 * misc/fsync.c: Likewise.
4814 * misc/ftruncate.c: Likewise.
4815 * misc/futimes.c: Likewise.
4816 * misc/futimesat.c: Likewise.
4817 * misc/getdomain.c: Likewise.
4818 * misc/getdtsz.c: Likewise.
4819 * misc/gethostid.c: Likewise.
4820 * misc/gethostname.c: Likewise.
4821 * misc/getloadavg.c: Likewise.
4822 * misc/getpagesize.c: Likewise.
4823 * misc/getsysstats.c: Likewise.
4824 * misc/getxattr.c: Likewise.
4825 * misc/gtty.c: Likewise.
4826 * misc/ioctl.c: Likewise.
4827 * misc/lgetxattr.c: Likewise.
4828 * misc/listxattr.c: Likewise.
4829 * misc/llistxattr.c: Likewise.
4830 * misc/lremovexattr.c: Likewise.
4831 * misc/lsetxattr.c: Likewise.
4832 * misc/lutimes.c: Likewise.
4833 * misc/madvise.c: Likewise.
4834 * misc/mincore.c: Likewise.
4835 * misc/mlock.c: Likewise.
4836 * misc/mlockall.c: Likewise.
4837 * misc/mmap.c: Likewise.
4838 * misc/mprotect.c: Likewise.
4839 * misc/msync.c: Likewise.
4840 * misc/munlock.c: Likewise.
4841 * misc/munlockall.c: Likewise.
4842 * misc/munmap.c: Likewise.
4843 * misc/preadv.c: Likewise.
4844 * misc/preadv64.c: Likewise.
4845 * misc/ptrace.c: Likewise.
4846 * misc/pwritev.c: Likewise.
4847 * misc/pwritev64.c: Likewise.
4848 * misc/readv.c: Likewise.
4849 * misc/reboot.c: Likewise.
4850 * misc/remap_file_pages.c: Likewise.
4851 * misc/removexattr.c: Likewise.
4852 * misc/revoke.c: Likewise.
4853 * misc/select.c: Likewise.
4854 * misc/setdomain.c: Likewise.
4855 * misc/setegid.c: Likewise.
4856 * misc/seteuid.c: Likewise.
4857 * misc/sethostid.c: Likewise.
4858 * misc/sethostname.c: Likewise.
4859 * misc/setregid.c: Likewise.
4860 * misc/setreuid.c: Likewise.
4861 * misc/setxattr.c: Likewise.
4862 * misc/sstk.c: Likewise.
4863 * misc/stty.c: Likewise.
4864 * misc/swapoff.c: Likewise.
4865 * misc/swapon.c: Likewise.
4866 * misc/sync.c: Likewise.
4867 * misc/syncfs.c: Likewise.
4868 * misc/syscall.c: Likewise.
4869 * misc/truncate.c: Likewise.
4870 * misc/ualarm.c: Likewise.
4871 * misc/usleep.c: Likewise.
4872 * misc/ustat.c: Likewise.
4873 * misc/utimes.c: Likewise.
4874 * misc/vhangup.c: Likewise.
4875 * misc/writev.c: Likewise.
4876 * posix/_exit.c: Likewise.
4877 * posix/alarm.c: Likewise.
4878 * posix/execve.c: Likewise.
4879 * posix/fexecve.c: Likewise.
4880 * posix/fork.c: Likewise.
4881 * posix/fpathconf.c: Likewise.
4882 * posix/getaddrinfo.c: Likewise.
4883 * posix/getegid.c: Likewise.
4884 * posix/geteuid.c: Likewise.
4885 * posix/getgid.c: Likewise.
4886 * posix/getgroups.c: Likewise.
4887 * posix/getlogin.c: Likewise.
4888 * posix/getlogin_r.c: Likewise.
4889 * posix/getpgid.c: Likewise.
4890 * posix/getpid.c: Likewise.
4891 * posix/getppid.c: Likewise.
4892 * posix/getresgid.c: Likewise.
4893 * posix/getresuid.c: Likewise.
4894 * posix/getsid.c: Likewise.
4895 * posix/getuid.c: Likewise.
4896 * posix/glob64.c: Likewise.
4897 * posix/nanosleep.c: Likewise.
4898 * posix/pathconf.c: Likewise.
4899 * posix/pause.c: Likewise.
4900 * posix/posix_madvise.c: Likewise.
4901 * posix/pread.c: Likewise.
4902 * posix/pread64.c: Likewise.
4903 * posix/pwrite.c: Likewise.
4904 * posix/pwrite64.c: Likewise.
4905 * posix/sched_getaffinity.c: Likewise.
4906 * posix/sched_getp.c: Likewise.
4907 * posix/sched_gets.c: Likewise.
4908 * posix/sched_primax.c: Likewise.
4909 * posix/sched_primin.c: Likewise.
4910 * posix/sched_rr_gi.c: Likewise.
4911 * posix/sched_setaffinity.c: Likewise.
4912 * posix/sched_setp.c: Likewise.
4913 * posix/sched_sets.c: Likewise.
4914 * posix/sched_yield.c: Likewise.
4915 * posix/setgid.c: Likewise.
4916 * posix/setlogin.c: Likewise.
4917 * posix/setpgid.c: Likewise.
4918 * posix/setresgid.c: Likewise.
4919 * posix/setresuid.c: Likewise.
4920 * posix/setsid.c: Likewise.
4921 * posix/setuid.c: Likewise.
4922 * posix/sleep.c: Likewise.
4923 * posix/spawni.c: Likewise.
4924 * posix/sysconf.c: Likewise.
4925 * posix/times.c: Likewise.
4926 * posix/wait.c: Likewise.
4927 * posix/wait3.c: Likewise.
4928 * posix/wait4.c: Likewise.
4929 * posix/waitpid.c: Likewise.
4930 * resolv/gai_sigqueue.c: Likewise.
4931 * resource/getpriority.c: Likewise.
4932 * resource/getrlimit.c: Likewise.
4933 * resource/getrusage.c: Likewise.
4934 * resource/nice.c: Likewise.
4935 * resource/setpriority.c: Likewise.
4936 * resource/setrlimit.c: Likewise.
4937 * resource/ulimit.c: Likewise.
4938 * rt/aio_cancel.c: Likewise.
4939 * rt/aio_fsync.c: Likewise.
4940 * rt/aio_read.c: Likewise.
4941 * rt/aio_sigqueue.c: Likewise.
4942 * rt/aio_suspend.c: Likewise.
4943 * rt/aio_write.c: Likewise.
4944 * rt/clock_getres.c: Likewise.
4945 * rt/clock_gettime.c: Likewise.
4946 * rt/clock_nanosleep.c: Likewise.
4947 * rt/clock_settime.c: Likewise.
4948 * rt/lio_listio.c: Likewise.
4949 * rt/mq_close.c: Likewise.
4950 * rt/mq_getattr.c: Likewise.
4951 * rt/mq_notify.c: Likewise.
4952 * rt/mq_open.c: Likewise.
4953 * rt/mq_receive.c: Likewise.
4954 * rt/mq_send.c: Likewise.
4955 * rt/mq_setattr.c: Likewise.
4956 * rt/mq_timedreceive.c: Likewise.
4957 * rt/mq_timedsend.c: Likewise.
4958 * rt/mq_unlink.c: Likewise.
4959 * rt/shm_open.c: Likewise.
4960 * rt/shm_unlink.c: Likewise.
4961 * rt/timer_create.c: Likewise.
4962 * rt/timer_delete.c: Likewise.
4963 * rt/timer_getoverr.c: Likewise.
4964 * rt/timer_gettime.c: Likewise.
4965 * rt/timer_settime.c: Likewise.
4966 * setjmp/__longjmp.c: Likewise.
4967 * setjmp/setjmp.c: Likewise.
4968 * signal/kill.c: Likewise.
4969 * signal/killpg.c: Likewise.
4970 * signal/raise.c: Likewise.
4971 * signal/sigaction.c: Likewise.
4972 * signal/sigaltstack.c: Likewise.
4973 * signal/sigblock.c: Likewise.
4974 * signal/sigignore.c: Likewise.
4975 * signal/sigintr.c: Likewise.
4976 * signal/signal.c: Likewise.
4977 * signal/sigpause.c: Likewise.
4978 * signal/sigpending.c: Likewise.
4979 * signal/sigqueue.c: Likewise.
4980 * signal/sigreturn.c: Likewise.
4981 * signal/sigset.c: Likewise.
4982 * signal/sigsetmask.c: Likewise.
4983 * signal/sigstack.c: Likewise.
4984 * signal/sigsuspend.c: Likewise.
4985 * signal/sigtimedwait.c: Likewise.
4986 * signal/sigvec.c: Likewise.
4987 * signal/sigwait.c: Likewise.
4988 * signal/sigwaitinfo.c: Likewise.
4989 * signal/sysv_signal.c: Likewise.
4990 * socket/accept.c: Likewise.
4991 * socket/accept4.c: Likewise.
4992 * socket/bind.c: Likewise.
4993 * socket/connect.c: Likewise.
4994 * socket/getpeername.c: Likewise.
4995 * socket/getsockname.c: Likewise.
4996 * socket/getsockopt.c: Likewise.
4997 * socket/isfdtype.c: Likewise.
4998 * socket/listen.c: Likewise.
4999 * socket/recv.c: Likewise.
5000 * socket/recvfrom.c: Likewise.
5001 * socket/recvmsg.c: Likewise.
5002 * socket/send.c: Likewise.
5003 * socket/sendmsg.c: Likewise.
5004 * socket/sendto.c: Likewise.
5005 * socket/setsockopt.c: Likewise.
5006 * socket/shutdown.c: Likewise.
5007 * socket/sockatmark.c: Likewise.
5008 * socket/socket.c: Likewise.
5009 * socket/socketpair.c: Likewise.
5010 * stdio-common/ctermid.c: Likewise.
5011 * stdio-common/cuserid.c: Likewise.
5012 * stdio-common/remove.c: Likewise.
5013 * stdio-common/rename.c: Likewise.
5014 * stdio-common/renameat.c: Likewise.
5015 * stdio-common/tempname.c: Likewise.
5016 * stdlib/getcontext.c: Likewise.
5017 * stdlib/makecontext.c: Likewise.
5018 * stdlib/setcontext.c: Likewise.
5019 * stdlib/swapcontext.c: Likewise.
5020 * stdlib/system.c: Likewise.
5021 * streams/fattach.c: Likewise.
5022 * streams/fdetach.c: Likewise.
5023 * streams/getmsg.c: Likewise.
5024 * streams/getpmsg.c: Likewise.
5025 * streams/putmsg.c: Likewise.
5026 * streams/putpmsg.c: Likewise.
5027 * sysdeps/unix/bsd/getpt.c: Likewise.
5028 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5029 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5033 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5034 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5035 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5036 * sysvipc/msgctl.c: Likewise.
5037 * sysvipc/msgget.c: Likewise.
5038 * sysvipc/msgrcv.c: Likewise.
5039 * sysvipc/msgsnd.c: Likewise.
5040 * sysvipc/semctl.c: Likewise.
5041 * sysvipc/semget.c: Likewise.
5042 * sysvipc/semop.c: Likewise.
5043 * sysvipc/semtimedop.c: Likewise.
5044 * sysvipc/shmat.c: Likewise.
5045 * sysvipc/shmctl.c: Likewise.
5046 * sysvipc/shmdt.c: Likewise.
5047 * sysvipc/shmget.c: Likewise.
5048 * termios/tcdrain.c: Likewise.
5049 * termios/tcflow.c: Likewise.
5050 * termios/tcflush.c: Likewise.
5051 * termios/tcgetattr.c: Likewise.
5052 * termios/tcgetpgrp.c: Likewise.
5053 * termios/tcsendbrk.c: Likewise.
5054 * termios/tcsetattr.c: Likewise.
5055 * termios/tcsetpgrp.c: Likewise.
5056 * time/adjtime.c: Likewise.
5057 * time/clock.c: Likewise.
5058 * time/getitimer.c: Likewise.
5059 * time/gettimeofday.c: Likewise.
5060 * time/setitimer.c: Likewise.
5061 * time/settimeofday.c: Likewise.
5062 * time/stime.c: Likewise.
5063 * time/time.c: Likewise.
5065 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5067 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5070 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5072 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5074 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5078 FE_TONEAREST before applying Dekker multiplication and Knuth
5079 addition. Clear inexact exceptions and check for exact zero
5081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5084 * math/libm-test.inc (fma_test): Add more tests.
5085 (fma_test_towardzero): Likewise.
5086 (fma_test_downward): Likewise.
5087 (fma_test_upward): Likewise.
5088 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5090 (libc_fesetround): New macro.
5091 (libc_fesetroundf): Likewise.
5092 (libc_fesetroundl): Likewise.
5093 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5095 (libc_fesetround_387): Likewise.
5096 (libc_fesetroundf): New macro.
5097 (libc_fesetround): Likewise.
5098 (libc_fesetroundl): Likewise.
5099 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5101 (libc_fesetroundf): New macro.
5102 (libc_fesetround): Likewise.
5103 (libc_fesetroundl): Likewise.
5104 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5105 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5106 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5108 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5109 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5111 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5112 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5114 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5118 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5119 integer constant usable in #if and use that to give value to enum
5121 (FE_DIVBYZERO): Likewise.
5122 (FE_UNDERFLOW): Likewise.
5123 (FE_OVERFLOW): Likewise.
5124 (FE_INVALID): Likewise.
5125 (FE_INVALID_SNAN): Likewise.
5126 (FE_INVALID_ISI): Likewise.
5127 (FE_INVALID_IDI): Likewise.
5128 (FE_INVALID_ZDZ): Likewise.
5129 (FE_INVALID_IMZ): Likewise.
5130 (FE_INVALID_COMPARE): Likewise.
5131 (FE_INVALID_SOFTWARE): Likewise.
5132 (FE_INVALID_SQRT): Likewise.
5133 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5134 (FE_TONEAREST): Likewise.
5135 (FE_TOWARDZERO): Likewise.
5136 (FE_UPWARD): Likewise.
5137 (FE_DOWNWARD): Likewise.
5138 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5139 (FE_DIVBYZERO): Likewise.
5140 (FE_OVERFLOW): Likewise.
5141 (FE_UNDERFLOW): Likewise.
5142 (FE_INEXACT): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_DOWNWARD): Likewise.
5145 (FE_UPWARD): Likewise.
5146 (FE_TOWARDZERO): Likewise.
5147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5148 (FE_UNDERFLOW): Likewise.
5149 (FE_OVERFLOW): Likewise.
5150 (FE_DIVBYZERO): Likewise.
5151 (FE_INVALID): Likewise.
5152 (FE_TONEAREST): Likewise.
5153 (FE_TOWARDZERO): Likewise.
5154 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5155 (FE_OVERFLOW): Likewise.
5156 (FE_UNDERFLOW): Likewise.
5157 (FE_DIVBYZERO): Likewise.
5158 (FE_INEXACT): Likewise.
5159 (FE_TONEAREST): Likewise.
5160 (FE_TOWARDZERO): Likewise.
5161 (FE_UPWARD): Likewise.
5162 (FE_DOWNWARD): Likewise.
5163 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5164 (FE_DIVBYZERO): Likewise.
5165 (FE_OVERFLOW): Likewise.
5166 (FE_UNDERFLOW): Likewise.
5167 (FE_INEXACT): Likewise.
5168 (FE_TONEAREST): Likewise.
5169 (FE_DOWNWARD): Likewise.
5170 (FE_UPWARD): Likewise.
5171 (FE_TOWARDZERO): Likewise.
5173 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5175 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5177 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5179 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5180 commands. Quote $PWD.
5181 (blacklist_exports): Don't use remove_newlines. Replace "declare
5183 (remove_newlines): Remove.
5185 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5187 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5188 * stdlib/stdlib.h (atof): Moved to ...
5189 * include/bits/stdlib-float.h: Here. New file.
5190 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5191 * stdlib/bits/stdlib-float.h: New file.
5192 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5194 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5197 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5199 * conform/conformtest.pl (@headers): Add fenv.h.
5200 * conform/data/fenv.h-data: New file.
5201 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5202 include of <math/fenv.h>.
5204 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5205 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5206 && !UNIX98]. Enables tests for XOPEN2K8.
5207 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5208 POSIX2008]: Likewise.
5210 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5211 (struct rusage): Do not expect type or its members.
5214 * math/math.h (FP_NAN): Define macro to integer constant usable in
5215 #if and use that to give value to enum constant.
5216 (FP_INFINITE): Likewise.
5217 (FP_ZERO): Likewise.
5218 (FP_SUBNORMAL): Likewise.
5219 (FP_NORMAL): Likewise.
5221 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5223 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5224 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5227 2012-11-02 Roland McGrath <roland@hack.frob.com>
5229 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5230 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5231 autoconf-time if not.
5232 * configure.in: Remove AC_PREREQ.
5234 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5236 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5237 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5238 of the internal implementation.
5240 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5242 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5243 except include of <misc/sys/syslog.h>.
5245 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5248 function returns with a NULL context exit with zero.
5250 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5252 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5254 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5256 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5257 (run_program_cmd): This.
5258 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5259 (tst_langinfo): New variable. Use it.
5261 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5263 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5264 floating point opcodes.
5266 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5268 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5271 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5273 * sysdeps/mach/hurd/powerpc: Remove directory.
5274 * sysdeps/mach/powerpc: Likewise.
5276 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5278 * scripts/check-local-headers.sh: Ignore c++ headers.
5280 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5282 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5283 __libc_cleanup_region_start argument.
5285 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5290 x * y using scaling, not as x * y + z.
5291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5293 * math/libm-test.inc (fma_test): Add more tests.
5294 (fma_test_towardzero): Likewise.
5295 (fma_test_downward): Likewise.
5296 (fma_test_upward): Likewise.
5298 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5300 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5302 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5304 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5307 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5309 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5311 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5318 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5321 Fix the order of the list for glibc 2.17.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5325 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5329 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5333 for low part of x being zero before using __atanl (y).
5334 * math/libm-test.inc (atan2_test): Add another test.
5336 * manual/install.texi (Configuring and compiling): Document
5337 general use of test-wrapper and test-wrapper-env.
5338 * INSTALL: Regenerated.
5340 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5341 (__fma): Do not extract and scale down low bits on after-rounding
5342 systems when result rounded to normal precision would have normal
5344 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5345 (__fmal): Do not extract and scale down low bits on after-rounding
5346 systems when result rounded to normal precision would have normal
5348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5349 (__fmal): Do not extract and scale down low bits on after-rounding
5350 systems when result rounded to normal precision would have normal
5352 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5354 (fma_test): Add more tests.
5355 (fma_test_towardzero): Likewise.
5356 (fma_test_downward): Likewise.
5357 (fma_test_upward): Likewise.
5359 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5361 * sysdeps/i386/tininess.h: Renamed to ...
5362 * sysdeps/x86/tininess.h: This.
5363 * sysdeps/x86_64/tininess.h: Removed.
5365 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5367 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5368 input. Use $(build-program-cmd).
5369 ($(objpfx)tst-array1-static.out): Likewise.
5370 ($(objpfx)tst-array2.out): Likewise.
5371 ($(objpfx)tst-array3.out): Likewise.
5372 ($(objpfx)tst-array4.out): Likewise.
5373 ($(objpfx)tst-array5.out): Likewise.
5374 ($(objpfx)tst-array5-static.out): Likewise.
5376 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5378 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5381 * nss/nsswitch.h (nss_interface_function): Provide new
5382 macro for use with NSS functions.
5383 * grp/initgroups.c: Use new macro.
5384 * nss/getXXbyYY.c: Likewise.
5385 * nss/getXXbyYY_r.c: Likewise.
5386 * nss/getXXent.c: Likewise.
5387 * nss/getXXent_r.c: Likewise.
5388 * sysdeps/posix/getaddrinfo.c: Likewise.
5390 2012-10-30 Andreas Jaeger <aj@suse.de>
5392 * po/ru.po: Update Russion translation from translation project.
5394 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5399 result and shift together with sticky bit instead of replicating
5400 round-to-nearest rounding.
5401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5403 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5404 missing underflow exceptions.
5405 (fma_test_towardzero): Add more tests.
5406 (fma_test_downward): Likewise.
5407 (fma_test_upward): Likewise.
5410 * sysdeps/generic/tininess.h: New file.
5411 * sysdeps/i386/tininess.h: Likewise.
5412 * sysdeps/sh/tininess.h: Likewise.
5413 * sysdeps/x86_64/tininess.h: Likewise.
5414 * stdlib/tst-strtod-underflow.c: Likewise.
5415 * stdlib/tst-tininess.c: Likewise.
5416 * stdlib/strtod_l.c: Include <tininess.h>.
5417 (round_and_return): Do not set errno for exact underflow cases.
5418 Force an underflow exception when setting errno for underflow.
5419 Determine underflow based on rounding to normal precision if
5420 TININESS_AFTER_ROUNDING.
5421 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5422 ERANGE for exact underflow cases.
5423 * stdlib/Makefile (tests): Add tst-tininess and
5424 tst-strtod-underflow.
5425 ($(objpfx)tst-tininess): Use $(link-libm).
5426 ($(objpfx)tst-strtod-underflow): Likewise.
5428 2012-10-30 Andreas Jaeger <aj@suse.de>
5431 * elf/Makefile (tests): Remove conditional for have-initfini-array
5432 since this is now always required and the variable does not exist
5434 (tests-static): Likewise.
5435 (modules-names): Likewise.
5437 * po/eo.po: Add Esperanto translation from translation project.
5439 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5440 merged with constructor/destructor.
5441 (init_array): Likewise.
5442 * elf/tst-array2dep.c (fini_array): Likewise.
5443 (init_array): Likewise.
5445 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5447 * manual/message.texi: Delete @cartouche tags.
5449 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5451 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5453 * sysdeps/mach/hurd/fsync.c: Likewise.
5455 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5456 [_POSIX_REALTIME_SIGNALS]: Change condition to
5457 [_POSIX_REALTIME_SIGNALS > 0].
5459 2012-10-27 Andreas Jaeger <aj@suse.de>
5461 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5462 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5464 [__WORDSIZE != 64]: Likewise.
5466 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5468 * iconvdata/tst-table.sh: Remove ${SHELL}.
5469 * iconvdata/tst-tables.sh: Likewise.
5471 2012-10-25 David S. Miller <davem@davemloft.net>
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5474 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5480 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5481 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5484 2012-10-25 Roland McGrath <roland@hack.frob.com>
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5487 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5490 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5491 Jim Blandy <jimb@codesourcery.com>
5493 * scripts/cross-test-ssh.sh: New file.
5494 * manual/install.texi (Configuring and compiling): Document use of
5496 * INSTALL: Regenerated.
5498 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5500 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5503 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5505 * Makeconfig (run-program-prefix): Fix comment.
5507 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5508 Jim Blandy <jimb@codesourcery.com>
5510 * Makeconfig (test-wrapper): New variable,
5511 (test-wrapper-env): Likewise.
5512 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5513 (run-built-tests): Define to yes.
5514 (run-program-prefix): Use $(test-wrapper).
5515 (built-program-cmd): Likewise.
5516 * Rules (make-test-out): Use $(test-wrapper-env) and
5517 $(host-built-program-cmd).
5518 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5519 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5521 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5522 $(test-wrapper-env) to tst-rtld-load-self.sh.
5523 ($(objpfx)order2.out): Use $(test-wrapper).
5524 ($(objpfx)tst-initorder.out): Likewise.
5525 ($(objpfx)tst-initorder2.out): Likewise.
5526 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5527 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5528 (test_wrapper_env): New variable. Use it to run ld.so.
5529 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5530 Use it to run ld.so.
5531 (test_wrapper_env): Likewise.
5532 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5533 $(test-wrapper) to run-iconv-test.sh.
5534 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5535 (ICONV): Use $test_wrapper.
5536 * posix/Makefile ($(objpfx)globtest.out): Pass
5537 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5538 globtest.sh, not $(run-program-prefix).
5539 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5540 (test_wrapper): Likewise.
5541 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5542 set together with run_via_rtld_prefix.
5543 (run_program_prefix): Define in terms of test_wrapper and
5544 run_via_rtld_prefix.
5546 2012-10-24 Roland McGrath <roland@hack.frob.com>
5548 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5549 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5553 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5554 Declare __clock_getres, __clock_gettime, __clock_settime,
5555 __clock_nanosleep, and __clock_getcpuclockid.
5556 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5557 Remove librt_hidden_def (clock_gettime).
5558 * sysdeps/unix/clock_gettime.c: Likewise.
5559 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5561 * rt/clock_getres.c: Define __clock_getres as an alias.
5562 * sysdeps/posix/clock_getres.c: Likewise.
5563 * rt/clock_settime.c: Define __clock_settime as an alias.
5564 * sysdeps/unix/clock_settime.c: Likewise.
5565 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5566 * sysdeps/unix/clock_nanosleep.c: Likewise.
5567 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5568 * rt/clock-compat.c: New file.
5569 * rt/Makefile (librt-routines): Add clock-compat and move
5570 $(clock-routines) to ...
5571 (routines): ... here, new variable.
5572 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5573 Don't add get_clockfreq here.
5574 * rt/Versions (libc: GLIBC_2.17): New version set.
5575 Add clock_* symbols here.
5576 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5578 (GLIBC_2.17): Add clock_* symbols.
5579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5590 * NEWS: Mention the move.
5592 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5593 Use __open, __read, __close rather than their public counterparts.
5594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5595 (__get_clockfreq_via_cpuinfo): Likewise.
5596 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5597 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5599 * config.h.in (HAVE_IFUNC): New #undef.
5600 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5602 * configure: Regenerated.
5604 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5606 * configure.in: Move READELF check to start of file.
5607 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5608 libc_cv_asm_gnu_indirect_function in the process.
5609 * configure: Regenerated.
5611 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5613 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5614 send the output to /dev/null.
5615 (libc_cv_cc_with_libunwind): Likewise.
5616 (libc_cv_as_noexecstack): Likewise.
5617 * configure: Regenerate.
5619 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5621 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5623 * posix/globtest.sh (TMPDIR): Do not set.
5624 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5625 (testout): Likewise.
5627 2012-10-24 Andreas Jaeger <aj@suse.de>
5629 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5630 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5631 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5632 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5633 posix_fadvise64, posix_fallocate64.
5635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5636 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5637 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5639 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5641 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5644 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5645 <bits/fcntl-linux.h>.
5646 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5649 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5650 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5651 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5652 [__WORDSIZE != 64]: Likewise.
5654 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5656 * Makeconfig (run-built-tests): New variable.
5657 * Rules [$(cross-compiling) = yes]: Change condition to
5658 [$(run-built-tests) = no].
5659 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5660 to [$(run-built-tests) = yes].
5661 * elf/Makefile [$(cross-compiling) = no]: Likewise
5662 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5663 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5664 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5665 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5666 * io/Makefile [$(cross-compiling) = no]: Likewise.
5667 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5668 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5669 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5670 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5671 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5672 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5673 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5674 * string/Makefile [$(cross-compiling) = no]: Likewise.
5676 * posix/Makefile ($(objpfx)globtest.out): Pass
5677 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5678 $(rtld-installed-name).
5679 * posix/globtest.sh (elf_objpfx): Remove variable.
5680 (rtld_installed_name): Likewise.
5681 (library_path): Likewise.
5682 (run_program_prefix): New variable. Use for running globtest
5685 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5686 Joseph Myers <joseph@codesourcery.com>
5688 * Makeconfig (host-built-program-cmd): New variable.
5689 * elf/Makefile (tst-stackguard1-ARGS): Use
5690 $(host-built-program-cmd).
5691 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5692 (tst-spawn-ARGS): Likewise.
5693 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5695 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5696 Jim Blandy <jimb@codesourcery.com>
5698 * Makeconfig (run-via-rtld-prefix): New variable.
5699 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5700 (built-program-cmd): Likewise.
5702 2012-10-22 Andreas Jaeger <aj@suse.de>
5704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5705 __O_RSYNC if it exists, otherwise to O_SYNC.
5707 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5708 Joseph Myers <joseph@codesourcery.com>
5710 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5712 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5714 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5717 2012-10-22 Andreas Jaeger <aj@suse.de>
5719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5727 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5734 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5735 Joseph Myers <joseph@codesourcery.com>
5737 * config.make.in (NM): New variable.
5739 2012-10-21 Andreas Jaeger <aj@suse.de>
5741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5742 definitions and declarations that are provided by
5743 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5745 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5748 * elf/Makefile (tests-static): Add tst-leaks1-static.
5749 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5750 ($(objpfx)tst-leaks1-static): New rule.
5751 ($(objpfx)tst-leaks1-static-mem): Likewise.
5752 (tst-leaks1-static-ENV): New macro.
5753 * elf/dl-open.c (dl_open_worker): Check the main application
5754 only if SHARED is defined.
5755 * elf/tst-leaks1-static.c: New file.
5757 2012-10-20 Andreas Jaeger <aj@suse.de>
5759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5760 generic values for Linux.
5761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5762 and declarations that are provided by <bits/fcntl-linux.h> and
5763 include <bits/fcntl-linux.h>.
5764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5767 2012-10-20 Roland McGrath <roland@hack.frob.com>
5769 * io/fcntl.h: Move include of <bits/types.h> to the top and
5770 include it unconditionally.
5772 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5774 * wcsmbs/Makefile (tests-ifunc): New variable.
5775 (tests): Add $(tests-ifunc).
5776 * wcsmbs/test-wcschr-ifunc.c: New file.
5777 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5778 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5779 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5780 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5781 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5783 * string/Makefile (tests-ifunc): New variable.
5784 (tests): Add $(tests-ifunc).
5785 * string/test-memccpy.c (TEST_NAME): New macro.
5786 * string/test-memchr.c (TEST_NAME): Likewise.
5787 * string/test-memcmp.c (TEST_NAME): Likewise.
5788 * string/test-memcpy.c (TEST_NAME): Likewise.
5789 * string/test-memmem.c (TEST_NAME): Likewise.
5790 * string/test-memmove.c (TEST_NAME): Likewise.
5791 * string/test-memset.c (TEST_NAME): Likewise.
5792 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5793 * string/test-stpcpy.c (TEST_NAME): Likewise.
5794 * string/test-stpncpy.c (TEST_NAME): Likewise.
5795 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5796 * string/test-strcasestr.c (TEST_NAME): Likewise.
5797 * string/test-strcat.c (TEST_NAME): Likewise.
5798 * string/test-strchr.c (TEST_NAME): Likewise.
5799 * string/test-strcmp.c(TEST_NAME): Likewise.
5800 * string/test-strcpy.c (TEST_NAME): Likewise.
5801 * string/test-strcspn.c (TEST_NAME): Likewise.
5802 * string/test-strlen.c (TEST_NAME): Likewise.
5803 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5804 * string/test-strncmp.c (TEST_NAME): Likewise.
5805 * string/test-strncpy.c (TEST_NAME): Likewise.
5806 * string/test-strnlen.c (TEST_NAME): Likewise.
5807 * string/test-strpbrk.c (TEST_NAME): Likewise.
5808 * string/test-strrchr.c (TEST_NAME): Likewise.
5809 * string/test-strspn.c (TEST_NAME): Likewise.
5810 * string/test-strstr.c (TEST_NAME): Likewise.
5811 * string/test-bcopy-ifunc.c: New file.
5812 * string/test-bzero-ifunc.c: Likewise.
5813 * string/test-memccpy-ifunc.c: Likewise.
5814 * string/test-memchr-ifunc.c: Likewise.
5815 * string/test-memcmp-ifunc.c: Likewise.
5816 * string/test-memcpy-ifunc.c: Likewise.
5817 * string/test-memmem-ifunc.c: Likewise.
5818 * string/test-memmove-ifunc.c: Likewise.
5819 * string/test-mempcpy-ifunc.c: Likewise.
5820 * string/test-memset-ifunc.c: Likewise.
5821 * string/test-rawmemchr-ifunc.c: Likewise.
5822 * string/test-stpcpy-ifunc.c: Likewise.
5823 * string/test-stpncpy-ifunc.c: Likewise.
5824 * string/test-strcasecmp-ifunc.c: Likewise.
5825 * string/test-strcasestr-ifunc.c: Likewise.
5826 * string/test-strcat-ifunc.c: Likewise.
5827 * string/test-strchr-ifunc.c: Likewise.
5828 * string/test-strchrnul-ifunc.c: Likewise.
5829 * string/test-strcmp-ifunc.c: Likewise.
5830 * string/test-strcpy-ifunc.c: Likewise.
5831 * string/test-strcspn-ifunc.c: Likewise.
5832 * string/test-strlen-ifunc.c: Likewise.
5833 * string/test-strncasecmp-ifunc.c: Likewise.
5834 * string/test-strncat-ifunc.c: Likewise.
5835 * string/test-strncmp-ifunc.c: Likewise.
5836 * string/test-strncpy-ifunc.c: Likewise.
5837 * string/test-strnlen-ifunc.c: Likewise.
5838 * string/test-strpbrk-ifunc.c: Likewise.
5839 * string/test-strrchr-ifunc.c: Likewise.
5840 * string/test-strspn-ifunc.c: Likewise.
5841 * string/test-strstr-ifunc.c: Likewise.
5843 * debug/Makefile (tests-ifunc): New variable.
5844 (tests): Add $(tests-ifunc).
5845 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5846 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5847 * debug/test-stpcpy_chk-ifunc.c: New file.
5848 * debug/test-strcpy_chk-ifunc.c: Likewise.
5850 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5853 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5854 header is not read in.
5856 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5858 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5859 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5860 directly. Pass built executable to script as
5861 $(built-program-cmd).
5862 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5863 $testprogram without using LD_LIBRARY_PATH and $ldso.
5865 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5866 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5867 $(rtld-installed-name).
5868 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5869 (rtld_installed_name): Likewise.
5870 (library_path): Likewise.
5871 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5872 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5873 $(run-program-prefix) to tst-tables.sh.
5874 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5875 it to run tst-table-from and tst-table-to.
5876 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5877 Pass it to tst-table.sh.
5878 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5879 $(run-program-prefix) to tst-gettext.sh.
5880 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5882 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5884 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5886 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5887 to run tst-gettext2.
5888 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5889 to run tst-translit.
5890 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5891 $(run-program-prefix) to tst-mtrace.sh.
5892 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5894 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5895 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5896 $(rtld-installed-name).
5897 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5898 (rtld_installed_name): Likewise.
5899 (run_program_prefix): New variable. Use it to run wordexp-test.
5901 * Makeconfig (ARCH): Remove all definitions.
5902 (machine): Likewise.
5903 [ARCH]: Remove conditional code.
5904 [!objdir]: Give error.
5905 [!objdir] (objpfx): Remove.
5906 [!objdir] (common-objpfx): Likewise.
5907 [!objdir] (common-objdir): Likewise.
5908 * configure.in (config_makefile): Remove. Hardcode Makefile in
5909 AC_CONFIG_FILES call.
5910 * configure: Regenerated.
5913 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5915 (testout): Likewise.
5917 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5918 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5919 $(rtld-installed-name).
5920 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5921 (rtld_installed_name): Likwise.
5922 (runit): Remove function.
5923 (run_getconf): New variable, Use it for running getconf binary.
5925 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5928 * string/test-memmem.c (check_result): New function.
5929 (do_one_test): Use it.
5930 (check1): New function.
5931 (test_main): Use it.
5933 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5935 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5937 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5939 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5940 (_G_LSEEK64): Likewise.
5941 (_G_MMAP64): Likewise.
5942 (_G_FSTAT64): Likewise.
5943 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5944 (_G_LSEEK64): Likewise.
5945 (_G_MMAP64): Likewise.
5946 (_G_FSTAT64): Likewise.
5947 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5948 unconditional. Call __mmap64 directly.
5949 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5950 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5952 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5953 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5955 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5956 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5958 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5959 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5961 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5962 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5964 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5965 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5966 __fxstat64 directly.
5967 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5968 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5970 (freopen64) [!_G_OPEN64]: Remove conditional code.
5971 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5973 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5974 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5976 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5977 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5979 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5980 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5982 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5983 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5985 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5986 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5988 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5989 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5991 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5993 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5996 * manual/memory.texi (Malloc Tunable Parameters): Add note
5997 about free list pointers overwriting some perturb bytes.
5998 Wording suggested by Roland McGrath.
6000 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6002 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6003 (lgamma_test): Likewise.
6004 (tgamma_test): Likewise.
6006 2012-10-16 Florian Weimer <fweimer@redhat.com>
6009 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6010 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6012 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6014 * NEWS: Mention BZ #14716.
6015 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6016 when removing AVAILABLE1_USES_J macro.
6018 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6020 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6021 (__bswap_64): __uint64_t for unsigned 64-bit int.
6023 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6025 * include/string.h (memmem): Declare libc hidden alias.
6026 * string/memmem.c (memmem): Define libc hidden alias.
6027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6028 __read, __close instead of open, read, close.
6030 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6033 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6035 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6036 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6037 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6039 (__rawmemchr_sse2): Likewise.
6040 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6041 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6042 (__strchr_sse2): Likewise.
6043 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6044 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6045 (__strcasecmp_sse2): Likewise.
6046 (__strncasecmp_sse2): Likewise.
6047 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6048 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6049 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6050 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6051 (__strrchr_sse2): Likewise.
6052 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6054 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6055 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6056 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6057 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6058 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6059 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6060 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6061 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6062 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6063 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6064 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6067 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6070 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6071 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6072 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6073 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6075 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6076 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6077 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6078 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6080 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6081 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6082 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6083 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6087 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6088 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6089 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6090 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6092 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6094 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6095 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6096 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6097 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6099 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6141 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6142 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6143 * include/ifunc-impl-list.h: New file.
6144 * misc/ifunc-impl-list.c: Likewise.
6145 * misc/Makefile (routines): Add ifunc-impl-list.
6146 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6147 * string/test-string.h: Include <ifunc-impl-list.h>.
6148 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6149 impl_array): New variables.
6150 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6152 (test_init): Call __libc_ifunc_impl_list to initialize
6153 func_list if TEST_IFUNC and TEST_NAME are defined.
6155 * string/Makefile (strop-tests): Add bcopy and bzero.
6156 * string/test-bcopy.c: New file.
6157 * string/test-bzero.c: Likewise.
6158 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6160 * string/test-memset.c: Support bzero test if TEST_BZERO is
6162 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6164 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6166 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6169 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6171 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6172 * configure: Regenerated.
6174 * Makeconfig (+link-static-before-libc): Don't include
6175 $(link-static-libc).
6177 * libio/libio.h (_IO_pos_t): Remove.
6179 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6181 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6184 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6186 * crypt/crypt-entry.c: Include fips-private.h.
6187 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6188 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6189 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6190 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6192 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6194 * crypt/crypt-private.h: Include stdbool.h.
6195 (_ufc_setup_salt_r): Return bool.
6196 * crypt/crypt-entry.c: Include errno.h.
6197 (__crypt_r): Return NULL with EINVAL for bad salt.
6198 * crypt/crypt_util.c (bad_for_salt): New.
6199 (_ufc_setup_salt_r): Check that salt is long enough and within
6200 the specified alphabet.
6201 * crypt/badsalttest.c: New file.
6202 * crypt/Makefile (tests): Add it.
6203 ($(objpfx)badsalttest): New.
6205 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6207 * NEWS: Add entry for BZ #14602.
6209 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6211 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6213 * math/libm-test.inc: Update comment listing what functions and
6215 (isgreater_test): New function.
6216 (isgreaterequal_test): Likewise.
6217 (isless_test): Likewise.
6218 (islessequal_test): Likewise.
6219 (islessgreater_test): Likewise.
6220 (isunordered_test): Likewise.
6221 (main): Call the new functions.
6223 2012-10-09 Roland McGrath <roland@hack.frob.com>
6225 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6226 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6227 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6228 * sysdeps/i386/configure: Regenerated.
6229 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6230 * sysdeps/mach/configure: Regenerated.
6231 * sysdeps/mach/hurd/configure: Regenerated.
6232 * sysdeps/powerpc/configure: Regenerated.
6233 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6234 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6235 * sysdeps/s390/s390-32/configure: Regenerated.
6236 * sysdeps/s390/s390-64/configure: Regenerated.
6237 * sysdeps/sh/configure: Regenerated.
6238 * sysdeps/sparc/configure: Regenerated.
6239 * sysdeps/unix/sysv/linux/configure: Regenerated.
6240 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6241 * sysdeps/x86_64/configure: Regenerated.
6243 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6244 defined. Don't check if MAP is NULL.
6246 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6248 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6249 (_G_stat64): Likewise.
6250 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6251 (_G_stat64): Likewise.
6252 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6253 instead of struct _G_stat64.
6254 * libio/fileops.c (mmap_remap_check): Likewise.
6255 (decide_maybe_mmap): Likewise.
6256 (_IO_new_file_seekoff): Likewise.
6257 (_IO_file_stat): Likewise.
6258 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6260 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6261 instead of struct _G_stat64.
6262 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6264 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6267 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6269 (CHECK_EOL): New macro.
6270 (two_way_short_needle): Check beginning of haystack for EOL. Use
6272 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6273 Replace with CHECK_EOL.
6274 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6275 Replace with CHECK_EOL.
6277 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6279 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6281 * math/libm-test.inc: Update comment listing what functions and
6283 (finite_test): New function.
6284 (isinf_test): Likewise.
6285 (isnan_test): Likewise.
6286 (fpclassify_test): Test subnormal input.
6287 (isfinite_test): Likewise.
6288 (isnormal_test): Likewise.
6289 (main): Call the new functions.
6291 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6294 * Makerules (%.dynsym): Force C locale when running
6295 $(OBJDUMP) --dynamic-syms.
6297 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6299 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6302 2012-10-06 David S. Miller <davem@davemloft.net>
6304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6305 upper 32-bits of the length value in %o2 since we use branch-on-register
6306 tests which consider the entire 64-bit register.
6308 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6310 * string/test-strstr.c (check2): Add a test for page boundary.
6312 2012-10-05 David S. Miller <davem@davemloft.net>
6314 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6317 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6320 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6321 and bzero when HWCAP_SPARC_CRYPTO is present.
6323 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6326 * string/test-strstr.c (check2): New function.
6327 (test_main): Call check2.
6329 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6331 * string/bug-strcasestr1.c (do_test): Moved to ...
6332 * string/test-strcasestr.c (check1): Here. New function.
6333 (do_one_test): Break out result checking code into ...
6334 (check_result): This. New function.
6335 (do_one_test): Call check_result.
6336 (test_main): Call check1.
6337 * string/bug-strchr1.c (do_test): Moved to ...
6338 * string/test-strchr.c (check1): Here. New function.
6339 (do_one_test): Break out result checking code into ...
6340 (check_result): This. New function.
6341 (do_one_test): Call check_result.
6342 (test_main): Call check1.
6343 * string/bug-strstr1.c (main): Moved to ...
6344 * string/test-strstr.c (check1): Here. New function.
6345 (do_one_test): Break out result checking code into ...
6346 (check_result): This. New function.
6347 (do_one_test): Call check_result.
6348 (test_main): Call check1.
6349 * string/bug-strcasestr1.c: Removed.
6350 * string/bug-strchr1.c: Likewise.
6351 * string/bug-strstr1.c: Likewise.
6353 * elf/Makefile (dl-routines): Add hwcaps.
6354 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6355 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6356 (_dl_important_hwcaps): Moved to ...
6357 * elf/dl-hwcaps.c: Here. New file.
6358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6361 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6362 if IS_IN_rtld isn't defined.
6364 * elf/dl-support.c (_dl_sysinfo_map): New.
6365 Include "get-dynamic-info.h" and "setup-vdso.h".
6366 (_dl_non_dynamic_init): Call setup_vdso.
6367 * elf/dynamic-link.h: Don't include <assert.h>.
6368 (elf_get_dynamic_info): Moved to ...
6369 * elf/get-dynamic-info.h: Here. New file.
6370 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6371 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6372 * elf/setup-vdso.h: Here. New file.
6373 * elf/rtld.c: Include "setup-vdso.h".
6374 (dl_main): Call setup_vdso.
6376 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6378 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6379 creal in comment listing functions tested. List finite, isinf,
6380 isnan, isless, islessequal, isgreater, isgreaterequal,
6381 islessgreater, isunordered, lgamma_r and pow10 as functions and
6382 macros not tested. Mention which functions not tested are aliases
6383 for other functions. Fix typo. Note that signs of NaNs are not
6386 * scripts/config.guess: Update from config.git.
6387 * scripts/config.sub: Likewise.
6389 2012-10-04 Roland McGrath <roland@hack.frob.com>
6391 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6392 * misc/madvise.c (madvise): Renamed to __madvise.
6393 Make madvise a weak alias.
6394 * include/sys/mman.h: Declare __madvise.
6395 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6396 * sysdeps/unix/syscalls.list
6397 (madvise): Make __madvise the strong name, and madvise a weak alias.
6398 * sysdeps/unix/sysv/linux/syscalls.list
6399 (madvise, mmap): Remove redundant entries.
6400 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6401 * malloc/malloc.c (mtrim): Likewise.
6402 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6404 2012-10-03 Roland McGrath <roland@hack.frob.com>
6406 * sysdeps/mach/hurd/dl-cache.c: File removed.
6407 * config.h.in (USE_LDCONFIG): New #undef.
6408 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6409 * configure: Regenerated.
6410 * elf/Makefile (dl-routines): Add dl-cache only under
6411 [$(use-ldconfig) = yes].
6412 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6413 cache on [USE_LDCONFIG].
6414 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6416 * elf/rtld.c (dl_main): Likewise.
6418 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6420 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6421 _SC_LEVEL4_CACHE_LINESIZE.
6423 2012-10-03 Roland McGrath <roland@hack.frob.com>
6425 * sysdeps/unix/bsd/confstr.h: File removed.
6427 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6429 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6432 2012-10-02 Roland McGrath <roland@hack.frob.com>
6434 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6435 Make 'mapoff' field ElfW(Off) rather than off_t.
6437 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6439 * nscd/Makefile: Remove nscd-cflags and all its users.
6440 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6441 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6444 * malloc.c (malloc_printerr): Clarify error message.
6446 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6450 Set bit_FMA_Usable if FMA is supported.
6451 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6453 (bit_FMA4_Usable): Updated.
6454 (index_FMA_Usable): New macro.
6455 (CPUID_FMA): Likewise
6456 (HAS_FMA): Defined with bit_FMA_Usable.
6458 2012-10-01 Roland McGrath <roland@hack.frob.com>
6460 * bits/types.h (__swblk_t): Type removed.
6461 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6462 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6464 (__SWBLK_T_TYPE): Likewise.
6465 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6466 (__SWBLK_T_TYPE): Likewise.
6467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6468 (__SWBLK_T_TYPE): Likewise.
6469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6470 (__SWBLK_T_TYPE): Likewise.
6472 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6473 Honza Horak <hhorak@redhat.com>
6475 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6476 (xdr_mapname): Use YPMAXMAP as maxsize.
6477 (xdr_peername): Use YPMAXPEER as maxsize.
6478 (xdr_keydat): Use YPAXRECORD as maxsize.
6479 (xdr_valdat): Use YPMAXRECORD as maxsize.
6481 2012-10-01 Roland McGrath <roland@hack.frob.com>
6483 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6485 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6486 * csu/init-first.c: ... here.
6487 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6488 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6489 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6491 * sysdeps/i386/init-first.c: File removed.
6492 * sysdeps/sh/init-first.c: File removed.
6494 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6498 if x * y might underflow to zero and z is zero.
6499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6501 * math/libm-test.inc (min_subnorm_value): New variable.
6502 (fma_test): Add more tests.
6503 (fma_test_towardzero): Likewise.
6504 (fma_test_downward): Likewise
6505 (fma_test_upward): Likewise.
6506 (initialize): Set min_subnorm_value.
6508 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6514 mode for addition resulting in exact zero.
6515 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6520 * math/libm-test.inc (fma_test): Add more tests.
6521 (fma_test_towardzero): New function.
6522 (fma_test_downward): Likewise.
6523 (fma_test_upward): Likewise.
6524 (main): Call the new functions.
6526 2012-09-28 David S. Miller <davem@davemloft.net>
6528 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6530 2012-09-28 Roland McGrath <roland@hack.frob.com>
6532 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6535 * sysdeps/gnu/_G_config.h: Moved to ...
6536 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6537 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6538 * sysdeps/generic/_G_config.h: ... here.
6540 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6542 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6544 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6545 Conditionalize target on [libnss_test1.so-version].
6547 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6549 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6550 (elfobjdir): Move out of conditionals.
6552 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6553 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6554 (__nss_lookup_function): Conditionalize label remove_from_tree on
6555 [!DO_STATIC_NSS || SHARED], matching its only use.
6557 2012-09-28 David S. Miller <davem@davemloft.net>
6559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6562 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6566 when HWCAP_SPARC_CRYPTO is present.
6568 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6570 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6572 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6575 * stdio-common/vfprintf.c (process_string_arg): Revert
6578 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6580 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6582 * stdio-common/tst-sprintf.c: Include <locale.h>
6583 (main): Test sprintf's handling of incomplete multibyte
6586 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6588 * elf/dl-runtime.c (VERSYMIDX): Removed.
6589 * elf/dl-version.c (VERSYMIDX): Likewise.
6590 * elf/do-rel.h (VERSYMIDX): Likewise.
6592 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6593 * elf/rtld.c (VALIDX): Likewise.
6594 (ADDRIDX): Likewise.
6595 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6596 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6597 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6598 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6600 (ADDRIDX): Likewise.
6602 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6604 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6606 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6609 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6611 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6612 addresses are in the same scope as 192.0.2/24.
6613 * posix/gai.conf: Document new scope table defaults.
6615 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6618 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6619 for ftell. Compute offsets from write pointers instead.
6620 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6622 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6625 * libio/Makefile (tests): New test case tst-fseek.
6626 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6627 combination works in wide mode.
6628 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6629 state when the external buffer state changes.
6631 2012-09-27 David S. Miller <davem@davemloft.net>
6634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6635 pass reloc->r_addend in as the 'high' argument to
6636 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6640 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6642 * rt/tst-aio2.c: Include <pthread.h>.
6643 * rt/tst-aio3.c: Likewise.
6645 2012-09-27 Steve Ellcey <sellcey@mips.com>
6647 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6649 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6651 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6652 contents on [SHARED].
6654 2012-09-26 Marek Polacek <polacek@redhat.com>
6658 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6659 for C++ and GCC <4.3 as well as for non GCC compilers.
6661 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6665 2012-09-25 Roland McGrath <roland@hack.frob.com>
6667 * Makefile.in (all, install): Declare with .PHONY.
6668 Reported by Michael Hope <michael.hope@linaro.org>.
6670 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6672 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6673 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6675 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6677 (sydep_routines): Add the new and the internal functions.
6678 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6679 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6681 (GLIBC_2.17): Add the new function.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6683 (GLIBC_2.17): Likewise.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6685 (GLIBC_2.17): Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6687 (GLIBC_2.17): Likewise.
6688 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6690 2012-09-25 Alan Modra <amodra@gmail.com>
6692 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6693 Add release barrier before setting once_control to say
6694 initialisation is done. Add hints on lwarx. Use macro in
6696 (clear_once_control): Add release barrier.
6698 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6701 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6703 * math/s_clog10.c (__clog10): Likewise.
6704 * math/s_clog10f.c (__clog10f): Likewise.
6705 * math/s_clog10l.c (__clog10l): Likewise.
6706 * math/s_clogf.c (__clogf): Likewise.
6707 * math/s_clogl.c (__clogl): Likewise.
6708 * math/Makefile (libm-calls): Add x2y2m1.
6709 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6710 (__x2y2m1): Likewise.
6711 (__x2y2m1l): Likewise.
6712 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6713 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6718 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6719 * sysdeps/i386/fpu/libm-test-ulps: Update.
6720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6723 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6724 int as type of variable DEPTH.
6725 (glob): Use size_t instead of int as type of variables NEWCOUNT
6728 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6732 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6733 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6734 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6735 macros for using routine as __sincosf_ia32.
6736 Use macro for function declaration and weak_alias.
6737 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6742 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6744 * math/s_cexpf.c (__cexpf): Likewise.
6745 * math/s_csinf.c (__csinf): Likewise.
6746 * math/s_csinhf.c (__csinhf): Likewise.
6747 * math/s_ctanf.c (__ctanf): Likewise.
6748 * math/s_ctanhf.c (__ctanhf): Likewise.
6749 * math/s_ccosh.c (__ccoshf): Likewise.
6750 * math/s_cexp.c (__cexpl): Likewise.
6751 * math/s_csin.c (__csin): Likewise.
6752 * math/s_csinh.c (__csinh): Likewise.
6753 * math/s_ctan.c (__ctan): Likewise.
6754 * math/s_ctanh.c (ctanh): Likewise.
6755 * math/s_ccoshl.c (__ccoshl): Likewise.
6756 * math/s_cexpl.c (__cexpl): Likewise.
6757 * math/s_csinl.c (__csinl): Likewise.
6758 * math/s_csinhl.c (__csinhl): Likewise.
6759 * math/s_ctanl.c (__ctanl): Likewise.
6760 * math/s_ctanhl.c (__ctanhl): Likewise.
6762 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6764 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6765 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6766 (_IO_off_t): Define to __off_t, not _G_off_t.
6767 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6768 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6769 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6770 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6771 type of __dummy and __dummy2 fields.
6772 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6773 (_G_ssize_t): Likewise.
6774 (_G_off_t): Likewise.
6775 (_G_pid_t): Likewise.
6776 (_G_uid_t): Likewise.
6777 (_G_wchar_t): Likewise.
6778 (_G_wint_t): Likewise.
6779 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6780 (_G_ssize_t): Likewise.
6781 (_G_off_t): Likewise.
6782 (_G_pid_t): Likewise.
6783 (_G_uid_t): Likewise.
6784 (_G_wchar_t): Likewise.
6785 (_G_wint_t): Likewise.
6786 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6787 (_G_ssize_t): Likewise.
6788 (_G_off_t): Likewise.
6789 (_G_pid_t): Likewise.
6790 (_G_uid_t): Likewise.
6791 (_G_wchar_t): Likewise.
6792 (_G_wint_t): Likewise.
6794 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6796 * malloc/arena.c: Include malloc-sysdep.h.
6797 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6798 is sufficient to shrink the heap or an unmap is needed.
6799 * sysdeps/generic/malloc-sysdep.h: New file. Define
6800 new function check_may_shrink_heap.
6801 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6802 new function check_may_shrink_heap.
6804 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6806 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6809 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6811 * catgets/test-gencat.sh: Add "set -e".
6812 * elf/tst-pathopt.sh: Likewise.
6813 * grp/tst_fgetgrent.sh: Likewise.
6814 * iconvdata/run-iconv-test.sh: Likewise.
6815 * intl/tst-gettext.sh: Likewise.
6816 * intl/tst-gettext2.sh: Likewise.
6817 * intl/tst-gettext4.sh: Likewise.
6818 * intl/tst-gettext6.sh: Likewise.
6819 * intl/tst-translit.sh: Likewise.
6820 * io/ftwtest-sh: Likewise.
6821 * libio/test-freopen.sh: Likewise.
6822 * malloc/tst-mtrace.sh: Likewise.
6823 * posix/globtest.sh: Likewise.
6824 * posix/tst-getconf.sh: Likewise.
6825 * posix/wordexp-tst.sh: Likewise.
6826 * stdio-common/tst-printf.sh: Likewise.
6827 * stdio-common/tst-unbputc.sh: Likewise.
6828 * stdlib/tst-fmtmsg.sh: Likewise.
6829 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6830 * catgets/Makefile: Do not specify -e option when running
6831 testsuite shell scripts.
6832 * elf/Makefile: Likewise.
6833 * grp/Makefile: Likewise.
6834 * iconvdata/Makefile: Likewise.
6835 * intl/Makefile: Likewise.
6836 * io/Makefile: Likewise.
6837 * libio/Makefile: Likewise.
6838 * malloc/Makefile: Likewise.
6839 * posix/Makefile: Likewise.
6840 * stdio-common/Makefile: Likewise.
6841 * stdlib/Makefile: Likewise.
6842 * sysdeps/x86_64/Makefile: Likewise.
6844 * io/ftwtest-sh: Add copyright header.
6845 * posix/globtest.sh: Likewise.
6846 * posix/tst-getconf.sh: Likewise.
6847 * posix/wordexp-tst.sh: Likewise.
6848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6850 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6853 * Makeconfig (+link): Defined as $(+link-static) if
6854 $(build-shared) isn't yes.
6855 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6857 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6859 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6862 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6863 new chunk size with MALLOC_ALIGN_MASK.
6865 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6868 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6870 (__printf_fphex): Determine rounding using get_rounding_mode and
6872 * stdio-common/tst-printf-round.c (struct hex_test): New
6874 (hex_tests): New variable.
6875 (test_hex_in_one_mode): New function.
6876 (do_test): Also run tests for hex float output.
6878 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6880 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6881 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6882 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6883 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6884 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6885 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6886 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6889 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6891 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6892 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6893 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6894 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6896 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6899 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6901 * elf/tst-rtld-load-self.sh: New test.
6902 * elf/Makefile: Run it.
6904 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6906 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6907 (tst-writev-ENV): Remove.
6908 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6910 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6912 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6914 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6916 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6918 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6920 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6921 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6922 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6925 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6928 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6929 * config.make.in (have-cpp-asm-debuginfo): Removed.
6930 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6931 * configure: Regenerated.
6933 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6936 * stdio-common/printf_fp.c: Include <stdbool.h> and
6938 (___printf_fp): Determine rounding using get_rounding_mode and
6940 * stdio-common/tst-printf-round.c: New file.
6941 * stdio-common/Makefile (tests): Add tst-printf-round.
6942 (link-libm): New variable.
6943 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6945 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6948 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6949 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6951 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6954 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6956 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6957 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6958 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6961 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6964 * include/rounding-mode.h: New file.
6965 * sysdeps/generic/get-rounding-mode.h: Likewise.
6966 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6967 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6968 (MAX_VALUE): New macro.
6969 (MIN_VALUE): Likewise.
6970 (overflow_value): New function.
6971 (underflow_value): Likewise.
6972 (round_and_return): Use overflow_value and underflow_value to
6973 determine return values in overflow and underflow cases. Use
6974 round_away to determine rounding depending on rounding mode.
6975 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6976 determine return values in overflow and underflow cases.
6977 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6978 (struct test_results): New structure.
6979 (struct test): Use struct test_results to store expected results
6980 for all rounding modes.
6981 (TEST): Include expected results for all rounding modes.
6982 (test_in_one_mode): New function.
6983 (do_test): Use test_in_one_mode to compute and check results.
6984 Check results for all rounding modes.
6985 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6988 2012-12-09 Allan McRae <allan@archlinux.org>
6990 * sysdeps/i386/fpu/libm-test-ulps: Update
6992 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6994 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6995 (_G_int32_t): Likewise.
6996 (_G_uint16_t): Likewise.
6997 (_G_uint32_t): Likewise.
6998 (_G_HAVE_BOOL): Likewise.
6999 (_G_HAVE_ATEXIT): Likewise.
7000 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7001 (_G_HAVE_IO_FILE_OPEN): Likewise.
7002 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7003 (_G_int32_t): Likewise.
7004 (_G_uint16_t): Likewise.
7005 (_G_uint32_t): Likewise.
7006 (_G_HAVE_BOOL): Likewise.
7007 (_G_HAVE_ATEXIT): Likewise.
7008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7009 (_G_HAVE_IO_FILE_OPEN): Likewise.
7010 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7011 (_G_int32_t): Likewise.
7012 (_G_uint16_t): Likewise.
7013 (_G_uint32_t): Likewise.
7014 (_G_HAVE_BOOL): Likewise.
7015 (_G_HAVE_ATEXIT): Likewise.
7016 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7017 (_G_HAVE_IO_FILE_OPEN): Likewise.
7019 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7021 * csu/libc-tls.c: Update copyright years.
7023 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7025 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7026 [!_G_USING_THUNKS]: Remove conditional code.
7027 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7028 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7030 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7031 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7032 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7033 (_G_VTABLE_LABEL_PREFIX): Likewise.
7034 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7035 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7037 (_G_VTABLE_LABEL_PREFIX): Likewise.
7038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7039 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7040 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7041 (_G_VTABLE_LABEL_PREFIX): Likewise.
7042 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7044 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7046 * libio/Makefile: Include ../Makeconfig before tests.
7047 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7048 only if $(build-shared) is yes.
7050 * iconv/gconv_db.c: Update copyright years.
7052 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7054 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7055 unwind info if defined PIC. Fix special cases description.
7056 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7058 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7060 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7062 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7064 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7066 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7069 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7070 (LDLIBS-tst-chk4): This.
7071 (LDFLAGS-tst-chk5): Renamed to ...
7072 (LDLIBS-tst-chk5): This.
7073 (LDFLAGS-tst-chk6): Renamed to ...
7074 (LDLIBS-tst-chk6): This.
7075 (LDFLAGS-tst-lfschk4): Renamed to ...
7076 (LDLIBS-tst-lfschk4): This.
7077 (LDFLAGS-tst-lfschk5): Renamed to ...
7078 (LDLIBS-tst-lfschk5): This.
7079 (LDFLAGS-tst-lfschk6): Renamed to ...
7080 (LDLIBS-tst-lfschk6): This.
7082 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7083 on $(common-objpfx)soversions.mk.
7085 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7088 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7091 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7093 * malloc/arena.c (arena_get_retry): New function that gets
7094 another arena for the caller to try its request on.
7095 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7096 current arena cannot fulfill the request.
7097 (__libc_memalign): Likewise.
7098 (__libc_memalign): Likewise.
7099 (__libc_pvalloc): Likewise.
7100 (__libc_calloc): Likewise.
7102 2012-09-05 John Tobey <john.tobey@gmail.com>
7105 * manual/arith.texi (Operations on Complex): Fix description
7108 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7111 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7115 * manual/memory.texi (Memory): Make order of menu items match
7118 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7120 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7121 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7122 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7124 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7126 * csu/libc-tls.c (static_dtv): Renamed to ...
7127 (_dl_static_dtv): This. Make it global.
7128 (_dl_initial_dtv): Removed.
7129 (__libc_setup_tls): Updated.
7130 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7131 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7134 2012-09-06 Petr Machata <pmachata@redhat.com>
7136 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7137 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7138 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7139 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7141 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7144 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7145 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7148 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7151 * Makeconfig (link-static-before-libc): Replace $(+prector)
7153 (link-static-after-libc): Replace $(+postctor) with
7155 (link-bounded): Replace $(+prector)/$(+postctor) with
7156 $(+prectorT)/$(+postctorT).
7157 (+prectorT): New macro.
7158 (+postctorT): Likewise.
7160 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7162 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7163 (round_str): Handle values above the maximum for IBM long double
7165 * stdlib/tst-strtod-round.c (tests): Regenerated.
7167 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7169 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7171 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7172 zarch_nohighgprs around the zarch optimized routines.
7173 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7174 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7175 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7178 2012-09-05 David S. Miller <davem@davemloft.net>
7180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7182 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7183 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7184 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7190 * malloc/arena.c: Fold copyright years.
7191 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7193 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7195 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7199 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7201 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7203 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7204 change internal state upon failure.
7206 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7208 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7209 * malloc/memusage.c (mmap): Likewise.
7210 (mmap64, mremap): Likewise. Adjust name in comment.
7212 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7214 * libio/fileops.c: Fix typos in comments.
7215 * libio/oldfileops.c: Likewise.
7216 * libio/wfileops.c: Likewise.
7218 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7221 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7222 (tst-malloc-usable-ENV): Set environment for test case.
7223 * malloc/hooks.c (malloc_check_get_size): New function to get
7225 * malloc/malloc.c (musable): Use malloc_check_get_size.
7226 * malloc/tst-malloc-usable.c: New test case.
7228 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7230 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7232 2012-09-05 Allan McRae <allan@archlinux.org>
7235 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7236 determine header location.
7237 * configure: Regenerated.
7239 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7241 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7243 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7244 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7248 2012-09-04 David S. Miller <davem@davemloft.net>
7250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7254 2012-09-04 Florian Weimer <fweimer@redhat.com>
7256 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7259 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7261 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7264 * libio/iogetdelim.c: Include <limits.h>.
7265 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7266 + len + 1 would overflow.
7268 2012-09-03 Andreas Jaeger <aj@suse.de>
7270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7271 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7275 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7276 Add s_sinf-sse2, s_conf-sse2.
7278 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7279 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7280 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7281 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7283 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7284 for using routine as __sinf_ia32.
7285 Use macro for function declaration and weak_alias.
7286 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7287 for using routine as __cosf_ia32.
7288 Use macro for function declaration and weak_alias.
7290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7291 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7293 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7294 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7297 * math/libm-test.inc (cos_test): Add more test cases.
7298 (sin_test): Likewise.
7299 (sincos_test): Likewise.
7301 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7304 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7308 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7311 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7312 first element of the GOT.
7313 (elf_machine_load_address): Return the difference between
7314 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7316 2012-09-01 Allan McRae <allan@archlinux.org>
7319 * configure.in (AWK): Require gawk version 3.0 or later.
7320 * configure: Regenerated.
7322 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7324 * sysdeps/unix/sysv/linux/kernel-features.h
7325 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7327 [__NR_clock_getres]: Make code unconditional.
7328 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7329 (clock_getcpuclockid): Remove code left unreachable by removal of
7331 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7335 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7336 Make code unconditional.
7337 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7338 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7339 * sysdeps/unix/sysv/linux/clock_settime.c
7340 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7342 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7345 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7348 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7349 scripts/test-installation.pl.
7351 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7352 and $ld_so_version if it is set.
7354 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7358 failure if reading from procfs failed.
7359 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7361 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7363 * sysdeps/unix/sysv/linux/kernel-features.h
7364 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7365 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7366 Remove conditional code.
7367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7369 Remove conditional code.
7370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/i386/fxstat.c
7372 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7374 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/i386/lxstat.c
7378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7381 Remove conditional code.
7382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7383 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7384 Remove conditional code.
7385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7386 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7387 <kernel-features.h>.
7388 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7390 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7391 Remove conditional code.
7392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7393 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7396 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7399 * NEWS: Add fixed bug number.
7401 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7404 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7405 underflowing exponent in case of negative sign.
7406 * stdlib/tst-strtod-round-data: Add more tests.
7407 * stdlib/tst-strtod-round.c (tests): Regenerated.
7410 * stdlib/strtod_l.c (NDIG): Remove.
7411 (HEXNDIG): Likewise.
7412 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7413 smallest representable value.
7414 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7415 lie within an exact representation of 1/2 ulp of the result.
7416 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7418 (TENS_P9_IDX): Define unconditionally.
7419 (TENS_P9_SIZE): Likewise.
7420 (TENS_P10_IDX): Likewise.
7421 (TENS_P10_SIZE): Likewise.
7422 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7423 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7424 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7425 entries for 10^2^13 and 10^2^14.
7426 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7427 (TENS_P13_IDX): Define.
7428 (TENS_P13_SIZE): Likewise.
7429 (TENS_P14_IDX): Likewise.
7430 (TENS_P14_SIZE): Likewise.
7431 (_fpioconst_pow10): Change array size to
7432 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7434 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7435 1024]: Add entries for 10^2^13 and 10^2^14.
7436 [LAST_POW10 > _LAST_POW10]: Remove #error.
7437 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7438 (_fpioconst_pow10): Change array size to
7439 FPIOCONST_POW10_ARRAY_SIZE.
7440 * stdlib/gen-fpioconst.c: New file.
7441 * stdlib/gen-tst-strtod-round.c: Likewise.
7442 * stdlib/tst-strtod-round-data: Likewise.
7443 * stdlib/tst-strtod-round.c: Likewise.
7444 * stdlib/Makefile (tests): Add tst-strtod-round.
7447 * stdlib/strtod_l.c: Include <stdint.h>.
7448 (NDEBUG): Do not define.
7449 (round_and_return): Change EXPONENT parameter to type intmax_t.
7450 Rearrange calculations to avoid internal overflow possibilities.
7451 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7452 Rearrange calculations to avoid internal overflow possibilities.
7453 Assert that number fits inside MPNSIZE limbs.
7454 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7455 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7456 calculations and add assertions to avoid internal overflow
7457 possibilities. Add casts to avoid signed/unsigned operations.
7458 * stdlib/tst-strtod-overflow.c: New file.
7459 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7461 2012-08-25 Marek Polacek <polacek@redhat.com>
7463 * time/time.h: Fix some typos in comments.
7465 2012-08-23 Roland McGrath <roland@hack.frob.com>
7467 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7468 * posix/tst-rfc3484-2.c: Likewise.
7469 * posix/tst-rfc3484-3.c: Likewise.
7471 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7473 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7474 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7476 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7478 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7479 #include of fxstatat64.c.
7481 2012-08-22 Roland McGrath <roland@hack.frob.com>
7483 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7484 * shadow/getspent_r.c: Likewise.
7485 * shadow/getspnam.c: Likewise.
7486 * shadow/getspnam_r.c: Likewise.
7487 * gshadow/getsgent.c: Likewise.
7488 * gshadow/getsgent_r.c: Likewise.
7489 * gshadow/getsgnam.c: Likewise.
7490 * gshadow/getsgnam_r.c: Likewise.
7491 * inet/getnetbyad.c: Likewise.
7492 * inet/getnetbyad_r.c: Likewise.
7493 * inet/getnetbynm.c: Likewise.
7494 * inet/getnetbynm_r.c: Likewise.
7495 * inet/getnetent.c: Likewise.
7496 * inet/getnetent_r.c: Likewise.
7497 * inet/getproto.c: Likewise.
7498 * inet/getproto_r.c: Likewise.
7499 * inet/getprtent.c: Likewise.
7500 * inet/getprtent_r.c: Likewise.
7501 * inet/getprtname.c: Likewise.
7502 * inet/getprtname_r.c: Likewise.
7503 * inet/getrpcbyname.c: Likewise.
7504 * inet/getrpcbyname_r.c: Likewise.
7505 * inet/getrpcbynumber.c: Likewise.
7506 * inet/getrpcbynumber_r.c: Likewise.
7507 * inet/getrpcent.c: Likewise.
7508 * inet/getrpcent_r.c: Likewise.
7509 * inet/getaliasent.c: Likewise.
7510 * inet/getaliasent_r.c: Likewise.
7511 * inet/getaliasname.c: Likewise.
7512 * inet/getaliasname_r.c: Likewise.
7513 * nscd/getgrgid_r.c: Likewise.
7514 * nscd/getgrnam_r.c: Likewise.
7515 * nscd/gethstbyad_r.c: Likewise.
7516 * nscd/gethstbynm3_r.c: Likewise.
7517 * nscd/getpwnam_r.c: Likewise.
7518 * nscd/getpwuid_r.c: Likewise.
7519 * nscd/getsrvbynm_r.c: Likewise.
7520 * nscd/getsrvbypt_r.c: Likewise.
7521 * nscd/gai.c: Likewise.
7523 * configure.in (build_nscd): New substituted variable, set
7524 by --disable-build-nscd and defaults to $use_nscd.
7525 * configure: Regenerated.
7526 * config.make.in (build-nscd): New substituted variable.
7527 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7528 Change conditional to require [$(build-nscd) = yes] as well.
7529 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7532 * configure.in (use_nscd): New substituted variable, set by
7533 --disable-nscd. If enabled, define USE_NSCD.
7534 * configure: Regenerated.
7535 * config.h.in: Add USE_NSCD.
7536 * config.make.in (use-nscd): New substituted variable.
7537 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7538 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7539 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7540 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7541 (CFLAGS-getgrnam_r.c): Likewise.
7542 (CFLAGS-initgroups.c): Likewise.
7543 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7544 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7546 * inet/getnetgrent_r.c
7547 (nscd_setnetgrent): New function, broken out of ...
7548 (setnetgrent): ... here. Call it.
7549 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7550 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7551 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7552 * nscd/Makefile (routines, aux): Move definitions after include of
7553 Makeconfig. Conditionalize on [$(use-nscd) != no].
7554 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7555 Conditionalize on [USE_NSCD].
7556 (is_nscd, nscd_init_cb): Likewise.
7557 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7558 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7559 * nss/nss_db/db-init.c: Likewise.
7560 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7562 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7563 (make_request): Use it.
7564 (cache_valid_p): New function.
7565 (__check_pf): Use it.
7566 * NEWS: Add item for --disable-nscd.
7568 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7570 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7571 to support sed >= 4.2.1-20-ga9bf076.
7572 * configure: Regenerated.
7574 2012-08-22 Roland McGrath <roland@hack.frob.com>
7576 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7577 Conditionalize whole body on [IREL].
7579 2012-08-22 Jeff Law <law@redhat.com>
7582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7583 if the family is PF_UNSPEC.
7585 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7587 * Makerules (lib-version): Rename from V.
7588 (install-lib-nosubdir): Change V to lib-version.
7590 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7593 * powerpc32/power6/wcschr.c: New file.
7594 * powerpc32/power6/wcscpy.c: New file.
7595 * powerpc32/power6/wcsrchr.c: New file.
7596 * powerpc64/power6/wcschr.c: New file.
7597 * powerpc64/power6/wcscpy.c: New file.
7598 * powerpc64/power6/wcsrchr.c: New file.
7600 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7602 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7603 (two_way_short_needle): Use it.
7604 * string/strstr.c (AVAILABLE1_USES_J): Define.
7605 * string/strcasestr.c: Likewise.
7607 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7609 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7612 * NEWS: Add an entry.
7613 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7614 define their defaults.
7615 (two_way_short_needle): Detect end-of-string on-the-fly.
7616 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7617 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7618 * string/bug-strcasestr1.c: New test.
7619 * string/Makefile: Run it.
7621 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7624 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7625 the first character.
7627 2012-08-21 Roland McGrath <roland@hack.frob.com>
7629 * csu/elf-init.c (__libc_csu_irel): Function removed.
7630 * csu/libc-start.c (apply_irel): New function.
7631 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7633 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7635 * sysdeps/unix/sysv/linux/kernel-features.h
7636 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7638 <kernel-features.h>.
7639 [__NR_fadvise64_64]: Make code unconditional.
7640 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7641 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7642 !__NR_fadvise64_64)]: Likewise.
7643 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7644 !__NR_fadvise64_64))]: Likewise.
7645 [__NR_fadvise64]: Make code unconditional.
7646 [!__NR_fadvise64]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7648 <kernel-features.h>.
7649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7654 not include <kernel-features.h>.
7655 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7657 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7659 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7660 include <kernel-features.h>.
7661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7666 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7669 slight instruction rearrangements per scrollpipe analysis.
7670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7672 2012-08-20 Roland McGrath <roland@hack.frob.com>
7674 * manual/syslog.texi (syslog; vsyslog, closelog):
7675 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7676 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7678 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7679 DSOCAPS to match condition on defining it.
7681 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/unix/sysv/linux/kernel-features.h
7684 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7686 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7687 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7695 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7696 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7698 * sysdeps/unix/sysv/linux/kernel-features.h
7699 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7700 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7702 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7703 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7704 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7705 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7707 Make code unconditional.
7708 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7709 (__mmap64) [!__NR_mmap2]: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7711 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7712 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7714 [__NR_mmap2]: Make code unconditional.
7715 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7716 (__mmap64) [!__NR_mmap2]: Likewise.
7718 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7720 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7722 2012-08-18 Andreas Jaeger <aj@suse.de>
7724 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7726 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7728 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7729 * include/unistd.h (__have_sock_cloexec): Likewise.
7730 (__have_pipe2): Likewise.
7731 (__have_dup3): Likewise.
7733 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7736 * include/unistd.h (__have_pipe2): Change define into an extern int.
7737 (__have_dup3): Likewise.
7738 * socket/have_sock_cloexec.c: Include fcntl.h.
7739 (__have_pipe2): New variable.
7740 (__have_dup3): Likewise.
7742 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7744 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7746 2012-08-17 Marek Polacek <polacek@redhat.com>
7748 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7749 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7751 2012-08-17 Roland McGrath <roland@hack.frob.com>
7753 * configure.in: Add AC_SUBST for sysheaders.
7754 * configure: Regenerated.
7755 * config.make.in (sysheaders): New substituted variable.
7757 * sysdeps/unix/mkfifo.c: Moved ...
7758 * sysdeps/posix/mkfifo.c: ... here.
7759 * sysdeps/unix/mkfifoat.c: Moved ...
7760 * sysdeps/posix/mkfifoat.c: ... here.
7762 * sysdeps/unix/utime.c: Moved ...
7763 * sysdeps/posix/utime.c: ... here.
7765 * sysdeps/unix/time.c: Moved ...
7766 * sysdeps/posix/time.c: ... here.
7767 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7768 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7770 * sysdeps/unix/nice.c: Moved ...
7771 * sysdeps/posix/nice.c: ... here.
7773 * sysdeps/unix/alarm.c: Moved ...
7774 * sysdeps/posix/alarm.c: ... here.
7776 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7778 2012-08-17 Jeff Law <law@redhat.com>
7780 * intl/Makefile (codeset_mo): New variable.
7781 ($(codeset_mo)): New target.
7782 (tst-codeset.out): Depend on that. Remove explicit rule.
7783 (tst-gettext3.out, tst-gettext5.out): Likewise.
7784 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7785 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7786 * intl/tst-codeset.sh: Remove.
7787 * intl/tst-gettext3.sh: Likewise.
7788 * intl/tst-gettext5.sh: Likewise.
7790 2012-08-17 Roland McGrath <roland@hack.frob.com>
7792 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7793 * sysdeps/unix/syscalls.list: ... here.
7795 * sysdeps/posix/getaddrinfo.c
7796 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7797 (gaiconf_init, gaiconf_reload): Use them.
7799 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7800 Define using time_t rather than struct timespec.
7802 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7803 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7805 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7807 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7808 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7811 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7812 __libc_cleanup_push argument.
7814 * bits/param.h: New file.
7815 * misc/sys/param.h: New file.
7816 * include/sys/param.h: New file.
7817 * misc/Makefile (headers): Add bits/param.h.
7818 * sysdeps/generic/sys/param.h: File removed.
7819 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7820 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7821 * sysdeps/mach/hurd/bits/param.h: New file.
7822 * sysdeps/mach/hurd/sys/param.h: File removed.
7824 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7827 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7829 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7830 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7833 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7834 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7835 rather than -D_IO_MTSAFE_IO conditionally.
7836 * stdio-common/Makefile (CPPFLAGS): Likewise.
7837 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7838 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7839 Use $(libio-mtsafe).
7840 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7842 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7843 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7844 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7845 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7846 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7847 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7848 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7849 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7850 (CFLAGS-fread_u_chk.c): Likewise.
7851 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7852 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7853 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7854 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7855 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7856 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7857 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7858 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7859 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7861 * libio/Makefile: Test [$(libc-reentrant) = yes]
7862 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7865 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7866 * sysdeps/pthread/configure: File removed.
7867 * sysdeps/pthread/Makeconfig: New file.
7868 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7869 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7871 2012-08-16 Gary Benson <gbenson@redhat.com>
7873 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7874 unmapping the first object in a namespace.
7876 2012-08-16 Roland McGrath <roland@hack.frob.com>
7878 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7879 (__internal_setnetgrent): ... this. Add internal_function to
7880 definition. Add libc_hidden_def.
7881 (setnetgrent): Update caller.
7882 (internal_endnetgrent): Renamed to ...
7883 (__internal_endnetgrent): ... this. Add internal_function to
7884 definition. Add libc_hidden_def.
7885 (endnetgrent): Update caller.
7886 (internal_getnetgrent_r): Renamed to ...
7887 (__internal_getnetgrent_r): ... this. Add internal_function to
7888 definition. Add libc_hidden_def.
7889 (__getnetgrent_r): Update caller.
7890 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7892 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7894 * stdlib/longlong.h: Update from GCC.
7896 2012-08-16 Roland McGrath <roland@hack.frob.com>
7898 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7899 on _QL, which is set by umul_ppmm but never used.
7900 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7901 variables, which are set by GMP macros but never used.
7902 * stdio-common/_itowa.c (_itowa): Likewise.
7903 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7904 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7906 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7908 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7909 struct La_sh_regs is not constant.
7910 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7911 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7912 and struct La_sparc64_regs are not constant.
7914 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/unix/sysv/linux/kernel-features.h
7917 (__ASSUME_POSIX_TIMERS): Remove.
7918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7920 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7921 Make code unconditional.
7922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7923 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7924 Make code unconditional.
7925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7926 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7927 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7930 Make code unconditional.
7931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7932 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7933 (__libc_missing_posix_timers): Remove.
7935 2012-08-15 Roland McGrath <roland@hack.frob.com>
7937 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7938 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7940 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7942 * elf/dl-sym.c: Include <stdlib.h>.
7944 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7945 constants, which avoids warnings in 32-bit builds.
7947 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7948 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7950 * misc/lseek.c: File moved to ...
7951 * io/lseek.c: ... here.
7953 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7955 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7956 shifting LEN more than 31 bits at once.
7958 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7961 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7962 segmentation fault for a case of two empty input strings.
7963 * string/test-strncasecmp.c (check1): Renamed to...
7965 (bz14195): Add new testcase for two empty input strings and N > 0.
7966 (test_main): Call new testcase, adapt for renamed function.
7968 2012-08-15 Andreas Jaeger <aj@suse.de>
7971 * crypt/md5test2.c: New test, based on test supplied by Serge
7972 Belyshev <belyshev@depni.sinp.msu.ru>.
7973 * crypt/Makefile (xtests): Add md5test-giant..
7974 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7976 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7979 * crypt/md5.c (md5_process_block): Don't assume the buffer
7980 length is less than 2**32.
7981 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7982 length is less than 2**64.
7984 2012-08-15 Roland McGrath <roland@hack.frob.com>
7986 * string/str-two-way.h: Include <sys/param.h>.
7987 (MAX): Macro removed.
7989 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7990 Move #define and #undef of memmove to just before and after
7991 including <string.h>.
7993 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7994 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7995 and after including <string.h>. Move declarations of
7996 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7997 to before #include "string/memmove.c".
7999 * include/dirent.h: Declare __getdirentries.
8001 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8002 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8004 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8006 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8007 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8008 * sysdeps/i386/configure: Regenerated.
8009 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8010 STABS_CURRENT_FILE, and STABS_FUN.
8011 (END): Remove call to STABS_FUN_END.
8012 (STABS_CURRENT_FILE1): Delete.
8013 (STABS_CURRENT_FILE): Likewise.
8014 (STABS_FUN): Likewise.
8015 (STABS_FUN_END): Likewise.
8016 (STABS_FUN2): Likewise.
8017 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8018 * sysdeps/x86_64/configure: Regenerated.
8020 2012-08-14 Roland McGrath <roland@hack.frob.com>
8022 * elf/dl-open.c: Include <atomic.h>.
8023 * elf/dl-lookup.c: Likewise.
8025 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8027 * sysdeps/unix/sysv/linux/kernel-features.h
8028 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8029 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8031 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8033 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8034 condition on __ASSUME_CLONE_THREAD_FLAGS.
8036 2012-08-14 Andreas Jaeger <aj@suse.de>
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8040 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8042 * include/atomic.h (atomic_exchange_and_add): Split into ...
8043 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8046 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8050 2012-08-13 Jeff Law <law@redhat.com>
8052 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8053 null byte in the output string.
8055 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8057 * sysdeps/unix/sysv/linux/kernel-features.h
8058 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8059 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8060 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8062 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8063 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8064 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8066 2012-08-09 Jeff Law <law@redhat.com>
8069 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8070 When avoid_arena is set, don't retry in the that arena. Pick the
8071 next one, whatever it might be.
8072 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8073 (arena_lock): Pass in new parameter to arena_get2.
8074 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8076 (__libc_malloc): Unify retrying after main arena failure with
8077 __libc_memalign version.
8078 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8080 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8083 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8084 to __redirect_strstr.
8085 (__strstr_sse42): Use typeof __redirect_strstr.
8086 (__strstr_ia32): Likewise.
8087 (__libc_strstr): New prototype.
8088 (strstr): Renamed to ...
8089 (__libc_strstr): This.
8090 (strstr): New strong alias of __libc_strstr.
8091 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8095 (__libc_time): New prototype.
8096 (time_ifunc): Replace time with __libc_time.
8097 (time): New strong alias and hidden definition of __libc_time.
8098 (__GI_time): Remove strong alias.
8099 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8101 (memmove): Redefined to __redirect_memmove.
8102 (__memmove_sse2): Use typeof __redirect_memmove.
8103 (__memmove_ssse3): Likewise.
8104 (__memmove_ssse3_back): Likewise.
8105 (__libc_memmove): New prototype.
8106 (memmove): Renamed to ...
8107 (__libc_memmove): This.
8108 (memmove): New strong alias of __libc_memmove.
8110 2012-08-08 Mark Salter <msalter@redhat.com>
8113 (R_MN10300_TLS_GD): Define.
8114 (R_MN10300_TLS_LD): Likewise.
8115 (R_MN10300_TLS_LDO): Likewise.
8116 (R_MN10300_TLS_GOTIE): Likewise.
8117 (R_MN10300_TLS_IE): Likewise.
8118 (R_MN10300_TLS_LE): Likewise.
8119 (R_MN10300_TLS_DTPMOD): Likewise.
8120 (R_MN10300_TLS_DTPOFF): Likewise.
8121 (R_MN10300_TLS_TPOFF): Likewise.
8122 (R_MN10300_SYM_DIFF): Likewise.
8123 (R_MN10300_ALIGN): Likewise.
8124 (R_MN10300_NUM): Update.
8126 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8131 2012-08-08 Roland McGrath <roland@hack.frob.com>
8133 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8135 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8136 sysdeps/unix -> sysdeps/posix move.
8137 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8139 2012-08-07 Allan McRae <allan@archlinux.org>
8142 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8143 (SUNOS_CPP): Likewise.
8144 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8146 (open_input): Call CPP using execvp.
8148 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8150 * sysdeps/unix/sysv/linux/kernel-features.h
8151 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8154 (__ASSUME_WAITID_SYSCALL): Likewise.
8155 * sysdeps/unix/sysv/linux/dl-execstack.c
8156 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8158 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8160 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8161 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8162 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8164 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8166 [__ASSUME_WAITID_SYSCALL]: Likewise.
8167 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8169 2012-08-07 Roland McGrath <roland@hack.frob.com>
8171 * sysdeps/unix/closedir.c: Renamed to ...
8172 * sysdeps/posix/closedir.c: ... here.
8173 * sysdeps/unix/dirfd.c: Renamed to ...
8174 * sysdeps/posix/dirfd.c: ... here.
8175 * sysdeps/unix/dirstream.h: Renamed to ...
8176 * sysdeps/posix/dirstream.h: ... here.
8177 * sysdeps/unix/fdopendir.c: Renamed to ...
8178 * sysdeps/posix/fdopendir.c: ... here.
8179 * sysdeps/unix/opendir.c: Renamed to ...
8180 * sysdeps/posix/opendir.c: ... here.
8181 * sysdeps/unix/readdir.c: Renamed to ...
8182 * sysdeps/posix/readdir.c: ... here.
8183 * sysdeps/unix/readdir_r.c: Renamed to ...
8184 * sysdeps/posix/readdir_r.c: ... here.
8185 * sysdeps/unix/rewinddir.c: Renamed to ...
8186 * sysdeps/posix/rewinddir.c: ... here.
8187 * sysdeps/unix/seekdir.c: Renamed to ...
8188 * sysdeps/posix/seekdir.c: ... here.
8189 * sysdeps/unix/telldir.c: Renamed to ...
8190 * sysdeps/posix/telldir.c: ... here.
8191 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8192 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8193 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8194 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8196 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8197 * bits/fcntl.h: ... here.
8199 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8201 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8202 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8203 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8204 (struct flock): Move l_start, l_len to the beginning.
8205 Use __pid_t for l_pid.
8206 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8207 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8208 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8209 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8210 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8211 [__USE_LARGEFILE64] (struct flock64): New type.
8212 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8214 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8215 * bits/dirent.h: ... here.
8217 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8218 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8220 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8223 Change from 2.6.0 to 2.6.16.
8224 * sysdeps/unix/sysv/linux/configure: Regenerated.
8225 * sysdeps/unix/sysv/linux/kernel-features.h
8226 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8227 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8229 (__ASSUME_UTIMES): Likewise.
8230 (__ASSUME_CLONE_STOPPED): Remove.
8231 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8232 architectures, not kernel version.
8233 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8234 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8235 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8236 (__ASSUME_WAITID_SYSCALL): Likewise.
8237 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8238 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8239 * README: State 2.6.16 as minimum Linux kernel version. Do not
8240 refer to older versions.
8242 2012-08-06 Roland McGrath <roland@hack.frob.com>
8244 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8245 Define alphasort64 as an alias.
8246 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8247 Define versionsort64 as an alias.
8248 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8249 Define scandir64 as an alias.
8250 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8251 Define scandirat64 as an alias.
8252 * dirent/alphasort64.c (alphasort64):
8253 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8254 * dirent/versionsort64.c: Likewise.
8255 * dirent/scandir64.c: Likewise.
8256 * dirent/scandirat64.c: Likewise.
8257 * sysdeps/wordsize-64/alphasort.c: File removed.
8258 * sysdeps/wordsize-64/alphasort64.c: File removed.
8259 * sysdeps/wordsize-64/scandir.c: File removed.
8260 * sysdeps/wordsize-64/scandir64.c: File removed.
8261 * sysdeps/wordsize-64/scandirat.c: File removed.
8262 * sysdeps/wordsize-64/scandirat64.c: File removed.
8263 * sysdeps/wordsize-64/versionsort.c: File removed.
8264 * sysdeps/wordsize-64/versionsort64.c: File removed.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8274 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8276 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8278 [defined __arch64__ || defined __sparcv9]
8279 (__INO_T_MATCHES_INO64_T): New macro.
8280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8281 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8282 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8283 * sysdeps/unix/sysv/linux/bits/dirent.h
8284 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8285 (_DIRENT_MATCHES_DIRENT64): New macro.
8287 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8288 Define lockf64 as an alias.
8289 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8290 Define fseeko64 as an alias.
8291 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8292 Define ftello64 as an alias.
8293 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8294 Define _IO_fgetpos64 and fgetpos64 as aliases.
8295 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8296 Define _IO_fsetpos64 and fsetpos64 as aliases.
8297 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8298 Conditionalize body on this.
8299 * libio/fseeko64.c: Likewise.
8300 * libio/ftello64.c: Likewise.
8301 * libio/iofgetpos64.c: Likewise.
8302 * libio/iofsetpos64.c: Likewise.
8303 * sysdeps/wordsize-64/lockf.c: File removed.
8304 * sysdeps/wordsize-64/lockf64.c: File removed.
8305 * sysdeps/wordsize-64/fseeko.c: File removed.
8306 * sysdeps/wordsize-64/fseeko64.c: File removed.
8307 * sysdeps/wordsize-64/ftello.c: File removed.
8308 * sysdeps/wordsize-64/ftello64.c: File removed.
8309 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8310 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8311 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8312 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8324 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8326 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8328 [defined __arch64__ || defined __sparcv9]
8329 (__OFF_T_MATCHES_OFF64_T): New macro.
8330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8331 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8333 (__OFF_T_MATCHES_OFF64_T): New macro.
8335 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8337 * stdlib/secure-getenv.c (__secure_getenv): Replace
8338 GLIBC_2_16 with GLIBC_2_17.
8340 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8345 2012-08-03 David S. Miller <davem@davemloft.net>
8347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8349 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8353 (__ASSUME_CORRECT_SI_PID): Likewise.
8354 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8355 (__ASSUME_TMPFS_NAME): Likewise.
8356 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8357 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8358 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8359 (HAVE_AUX_SECURE): Make definition unconditional.
8360 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8361 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8363 2012-08-03 Roland McGrath <roland@hack.frob.com>
8365 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8366 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8367 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8368 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8369 __eloop_threshold instead of SYMLOOP_MAX.
8371 * sysdeps/generic/eloop-threshold.h: New file.
8372 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8374 * elf/chroot_canon.c (chroot_canon): Likewise.
8376 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8380 Change to 2.6.0 everywhere.
8381 * sysdeps/unix/sysv/linux/configure: Regenerated.
8382 * sysdeps/unix/sysv/linux/kernel-features.h
8383 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8384 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8386 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8387 (__ASSUME_FUTEX_REQUEUE): Remove.
8388 (__ASSUME_STATFS64): Define unconditionally.
8389 (__ASSUME_AT_SECURE): Likewise.
8390 (__ASSUME_CORRECT_SI_PID): Likewise.
8391 (__ASSUME_TGKILL): Define without depending on kernel version for
8393 (__ASSUME_UTIMES): Likewise.
8394 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8396 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8397 (__ASSUME_TMPFS_NAME): Likewise.
8398 * README: Update reference to Linux kernel versions.
8400 2012-08-02 Marek Polacek <polacek@redhat.com>
8403 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8404 libc_cv_asm_type_prefix with %.
8405 * configure: Regenerated.
8406 * include/libc-symbols.h: Remove comment about
8407 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8408 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8409 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8410 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8411 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8412 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8413 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8414 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8415 * elf/tst-unique2mod1.c: Likewise.
8416 * elf/tst-unique1mod2.c: Likewise.
8417 * elf/tst-unique1mod1.c: Likewise.
8418 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8419 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8420 Replace ASM_TYPE_DIRECTIVE with .type.
8421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8422 * sysdeps/i386/sysdep.h: Likewise.
8423 * sysdeps/x86_64/sysdep.h: Likewise.
8424 * sysdeps/sh/sysdep.h: Likewise.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8426 Do not define ASM_TYPE_DIRECTIVE.
8427 * sysdeps/powerpc/sysdep.h: Likewise.
8428 * sysdeps/powerpc/powerpc32/sysdep.h:
8429 Replace ASM_TYPE_DIRECTIVE with .type.
8430 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8431 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8432 * sysdeps/i386/fpu/e_powf.S: Likewise.
8433 * sysdeps/i386/fpu/e_expl.S: Likewise.
8434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8436 * sysdeps/i386/fpu/e_pow.S: Likewise.
8437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8441 * sysdeps/i386/fpu/e_log2.S: Likewise.
8442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8444 * sysdeps/i386/fpu/e_powl.S: Likewise.
8445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8446 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8447 * sysdeps/i386/fpu/e_logl.S: Likewise.
8448 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8449 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8450 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8453 * sysdeps/i386/fpu/e_log.S: Likewise.
8454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8455 * sysdeps/i386/fpu/e_logf.S: Likewise.
8456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8459 * sysdeps/i386/fpu/e_log10.S: Likewise.
8460 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8461 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8462 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8463 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8467 * sysdeps/i386/i686/strtok.S: Likewise.
8468 * sysdeps/i386/i386-mcount.S: Likewise.
8469 * sysdeps/i386/strtok.S: Likewise.
8470 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8479 * sysdeps/x86_64/_mcount.S: Likewise.
8480 * sysdeps/x86_64/strtok.S: Likewise.
8481 * sysdeps/sh/_mcount.S: Likewise.
8483 2012-08-01 Roland McGrath <roland@hack.frob.com>
8485 * libio/iofopen.c: Include <fcntl.h>.
8486 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8487 (_IO_fopen64, fopen64): Define as aliases.
8488 * libio/iofopen64.c: Include <fcntl.h>.
8489 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8490 Conditionalize body on this.
8491 * sysdeps/wordsize-64/iofopen.c: File removed.
8492 * sysdeps/wordsize-64/iofopen64.c: File removed.
8494 2012-08-01 Marek Polacek <polacek@redhat.com>
8496 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8497 Use dlfcn directly instead of a variable.
8498 (binfmt-subdir): Do not define.
8501 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8504 Remove all definitions.
8505 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8506 <kernel-features.h>.
8507 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8508 (miss_F_GETOWN_EX): Remove all definitions.
8509 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8511 [!__ASSUME_FCNTL64]: Remove conditional code.
8512 [__ASSUME_FCNTL64]: Make code unconditional.
8513 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8514 <kernel-features.h>.
8515 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8516 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8517 (lockf64) [__NR_fcntl64]: Make code unconditional.
8518 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8520 * sysdeps/unix/sysv/linux/kernel-features.h
8521 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8522 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8523 Make code unconditional.
8524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8527 [__NR_vfork]: Make code unconditional.
8528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8531 [__NR_vfork]: Make code unconditional.
8532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8535 2012-08-01 Roland McGrath <roland@hack.frob.com>
8537 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8538 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8540 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8541 Define mkstemp64 as an alias.
8542 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8543 Define mkstemps64 as an alias.
8544 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8545 Define mkostemp64 as an alias.
8546 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8547 Define mkostemps64 as an alias.
8548 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8549 Conditionalize body on this.
8550 * misc/mkostemp64.c: Likewise.
8551 * misc/mkostemps64.c: Likewise.
8552 * misc/mkstemps64.c: Likewise.
8553 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8554 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8555 * sysdeps/wordsize-64/mkostemp.c: File removed.
8556 * sysdeps/wordsize-64/mkstemp.c: File removed.
8557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8559 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8563 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8564 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8565 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8566 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8568 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8569 compat_symbol macros from <shlib-compat.h> rather than the underlying
8570 default_symbol_version and symbol_version macros, so that DEFAULT
8571 lines in shlib-versions are respected.
8572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8574 2012-08-01 Florian Weimer <fweimer@redhat.com>
8576 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8577 Declare with warn_unused_result.
8578 (setgid, setregid, setegid, setresgid): Likewise.
8579 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8581 * WUR-REPORT: Remove set*id functions.
8583 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8585 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8587 2012-07-31 Roland McGrath <roland@hack.frob.com>
8589 * include/sys/socket.h (__libc_accept, __libc_accept4):
8590 Add attribute_hidden.
8591 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8593 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8595 * inet/getnetgrent_r.c (setup): Likewise.
8597 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8599 2012-07-31 David S. Miller <davem@davemloft.net>
8601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8603 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8606 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8607 value between 1.0 and 2.0 and smaller part has absolute value less
8609 * math/s_clog10.c (__clog10): Likewise.
8610 * math/s_clog10f.c (__clog10f): Likewise.
8611 * math/s_clog10l.c (__clog10l): Likewise.
8612 * math/s_clogf.c (__clogf): Likewise.
8613 * math/s_clogl.c (__clogl): Likewise.
8614 * math/libm-test.inc (clog_test): Add more tests.
8615 (clog10_test): Likewise.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8619 2012-07-31 Florian Weimer <fweimer@redhat.com>
8621 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8622 Exit with zero in case no suitable GID is found, and write a
8623 message to standard error.
8625 2012-07-30 Roland McGrath <roland@hack.frob.com>
8627 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8629 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8630 (MAXPATHLEN): Removed.
8631 (NOGROUP, NODEV): New macros.
8632 (setbit, clrbit, isset, isclr): New macros.
8633 (howmany, roundup, powerof2): New macros.
8634 (DEV_BSIZE): New macro.
8636 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8637 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8639 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8640 definition on [!__NO_LONG_DOUBLE_MATH].
8642 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8643 PTR_MANGLE and PTR_DEMANGLE.
8645 * socket/accept4.c (accept4): Rename to __libc_accept4.
8646 Define accept4 as a weak alias.
8648 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8649 on [_DIRENT_HAVE_D_TYPE].
8650 * io/ftw.c (ftw_dir): Likewise.
8652 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8654 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8656 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8657 Use the BSD numbers rather than the arbitrary ones we had.
8658 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8659 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8660 (SIGXCPU, SIGXFSZ): New macros.
8663 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8664 initializer on [_LIBC_REENTRANT].
8666 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8667 definitions inside [_POSIX_MAPPED_FILES].
8669 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8671 * dirent/opendir.c: Include <fcntl.h>.
8673 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8674 (__libc_getspecific): Likewise.
8675 (__libc_key_create): Likewise.
8677 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8678 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8679 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8680 (tmpfile64): Define as alias.
8681 * sysdeps/wordsize-64/tmpfile.c: File removed.
8682 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8683 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8684 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8686 * stdio-common/vfscanf.c: Include <stdbool.h>.
8687 * nss/makedb.c: Likewise.
8688 * stdio-common/_i18n_number.h: Likewise.
8689 * argp/argp-help.c: Likewise.
8690 * posix/wordexp.c: Likewise.
8691 * sysdeps/posix/spawni.c: Likewise.
8692 * nss/nss_files/files-initgroups.c: Likewise.
8693 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8694 * nss/nss_files/files-initgroups.c: Likewise.
8695 * nss/nss_db/db-netgrp.c: Likewise.
8696 * nss/nss_db/db-initgroups.c: Likewise.
8697 * io/fchmodat.c: Include <sys/stat.h>.
8699 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8700 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8702 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8705 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8706 Add multiple inclusion protection.
8708 2012-07-27 David S. Miller <davem@davemloft.net>
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8712 2012-07-27 Gary Benson <gbenson@redhat.com>
8715 * elf/rtld.c: Include <stap-probe.h>.
8716 (dl_main): Added static probes "init_start" and "init_complete".
8717 * elf/dl-load.c: Include <stap-probe.h>.
8718 (lose): Take new parameter "nsid".
8719 Added static probe "map_failed".
8720 (_dl_map_object_from_fd): Pass namespace id to lose.
8721 Added static probe "map_start".
8722 (open_verify): Pass namespace id to lose.
8723 * elf/dl-open.c: Include <stap-probe.h>.
8724 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8725 and "reloc_complete".
8726 * elf/dl-close.c: Include <stap-probe.h>.
8727 (_dl_close_worker): Added static probes "unmap_start" and
8729 * elf/rtld-debugger-interface.txt: New file documenting the above.
8731 2012-07-26 Roland McGrath <roland@hack.frob.com>
8733 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8734 rather than a string variable.
8735 * sunrpc/rpc_main.c (h_output): Likewise.
8736 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8738 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8740 * inet/check_native.c: New file.
8742 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8745 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8746 if larger part has absolute value 1.0.
8747 * math/s_clog10.c (__clog10): Likewise.
8748 * math/s_clog10f.c (__clog10f): Likewise.
8749 * math/s_clog10l.c (__clog10l): Likewise.
8750 * math/s_clogf.c (__clogf): Likewise.
8751 * math/s_clogl.c (__clogl): Likewise.
8752 * math/libm-test.inc (clog_test): Add more tests.
8753 (clog10_test): Likewise.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8758 (pltexit): Likewise.
8759 (La_regs): Likewise.
8760 (La_retval): Likewise.
8761 (int_retval): Likewise.
8762 Update #error for removed macros to refer only to definitions in
8764 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8766 (pltexit): Likewise.
8767 (La_regs): Likewise.
8768 (La_retval): Likewise.
8769 (int_retval): Likewise.
8770 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8772 (pltexit): Likewise.
8773 (La_regs): Likewise.
8774 (La_retval): Likewise.
8775 (int_retval): Likewise.
8776 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8778 (pltexit): Likewise.
8779 (La_regs): Likewise.
8780 (La_retval): Likewise.
8781 (int_retval): Likewise.
8782 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8784 (pltexit): Likewise.
8785 (La_regs): Likewise.
8786 (La_retval): Likewise.
8787 (int_retval): Likewise.
8788 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8790 (pltexit): Likewise.
8791 (La_regs): Likewise.
8792 (La_retval): Likewise.
8793 (int_retval): Likewise.
8794 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8796 (pltexit): Likewise.
8797 (La_regs): Likewise.
8798 (La_retval): Likewise.
8799 (int_retval): Likewise.
8800 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8801 macro definitions in tst-audit.h.
8802 * sysdeps/i386/tst-audit.h: New file.
8803 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8804 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8805 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8806 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8807 * sysdeps/sh/tst-audit.h: Likewise.
8808 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8809 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8810 * sysdeps/x86_64/tst-audit.h: Likewise.
8812 2012-07-26 Andreas Jaeger <aj@suse.de>
8814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8817 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8818 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8819 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8821 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8823 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8825 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8828 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8830 (si_call_addr, si_syscall, si_arch): Define new macro.
8831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8833 (si_call_addr, si_syscall, si_arch): Define new marcro.
8834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8836 (si_call_addr, si_syscall, si_arch): Define new macro.
8837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8839 (si_call_addr, si_syscall, si_arch): Define new macro.
8841 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8845 Change to 2.4.21 where previously 2.4.1.
8846 * sysdeps/unix/sysv/linux/configure: Regenerated.
8847 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8848 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8849 Linux kernel version.
8850 (__ASSUME_STD_AUXV): Remove.
8851 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8853 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8854 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8855 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8856 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8857 (__ASSUME_NETLINK_SUPPORT): Likewise.
8858 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8859 (__no_netlink_support): Remove conditional definition.
8860 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8862 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8863 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8864 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8865 (if_nameindex_ioctl): Remove.
8866 (if_nameindex_netlink): Do not handle __no_netlink_support.
8867 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8869 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8870 Remove conditional code.
8871 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8873 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8875 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8876 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8877 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8879 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8880 [!__ASSUME_STD_AUXV]: Remove conditional code.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8882 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8883 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8885 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8888 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8890 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8891 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8893 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8898 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8901 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8903 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8905 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8907 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8910 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8912 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8915 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8917 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8919 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8921 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8924 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8926 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8928 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8930 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8933 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8935 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8944 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8945 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8946 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8948 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8950 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8953 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8955 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8956 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8959 2012-07-25 Florian Weimer <fweimer@redhat.com>
8961 * Versions.def: Add GLIBC_2.17.
8962 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8963 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8964 Introduce __libc_secure_getenv.
8965 * stdlib/Versions (2.17): Add secure_getenv
8966 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8967 * stdlib/secure-getenv.c: Rename __secure_getenv to
8968 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8969 symbol __secure_getenv for GLIBC_2.0.
8970 * stdlib/tst-secure-getenv.c: New.
8971 * stdlib/Makefile (tests): Add testcase.
8972 * manual/startup.texi (Environment Access): Document
8974 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8975 __libc_secure_getenv.
8976 * inet/ruserpass.c (ruserpass): Likewise.
8977 * malloc/mtrace.c (mtrace): Likewise.
8978 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8979 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8980 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8981 * sysdeps/posix/tempname.c: Likewise. Evaluate
8983 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8984 __secure_getenv to __libc_secure_getenv.
8985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8998 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9000 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9001 (struct La_i86_retval): Likewise.
9002 (struct La_x86_64_regs): Likewise.
9003 (struct La_x86_64_retval): Likewise.
9004 (struct La_x32_regs): Likewise.
9005 (struct La_x32_retval): Likewise.
9006 (struct La_ppc32_regs): Likewise.
9007 (struct La_ppc32_retval): Likewise.
9008 (struct La_ppc64_regs): Likewise.
9009 (struct La_ppc64_retval): Likewise.
9010 (struct La_sh_regs): Likewise.
9011 (struct La_sh_retval): Likewise.
9012 (struct La_s390_32_regs): Likewise.
9013 (struct La_s390_32_retval): Likewise.
9014 (struct La_s390_64_regs): Likewise.
9015 (struct La_s390_64_retval): Likewise.
9016 (struct La_sparc32_regs): Likewise.
9017 (struct La_sparc32_retval): Likewise.
9018 (struct La_sparc64_regs): Likewise.
9019 (struct La_sparc64_retval): Likewise.
9020 (struct audit_ifaces): Remove architecture-specific pltenter and
9022 * sysdeps/i386/ldsodefs.h: New file.
9023 * sysdeps/powerpc/ldsodefs.h: Likewise.
9024 * sysdeps/s390/ldsodefs.h: Likewise.
9025 * sysdeps/sh/ldsodefs.h: Likewise.
9026 * sysdeps/sparc/ldsodefs.h: Likewise.
9027 * sysdeps/x86_64/ldsodefs.h: Likewise.
9029 2012-07-25 Marek Polacek <polacek@redhat.com>
9032 * math/libm-test.inc (yn_test): Add another test.
9033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9034 to ERANGE when the result is +-Inf.
9035 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9036 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9037 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9038 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9040 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9042 * conform/data/time.h-data (NULL): Use macro-constant. Require
9044 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9046 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9048 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9050 * configure.in <sysdeps resolving>: Correct printing
9052 * configure: Regenerate.
9054 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9056 * math/w_ilogb.c: Include <limits.h>.
9057 * math/w_ilogbl.c: Likewise.
9059 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9061 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9062 va_copy. Document allowing for unavailable va_copy only as
9063 pre-C99 compatibility.
9064 * manual/string.texi (Copying and Concatenation): Use va_copy
9065 instead of __va_copy in concat example.
9067 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9069 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9070 (__sendto): Use create_address_port. Initialize APORT and deallocate
9073 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9074 with O_NOLINK passed to __file_name_lookup.
9076 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9077 with O_NOLINK passed to __file_name_lookup.
9079 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9080 negative N or less than NGIDS.
9082 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9083 type to string_t. Set ERANGE as errno and return it if NAME is not big
9084 enough. Use memcpy instead of strncpy.
9086 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9088 * elf/Makefile (check-data): Remove.
9089 (localplt.data): New vpath directive.
9090 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9091 instead of $(check-data).
9092 * scripts/data/localplt-generic.data: Move to ...
9093 * sysdeps/generic/localplt.data: ... here.
9094 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9095 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9096 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9099 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9102 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9105 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9108 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9111 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9115 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9117 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9118 PPC32 and PPC64 files.
9119 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9120 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9122 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9124 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9125 __makecontext_ret to ...
9126 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9127 ... here and call exit if uc_link is NULL. New file.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9129 __makecontext_ret.S.
9130 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9131 __makecontext_ret to ...
9132 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9133 ... here and call exit if uc_link is NULL. New file.
9134 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9135 __makecontext_ret.S.
9137 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9139 * elf/elf.h (R_390_IRELATIVE): New definition.
9140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9141 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9142 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9144 (elf_machine_lazy_rel): Likewise.
9145 * sysdeps/s390/dl-irel.h: New file.
9146 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9147 * sysdeps/s390/s390-64/memset.S: New asm code.
9148 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9149 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9151 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9152 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9153 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9155 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9156 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9157 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9158 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9159 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9160 * sysdeps/s390/s390-32/memset.S: New asm code.
9161 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9163 2012-07-17 Marek Polacek <polacek@redhat.com>
9166 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9167 * sysdeps/s390/s390-64/configure.in: Likewise.
9168 * sysdeps/sparc/configure.in: Likewise.
9169 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9170 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9171 * sysdeps/i386/configure.in: Likewise.
9172 * sysdeps/x86_64/configure.in: Likewise.
9173 * sysdeps/sh/configure.in: Likewise.
9174 * sysdeps/s390/s390-32/configure: Regenerated.
9175 * sysdeps/s390/s390-64/configure: Likewise.
9176 * sysdeps/x86_64/configure: Likewise.
9177 * sysdeps/sh/configure: Likewise.
9178 * sysdeps/powerpc/powerpc64/configure: Likewise.
9179 * sysdeps/powerpc/powerpc32/configure: Likewise.
9180 * sysdeps/sparc/configure: Likwise.
9181 * sysdeps/i386/configure: Likewise.
9183 * elf/dl-open.c: Comment fixes.
9185 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9187 * Makefile [CXX] (check-data): Remove.
9188 [CXX] (c++-types.data): New vpath directive.
9189 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9190 vpath. Do not allow for C++ type data being missing.
9191 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9192 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9193 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9194 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9195 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9196 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9197 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9200 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9203 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9206 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9209 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9212 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9215 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9218 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9221 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9222 definitions to architecture-specific files.
9226 * sysdeps/i386/tls-macros.h: New file.
9227 * sysdeps/powerpc/tls-macros.h: Likewise.
9228 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9229 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9230 * sysdeps/sh/tls-macros.h: Likewise.
9231 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9232 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9233 * sysdeps/x86_64/tls-macros.h: Likewise.
9235 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9237 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9238 zero value for regular exit case.
9240 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9241 (__start_context): Preserve zero value for regular exit case.
9243 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9244 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9246 * manual/setjmp.texi (setcontext): Clarify normal process
9247 termination when uc_link is the null pointer.
9248 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9251 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9253 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9254 preprocessor. Test for each exception mask separately.
9256 2012-07-16 Andreas Jaeger <aj@suse.de>
9258 * po/ru.po: Update from translation team.
9260 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9262 * conform/data/string.h-data (NULL): Use macro-constant. Require
9264 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9266 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9267 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9270 2012-07-13 Andreas Jaeger <aj@suse.de>
9272 * po/fr.po: Update from translation team.
9274 2012-07-12 Marek Polacek <polacek@redhat.com>
9277 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9281 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9285 Change to 2.4.1 where previously 2.4.0.
9286 * sysdeps/unix/sysv/linux/configure: Regenerated.
9287 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9288 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9290 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9291 (__ASSUME_AT_CLKTCK): Remove.
9292 (__ASSUME_AT_PAGESIZE): Likewise.
9293 (__ASSUME_AT_XID): Likewise.
9294 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9295 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9296 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9298 (HAVE_AUX_PAGESIZE): Likewise.
9299 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9300 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9301 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9303 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9307 the temporary buffer used to invoke __gethostbyname2_r,
9308 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9309 host_data / struct gaih_addrtuple.
9310 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9311 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9312 header file nss/nsswitch.h.
9313 * nss/nsswitch.h (global scope): Add definition of implementation
9314 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9315 resolv/nss_dns/dns-host.c).
9317 2012-07-11 Andreas Jaeger <aj@suse.de>
9319 * po/fr.po: Update from translation team.
9321 * po/sv.po: Update from translation team
9322 * po/fr.po: Another update from translation team.
9324 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9327 for subnormals or multiply small sinh result by itself.
9328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9331 2012-07-11 David S. Miller <davem@davemloft.net>
9333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9335 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9338 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9339 (INTERNAL_MARK): Shift it here.
9341 2012-07-10 Marek Polacek <polacek@redhat.com>
9344 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9345 libc_cv_asm_global_directive with .globl.
9346 * configure: Regenerated.
9347 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9349 * sysdeps/i386/configure: Regenerated.
9350 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9352 * sysdeps/x86_64/configure: Regenerated.
9353 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9354 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9355 * elf/tst-unique2mod2.c: Likewise.
9356 * elf/tst-unique2mod1.c: Likewise.
9357 * elf/tst-unique1mod2.c: Likewise.
9358 * elf/tst-unique1mod1.c: Likewise.
9359 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9360 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9363 * sysdeps/mach/sysdep.h: Likewise.
9364 * sysdeps/i386/sysdep.h: Likewise.
9365 * sysdeps/i386/i386-mcount.S: Likewise.
9366 * sysdeps/x86_64/_mcount.S: Likewise.
9367 * sysdeps/x86_64/sysdep.h: Likewise.
9368 * sysdeps/sh/_mcount.S: Likewise.
9369 * sysdeps/sh/sysdep.h: Likewise.
9370 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9374 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9376 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9377 * locale/localeinfo.h: Likewise.
9378 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9379 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9381 2012-07-09 Roland McGrath <roland@hack.frob.com>
9384 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9386 * manual/message.texi (The Uniforum approach): Likewise.
9387 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9388 (glibc iconv Implementation): Likewise.
9390 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9393 * math/s_clog.c (__clog): Avoid scaling a value down where that
9394 could result in underflow.
9395 * math/s_clog10.c (__clog10): Likewise.
9396 * math/s_clog10f.c (__clog10f): Likewise.
9397 * math/s_clog10l.c (__clog10l): Likewise.
9398 * math/s_clogf.c (__clogf): Likewise.
9399 * math/s_clogl.c (__clogl): Likewise.
9400 * math/libm-test.inc (clog_test): Add more tests.
9401 (clog10_test): Likewise.
9402 * sysdeps/i386/fpu/libm-test-ulps: Update.
9403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9405 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9408 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9409 by 7 not 8 to examine high bit of fractional part.
9412 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9413 for call to __mcount_internal.
9414 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9415 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9416 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9418 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9421 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9422 approximation for values within 0x1p-13f of an odd multiple of
9424 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9425 exception. Add more tests.
9426 * sysdeps/i386/fpu/libm-test-ulps: Update.
9429 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9430 inputs and return -1 for them. Do not check for +Inf in case not
9432 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9433 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9435 and return -1 for them. Do not check for +Inf in case not
9437 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9440 and return -1 for them. Do not check for +Inf in case not
9442 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9444 * sysdeps/i386/fpu/libm-test-ulps: Update.
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9449 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9451 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9455 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9456 could result in spurious underflow. Scale down values above
9457 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9458 * math/s_csqrtf.c (__csqrtf): Likewise.
9459 * math/s_csqrtl.c (__csqrtl): Likewise.
9460 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9462 * sysdeps/i386/fpu/libm-test-ulps: Update.
9463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9465 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9467 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9469 * catgets/xopen-msg.awk: New file.
9470 * catgets/xopen-msg.sed: Removed.
9472 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9474 * intl/po2test.awk: New file.
9475 * intl/po2test.sed: Removed.
9477 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9480 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9481 or multiply small sinh result by itself.
9482 * math/s_ctanf.c (__ctanf): Likewise.
9483 * math/s_ctanh.c (__ctanh): Likewise.
9484 * math/s_ctanhf.c (__ctanhf): Likewise.
9485 * math/s_ctanhl.c (__ctanhl): Likewise.
9486 * math/s_ctanl.c (__ctanl): Likewise.
9487 * math/libm-test.inc (ctan_test_tonearest): New function.
9488 (ctan_test_towardzero): Likewise.
9489 (ctan_test_downward): Likewise.
9490 (ctan_test_upward): Likewise.
9491 (ctanh_test_tonearest): Likewise.
9492 (ctanh_test_towardzero): Likewise.
9493 (ctanh_test_downward): Likewise.
9494 (ctanh_test_upward): Likewise.
9495 (main): Call these new functions.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9499 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9501 * .gitignore: Delete /ports entry.
9503 2012-07-03 Andreas Jaeger <aj@suse.de>
9505 * po/bg.po: Update from translation team.
9506 * po/cs.po: Likewise.
9507 * po/de.po: Likewise.
9508 * po/hr.po: Likewise.
9509 * po/nl.pl: Likewise.
9510 * po/pl.po: Likewise.
9511 * po/vi.po: Likewise.
9513 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9515 * Makeconfig [!+link] (+link-before-libc): New variable.
9516 [!+link] (+link-after-libc): Likewise.
9517 [!+link] (+link-tests): Likewise.
9518 [!+link] (+link): Define in terms of $(+link-before-libc) and
9519 $(+link-after-libc).
9520 [!+link-static] (+link-static-before-libc): New variable.
9521 [!+link-static] (+link-static-after-libc): Likewise.
9522 [!+link-static] (+link-static-tests): Likewise.
9523 [!+link-static] (+link-static): Define in terms of
9524 $(+link-static-before-libc) and $(+link-static-after-libc).
9525 [build-shared] (link-libc-before-gnulib): New variable.
9526 [build-shared] (link-libc-tests): Likewise.
9527 [build-shared] (link-libc): Define in terms of
9528 $(link-libc-before-gnulib).
9529 [!build-shared] (link-libc-tests): New variable.
9530 (link-libc-static-tests): New variable.
9531 [!gnulib] (gnulib-arch): New variable.
9532 [!gnulib] (gnulib-tests): Likewise.
9533 [!gnulib] (static-gnulib-arch): Likewise.
9534 [!gnulib] (static-gnulib-tests): Likewise.
9535 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9536 Define with "=" instead of ":=".
9537 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9538 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9539 * Rules (binaries-all-notests): New variable.
9540 (binaries-all-tests): Likewise.
9541 (binaries-static-notests): Likewise.
9542 (binaries-static-tests): Likewise.
9543 (binaries-all): Define using $(binaries-all-notests) and
9544 $(binaries-all-tests).
9545 (binaries-static): Define using $(binaries-static-notests) and
9546 $(binaries-static-tests).
9547 (binaries-shared-tests): New variable.
9548 (binaries-shared-notests): Likewise.
9549 (binaries-shared): Remove variable.
9550 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9551 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9552 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9553 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9554 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9555 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9556 * elf/Makefile (sln-modules): New variable.
9557 (extra-objs): Add $(sln-modules:=.o).
9558 (ldconfig-modules): Add static-stubs.
9559 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9560 * elf/static-stubs.c: New file.
9563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9564 by 7 not 8 to examine high bit of fractional part. Use volatile
9565 variables when splitting into final array of floats if
9566 __FLT_EVAL_METHOD__ != 0.
9567 * math/libm-test.inc (cos_test): Add another test.
9568 (sin_test): Likewise.
9569 * sysdeps/i386/fpu/libm-test-ulps: Update.
9572 * math/libm-test.inc (cosh_test): Add more tests.
9574 * version.h (RELEASE): Set to "development".
9575 (VERSION): Set to "2.16.90".
9577 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9579 * NEWS: Update copyright. Remove last-updated date.
9580 Mention math library bug fixes and timezone data changes.
9581 * README: Mention GNU/Hurd, x32, and HPPA support status.
9583 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9585 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9587 2012-06-27 Andreas Jaeger <aj@suse.de>
9589 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9591 2012-06-25 Andreas Jaeger <aj@suse.de>
9593 * sysdeps/s390/fpu/libm-test-ulps: Update.
9595 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9596 Thomas Schwinge <thomas@codesourcery.com>
9598 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9599 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9603 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9605 * sysdeps/mach/start.c: Remove file.
9606 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9607 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9608 * sysdeps/sh/init-first.c: Likewise.
9610 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9611 registers for frame unwinding purposes, add CFI directives.
9612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9614 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9617 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9618 __fortify_fail returning.
9619 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9622 sysdeps/sh/____longjmp_chk.S.
9623 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9624 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9625 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9626 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9628 * sysdeps/sh/abort-instr.h: New file.
9629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9630 process in case exit returns.
9632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9633 initialize the GOT register before use.
9635 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9636 calculation of ARGC > 4.
9638 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9639 meaningful names to some local labels.
9641 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9642 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9644 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9645 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9646 (__arch_compare_and_exchange_val_16_acq): Likewise.
9647 (__arch_compare_and_exchange_val_32_acq): Likewise.
9648 (atomic_exchange_and_add): Fix gUSA sequence.
9649 (atomic_add): Likewise.
9650 (atomic_add_negative): Likewise.
9651 (atomic_add_zero): Likewise.
9652 (atomic_bit_test_set): Likewise.
9654 2012-06-22 Andreas Schwab <schwab@redhat.com>
9657 * include/link.h (struct link_map): Add l_free_initfini.
9658 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9660 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9661 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9662 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9665 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9667 * configure.in: Use AC_LANG_SOURCE.
9668 * configure: Regenerate.
9670 2012-06-22 Roland McGrath <roland@hack.frob.com>
9672 * configure.in (libc_cv_localstatedir): New substituted variable.
9673 * configure: Regenerated.
9674 * config.make.in (localstatedir): New variable, substituted from
9675 libc_cv_localstatedir.
9676 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9677 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9678 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9679 * sysdeps/gnu/configure: Regenerated.
9681 2012-06-21 Jeff Law <law@redhat.com>
9684 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9685 free. Simplify list management for _LIBC case.
9687 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9691 Clear sign bit of 64-bit integer value before comparing against
9694 * sysdeps/mach/configure: Regenerated.
9696 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9699 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9701 2012-06-21 Jeff Law <law@redhat.com>
9704 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9705 uint16_t for elements in the "seen" array to avoid char overflows.
9706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9707 * elf/dl-open.c (dl_open_worker): Likewise.
9709 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9711 * scripts/list-sources.sh: Scan PORTS for translations.
9712 * po/libc.pot: Regenerated.
9714 2012-06-21 Andreas Jaeger <aj@suse.de>
9717 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9719 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9720 * bits/byteswap-16.h (__bswap_16): Likewise.
9721 * bits/byteswap.h (__bswap_constant_16): Likewise.
9723 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9726 * sysdeps/i386/fpu_control.h: Removed.
9727 * sysdeps/x86_64/fpu_control.h: Moved to ...
9728 * sysdeps/x86/fpu_control.h: Here.
9730 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9731 (_FPU_SETCW): Likewise.
9733 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9736 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9737 * sysdeps/x86/fpu/bits/mathinline.h: This.
9738 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9742 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9743 functions if __x86_64__ is defined.
9745 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9747 * string/endian.h: Add !__ASSEMBLER__ condition for including
9748 conversion interfaces.
9750 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9754 of ABS(x) in calculating zero to negative powers other than odd
9756 * math/libm-test.inc (pow_test): Add more tests.
9758 2012-06-15 Andreas Jaeger <aj@suse.de>
9760 * manual/contrib.texi (Contributors): Update entry of Liubov
9761 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9764 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9766 * string/string.h: Add __wur to GNU version of strerror_r.
9768 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9771 * string/Makefile (tests): Add tst-strtok_r.
9772 * string/tst-strtok_r.c: New file.
9773 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9774 RAX_LP/RDX_LP on SAVE_PTR.
9776 2012-06-14 Roland McGrath <roland@hack.frob.com>
9778 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9780 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9782 * libm_test.inc (csqrt_test): Allow more spurious underflow
9784 (j0_test): Likewise.
9785 (j1_test): Likewise.
9786 (y0_test): Likewise.
9787 (y1_test): Likewise.
9789 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9791 * po/Makefile (libc.pot): Use UTF-8 charset.
9793 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9796 Suppress sign-conversion warning from FD_SET.
9797 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9798 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9799 not unsigned long int.
9800 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9802 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9806 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9807 __extern_always_inline instead of __extern_inline.
9808 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9809 (__signbit): Likewise.
9810 (__signbitl): Support C++ namespace.
9811 (lrintf): New inline function.
9813 (llrintf): Likewise.
9825 (nearbyint): Likewise.
9826 (nearbyintf): Likewise.
9828 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9831 non-default versions.
9833 2012-06-11 Roland McGrath <roland@hack.frob.com>
9836 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9838 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9840 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9841 (FE_UPWARD, FE_DOWNWARD): Don't define.
9842 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9843 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9850 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9852 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9855 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9857 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9860 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9861 * sysdeps/i386/fpu/Implies: New file.
9862 * sysdeps/x86_64/fpu/Implies: Likewise.
9863 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9864 * sysdeps/x86/fpu/bits/fenv.h: This.
9866 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9869 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9872 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9873 character 0xffff that matches the last element of the
9876 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9881 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9884 values higher than 25.6283.
9886 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9889 subnormal exponent extraction and add some __builtin_expect.
9890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9891 Fix for subnormal mantissa calculation.
9893 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9895 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9896 cpu2 is -1 and errno is not ENOSYS.
9898 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9901 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9902 * sysdeps/x86/bits/string.h: This.
9903 * sysdeps/x86_64/bits/string.h: Removed.
9905 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9906 if not compiling for x86-64, but compiling for >= i486.
9908 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9909 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9912 New macro from Linux kernel 3.4.0.
9913 (FP_XSTATE_MAGIC2): Likewise.
9914 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9915 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9916 (struct _fpx_sw_bytes): New struct.
9917 (struct _xsave_hdr): Likewise.
9918 (struct _ymmh_state): Likewise.
9919 (struct _xstate): Likewise.
9921 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9922 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9924 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9926 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9928 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9929 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9930 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9931 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9932 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9933 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9935 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9938 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9939 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9940 (sysdep_headers): Include sys/platform/ppc.h.
9941 * sysdeps/powerpc/test-gettimebase.c: Test for
9942 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9943 * manual/Makefile (appendices): Include platform.texi.
9944 * manual/contrib.texi (Contributors): Update @node pointers.
9945 * manual/maint.texi (Maintenance): Likewise.
9946 (Platform): New node.
9947 * manual/platform.texi: New file. Document the new features.
9949 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9950 Jakub Jelinek <jakub@redhat.com>
9953 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9954 where __builtin_expect is unavailable.
9956 2012-06-03 David S. Miller <davem@davemloft.net>
9958 * stdlib/longlong.h: Updated from GCC.
9960 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9963 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9964 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9967 (GLIBC_2.16): Likewise.
9969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9971 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9973 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9976 (default-abi): New variable.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9980 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9987 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9988 definition. Document in comment.
9990 2012-06-01 David S. Miller <davem@davemloft.net>
9992 * stdlib/longlong.h: Updated from GCC.
9994 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9997 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9998 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9999 sys/debugreg.h sys/io.h here.
10000 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10001 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10003 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10004 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10005 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10006 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10007 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10008 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10011 Define only if __x86_64__ is defined.
10013 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10016 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10017 Use int64_t for variable i.
10018 * math/libm-test.inc (fmod_test): Add more tests.
10020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10021 z computation is not scheduled after fetestexcept.
10022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10023 Use math_force_eval instead of asm to ensure calculation scheduled
10024 before exception test.
10025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10026 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10028 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10031 computation is not scheduled after fetestexcept.
10033 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10037 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10039 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10041 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10042 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10044 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10047 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10049 (__WCHAR_MIN): Support __WORDSIZE == 64.
10050 (__WCHAR_MAX): Likewise.
10052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10053 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10057 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10060 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10064 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10067 Defined to 1 if __x86_64__ isn't defined.
10068 (_STAT_VER_LINUX_OLD): New.
10069 (st_atime): Remove duplicate.
10070 (st_mtime): Likewise.
10071 (st_ctime): Likewise.
10073 2012-05-31 David S. Miller <davem@davemloft.net>
10075 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10078 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10084 * elf/dl-reloc.c: Include <_itoa.h>.
10085 (_dl_reloc_bad_type): Remove use of INTUSE.
10086 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10087 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10088 * stdio-common/psiginfo.c (psiginfo): Likewise.
10089 * stdio-common/psignal.c (psignal): Likewise.
10090 * string/strsignal.c (strsignal): Likewise.
10091 * include/signal.h (_sys_siglist): Declare hidden proto.
10092 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10093 INTVARDEF with libc_hidden_data_def.
10094 * stdio-common/itoa-udigits.c: Likewise.
10095 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10096 (_itoa_lower_digits_internal): Remove declaration.
10097 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10098 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10099 (_sys_sigabbrev_internal): Remove aliases.
10100 (_sys_siglist): Define hidden alias.
10102 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10107 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10111 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10113 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10114 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10115 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10116 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10118 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10120 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10121 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10122 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10136 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10137 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10139 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10141 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10143 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10144 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10147 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10153 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10154 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10156 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10158 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10159 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10160 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10162 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10164 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10166 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10168 * math/math.h (M_El): Use two more decimal places.
10169 (M_LOG2El): Likewise.
10170 (M_LOG10El): Likewise.
10171 (M_LN2l): Likewise.
10172 (M_LN10l): Likewise.
10174 (M_PI_2l): Likewise.
10175 (M_PI_4l): Likewise.
10176 (M_1_PIl): Likewise.
10177 (M_2_PIl): Likewise.
10178 (M_2_SQRTPIl): Likewise.
10179 (M_SQRT2l): Likewise.
10180 (M_SQRT1_2l): Likewise.
10182 2012-05-31 David S. Miller <davem@davemloft.net>
10184 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10185 values between float registers.
10186 * sysdeps/sparc/sparc64/memset.S: Likewise.
10187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10189 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10191 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10192 -D_FORTIFY_SOURCE=1.
10193 (CPPFLAGS-tst-longjmp_chk.c): Define.
10194 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10195 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10196 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10197 CFLAGS-tst-wchar-h.c.
10199 2012-05-31 Marek Polacek <polacek@redhat.com>
10202 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10203 __endmntent_internal): Remove declaration.
10204 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10205 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10206 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10208 2012-05-30 David S. Miller <davem@davemloft.net>
10210 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10211 (___Q_simulate_exceptions): Use real FP ops rather than writing
10213 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10219 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10220 * sysdeps/x86/bits/xtitypes.h: This.
10222 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10223 * sysdeps/x86/bits/wordsize.h: This.
10225 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10226 * sysdeps/x86/bits/huge_vall.h: This.
10228 * sysdeps/i386/bits/select.h: Removed.
10229 * sysdeps/x86_64/bits/select.h: Renamed to ...
10230 * sysdeps/x86/bits/select.h: This.
10232 * sysdeps/i386/bits/setjmp.h: Removed.
10233 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10234 * sysdeps/x86/bits/setjmp.h: This.
10236 * sysdeps/i386/bits/mathdef.h: Removed.
10237 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10238 * sysdeps/x86/bits/mathdef.h: This.
10240 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10243 * include/sys/socket.h (__connect_internal)
10244 (__libc_sa_len_internal): Remove declaration.
10245 (__connect, __libc_sa_len): Declare hidden_proto.
10246 (SA_LEN): Remove use of INTUSE.
10247 * socket/connect.c: Add libc_hidden_def.
10248 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10249 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10250 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10252 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10254 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10255 of adding _internal alias.
10257 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10260 * sysdeps/i386/bits/link.h: Removed.
10261 * sysdeps/i386/bits/linkmap.h: Likewise.
10262 * sysdeps/x86_64/bits/link.h: Renamed to ...
10263 * sysdeps/x86/bits/link.h: This.
10264 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10265 * sysdeps/x86/bits/linkmap.h: This.
10267 * sysdeps/i386/bits/endian.h: Removed.
10268 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10269 * sysdeps/x86/bits/endian.h: This.
10271 * sysdeps/i386/bits/byteswap.h: Removed.
10272 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10273 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10274 * sysdeps/x86/bits/byteswap.h: This.
10275 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10276 * sysdeps/x86/bits/byteswap-16.h: This.
10277 * sysdeps/i386/Implies: Add x86.
10278 * sysdeps/x86_64/Implies: Likewise.
10280 2012-05-30 David S. Miller <davem@davemloft.net>
10282 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10283 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10284 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10285 (FP_TRAPPING_EXCEPTIONS): Define.
10286 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10287 (FP_TRAPPING_EXCEPTIONS): Define.
10288 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10289 subnormals only when inexact has been signalled or underflow
10290 exceptions are enabled.
10291 (_FP_PACK_CANONICAL): Likewise.
10293 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10297 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10299 2012-05-30 Richard Henderson <rth@twiddle.net>
10301 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10302 with #ifndef NOT_IN_libc.
10304 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10305 marked to avoid plt entry.
10307 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10310 * Makeconfig (default-abi): New macro.
10311 (abi-includes): Likewise.
10312 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10313 $(abi-$(default-abi)-lib-soname) for soname if defined.
10314 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10316 * Makefile (installed-stubs): Likewise.
10317 * include/stubs-biarch.h: Removed.
10318 * scripts/lib-names.awk: Only handle one library at a time.
10319 * scripts/soversions.awk: Remove WORDSIZE support.
10320 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10322 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10324 (syscall-list-default-condition): Likewise.
10325 (syscall-list-default-condition): Likewise.
10326 (syscall-list-includes): Likewise.
10327 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10328 syscall-list-* with abi-*. Handle undefined abi-variants.
10329 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10330 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10331 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10333 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10334 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10336 (syscall-list-32-options): Likewise.
10337 (syscall-list-32-condition): Likewise.
10338 (syscall-list-64-options): Likewise.
10339 (syscall-list-64-condition): Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10342 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10345 (abi-64-ld-soname): New macro.
10346 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10350 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10351 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10353 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10355 * sysdeps/unix/sysv/linux/kernel-features.h
10356 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10357 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10358 include <kernel-features.h>.
10359 [!__NR_ftruncate64]: Remove conditional code.
10360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10361 [__NR_ftruncate64]: Make code unconditional.
10362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10363 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10364 include <kernel-features.h>.
10365 [!__NR_ftruncate64]: Remove conditional code.
10366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10367 [__NR_ftruncate64]: Make code unconditional.
10368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10370 include <kernel-features.h>.
10371 [!__NR_ftruncate64]: Remove conditional code.
10372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10373 [__NR_ftruncate64]: Make code unconditional.
10374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10376 include <kernel-features.h>.
10377 [!__NR_ftruncate64]: Remove conditional code.
10378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10379 [__NR_ftruncate64]: Make code unconditional.
10380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10382 * configure.in (libc_cv_fpie): Weaken to a compile test using
10383 LIBC_TRY_CC_OPTION.
10384 * configure: Regenerated.
10386 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10401 2012-05-27 David S. Miller <davem@davemloft.net>
10403 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10405 (__Q_simulate_exceptions): Return void. Change to simulate
10406 exceptions by writing into the %fsr.
10407 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10408 (__Qp_handle_exceptions): Likewise.
10410 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10411 __Qp_handle_exceptions.
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10413 __Qp_handle_exceptions.
10414 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10415 as unused and give dummy FP_RND_NEAREST initializer.
10416 (FP_INHIBIT_RESULTS): Define.
10417 (___Q_simulate_exceptions): Update declaration.
10418 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10421 as unused and give dummy FP_RND_NEAREST initializer.
10422 (__Qp_handle_exceptions): Update declaration.
10423 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10426 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10428 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10429 the temporary FPU control word.
10430 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10431 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10433 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10434 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10436 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10437 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10438 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10439 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10440 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10442 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10444 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10447 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10449 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10450 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10454 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10455 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10458 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10460 * po/h.po: Update from translation team.
10462 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10464 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10466 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10467 handling of denormals.
10468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10477 2012-05-26 Marek Polacek <polacek@redhat.com>
10480 * math/libm-test.inc (fma_test): Don't always expect underflow
10483 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10486 * elf/tst-execstack.c: Include stackinfo.h.
10487 (do_test): Adjust test case to ensure that pthread_getattr_np
10488 behaviour remains the same after marking stack executable.
10490 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10492 * sysdeps/unix/sysv/linux/kernel-features.h
10493 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10494 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10496 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10497 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10498 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10500 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10501 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10503 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10505 * configure.in: Define the default includes to being none.
10506 * configure: Regenerated.
10508 2012-05-25 Roland McGrath <roland@hack.frob.com>
10510 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10511 * sysdeps/x86_64/setjmp.S: Likewise.
10512 * sysdeps/i386/bsd-setjmp.S: Likewise.
10513 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10514 * sysdeps/i386/setjmp.S: Likewise.
10515 * sysdeps/i386/__longjmp.S: Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10517 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10519 * include/stap-probe.h: New file.
10520 * configure.in: Handle --enable-systemtap.
10521 * configure: Regenerated.
10522 * config.h.in (USE_STAP_PROBE): New #undef.
10523 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10524 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10525 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10527 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10531 to 2.4.0 where earlier.
10532 * sysdeps/unix/sysv/linux/configure: Regenerated.
10533 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10534 <kernel-features.h>.
10535 [__ASSUME_32BITUIDS]: Make code unconditional.
10536 [!__ASSUME_32BITUIDS]: Remove conditional code.
10537 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10538 <kernel-features.h>.
10539 [__ASSUME_32BITUIDS]: Make code unconditional.
10540 [!__ASSUME_32BITUIDS]: Remove conditional code.
10541 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10542 [__ASSUME_32BITUIDS]: Make code unconditional.
10543 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10544 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
10565 <kernel-features.h>.
10566 [__ASSUME_32BITUIDS]: Make code unconditional.
10567 [!__ASSUME_32BITUIDS]: Remove conditional code.
10568 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10569 <kernel-features.h>.
10570 [__ASSUME_32BITUIDS]: Make code unconditional.
10571 [!__ASSUME_32BITUIDS]: Remove conditional code.
10572 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10573 <kernel-features.h>.
10574 [__ASSUME_32BITUIDS]: Make code unconditional.
10575 [!__ASSUME_32BITUIDS]: Remove conditional code.
10576 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10577 <kernel-features.h>.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10581 <kernel-features.h>.
10582 [__ASSUME_32BITUIDS]: Make code unconditional.
10583 [!__ASSUME_32BITUIDS]: Remove conditional code.
10584 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10585 <kernel-features.h>.
10586 [__NR_setresgid] (__setresgid): Do not declare.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10590 <kernel-features.h>.
10591 [__NR_setresuid] (__setresuid): Do not declare.
10592 [__ASSUME_32BITUIDS]: Make code unconditional.
10593 [!__ASSUME_32BITUIDS]: Remove conditional code.
10594 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
10615 <kernel-features.h>.
10616 [__ASSUME_32BITUIDS]: Make code unconditional.
10617 [!__ASSUME_32BITUIDS]: Remove conditional code.
10618 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10619 <kernel-features.h>.
10620 [__ASSUME_32BITUIDS]: Make code unconditional.
10621 [!__ASSUME_32BITUIDS]: Remove conditional code.
10622 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10623 <kernel-features.h>.
10624 [__ASSUME_32BITUIDS]: Make code unconditional.
10625 [!__ASSUME_32BITUIDS]: Remove conditional code.
10626 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10627 <kernel-features.h>.
10628 [__ASSUME_32BITUIDS]: Make code unconditional.
10629 [!__ASSUME_32BITUIDS]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10631 <kernel-features.h>.
10632 [__ASSUME_32BITUIDS]: Make code unconditional.
10633 [!__ASSUME_32BITUIDS]: Remove conditional code.
10634 * sysdeps/unix/sysv/linux/kernel-features.h
10635 (__ASSUME_SETRESUID_SYSCALL): Remove.
10636 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10637 (__ASSUME_32BITUIDS): Likewise.
10638 (__ASSUME_LDT_WORKS): Likewise.
10639 (__ASSUME_O_DIRECTORY): Likewise.
10640 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10641 architecture but not kernel version.
10642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10643 (__ASSUME_MMAP2_SYSCALL): Likewise.
10644 (__ASSUME_STAT64_SYSCALL): Likewise.
10645 (__ASSUME_IPC64): Likewise.
10646 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10647 <kernel-features.h>.
10648 [__ASSUME_32BITUIDS]: Make code unconditional.
10649 [!__ASSUME_32BITUIDS]: Remove conditional code.
10650 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10651 <kernel-features.h>.
10652 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10653 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10654 132096]: Remove conditional code.
10655 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10657 <kernel-features.h>.
10658 [__ASSUME_32BITUIDS]: Make code unconditional.
10659 [!__ASSUME_32BITUIDS]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10661 <kernel-features.h>.
10662 [__ASSUME_32BITUIDS]: Make code unconditional.
10663 [!__ASSUME_32BITUIDS]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10665 <kernel-features.h>.
10666 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10668 (__setresgid): Do not declare.
10669 [__ASSUME_32BITUIDS]: Make code unconditional.
10670 [!__ASSUME_32BITUIDS]: Remove conditional code.
10671 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10672 <kernel-features.h>.
10673 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10675 (__setresuid): Do not declare.
10676 [__ASSUME_32BITUIDS]: Make code unconditional.
10677 [!__ASSUME_32BITUIDS]: Remove conditional code.
10678 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10679 <kernel-features.h>.
10680 [__ASSUME_32BITUIDS]: Make code unconditional.
10681 [!__ASSUME_32BITUIDS]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10683 <kernel-features.h>.
10684 [__ASSUME_32BITUIDS]: Make code unconditional.
10685 [!__ASSUME_32BITUIDS]: Remove conditional code.
10687 2012-05-25 Richard Henderson <rth@twiddle.net>
10689 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10690 dl_hwcap to ifunc resolver.
10691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10693 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10694 dl_hwcap to ifunc resolver.
10695 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10697 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10700 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10701 for |x| <= 2**-26, not 2**-57.
10702 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10705 2012-05-24 Jeff Law <law@redhat.com>
10707 * stdio-common/Makefile (tests): Add bug25.
10708 * stdio-common/bug25.c: New test.
10710 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10713 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10714 multiple of MALLOC_ALIGNMENT in size.
10715 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10717 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10719 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10721 (FILENAME_MAX): Use macro-int-constant.
10722 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10723 (_IOFBF): Use macro-int-constant.
10724 (_IOLBF): Likewise.
10725 (_IONBF): Likewise.
10726 (SEEK_CUR): Likewise.
10727 (SEEK_END): Likewise.
10728 (SEEK_SET): Likewise.
10729 (TMP_MAX): Likewise.
10730 (EOF): Use macro-int-constant. Require < 0.
10731 (NULL): Use macro-constant. Require == 0.
10732 (stdin): Require type to be FILE *.
10733 (stdout): Likewise.
10734 (stderr): Likewise.
10735 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10736 macro-int-constant.
10737 (EXIT_SUCCESS): Likewise.
10738 (NULL): Use macro-constant. Require == 0.
10739 (RAND_MAX): Use macro-int-constant.
10740 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10741 [C99-based standards] (strtof): Require function.
10742 [C99-based standards] (strtold): Likewise.
10743 [C99-based standards] (strtoll): Likewise.
10744 [C99-based standards] (strtoull): Likewise.
10745 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10746 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10747 [ISO || ISO99 || ISO11] (math.h): Likewise.
10748 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10749 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10752 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10755 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10756 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10757 * intl/dgettext.c (DCGETTEXT): Likewise.
10758 * intl/gettext.c (DCGETTEXT): Likewise.
10759 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10760 * posix/regex_internal.h (gettext): Likewise.
10761 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10762 Remove declaration.
10763 * include/argz.h (__argz_count_internal)
10764 (__argz_stringify_internal): Remove declaration.
10765 (__argz_count, __argz_stringify): Declare hidden proto.
10766 * intl/dcgettext.c: Remove use of INTDEF.
10767 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10768 * string/argz-stringify.c: Likewise.
10769 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10770 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10771 Declare hidden proto.
10772 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10773 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10774 Declare hidden proto.
10775 * include/stdio.h (__asprintf_internal): Don't declare.
10776 (__asprintf): Don't define as macro. Declare hidden proto.
10777 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10778 (__fsetlocking): Declare hidden proto.
10779 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10780 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10782 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10783 (_IO_setlinebuf): Remove use of INTUSE.
10784 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10785 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10786 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10787 Remove declaration.
10788 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10789 (_IO_do_flush): Remove use of INTUSE.
10790 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10791 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10792 (_IO_adjust_column, _IO_least_wmarker)
10793 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10794 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10795 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10796 (_IO_default_doallocate, _IO_wdefault_doallocate)
10797 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10798 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10799 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10800 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10801 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10802 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10803 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10804 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10805 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10806 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10807 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10808 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10809 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10811 (_IO_flush_all_internal, _IO_adjust_column_internal)
10812 (_IO_default_uflow_internal, _IO_default_finish_internal)
10813 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10814 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10815 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10816 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10817 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10818 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10819 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10820 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10821 (_IO_file_close_internal, _IO_file_close_it_internal)
10822 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10823 (_IO_file_init_internal, _IO_file_attach_internal)
10824 (_IO_file_fopen_internal, _IO_file_read_internal)
10825 (_IO_file_sync_internal, _IO_file_seek_internal)
10826 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10827 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10828 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10829 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10830 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10831 (_IO_list_all_internal, _IO_link_in_internal)
10832 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10833 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10834 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10835 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10836 (_IO_do_write_internal, _IO_padn_internal)
10837 (_IO_getline_info_internal, _IO_getline_internal)
10838 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10839 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10840 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10841 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10842 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10843 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10844 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10845 with libc_hidden_ver, remove use of INTUSE.
10846 * libio/genops.c: Likewise.
10847 * libio/freopen.c: Likewise.
10848 * libio/freopen64.c: Likewise.
10849 * libio/iofclose.c: Likewise.
10850 * libio/iofdopen.c: Likewise.
10851 * libio/iofflush.c: Likewise.
10852 * libio/iofflush_u.c: Likewise.
10853 * libio/iofgets.c: Likewise.
10854 * libio/iofgets_u.c: Likewise.
10855 * libio/iofopen.c: Likewise.
10856 * libio/iofopncook.c: Likewise.
10857 * libio/iofread.c: Likewise.
10858 * libio/iofread_u.c: Likewise.
10859 * libio/ioftell.c: Likewise.
10860 * libio/iofwrite.c: Likewise.
10861 * libio/iogetline.c: Likewise.
10862 * libio/iogets.c: Likewise.
10863 * libio/iogetwline.c: Likewise.
10864 * libio/iopadn.c: Likewise.
10865 * libio/iopopen.c: Likewise.
10866 * libio/ioseekoff.c: Likewise.
10867 * libio/ioseekpos.c: Likewise.
10868 * libio/iosetbuffer.c: Likewise.
10869 * libio/iosetvbuf.c: Likewise.
10870 * libio/ioungetc.c: Likewise.
10871 * libio/ioungetwc.c: Likewise.
10872 * libio/iovdprintf.c: Likewise.
10873 * libio/iovsprintf.c: Likewise.
10874 * libio/iovsscanf.c: Likewise.
10875 * libio/memstream.c: Likewise.
10876 * libio/obprintf.c: Likewise.
10877 * libio/oldfileops.c: Likewise.
10878 * libio/oldiofclose.c: Likewise.
10879 * libio/oldiofdopen.c: Likewise.
10880 * libio/oldiofopen.c: Likewise.
10881 * libio/oldiopopen.c: Likewise.
10882 * libio/oldstdfiles.c: Likewise.
10883 * libio/putc.c: Likewise.
10884 * libio/setbuf.c: Likewise.
10885 * libio/setlinebuf.c: Likewise.
10886 * libio/stdfiles.c: Likewise.
10887 * libio/strops.c: Likewise.
10888 * libio/vasprintf.c: Likewise.
10889 * libio/vscanf.c: Likewise.
10890 * libio/vsnprintf.c: Likewise.
10891 * libio/vswprintf.c: Likewise.
10892 * libio/wfiledoalloc.c: Likewise.
10893 * libio/wfileops.c: Likewise.
10894 * libio/wgenops.c: Likewise.
10895 * libio/wmemstream.c: Likewise.
10896 * libio/wstrops.c: Likewise.
10897 * libio/__fpurge.c: Likewise.
10898 * libio/__fsetlocking.c: Likewise.
10899 * assert/assert.c: Likewise.
10900 * debug/fgets_chk.c: Likewise.
10901 * debug/fgets_u_chk.c: Likewise.
10902 * debug/fread_chk.c: Likewise.
10903 * debug/fread_u_chk.c: Likewise.
10904 * debug/gets_chk.c: Likewise.
10905 * debug/obprintf_chk.c: Likewise.
10906 * debug/vasprintf_chk.c: Likewise.
10907 * debug/vdprintf_chk.c: Likewise.
10908 * debug/vsnprintf_chk.c: Likewise.
10909 * debug/vsprintf_chk.c: Likewise.
10910 * malloc/mtrace.c: Likewise.
10911 * misc/error.c: Likewise.
10912 * misc/syslog.c: Likewise.
10913 * stdio-common/asprintf.c: Likewise.
10914 * stdio-common/fxprintf.c: Likewise.
10915 * stdio-common/getw.c: Likewise.
10916 * stdio-common/isoc99_fscanf.c: Likewise.
10917 * stdio-common/isoc99_scanf.c: Likewise.
10918 * stdio-common/isoc99_vfscanf.c: Likewise.
10919 * stdio-common/isoc99_vscanf.c: Likewise.
10920 * stdio-common/isoc99_vsscanf.c: Likewise.
10921 * stdio-common/printf-prs.c: Likewise.
10922 * stdio-common/printf_fp.c: Likewise.
10923 * stdio-common/printf_fphex.c: Likewise.
10924 * stdio-common/printf_size.c: Likewise.
10925 * stdio-common/putw.c: Likewise.
10926 * stdio-common/scanf.c: Likewise.
10927 * stdio-common/sprintf.c: Likewise.
10928 * stdio-common/tmpfile.c: Likewise.
10929 * stdio-common/vfprintf.c: Likewise.
10930 * stdio-common/vfscanf.c: Likewise.
10931 * stdlib/strfmon_l.c: Likewise.
10932 * sunrpc/openchild.c: Likewise.
10933 * sunrpc/xdr_stdio.c: Likewise.
10934 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10935 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10937 2012-05-24 Roland McGrath <roland@hack.frob.com>
10939 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10941 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10942 in the third column, to generate for the shared library an IFUNC
10943 that uses _dl_vdso_vsym.
10944 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10945 * Makeconfig (object-suffixes-noshared): New variable.
10947 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10948 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10949 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10950 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10953 * include/sys/time.h (__gettimeofday): Remove macro.
10954 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10955 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10957 (__gettimeofday): Add libc_hidden_def.
10958 (gettimeofday): Add libc_hidden_weak.
10959 * sysdeps/mach/gettimeofday.c: Likewise.
10960 * sysdeps/posix/gettimeofday.c: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10962 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10964 (__gettimeofday_internal): Remove strong_alias.
10965 (__gettimeofday): Add libc_hidden_def.
10966 (gettimeofday): Add libc_hidden_weak.
10967 * sysdeps/unix/syscalls.list (gettimeofday):
10968 Remove __gettimeofday_internal alias.
10970 2012-05-24 Daniel Jacobowitz <drow@false.org>
10971 H.J. Lu <hongjiu.lu@intel.com>
10974 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10975 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10976 (largebin_index_32_big): New.
10977 (largebin_index): Use it for 16-byte alignment.
10978 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10979 correction with front_misalign.
10981 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11009 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11010 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11012 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11016 * math/libm-test.inc (exp_test): Add test from bug 14036.
11017 (pow_test): Add test from bug 10846.
11019 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11021 (special_function): Do not include flags in test name.
11022 (parse_args): Likewise.
11023 * sysdeps/i386/fpu/libm-test-ulps: Update.
11024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11025 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11026 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11029 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11031 * math/libm-test.inc ("Philosophy"): Update comment about
11033 (UNDERFLOW_EXCEPTION): New macro.
11034 (UNDERFLOW_EXCEPTION_OK): Likewise.
11035 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11036 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11037 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11038 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11039 (INVALID_EXCEPTION_OK): Update value.
11040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11041 (OVERFLOW_EXCEPTION_OK): Likewise.
11042 (IGNORE_ZERO_INF_SIGN): Likewise.
11043 (test_exceptions): Handle underflow exceptions.
11044 (acos_test): Update for underflow exception expectations.
11045 (cexp_test): Likewise.
11046 (clog_test): Likewise.
11047 (clog10_test): Likewise.
11048 (csqrt_test): Likewise.
11049 (ctan_test): Likewise.
11050 (ctanh_test): Likewise.
11051 (exp_test): Likewise.
11052 (exp10_test): Likewise.
11053 (exp2_test): Likewise.
11054 (expm1_test): Likewise.
11055 (fma_test): Likewise.
11056 (j0_test): Likewise.
11057 (jn_test): Likewise.
11058 (nexttoward_test): Likewise.
11059 (pow_test): Likewise.
11060 (scalbn_test): Likewise.
11061 (scalbln_test): Likewise.
11062 (tan_test): Likewise.
11063 (y1_test): Likewise.
11064 * sysdeps/i386/fpu/libm-test-ulps: Update.
11065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11067 2012-05-23 David S. Miller <davem@davemloft.net>
11069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11070 (__libc_sigaction): Remove unused local variables.
11072 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11074 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11076 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11078 mktime: avoid signed integer overflow
11079 * time/mktime.c (__mktime_internal): Do not mishandle the case
11080 where diff == INT_MIN.
11082 mktime: simplify computation of average
11083 * time/mktime.c (ranged_convert): Use new time_t_avg function
11084 instead of rolling our own (probably-slower) code.
11086 mktime: do not assume signed right shift propagates sign bit
11087 * time/mktime.c (isdst_differ): New static function.
11088 (__mktime_internal): No need to normalize tm_isdst now.
11089 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11092 mktime: merge another wrapv change from gnulib
11093 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11094 from some compilers.
11096 mktime: remove incorrect attempt at unusual arithmetics
11097 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11098 The code didn't really work on such machines anyway.
11099 (TYPE_MINIMUM): Assume two's complement.
11100 (twos_complement_arithmetic): Verify that long_int and time_t
11101 are two's complement (or unsigned, in the latter case).
11103 mktime: check signed shifts on long_int and time_t, too
11104 * time/mktime.c (SHR): Check that shifts work as desired
11105 on the types long_int and time_t too, as SHR is used on
11108 mktime: do not assume 'long' is wide enough
11109 * time/mktime.c (verify): Move decl up.
11110 (long_int): New type.
11111 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11112 to remove assumption in the code that 'long' is wide enough to
11113 store year values. This assumption is not true on x32 and on
11114 some non-glibc platforms.
11116 mktime: merge wrapv change from gnulib
11117 * time/mktime.c (WRAPV): New macro.
11118 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11119 (guess_time_tm, __mktime_internal): Do not assume that signed
11120 integer overflow wraps around; modern compilers generate code
11121 where this assumption is no longer valid.
11123 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11125 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11126 Replace "jmp L(pseudo_end)" with "ret".
11127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11130 2012-05-23 Andreas Jaeger <aj@suse.de>
11132 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11133 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11135 2012-05-23 Andreas Jaeger <aj@suse.de>
11136 Maximilian Attems <max@stro.at>
11138 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11141 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11144 code so that pseudo_end is just ret and the stack pointer is
11145 correct also for static library in error case.
11147 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11149 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11150 move to syscalls.list.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11156 * manual/install.texi (Running make install): Do not mention Linux
11157 kernel version for which pt_chown is not needed.
11158 (Linux): Do not mention problems with nscd with 2.0 kernels.
11159 * INSTALL: Regenerated.
11161 2012-05-23 Andreas Jaeger <aj@suse.de>
11163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11164 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11166 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11168 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11170 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11176 * sysdeps/unix/sysv/linux/bits/in.h
11177 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11179 2012-05-22 Roland McGrath <roland@hack.frob.com>
11181 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11182 (PREPARE_VERSION): Just use assert instead, it will be elided
11183 under [NDEBUG] anyway.
11185 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11187 * sysdeps/unix/sysv/linux/Makefile: Include
11188 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11189 (sysdep_routines): Remove sysctl.
11190 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11191 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11194 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11196 2012-05-22 Andreas Jaeger <aj@suse.de>
11198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11199 that pseudo_end is just ret and the stack pointer is correct also
11200 for static library in error case.
11202 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11205 * nss/nsswitch.c (defconfig_entries): New variable.
11206 (__nss_database_lookup): Don't leak defconfig entries.
11207 (nss_parse_service_list): Don't leak on error paths.
11208 (free_database_entries): New function.
11209 (free_defconfig): New function.
11210 (free_mem): Move common code to free_database_entries.
11212 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11216 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11219 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11222 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11223 (INTERNAL_SYSCALL_TYPES): Likewise.
11224 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11225 (LOAD_REGS_TYPES_[1-6]): Likewise.
11226 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11227 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11229 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11232 copysignl for GLIBC_2_0.
11233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11234 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11236 logbl for GLIBC_2_0.
11237 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11240 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11243 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11245 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11248 * time/mktime.c: Update copyright years.
11250 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11252 mktime: merge comment-quoting-style change from gnulib
11253 * time/mktime.c: Quote 'like this' in comments.
11254 The GNU coding standards suggest that we no longer quote `like this',
11255 as "`" and "'" are typically rendered asymmetrically nowadays.
11256 The typical gnulib style is to quote 'like this' when quoting
11257 code, and "like this" when quoting English.
11259 * time/mktime.c (compile-command): Add "-I.".
11261 mktime: merge mktime-internal.h change from gnulib
11262 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11264 mktime: merge time_r change from gnulib
11265 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11267 mktime: merge DEBUG change from gnulib
11268 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11269 case system <time.h> has a #define.
11271 mktime: merge <sys/types.h> change from gnulib
11272 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11273 since <time.t> is now guaranteed to define time_t.
11275 mktime: merge HAVE_CONFIG_H change from gnulib
11276 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11278 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11283 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11285 (struct rusage): Use anonymous union to pad each field to
11288 2012-05-21 David S. Miller <davem@davemloft.net>
11290 * Makefules (o-iterator): Remove .s cases.
11291 (compile-command.s): Delete.
11292 (COMPILE.s): Delete.
11293 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11295 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11297 * configure.in (libc_cv_predef_stack_protector): Only consider
11298 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11299 * configure: Regenerated.
11301 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11304 New macro. Use R*LP on int and pointer.
11305 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11306 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11307 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11308 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11310 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11311 [__WORDSIZE_TIME64_COMPAT32] instead of
11312 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11313 (struct utmp): Likewise.
11314 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11315 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11317 (__WORDSIZE_TIME64_COMPAT32): This.
11318 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11319 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11320 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11322 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11323 (__WORDSIZE_TIME64_COMPAT32): New macro.
11325 2012-05-21 Andreas Jaeger <aj@suse.de>
11327 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11328 only if [SHARED]. Add prototype for __wcschr_ia32.
11330 2012-05-21 Roland McGrath <roland@hack.frob.com>
11332 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11333 of %rbp unmolested in the jmp_buf while mangling the low bits.
11334 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11335 unmolested high bits of %rbp while demangling the low bits.
11336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11338 2012-05-21 Andreas Jaeger <aj@suse.de>
11340 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11341 * sunrpc/svc_simple.c: Use it for registerrpc.
11342 * sunrpc/xcrypt.c: Use it for passwd2des.
11344 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11346 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11348 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11349 Don't define if [__SYSCALL_WORDSIZE != 32].
11350 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11353 2012-05-21 Bruno Haible <bruno@clisp.org>
11354 Andreas Jaeger <aj@suse.de>
11356 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11357 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11358 inptr and inend for must_buffer_ch.
11359 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11360 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11361 * stdio-common/Makefile (tests): Remove bug15.
11362 (bug15-ENV): Remove macro.
11363 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11366 2012-05-19 Andreas Jaeger <aj@suse.de>
11367 Roland McGrath <roland@hack.frob.com>
11369 * manual/contrib.texi: Completely rewritten. It contains now an
11370 alphabetical list of contributors and their contributions.
11372 2012-05-21 Richard Henderson <rth@twiddle.net>
11374 * misc/getauxval.c (__getauxval): Use unsigned long int.
11375 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11376 (getauxval): Use unsigned long int.
11378 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11382 2012-05-21 Roland McGrath <roland@hack.frob.com>
11384 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11385 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11386 __alignof__ (long double).
11388 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11392 2012-05-20 Richard Henderson <rth@twiddle.net>
11394 * misc/getauxval.c: New file.
11395 * misc/sys/auxv.h: New file.
11396 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11397 (routines): Add getauxval.
11398 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11399 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11400 * elf/dl-sysdep.c (_dl_auxv): Remove.
11401 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11402 * elf/dl-support.c (_dl_auxv): New variable.
11403 (_dl_aux_init): Initialize it.
11404 * manual/startup.texi (Auxiliary Vector): New node.
11405 * sysdeps/generic/bits/hwcap.h: New file.
11406 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11407 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11408 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11409 * sysdeps/sparc/sysdep.h: ... here. Include it.
11410 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11423 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11427 2012-05-19 David S. Miller <davem@davemloft.net>
11429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11431 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11434 * math/s_ccosh.c: Include <float.h>
11435 (__ccosh): Avoid internal overflow calculating sinh and cosh
11436 values before multiplying by sin and cos values.
11437 * math/s_ccoshf.c: Likewise.
11438 * math/s_ccoshl.c: Likewise.
11439 * math/s_csin.c: Likewise.
11440 * math/s_csinf.c: Likewise.
11441 * math/s_csinl.c: Likewise.
11442 * math/s_csinh.c: Likewise.
11443 * math/s_csinhf.c: Likewise.
11444 * math/s_csinhl.c: Likewise.
11445 * math/libm-test.inc (ccos_test): Add more tests.
11446 (ccosh_test): Likewise.
11447 (csin_test): Likewise.
11448 (csinh_test): Likewise.
11449 * sysdeps/i386/fpu/libm-test-ulps: Update.
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11454 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11455 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11457 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11459 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11461 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11462 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11463 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11483 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11484 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11485 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11486 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11487 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11488 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11489 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11490 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11491 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11493 2012-05-18 Andreas Jaeger <aj@suse.de>
11495 * csu/.gitignore: Delete.
11497 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11499 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11500 (timex): Use __syscall_slong_t.
11502 2012-05-18 Andreas Jaeger <aj@suse.de>
11503 Carlos O'Donell <carlos_odonell@mentor.com>
11505 * manual/install.texi (Configuring and compiling): Update
11506 description about files modified in the source directory.
11507 * INSTALL: Regenerated.
11509 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11511 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11512 value. Use "or" to set return value to -1.
11513 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11514 negate return value.
11516 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11518 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11519 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11520 failure if the compiler has Graphite support disabled.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11523 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11524 CFLAGS-memmove.c): Likewise.
11525 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11528 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11530 * sysdeps/x86_64/x32/_itoa.h: New file.
11532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11533 getdents system call only if kernel and user dirents have the
11534 same d_ino and d_off.
11536 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11537 LLONG_MAX != LONG_MAX.
11538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11539 (_fitoa_word): Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11548 include <bits/wordsize.h>. Check __x86_64__ instead of
11550 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11551 if __x86_64__ is defined. Use anonymous union on fpstate.
11553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11556 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11558 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11559 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11560 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11561 Refer to _rtld_local_ro instead of _rtld_global_ro.
11562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11564 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11566 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11568 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11569 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11570 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11572 * sysdeps/powerpc/powerpc32/dl-machine.c
11573 (__elf_machine_runtime_setup) [PROF]: Don't reference
11576 2012-05-18 Andreas Jaeger <aj@suse.de>
11578 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11579 function only available for GCCs before 3.4 since GCC 3.4
11580 introduced a builtin.
11582 (llrintf): Likewise.
11583 (llrint): Likewise.
11590 (nearbyint): Likewise.
11591 (nearbyintf): Likewise.
11595 (floorf): Likewise.
11597 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11599 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11600 on both fields and cast pointer to __syscall_ulong_t.
11602 * bits/types.h (__fsword_t): New type.
11603 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11604 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11606 (__FSWORD_T_TYPE): Likewise.
11607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11608 (__FSWORD_T_TYPE): Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11610 (__FSWORD_T_TYPE): Likewise.
11611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11612 (__FSWORD_T_TYPE): Likewise.
11613 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11614 __SWORD_TYPE with __fsword_t.
11615 (statfs64): Likewise.
11617 2012-05-17 David S. Miller <davem@davemloft.net>
11619 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11621 2012-05-17 Andreas Jaeger <aj@suse.de>
11623 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11628 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11630 2012-05-17 Andreas Jaeger <aj@suse.de>
11632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11635 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11637 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11639 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11641 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11642 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11644 2012-05-17 Andreas Jaeger <aj@suse.de>
11645 Carlos O'Donell <carlos_odonell@mentor.com>
11648 * sysdeps/x86_64/multiarch/init-arch.h
11649 (bit_YMM_Usable): Rename to...
11650 (bit_AVX_Usable): ... this.
11651 (bit_FMA4_Usable): New macro.
11652 (bit_XMM_state): New macro.
11653 (bit_YMM_state): New macro.
11654 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11655 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11656 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11657 (CPUID_OSXSAVE): New macro.
11658 (CPUID_AVX): New macro.
11659 (CPUID_FMA4): New macro.
11660 (index_YMM_Usable): Rename to...
11661 (index_AVX_Usable): ... this.
11662 (HAS_AVX): Use HAS_ARCH_FEATURE.
11663 (HAS_FMA4): Likewise.
11664 (HAS_YMM_USABLE): Remove.
11665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11666 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11668 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11669 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11670 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11671 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11672 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11674 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11676 * math/libm-test.c: Support platforms without multiple rounding modes.
11677 * math/bug-nextafter.c: Support platforms without FP exceptions.
11678 * math/bug-nexttoward.c: Likewise.
11679 * math/test-fenv.c: Likewise.
11680 * math/test-misc.c: Likewise.
11681 * stdlib/bug-getcontext.c: Likewise.
11683 2012-05-17 Andreas Jaeger <aj@suse.de>
11685 * manual/examples/search.c (critter_cmp): Change signature to
11687 * manual/string.texi (Collation Functions): Likewise.
11689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11691 * bits/types.h: Fold copyright years.
11692 * bits/typesizes.h: Likewise.
11693 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11697 * time/time.h: Likewise.
11699 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11702 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11703 in instead of returning them. Return void.
11704 (__libc_mallinfo): Accumulate over all arenas.
11705 (__malloc_stats): Adjust for change in int_mallinfo interface.
11707 2012-05-16 Roland McGrath <roland@hack.frob.com>
11710 * configure.in (NM): Add AC_CHECK_TOOL for it.
11711 (libc_extra_cflags): New substituted variable.
11712 Check for -fstack-protector being used implicitly.
11713 * configure: Regenerated.
11714 * config.make.in (config-extra-cflags): New variable,
11715 gets @libc_extra_cflags@.
11716 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11719 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11720 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11721 * configure: Regenerated.
11722 * config.make.in (CPPUNDEFS): New substituted variable.
11723 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11724 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11725 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11729 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11730 (mq_attr): Use __syscall_slong_t.
11732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11734 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11735 Check __x86_64__ instead of __WORDSIZE.
11736 (_STAT_VER_LINUX): Likewise.
11737 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11738 __syscall_ulong_t and __syscall_slong_t.
11739 (stat64): Likewise.
11741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11747 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11749 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11751 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11755 include <bits/wordsize.h>. Check __x86_64__ instead of
11757 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11759 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11762 include <bits/wordsize.h>. Check __x86_64__ instead of
11764 (user_regs_struct): Use "__extension__ unsigned long long"
11765 instead of "unsigned long" if __x86_64__ is defined.
11766 (user): Likewise. Pad after pointer field if __ILP32__ is
11769 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11771 * configure.in (makeinfo): Require version 4.5 or later. Allow
11773 * configure: Regenerated.
11774 * manual/install.texi (texinfo): Increase version requirement to
11776 * INSTALL: Regenerated.
11778 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11780 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11782 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11784 * sysdeps/x86_64/x32/ffs.c: New file.
11786 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11788 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11789 defined. Use __syscall_ulong_t.
11790 (shminfo): Use __syscall_ulong_t.
11791 (shm_info): Likewise.
11793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11796 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11798 (msgqnum_t): Use __syscall_ulong_t.
11799 (msglen_t): Likewise.
11800 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11803 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11804 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11806 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11808 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11809 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11811 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11815 include <bits/wordsize.h>. Check __x86_64__ instead of
11818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11819 "unsigned long long int" if __x86_64__ is defined.
11820 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11824 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11826 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11828 (GET_PC): Cast to uintptr_t first.
11829 (GET_FRAME): Likewise.
11830 (GET_STACK): Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11862 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11864 * Makerules (+depfiles): Also collect depfiles from .oS in
11866 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11867 .oS, $(libnldbl-routines)).
11869 * Makerules (native-compile-mkdep-flags): Define.
11870 * sunrpc/Makefile (extra-objs): Add $(addprefix
11871 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11872 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11873 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11874 calling $(make-target-directory).
11876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11878 * bits/types.h (__snseconds_t): Removed.
11879 * time/time.h (struct timespec): Replace __snseconds_t with
11881 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11882 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11885 (__SNSECONDS_T_TYPE): Likewise.
11886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11887 (__SNSECONDS_T_TYPE): Likewise.
11888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11889 (__SNSECONDS_T_TYPE): Likewise.
11891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11893 * sysdeps/mach/hurd/bits/typesizes.h
11894 (__SYSCALL_SLONG_TYPE): New macro.
11895 (__SYSCALL_ULONG_TYPE): Likewise.
11897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11899 * bits/types.h (__syscall_slong_t): New type.
11900 (__syscall_ulong_t): Likewise.
11902 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11903 (__SYSCALL_ULONG_TYPE): Likewise.
11904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11905 (__SYSCALL_SLONG_TYPE): Likewise.
11906 (__SYSCALL_ULONG_TYPE): Likewise.
11907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11908 (__SYSCALL_SLONG_TYPE): Likewise.
11909 (__SYSCALL_ULONG_TYPE): Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11911 (__SYSCALL_SLONG_TYPE): Likewise.
11912 (__SYSCALL_ULONG_TYPE): Likewise.
11914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11916 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11917 Add sigaltstack-offsets.sym.
11918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11919 <sigaltstack-offsets.h>.
11920 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11921 longjmp_msg pointer.
11922 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11923 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11925 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11927 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11929 * elf/stackguard-macros.h: Remove file.
11930 * sysdeps/generic/stackguard-macros.h: New file.
11931 * sysdeps/i386/stackguard-macros.h: Likewise.
11932 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11933 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11934 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11935 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11936 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11937 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11938 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11939 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11940 <elf/stackguard-macros.h>.
11943 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11944 __aligned__ in attribute.
11945 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11946 (gregset_t): Likewise.
11948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11950 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11951 * sysdeps/x86_64/64/Implies-after: Here. New file.
11952 * sysdeps/x86_64/x32/Implies-after: New file.
11954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11956 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11957 and access return value for _dl_profile_fixup. Use R10_LP to
11960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11962 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11966 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11967 * sysdeps/x86_64/x32/sysdep.h: New file.
11969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11971 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11972 * sysdeps/x86_64/setjmp.S: Likewise.
11974 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11978 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11980 remove unused global constant.
11982 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11984 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11985 include of <not-cancel.h>.
11987 2012-05-15 Roland McGrath <roland@hack.frob.com>
11989 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11991 2012-05-15 Jeff Law <law@redhat.com>
11992 Andreas Jaeger <aj@suse.de>
11995 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11997 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11998 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12000 code changing __hst_map_handle.map.
12002 2012-05-15 Roland McGrath <roland@hack.frob.com>
12004 * configure.in (sysnames): Look for Implies-before and Implies-after
12006 * configure: Regenerated.
12008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12010 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12011 8-byte data alignment with LP_SIZE alignment.
12013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12015 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12020 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12024 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12025 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12032 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12033 (stackinfo_sub_sp): Likewise.
12035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12052 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12056 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12057 into R11_LP and load __x86_64_shared_cache_size_half into
12060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12062 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12065 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12074 powerpc32/power7/fpu/s_logb.c via #include.
12075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12076 powerpc32/power7/fpu/s_logbf.c via #include.
12077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12078 powerpc32/power7/fpu/s_logbl.c via #include.
12080 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12082 * README.libm: Remove file.
12084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12086 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12087 count for x32. Use R*_LP and omit operand-size suffix.
12089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12091 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12092 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12093 * sysdeps/x86_64/x32/shlib-versions: New file.
12095 2012-05-14 Roland McGrath <roland@hack.frob.com>
12097 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12098 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12099 Use _dl_fatal_printf instead.
12101 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12103 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12104 set if not set by the user. Do not allow for being unset.
12105 * sysdeps/unix/sysv/linux/configure: Regenerated.
12107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12109 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12110 the `q' suffix from lea and replace .quad with ASM_ADDR.
12112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12115 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12117 (PTR_DEMANGLE): Likewise.
12119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12121 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12123 (ASM_ADDR): Likewise.
12124 (RAX_LP): Likewise.
12125 (RBP_LP): Likewise.
12126 (RBX_LP): Likewise.
12127 (RCX_LP): Likewise.
12128 (RDI_LP): Likewise.
12129 (RSI_LP): Likewise.
12130 (RSP_LP): Likewise.
12133 (R10_LP): Likewise.
12134 (R10_LP): Likewise.
12135 (R11_LP): Likewise.
12136 (R12_LP): Likewise.
12137 (R13_LP): Likewise.
12138 (R14_LP): Likewise.
12139 (R15_LP): Likewise.
12141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12143 * sysdeps/x86_64/x32/dl-machine.h: New file.
12145 2012-05-14 Andreas Jaeger <aj@suse.de>
12147 * manual/Makefile (subdir): Remove export of subdir.
12148 (all): Remove target.
12149 (.PHONY): Remove all from list.
12150 (mkinstalldirs): Remove.
12151 (.PHONY): Remove installdirs from list.
12152 ($(inst_infodir)/libc.info): Use make-target-directory.
12153 (installdirs): Remove.
12154 (subdir_%): Remove.
12155 (glibc-targets): Remove.
12158 ($(objpfx)stubs ../po/manual.pot): Remove.
12159 ($(objpfx)stamp%): Remove.
12160 (make-target-directory): Remove.
12161 (subdir_install): Remove.
12162 (routines): Remove.
12169 * manual/.gitignore: Remove, it's not needed anymore.
12170 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12172 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12174 (texis): Renamed to $(objpfx)texis.
12175 (texis-path): New, contains path to generated files.
12176 (chapters.%): Use texis-path for complete path, add extra argument
12178 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12179 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12180 (summary,texi, stamp-summary): Use complete path of
12181 files. Generate files in build dir.
12182 (dir-add.texi): Build in build dir.
12183 (libm-err.texi,stamp-libm-err): Likewise.
12184 (version.texi, stamp-version): Likewise.
12185 (.%c.texi): Likewise.
12186 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12187 (mostlyclean): Remove target.
12188 (realclean): Remove target.
12189 (generated): Add new variable with contents from mostlyclean and
12190 realclean, remove entries duplicated in common-mostlyclean, add
12191 stamp-libm-err and stamp-version.
12192 (generated-dirs): Add libc directory.
12193 ($(inst_infodir)/libc.info): Install files from build dir.
12195 * manual/install.texi (Configuring and compiling): Adjust since
12196 the info files are not part of the tar ball anymore.
12198 2012-05-14 Andreas Jaeger <aj@suse.de>
12200 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12203 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12207 to 2.2.0 where earlier.
12208 * sysdeps/unix/sysv/linux/configure: Regenerated.
12209 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12210 Remove conditional code.
12211 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12213 Remove conditional code.
12214 [!__NR_lchown]: Likewise.
12215 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12216 [__NR_lchown]: Likewise.
12217 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12218 comment referencing __ASSUME_LCHOWN_SYSCALL.
12219 * sysdeps/unix/sysv/linux/i386/sigaction.c
12220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12222 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12223 Remove conditional code.
12224 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12225 (__protocol_available): Remove #if 0 code.
12226 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12228 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12229 * sysdeps/unix/sysv/linux/kernel-features.h
12230 (__ASSUME_GETCWD_SYSCALL): Don't define.
12231 (__ASSUME_REALTIME_SIGNALS): Likewise.
12232 (__ASSUME_PREAD_SYSCALL): Likewise.
12233 (__ASSUME_PWRITE_SYSCALL): Likewise.
12234 (__ASSUME_POLL_SYSCALL): Likewise.
12235 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12236 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12238 (__ASSUME_SIOCGIFNAME): Don't define.
12239 (__ASSUME_MSG_NOSIGNAL): Likewise.
12240 (__ASSUME_SENDFILE): Define unconditionally.
12241 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12242 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12244 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12246 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12247 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12249 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12250 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12276 Remove conditional code.
12277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12279 Remove conditional code.
12280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12282 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12283 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12284 Remove conditional code.
12285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12286 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12287 Remove conditional code.
12288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12289 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12290 Remove conditional code.
12291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12292 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12293 Remove conditional code.
12294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12296 Remove conditional code.
12297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sigaction.c
12302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sigpending.c
12305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/sigprocmask.c
12308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/sigsuspend.c
12311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12314 (__libc_missing_rt_sigs): Remove.
12315 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12316 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12317 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12318 Remove conditional code.
12319 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12320 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12322 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12323 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12324 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12325 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12327 2012-05-14 Andreas Jaeger <aj@suse.de>
12329 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12330 it's not used in glibc.
12331 (__coshm1): Likewise.
12332 (__acosh1p): Likewise.
12335 * manual/string.texi (Copying and Concatenation): Add missing
12336 variable in concat example.
12337 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12343 __builtin_clzl with __builtin_clzll.
12345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12348 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12351 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12353 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12354 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12355 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12358 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12360 * NEWS: Update ia64 info.
12362 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12364 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12367 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12369 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12370 * sysdeps/unix/syscalls.list (dup3): Likewise.
12371 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12372 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12374 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12376 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12377 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12379 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12381 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12383 (TLS_IE): Use mov/add instead of movq/addq to load thread
12385 (TLS_GD_PREFIX): New.
12388 2012-05-11 David S. Miller <davem@davemloft.net>
12390 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12391 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12392 (_FPU_SETCW): Likewise.
12394 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12396 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12397 is 32-byte aligned.
12399 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12402 * iconvdata/gb18030.c: Update tables.
12403 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12404 characters specially.
12405 (BODY for TO_LOOP): Add encoding of missing ranges.
12407 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12410 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12411 * sysdeps/mach/hurd/dup3.c: Likewise.
12412 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12413 * sysdeps/powerpc/memmove.c:: Likewise.
12415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12418 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12420 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12422 * elf/elf.h (R_X86_64_RELATIVE64): New.
12423 (R_X86_64_NUM): Updated.
12424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12425 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12426 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12427 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12428 tst-quad1pie tst-quad2pie
12429 (modules-names): Add tst-quadmod1 tst-quadmod2.
12430 ($(objpfx)tst-quad1): New dependency.
12431 ($(objpfx)tst-quad2): Likewise.
12432 ($(objpfx)tst-quad1pie): Likewise.
12433 ($(objpfx)tst-quad2pie): Likewise.
12434 * sysdeps/x86_64/tst-quad1.c: New file.
12435 * sysdeps/x86_64/tst-quad1pie.c: New file.
12436 * sysdeps/x86_64/tst-quad2.c: Likewise.
12437 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12438 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12439 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12440 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12441 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12445 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12446 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12447 * streams/stropts.h (t_scalar_t): Define type.
12449 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12450 (_PATH_PRESERVE): Set to "/var/lib".
12451 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12453 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12456 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12457 if __dir_mkfile succeeded.
12459 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12460 checking for _hurd_dtablesize. Unlock it right after having
12461 finished _hurd_dtable allocation.
12463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12465 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12466 * sysdeps/mach/hurd/configure: Regenerated.
12467 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12468 special-casing to...
12469 * sysdeps/gnu/configure.in: ... this new file.
12470 * sysdeps/unix/sysv/linux/configure: Regenerated.
12471 * sysdeps/gnu/configure: New generated file.
12473 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12474 for Linux: use nsec instead of usec, as well as:
12475 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12476 members of type struct timespec.
12477 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12479 (struct stat64): Likewise.
12480 (_STATBUF_ST_NSEC): New macro.
12481 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12483 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12484 __strtoul_internal rather than strtoul.
12486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12488 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12493 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12494 which preserves existing values.
12495 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12499 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12500 TIMEOUT values. Return EINVAL for NFDS values either negative or
12501 greater than FD_SETSIZE.
12503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12505 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12506 allocated, call __vm_protect to finish enabling the existing space, and
12507 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12508 allocate the remainder.
12510 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12512 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12513 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12517 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12518 sysdeps/mach/hurd/readlink.c.
12520 * posix/tst-sysconf.c (posix_options): Only use
12521 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12522 _POSIX_SYNCHRONIZED_IO when they are defined
12523 * sysdeps/mach/hurd/bits/posix_opt.h:
12524 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12525 (_XOPEN_REALTIME): Undefine macro.
12526 (_XOPEN_REALTIME_THREADS): Undefine macro.
12527 (_XOPEN_SHM): Undefine macro.
12528 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12530 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12532 (_POSIX_ASYNC_IO): Undefine macro.
12533 (_POSIX_PRIORITIZED_IO): Undefine macro.
12534 (_POSIX_SPIN_LOCKS): Define macro to -1.
12536 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12537 SA_NODEFER, SA_RESETHAND.
12538 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12539 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12544 * elf/Makefile (pldd-modules): Define unconditionally.
12546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12548 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12552 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12553 Return ENOENT when name is empty.
12554 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12558 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12560 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12564 Fix mlock in all cases except non-readable pages.
12565 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12566 instead of VM_PROT_ALL as parameter to __vm_wire function.
12568 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12569 (__mkdir): When path is `/', just fail with EEXIST.
12570 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12574 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12575 <sys/uio.h> (for writev).
12576 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12577 and <sys/param.h> (for MIN).
12579 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12581 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12582 REQUESTED_TIME. Properly set the remaining time and return EINTR
12585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12587 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12588 Depend on against $(link-rpcuserlibs).
12590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12592 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12593 (__libc_stack_end): Do not use attribute_relro.
12594 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12595 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12596 to libthread-provided value.
12597 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12603 * bits/libc-lock.h (__libc_once_get): New macro.
12604 * sysdeps/mach/bits/libc-lock.h: Likewise.
12605 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12607 instead of using implementation details.
12609 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12610 * libio/freopen.c: Likewise.
12611 * libio/freopen64.c: Likewise.
12612 * misc/syslog.c: Likewise.
12613 * nscd/connections.c: Likewise.
12614 * nscd/netgroupcache.c: Likewise.
12615 * sysdeps/posix/getcwd.c: Likewise.
12617 2012-05-10 Roland McGrath <roland@hack.frob.com>
12619 * math/w_ilogbf.c: Add #include <limits.h>.
12621 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12623 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12624 path instead of returning without unlocking.
12626 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12627 immediate-write ioctls.
12628 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12632 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12633 __builtin_frame_address instead of making assumptions about the
12634 location of the return address relative to DATA. Force early load of
12635 the return address.
12636 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12637 __builtin_frame_address.
12640 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12641 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12642 implement dup3 and do some further code clean-ups.
12643 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12644 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12648 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12650 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12651 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12652 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12653 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12654 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12657 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12658 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12659 when handler == SIG_ERR, not when handler != SIG_ERR.
12661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12663 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12664 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12667 accept4 for GNU Hurd.
12668 * include/sys/socket.h (__libc_accept4): New prototype.
12669 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12670 to implement __libc_accept4.
12671 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12675 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12676 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12677 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12678 signal-defines.sym.
12680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12682 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12686 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12687 assertion on O_CLOEXEC flag.
12688 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12689 * hurd/intern-fd.c: Likewise.
12690 * hurd/port2fd.c: Likewise.
12692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12695 * bits/in.h (IPV6_PKTINFO): Define new macro.
12696 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12698 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12705 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12709 * math/libm-test.inc (logb_test) : Additional logb tests.
12711 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12712 Andreas Jaeger <aj@suse.de>
12714 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12715 * configure: Regenerated.
12716 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12717 * config.make.in (link-obsolete-rpc): New substituted variable.
12718 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12719 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12720 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12721 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12722 so that libc.a contains the symbols.
12723 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12724 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12725 * sunrpc/auth_none.c: Likewise.
12726 * sunrpc/auth_unix.c: Likewise.
12727 * sunrpc/authdes_prot.c: Likewise.
12728 * sunrpc/authuxprot.c: Likewise.
12729 * sunrpc/clnt_gen.c: Likewise.
12730 * sunrpc/clnt_perr.c: Likewise.
12731 * sunrpc/clnt_raw.c: Likewise.
12732 * sunrpc/clnt_simp.c: Likewise.
12733 * sunrpc/clnt_tcp.c: Likewise.
12734 * sunrpc/clnt_udp.c: Likewise.
12735 * sunrpc/clnt_unix.c: Likewise.
12736 * sunrpc/des_crypt.c: Likewise.
12737 * sunrpc/des_soft.c: Likewise.
12738 * sunrpc/get_myaddr.c: Likewise.
12739 * sunrpc/key_call.c: Likewise.
12740 * sunrpc/key_prot.c: Likewise.
12741 * sunrpc/netname.c: Likewise.
12742 * sunrpc/pm_getmaps.c: Likewise.
12743 * sunrpc/pm_getport.c: Likewise.
12744 * sunrpc/pmap_clnt.c: Likewise.
12745 * sunrpc/pmap_prot.c: Likewise.
12746 * sunrpc/pmap_prot2.c: Likewise.
12747 * sunrpc/pmap_rmt.c: Likewise.
12748 * sunrpc/publickey.c: Likewise.
12749 * sunrpc/rpc_cmsg.c: Likewise.
12750 * sunrpc/rpc_common.c: Likewise.
12751 * sunrpc/rpc_dtable.c: Likewise.
12752 * sunrpc/rpc_prot.c: Likewise.
12753 * sunrpc/rpc_thread.c: Likewise.
12754 * sunrpc/rtime.c: Likewise.
12755 * sunrpc/svc.c: Likewise.
12756 * sunrpc/svc_auth.c: Likewise.
12757 * sunrpc/svc_raw.c: Likewise.
12758 * sunrpc/svc_run.c: Likewise.
12759 * sunrpc/svc_tcp.c: Likewise.
12760 * sunrpc/svc_udp.c: Likewise.
12761 * sunrpc/svc_unix.c: Likewise.
12762 * sunrpc/svcauth_des.c: Likewise.
12763 * sunrpc/xcrypt.c: Likewise.
12764 * sunrpc/xdr.c: Likewise.
12765 * sunrpc/xdr_array.c: Likewise.
12766 * sunrpc/xdr_float.c: Likewise.
12767 * sunrpc/xdr_intXX_t.c: Likewise.
12768 * sunrpc/xdr_mem.c: Likewise.
12769 * sunrpc/xdr_rec.c: Likewise.
12770 * sunrpc/xdr_ref.c: Likewise.
12771 * sunrpc/xdr_sizeof.c: Likewise.
12772 * sunrpc/xdr_stdio.c: Likewise.
12774 2012-05-10 Roland McGrath <roland@hack.frob.com>
12776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12777 change. Update copyright years.
12779 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12781 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12783 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12784 Joseph Myers <joseph@codesourcery.com>
12785 Paul Pluzhnikov <ppluzhnikov@google.com>
12788 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12790 [cross-compiling] (extra-libs): Likewise.
12791 [cross-compiling] (extra-libs-others): Likewise.
12792 [cross-compiling] (librpcsvc-routines): Likewise.
12793 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12794 [cross-compiling] (omit-deps): Likewise.
12795 (sunrpc-CPPFLAGS): New variable.
12796 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12797 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12798 (cross-rpcgen-objs): New variable.
12799 (extra-objs): Append $(cross-rpcgen-objs).
12800 ($(cross-rpcgen-objs)): New rule.
12801 ($(objpfx)cross-rpcgen): Likewise.
12802 (rpcgen-cmd): Define to use $(built-program-file). Expand
12804 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12805 ($(objpfx)x%.stmp): Likewise.
12806 * sunrpc/proto.h [IS_IN_build] (_): Define.
12807 [IS_IN_build] (_libc_intl_domainname): Likewise.
12809 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12812 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12813 and R_X86_64_TPOFF64.
12815 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12817 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12818 sysdeps/unix/sysv/syscalls.list.
12821 * sysdeps/unix/sysv/syscalls.list: Remove file.
12823 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12826 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12827 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12828 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12829 (__LC_IDENTIFICATION): Make these macros useful in #if
12830 expressions, as required by C99.
12832 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12834 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12835 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12838 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12840 * stdlib/longlong.h: Updated from GCC.
12842 2012-05-09 Andreas Jaeger <aj@suse.de>
12844 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12845 default is first entry.
12846 (run_mode): Set type.
12847 (main): Remove informal message about syslog.
12848 (options): Fix typo.
12851 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12854 (llrintf): Likewise.
12855 (llrint): Likewise.
12858 (nearbyint): Likewise.
12859 (nearbyintf): Likewise.
12861 2012-05-09 Andreas Jaeger <aj@suse.de>
12862 Pedro Alves <palves@redhat.com>
12864 * nscd/nscd.c (run_mode): Use enum.
12865 (main): Cleanup coding style issue.
12867 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12868 Andreas Jaeger <aj@suse.de>
12870 * nscd/nscd.c (go_background): Replaced with...
12871 (run_mode): ... this.
12872 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12873 (options): Add -F --foreground.
12874 (main): Implement it.
12875 (parse_opt): Parse it.
12877 2012-05-09 Andreas Jaeger <aj@suse.de>
12880 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12881 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12882 -Wconversion warning.
12883 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12886 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12888 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12890 (LC_ALL): Use macro-int-constant.
12891 (LC_COLLATE): Likewise.
12892 (LC_CTYPE): Likewise.
12893 (LC_MESSAGES): Likewise.
12894 (LC_MONETARY): Likewise.
12895 (LC_NUMERIC): Likewise.
12896 (LC_TIME): Likewise.
12897 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12898 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12900 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12902 [C99-based standards] (float_t): Expect type.
12903 [C99-based standards] (double_t): Expect type.
12904 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12906 [C99-based standards] (HUGE_VALL): Likewise.
12907 [C99-based standards] (INFINITY): Likewise.
12908 [C99-based standards] (NAN): Likewise.
12909 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12910 [C99-based standards] (FP_NAN): Likewise.
12911 [C99-based standards] (FP_NORMAL): Likewise.
12912 [C99-based standards] (FP_SUBNORMAL): Likewise.
12913 [C99-based standards] (FP_ZERO): Likewise.
12914 [C99-based standards] (FP_FAST_FMA): Use
12915 optional-macro-int-constant. Specify type. Require == 1.
12916 [C99-based standards] (FP_FAST_FMAF): Likewise.
12917 [C99-based standards] (FP_FAST_FMAL): Likewise.
12918 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12919 [C99-based standards] (FP_ILOGBNAN): Likewise.
12920 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12922 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12923 [C99-based standards] (math_errhandling): Specify type.
12924 [ISO99 || ISO11] (signgam): Do not allow.
12925 [non-C99-based standards] (copysignf): Do not allow.
12926 [non-C99-based standards] (exp2f): Likewise.
12927 [non-C99-based standards] (log2f): Likewise.
12928 [non-C99-based standards] (modff): Allow.
12929 [non-C99-based standards] (erff): Do not allow.
12930 [non-C99-based standards] (erfcf): Likewise.
12931 [non-C99-based standards] (gammaf): Likewise.
12932 [non-C99-based standards] (hypotf): Likewise.
12933 [non-C99-based standards] (j0f): Likewise.
12934 [non-C99-based standards] (j1f): Likewise.
12935 [non-C99-based standards] (jnf): Likewise.
12936 [non-C99-based standards] (lgammaf): Likewise.
12937 [non-C99-based standards] (tgammaf): Likewise.
12938 [non-C99-based standards] (y0f): Likewise.
12939 [non-C99-based standards] (y1f): Likewise.
12940 [non-C99-based standards] (ynf): Likewise.
12941 [non-C99-based standards] (isnanf): Likewise.
12942 [non-C99-based standards] (acoshf): Likewise.
12943 [non-C99-based standards] (asinhf): Likewise.
12944 [non-C99-based standards] (atanhf): Likewise.
12945 [non-C99-based standards] (cbrtf): Likewise.
12946 [non-C99-based standards] (expm1f): Likewise.
12947 [non-C99-based standards] (ilogbf): Likewise.
12948 [non-C99-based standards] (log1pf): Likewise.
12949 [non-C99-based standards] (logbf): Likewise.
12950 [non-C99-based standards] (nextafterf): Likewise.
12951 [non-C99-based standards] (remainderf): Likewise.
12952 [non-C99-based standards] (rintf): Likewise.
12953 [non-C99-based standards] (scalbf): Likewise.
12954 [non-C99-based standards] (copysignl): Likewise.
12955 [non-C99-based standards] (exp2l): Likewise.
12956 [non-C99-based standards] (log2l): Likewise.
12957 [non-C99-based standards] (modfl): Allow.
12958 [non-C99-based standards] (erfl): Do not allow.
12959 [non-C99-based standards] (erfcl): Likewise.
12960 [non-C99-based standards] (gammal): Likewise.
12961 [non-C99-based standards] (hypotl): Likewise.
12962 [non-C99-based standards] (j0l): Likewise.
12963 [non-C99-based standards] (j1l): Likewise.
12964 [non-C99-based standards] (jnl): Likewise.
12965 [non-C99-based standards] (lgammal): Likewise.
12966 [non-C99-based standards] (tgammal): Likewise.
12967 [non-C99-based standards] (y0l): Likewise.
12968 [non-C99-based standards] (y1l): Likewise.
12969 [non-C99-based standards] (ynl): Likewise.
12970 [non-C99-based standards] (isnanl): Likewise.
12971 [non-C99-based standards] (acoshl): Likewise.
12972 [non-C99-based standards] (asinhl): Likewise.
12973 [non-C99-based standards] (atanhl): Likewise.
12974 [non-C99-based standards] (cbrtl): Likewise.
12975 [non-C99-based standards] (expm1l): Likewise.
12976 [non-C99-based standards] (ilogbl): Likewise.
12977 [non-C99-based standards] (log1pl): Likewise.
12978 [non-C99-based standards] (logbl): Likewise.
12979 [non-C99-based standards] (nextafterl): Likewise.
12980 [non-C99-based standards] (remainderl): Likewise.
12981 [non-C99-based standards] (rintl): Likewise.
12982 [non-C99-based standards] (scalbl): Likewise.
12983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12984 [non-C99-based standards] (FP_*): Do not allow.
12985 [C99-based standards] (FP_*): Change to
12986 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12987 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12989 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12990 (SIG_ERR): Likewise.
12991 [X/Open-based standards] (SIG_HOLD): Likewise.
12992 (SIG_IGN): Likewise.
12993 (SIGABRT): Use macro-int-constant. Specify type. Require
12995 (SIGFPE): Likewise.
12996 (SIGILL): Likewise.
12997 (SIGINT): Likewise.
12998 (SIGSEGV): Likewise.
12999 (SIGTER): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13018 [X/Open-based standards] (SIGTRAP): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13023 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13026 2012-05-08 Ian Wienand <ianw@vmware.com>
13029 * time/tzset.c (__tzset_parse_tz): Update default rules for
13030 daylight time changes in the Energy Policy Act of 2005.
13032 2012-05-09 Andreas Jaeger <aj@suse.de>
13035 * elf/ldconfig.c (parse_conf): Change string to make clear that
13036 ldconfig only issued a warning if ld.so.conf does not exist.
13038 2012-05-08 David S. Miller <davem@davemloft.net>
13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13041 movxtod instead of popping the value on the stack.
13043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13045 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13047 * config.h.in: Add HAVE_ARM_PCS_VFP.
13049 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13052 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13053 checking but the checks are disabled for any reason.
13055 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13057 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13058 and ELF64_R_TYPE with ELFW(R_TYPE).
13060 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13062 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13063 (ulimit): Likewise.
13065 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13066 (settimeofday): Likewise.
13068 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13070 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13071 a struct th_u2 inside the union, and move tu_block/tu_code into
13072 a new th_u3 union of tu_block/tu_code inside of that. Move
13073 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13074 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13075 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13076 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13077 (th_stuff): Change to th_u1.tu_stuff.
13079 (th_msg): Change to th_u1.th_u2.tu_data.
13081 2012-05-07 David S. Miller <davem@davemloft.net>
13083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13086 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13087 (SETUP_PIC_REG): Use it.
13088 (SETUP_PIC_REG_LEAF): Use it.
13090 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13096 (EXPL_FINITE): Likewise.
13097 (FLDLOG): Likewise.
13098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13099 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13101 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13103 (EXPL_FINITE): Likewise.
13104 (FLDLOG): Likewise.
13105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13106 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13108 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13109 test of -max_value argument for long double.
13110 * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113 2012-05-06 David S. Miller <davem@davemloft.net>
13115 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13116 quad soft-float symbols whose references which are compiler
13118 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13120 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13126 (EXPL_FINITE): Likewise.
13127 (FLDLOG): Likewise.
13130 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13131 Adjust comments for base varying.
13132 (__expl_finite): Change alias to EXPL_FINITE.
13133 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13135 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13136 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13138 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13141 (EXPL_FINITE): Likewise.
13142 (FLDLOG): Likewise.
13145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13146 Adjust comments for base varying.
13147 (__expl_finite): Change alias to EXPL_FINITE.
13148 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13153 * math/libm-test.inc (check_float_internal): Correct ulp
13154 calculation for subnormal expected results.
13156 2012-05-06 Andreas Jaeger <aj@suse.de>
13158 * Makeconfig (+math-flags): New, set to -frounding-math.
13159 (+cflags): Add +math-flags so that all of glibc gets compiled with
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13164 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13166 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13172 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13173 (__ieee754_expl): Allow for and saturate large arguments.
13174 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13175 (u_threshold): Likewise.
13176 (__exp): Call __ieee754_exp before checking for overflow and
13178 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13179 (u_threshold): Likewise.
13180 (__expf): Call __ieee754_expf before checking for overflow and
13182 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13183 (u_threshold): Likewise.
13184 (__expl): Call __ieee754_expl before checking for overflow and
13186 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13187 (__ieee754_expl): Allow for and saturate large arguments.
13188 * math/libm-test.inc (exp_test): Add another test. Do not allow
13189 missing overflow exception on overflow.
13190 (expm1_test): Do not allow missing overflow exception on overflow.
13192 * sysdeps/i386/fpu/e_expl.c: Move to ...
13193 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13194 rather than using inline asm.
13195 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13196 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13197 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13199 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13202 (signal): Likewise.
13206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13208 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13209 sysdeps/unix/common/syscalls.list.
13210 (fchmod): Likewise.
13211 (fchown): Likewise.
13212 (ftruncate): Likewise.
13213 (getrusage): Likewise.
13214 (gettimeofday): Likewise.
13215 (setpgid): Likewise.
13216 (setregid): Likewise.
13217 (setreuid): Likewise.
13218 (sigaction): Likewise.
13219 (truncate): Likewise.
13220 (vhangup): Likewise.
13221 * sysdeps/unix/common/syscalls.list: Remove file.
13222 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13223 * sysdeps/unix/sysv/linux/Implies: Likewise.
13225 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13227 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13239 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13245 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13248 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13255 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13262 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13266 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13270 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13272 * sysdeps/unix/common/bits/dirent.h: Remove file.
13273 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13275 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13276 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13277 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13278 * sysdeps/unix/bsd/isatty.c: Likewise.
13279 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13280 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13281 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13283 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13287 long double comparison inaccuracies.
13288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13291 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13293 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13296 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13299 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13300 nonzero digits before rounding a hex value.
13301 * stdlib/tst-strtod.c (tests): Add another test.
13303 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13305 * sysdeps/s390/fpu/libm-test-ulps: Update.
13307 2012-05-03 Andreas Jaeger <aj@suse.de>
13309 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13310 does not get optimized out.
13311 (malloc_opt_barrier): New.
13313 2012-05-03 Andreas Jaeger <aj@suse.de>
13314 Roland McGrath <roland@hack.frob.com>
13316 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13317 intermediate file deletion.
13318 (generated): Add .symlist files.
13320 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13323 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13324 Redirect under this condition.
13325 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13326 [__USE_GNU] (__dprintf_chk): Not under this condition.
13327 [__USE_GNU] (__vdprintf_chk): Likewise.
13328 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13329 under this condition.
13330 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13331 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13332 [__USE_XOPEN2K8] (vdprintf): Likewise.
13333 [__USE_GNU] (__dprintf_chk): Not under this condition.
13334 [__USE_GNU] (__vdprintf_chk): Likewise.
13335 [__USE_GNU] (dprintf): Likewise.
13336 [__USE_GNU] (vdprintf): Likewise.
13338 2012-05-03 Roland McGrath <roland@hack.frob.com>
13340 * elf/Makefile (common-generated): Set this instead of generated for
13341 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13342 $(all-built-dso)-derived lists.
13344 2012-05-03 Andreas Jaeger <aj@suse.de>
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13349 * FAQ.in: Likewise.
13350 * scripts/gen-FAQ.pl: Likewise.
13351 * manual/install.texi (Installation): Point to online location of
13353 * Makefile (files-for-dist): Remove FAQ.
13356 2012-05-02 Allan McRae <allan@archlinux.org>
13358 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13359 (LDFLAGS-reldepmod5.so): Likewise.
13360 (LDFLAGS-reldep6mod1.so): Likewise.
13361 (LDFLAGS-reldep6mod4.so): Likewise.
13362 (LDFLAGS-reldep8mod3.so): Likewise.
13363 (LDFLAGS-unload4mod1.so): Likewise.
13364 (LDFLAGS-unload4mod2.so): Likewise.
13365 (LDFLAGS-tst-initorder): Likewise.
13366 (LDFLAGS-tst-initordera2.so): Likewise.
13367 (LDFLAGS-tst-initordera3.so): Likewise.
13368 (LDFLAGS-tst-initordera4.so): Likewise.
13369 (LDFLAGS-tst-initorderb2.so): Likewise.
13370 (LDFLAGS-noload): Likewise.
13371 (LDFLAGS-next): Likewise.
13372 (LDFLAGS-order2mod1.so): Likewise.
13373 (LDFLAGS-order2mod2.so): Likewise.
13374 (LDFLAGS-tst-initorder2): Likewise.
13375 (LDFLAGS-tst-initorder2a.so): Likewise.
13376 (LDFLAGS-tst-initorder2b.so): Likewise.
13377 (LDFLAGS-tst-initorder2c.so): Likewise.
13378 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13380 2012-05-02 David S. Miller <davem@davemloft.net>
13382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13384 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13387 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13389 2012-05-02 Andreas Jaeger <aj@suse.de>
13391 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13392 since we manipulate rounding mode.
13393 (CPPFLAGS-test-idouble.c): Likewise.
13394 (CPPFLAGS-test-ifloat.c): Likewise.
13395 (CFLAGS-test-ldouble.c): Likewise.
13396 (CFLAGS-test-double.c): Likewise.
13397 (CFLAGS-test-float.c): Likewise.
13398 (CFLAGS-test-misc.c): Likewise.
13399 (CFLAGS-test-test-fenv.c): Likewise.
13401 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13406 comparisons to determine direction to adjust input.
13408 2012-05-01 Roland McGrath <roland@hack.frob.com>
13410 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13411 output to the target.
13413 * scripts/localplt.awk: New file.
13414 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13415 (check-localplt-CFLAGS): Variable removed.
13416 ($(all-built-dso:=.jmprel)): New static pattern rule.
13417 (generated): Add those targets.
13418 (localplt-built-dso): New variable.
13419 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13421 * elf/check-localplt.c: File removed.
13423 * scripts/check-execstack.awk: New file.
13424 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13425 (check-execstack-CFLAGS): Variable removed.
13426 ($(objpfx)check-execstack.h): Target removed.
13427 ($(objpfx)execstack-default): New target.
13428 (generated): Add that instead of check-execstack.h.
13429 ($(all-built-dso:=.phdr)): New static pattern rule.
13430 (generated): Add those targets.
13431 * elf/check-execstack.c: File removed.
13433 * scripts/check-textrel.awk: New file.
13434 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13435 (check-textrel-CFLAGS): Variable removed.
13436 (all-built-dso): Use := to define.o
13437 ($(all-built-dso:=.dyn)): New static pattern rule.
13438 (generated): Add those targets.
13439 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13440 * config.make.in (READELF): New substituted variable.
13441 * elf/check-textrel.c: File removed.
13443 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13445 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13447 * conform/data/ctype.h-data [C99-based standards] (isblank):
13449 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13450 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13452 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13453 Specify type. Require positive value.
13454 (EILSEQ): Likewise.
13455 (ERANGE): Likewise.
13456 [ISO || POSIX] (EILSEQ): Do not expect.
13457 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13458 Specify type. Require positive value.
13459 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13525 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13526 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13533 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13534 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13535 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13537 (FLT_ROUNDS): Expect as macro, not constant.
13538 (FLT_MANT_DIG): Use macro-int-constant.
13539 (DBL_MANT_DIG): Likewise.
13540 (LDBL_MANT_DIG): Likewise.
13541 (FLT_DIG): Likewise.
13542 (DBL_DIG): Likewise.
13543 (LDBL_DIG): Likewise.
13544 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13545 (DBL_MIN_EXP): Likewise.
13546 (LDBL_MIN_EXP): Likewise.
13547 (FLT_MAX_EXP): Use macro-int-constant.
13548 (DBL_MAX_EXP): Likewise.
13549 (LDBL_MAX_EXP): Likewise.
13550 (FLT_MAX_10_EXP): Likewise.
13551 (DBL_MAX_10_EXP): Likewise.
13552 (LDBL_MAX_10_EXP): Likewise.
13553 (FLT_MAX): Use macro-constant.
13554 (DBL_MAX): Likewise.
13555 (LDBL_MAX): Likewise.
13556 (FLT_EPSILON): Use macro-constant. Give upper bound.
13557 (DBL_EPSILON): Likewise.
13558 (LDBL_EPSILON): Likewise.
13559 (FLT_MIN): Likewise.
13560 (DBL_MIN): Likewise.
13561 (LDBL_MIN): Likewise.
13562 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13563 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13564 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13565 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13566 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13567 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13568 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13569 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13570 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13571 [ISO11] (FLT_TRUE_MIN): Likewise.
13572 [ISO11] (LDBL_TRUE_MIN): Likewise.
13573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13574 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13575 (SCHAR_MIN): Use macro-int-constant. Specify type.
13576 (SCHAR_MAX): Likewise.
13577 (UCHAR_MAX): Likewise.
13578 (CHAR_MIN): Likewise.
13579 (CHAR_MAX): Likewise.
13580 (MB_LEN_MAX): Use macro-int-constant.
13581 (SHRT_MIN): Use macro-int-constant. Specify type.
13582 (SHRT_MAX): Likewise.
13583 (USHRT_MAX): Likewise.
13584 (INT_MAX): Likewise.
13585 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13587 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13589 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13591 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13592 bound negative. Suffix upper bound with "L".
13593 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13595 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13597 [C99-based standards] (LLONG_MAX): Likewise.
13598 [C99-based standards] (ULLONG_MAX): Likewise.
13599 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13601 [ISO11] (max_align_t): Require type.
13602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13604 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13605 from $CFLAGS, without defining away __attribute__ calls.
13606 (checknamespace): Use $CFLAGS_namespace.
13608 * conform/conformtest.pl (@keywords): Only include C99 keywords
13609 for standards based on C99 or C11.
13611 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13613 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13616 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13617 usability of symbols in #if.
13619 * conform/conformtest.pl: If macro or constant types start
13620 "promoted:", expect the symbol to be of the following type
13621 promoted by the integer promotions.
13623 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13624 in one place. Also handle "macro-constant".
13626 * conform/conformtest.pl: Only accept expected macro values with
13627 "==". Parse all "macro" lines in one place.
13628 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13630 * conform/conformtest.pl: Handle braced types on "constant" lines
13631 instead of handling "typed-constant".
13632 * conform/data/signal.h-data: Use "constant" instead of
13635 * conform/conformtest.pl: Handle "optional-" at start of lines in
13636 one place rather than duplicating several cases. Handle each
13637 format of "macro" line with initial "optional-".
13639 * conform/conformtest.pl: Only accept expected constant or
13640 optional-constant values with "==". Parse all "constant" lines in
13641 one place. Parse all "optional-constant" lines in one place.
13642 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13643 * conform/data/fmtmsg.h-data: Likewise.
13644 * conform/data/netinet/in.h-data: Likewise.
13645 * conform/data/tar.h-data: Likewise.
13646 * conform/data/limits.h-data: Use "==" form on "constant" and
13647 "optional-constant" lines.
13649 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13650 Use -std=c99 for XOPEN2K.
13651 (@knownproblems): Remove.
13652 (newtoken): Don't check %isknown.
13654 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13655 Do not expect macro.
13656 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13668 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13669 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13686 [XPG3] (acosh): Likewise.
13687 [XPG3] (asinh): Likewise.
13688 [XPG3] (atanh): Likewise.
13689 [XPG3] (cbrt): Likewise.
13690 [XPG3] (expm1): Likewise.
13691 [XPG3] (ilogb): Likewise.
13692 [XPG3] (log1p): Likewise.
13693 [XPG3] (logb): Likewise.
13694 [XPG3] (nextafter): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13697 [XPG3] (remainder): Likewise.
13698 [XPG3] (rint): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13706 [UNIX98 || XOPEN2K] (scalb): Expect.
13707 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13708 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13836 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13837 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13838 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13840 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13841 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13842 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13843 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13845 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13846 _XOPEN_SOURCE_EXTENDED for XPG4.
13848 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13850 * Makeconfig (localtime): Remove variable.
13851 (inst_localtime-file): Likewise.
13853 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13874 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13878 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13879 comparisons to determine direction to adjust input.
13880 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13881 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13891 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13893 * math/libm-test.inc (nexttoward_test): Add more tests.
13895 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13899 in version GLIBC_2.1, not GLIBC_2.0.
13900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13903 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13906 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13909 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13910 * math/libm-test.inc (acos_test): Add more tests.
13911 (asin_test): Likewise.
13912 * sysdeps/i386/fpu/libm-test-ulps: Update.
13913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13916 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13918 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13919 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13920 * math/libm-test.inc (acos_test_tonearest): New function.
13921 (acos_test_towardzero): Likewise.
13922 (acos_test_downward): Likewise.
13923 (acos_test_upward): Likewise.
13924 (asin_test_tonearest): Likewise.
13925 (asin_test_towardzero): Likewise.
13926 (asin_test_downward): Likewise.
13927 (asin_test_upward): Likewise.
13928 (main): Call the new functions.
13929 * sysdeps/i386/fpu/libm-test-ulps: Update.
13930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13934 * math/e_exp10.c: Include <float.h>.
13935 (__ieee754_exp10): Handle underflow here rather than multiplying
13936 large negative argument by M_LN10.
13937 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13939 * math/e_exp10l.c: Include <float.h>.
13940 (__ieee754_exp10l): Handle underflow here rather than multiplying
13941 large negative argument by M_LN10l.
13942 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13943 spurious overflow exception on underflow.
13945 2012-04-29 Marek Polacek <polacek@redhat.com>
13947 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13948 (__fortify_function): New macro.
13949 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13950 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13951 __extern_always_inline.
13952 * libio/bits/stdio2.h: Likewise.
13953 * libio/bits/stdio.h: Likewise.
13954 * string/string.h: Likewise.
13955 * string/bits/string3.h: Likewise.
13956 * include/stdio.h: Likewise.
13957 * stdlib/bits/stdlib.h: Likewise.
13958 * stdlib/stdlib.h: Likewise.
13959 * rt/bits/mqueue2.h: Likewise.
13960 * rt/mqueue.h: Likewise.
13961 * posix/bits/unistd.h: Likewise.
13962 * posix/unistd.h: Likewise.
13963 * io/bits/poll2.h: Likewise.
13964 * io/bits/fcntl2.h: Likewise.
13965 * io/fcntl.h: Likewise.
13966 * io/sys/poll.h: Likewise.
13967 * misc/bits/syslog.h: Likewise.
13968 * misc/bits/syslog-ldbl.h: Likewise.
13969 * misc/sys/syslog.h: Likewise.
13970 * socket/bits/socket2.h: Likewise.
13971 * socket/sys/socket.h: Likewise.
13972 * debug/tst-chk1.c: Likewise.
13973 * wcsmbs/bits/wchar2.h: Likewise.
13974 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13975 * wcsmbs/wchar.h: Likewise.
13977 2012-04-29 Andreas Jaeger <aj@suse.de>
13979 * Makerules (tests): Remove enable-check-abi protection.
13980 (check-abi-warn): Remove.
13981 (check-abi-%): Remove check-abi-warn usage.
13983 * configure.in: Remove check-abi configure option.
13984 * configure: Regenerated.
13985 * config.make.in (enable-check-abi): Remove.
13987 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13990 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13991 double functions to double *_finite functions.
13994 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13995 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13997 * stdio-common/Makefile (tests): Add tst-sprintf3.
13998 * stdio-common/tst-sprintf3.c: New file.
14000 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14001 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14003 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14005 * conform/conformtest.pl: Remove duplicate typed-constant
14008 2012-04-28 David S. Miller <davem@davemloft.net>
14010 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14011 (check-abi-%): Remove AWK script prerequisite and explicit
14013 (check-abi): Rewrite to just diff the symlist with the abilist.
14014 (config-tls, config-abi-config): Delete, no longer used.
14015 (update-abi-%): Remove AWK script and explicit abilist directory.
14016 (update-abi): Rewrite to simply compare and conditionally copy the
14017 symlist and the sysdep abilist file. Remove update-abi-config
14019 * abilist/ld.abilist: Remove.
14020 * abilist/libBrokenLocale.abilist: Remove.
14021 * abilist/libanl.abilist: Remove.
14022 * abilist/libcrypt.abilist: Remove.
14023 * abilist/libdl.abilist: Remove.
14024 * abilist/librt.abilist: Remove.
14025 * abilist/libthread_db.abilist: Remove.
14026 * abilist/libutil.abilist: Remove.
14027 * scripts/extract-abilist.awk: Remove.
14028 * scripts/merge-abilist.awk: Remove.
14029 * sysdeps/generic/libcidn.abilist: New file.
14030 * sysdeps/generic/libnss_compat.abilist: New file.
14031 * sysdeps/generic/libnss_db.abilist: New file.
14032 * sysdeps/generic/libnss_dns.abilist: New file.
14033 * sysdeps/generic/libnss_files.abilist: New file.
14034 * sysdeps/generic/libnss_hesiod.abilist: New file.
14035 * sysdeps/generic/libnss_nis.abilist: New file.
14036 * sysdeps/generic/libnss_nisplus.abilist: New file.
14037 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14039 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14042 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14043 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14044 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14045 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14046 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14047 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14048 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14049 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14051 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14053 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14056 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14057 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14059 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14060 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14061 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14063 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14064 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14065 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14067 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14170 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14175 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14176 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14178 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14179 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14180 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14181 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14182 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14183 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14235 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14237 * conform/conformtest.pl: Fix typo in handling typed-constant from
14240 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14242 * README: Cut down references to pre-2.6 Linux kernels and
14243 Linuxthreads. Update lists of configurations in libc and ports
14244 and sort alphabetically. Say "or newer" with Linux kernel version
14247 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14249 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14252 * math/libm-test.inc (logb_test_downward): New test to expose
14253 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14256 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14259 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14261 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14262 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14264 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14266 * sysdeps/unix/i386/brk.S: Remove file.
14267 * sysdeps/unix/i386/dl-brk.S: Likewise.
14268 * sysdeps/unix/i386/pipe.S: Likewise.
14269 * sysdeps/unix/i386/sigreturn.S: Likewise.
14270 * sysdeps/unix/i386/syscall.S: Likewise.
14271 * sysdeps/unix/i386/vfork.S: Likewise.
14272 * sysdeps/unix/i386/wait.S: Likewise.
14274 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14275 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14277 * configure.in (arm*-none*): Do not allow without
14278 --enable-hacker-mode.
14279 (netbsd*): Remove case setting base_os.
14280 (386bsd*): Likewise.
14281 (freebsd*): Likewise.
14284 (sunos*): Likewise.
14285 (ultrix*): Likewise.
14286 (newsos*): Likewise.
14287 (dynix*): Likewise.
14293 (minix*): Likewise.
14294 (irix4*): Likewise.
14295 (irix6*): Likewise.
14296 (solaris[2-9]*): Likewise.
14298 * configure: Regenerated.
14300 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14304 overflow or cancellation in calculating denominator.
14305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14307 down expression to avoid unexpected rounding in newer GCCs.
14308 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14310 2012-04-26 David S. Miller <davem@davemloft.net>
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14313 long-double compat symbols.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14328 2012-04-25 David S. Miller <davem@davemloft.net>
14330 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14331 HWCAP_* values only after the memory barriers have been defined.
14332 (atomic_full_barrier): Define.
14333 (atomic_read_barrier): Define.
14334 (atomic_write_barrier): Define.
14336 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14338 * shlib-versions: Add libgcc_s version information.
14339 * sysdeps/generic/libgcc_s.h: Remove.
14340 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14342 * sysdeps/gnu/unwind-resume.c: Likewise.
14343 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14345 2012-04-25 David S. Miller <davem@davemloft.net>
14347 * sysdeps/unix/sparc/brk.S: Delete.
14348 * sysdeps/unix/sparc/dl-brk.S: Delete.
14349 * sysdeps/unix/sparc/pipe.S: Delete.
14350 * sysdeps/unix/sparc/sysdep.S: Delete.
14351 * sysdeps/unix/sparc/sysdep.h: Delete.
14352 * sysdeps/unix/sparc/vfork.S: Delete.
14353 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14354 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14356 ret_ERRVAL, r0, r1, MOVE): Define.
14357 (JUMPTARGET): Remove.
14358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14359 sysdeps/unix/sparc/sysdep.h
14360 (ENTRY, END): Remove.
14361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14363 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14365 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14366 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14369 * timezone/README: Update upstream location and email address for
14371 * timezone/zdump.c: Update from tzcode 2012b.
14372 * timezone/zic.c: Likewise.
14374 * configure.in (libc_cv_as_needed): Remove test.
14375 * configure: Regenerated.
14376 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14377 conditional definition.
14378 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14379 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14380 * config.make.in (have-as-needed): Remove variable.
14382 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14383 Paul Pluzhnikov <ppluzhnikov@google.com>
14385 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14388 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14390 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14391 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14392 * sysdeps/sh/strlen.S: Likewise.
14394 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14396 * sysdeps/unix/fork.S: Remove file.
14397 * sysdeps/unix/i386/fork.S: Likewise.
14398 * sysdeps/unix/sparc/fork.S: Likewise.
14400 * sysdeps/unix/system.c: Remove file.
14401 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14403 * sysdeps/unix/getegid.S: Remove file.
14404 * sysdeps/unix/geteuid.S: Likewise.
14406 2012-04-24 Roland McGrath <roland@hack.frob.com>
14408 * scripts/check-localplt.awk: New file.
14409 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14411 * scripts/data/localplt-generic.data: Add a comment.
14413 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14414 NODE when __dir_mkfile failed.
14415 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14416 Reported by Ludovic Courtès <ludo@gnu.org>.
14418 2012-04-24 Andreas Jaeger <aj@suse.de>
14420 * Makerules (common-clean): Also remove gen-as-const-headers
14423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14425 * Makerules (native-compile): Do not change working directory for
14426 build. Use $(OUTPUT_OPTION) in command.
14427 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14429 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14432 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14433 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14434 * math/libm-test.inc (floor_test): Add more tests.
14435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14437 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14439 * sysdeps/unix/getdents.c: Remove file.
14440 * sysdeps/unix/sysv/getdents.c: Likewise.
14441 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14443 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14444 sysdeps/unix/mman/syscalls.list.
14446 (mprotect): Likewise.
14448 (munmap): Likewise.
14449 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14450 * sysdeps/unix/mman/syscalls.list: Remove.
14451 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14453 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14454 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14455 * configure: Regenerated.
14456 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14457 $(libgcc_s_suffix).
14458 * config.make.in (libgcc_s_suffix): Remove variable.
14460 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14462 * sysdeps/unix/sysv/gethostname.c: Move to ...
14463 * sysdeps/posix/gethostname.c: ... here.
14465 * sysdeps/unix/execve.S: Remove file.
14467 * sysdeps/unix/_exit.S: Remove file.
14469 2012-04-23 Andreas Jaeger <aj@suse.de>
14472 * manual/Makefile: Remove make dist support, there's no
14473 need for a stand-alone documentation tar ball.
14474 (TEXI2DVI): Define always, it's not in Makeconfig.
14477 (edition): Removed.
14478 (glibc-doc-$(edition).tar): Removed
14482 (ETAGS): Remove, it's in Makeconfig.
14483 (move-if-change): Remove, it's in Makeconfig.
14485 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14488 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14489 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14490 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14491 (strtod_l, strtof_l, strtold_l): Remove __wur.
14492 It is not necessarily an error to ignore strtol's return value.
14493 One can reliably look at the stored endptr to decide whether
14494 the number had valid syntax.
14496 2012-04-21 Andreas Jaeger <aj@suse.de>
14499 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14501 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14503 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14504 * sysdeps/unix/sysv/Versions: Remove file.
14506 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14511 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14515 version from __vm86.
14517 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14519 * sysdeps/unix/common/lxstat.c: Remove file.
14520 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14522 * sysdeps/unix/sysv/Makefile: Remove file.
14524 * sysdeps/unix/sysv/direct.h: Remove file.
14526 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14527 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14528 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14529 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14530 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14531 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14532 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14534 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14536 * sysdeps/unix/xmknod.c: Remove file.
14537 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14539 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14541 * sysdeps/unix/sysv/i386/time.S: Remove file.
14543 * sysdeps/unix/fxstat.c: Remove file.
14544 * sysdeps/unix/xstat.c: Likewise.
14545 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14547 * sysdeps/unix/sysv/sigaction.c: Remove file.
14549 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14550 (sysdep_headers): Remove variable.
14551 [termio.h not in sysdep_headers] (generated): Likewise.
14552 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14553 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14554 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14555 * sysdeps/unix/sysv/tcflow.c: Likewise.
14556 * sysdeps/unix/sysv/tcflush.c: Likewise.
14557 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14558 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14559 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14560 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14561 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14563 * sysdeps/unix/siglist.c: Remove file.
14565 * sysdeps/unix/getppid.S: Remove file.
14567 * sysdeps/unix/mkdir.c: Remove file.
14568 * sysdeps/unix/rmdir.c: Likewise.
14570 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14572 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14575 errlist-compat value.
14577 2012-04-18 David S. Miller <davem@davemloft.net>
14579 * sysdeps/generic/memcopy.h (reg_char): Delete.
14580 * debug/strcat_chk.c: Use char, not reg_char.
14581 * debug/strcpy_chk.c: Likewise.
14582 * debug/strncat_chk.c: Likewise.
14583 * debug/strncpy_chk.c: Likewise.
14584 * string/memchr.c: Likewise.
14585 * string/memrchr.c: Likewise.
14586 * string/rawmemchr.c: Likewise.
14587 * string/strcat.c: Likewise.
14588 * string/strchr.c: Likewise.
14589 * string/strchrnul.c: Likewise.
14590 * string/strcmp.c: Likewise.
14591 * string/strcpy.c: Likewise.
14592 * string/strncat.c: Likewise.
14593 * string/strncmp.c: Likewise.
14594 * string/strncpy.c: Likewise.
14596 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14598 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14599 __builtin_memcopy is called when src and dest ranges are known to not
14602 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14605 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14606 fwd_align_merge macro call.
14607 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14608 bwd_align_merge macro call.
14609 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14614 bwd_align_merge macros.
14615 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14616 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14619 2012-04-18 David S. Miller <davem@davemloft.net>
14621 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14623 2012-04-18 Andreas Jaeger <aj@suse.de>
14626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14627 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14631 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14634 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14635 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14636 Adjust for changed ldbl-128 files.
14638 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14639 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14640 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14642 2012-04-17 David S. Miller <davem@davemloft.net>
14644 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14646 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14648 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14649 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14650 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14651 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14655 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14658 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14659 * math/libm-test.inc: Add ilogb errno and exception tests.
14660 * math/w_ilogb.c: New file: ilogb wrapper.
14661 * math/w_ilogbf.c: New file: ilogbf wrapper.
14662 * math/w_ilogbl.c: New file: ilogbl wrapper.
14663 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14664 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14665 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14666 exception being thrown with 0.0 as argument.
14667 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14668 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14669 exception being thrown with 0.0 as argument.
14670 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14671 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14672 exception being thrown with 0.0 as argument.
14673 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14674 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14675 exception being thrown with 0.0 as argument.
14676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14677 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14679 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14680 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14681 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14682 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14683 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14684 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14686 2012-04-17 Petr Baudis <pasky@ucw.cz>
14688 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14691 2012-04-16 Marek Polacek <polacek@redhat.com>
14693 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14695 2012-04-16 Marek Polacek <polacek@redhat.com>
14697 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14698 operands of fdivp instruction.
14700 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14702 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14703 * elf/tst-auditmod3b.c: Likewise.
14704 * elf/tst-auditmod4b.c: Likewise.
14705 * elf/tst-auditmod5b.c: Likewise.
14706 * elf/tst-auditmod6b.c: Likewise.
14707 * elf/tst-auditmod6c.c: Likewise.
14708 * elf/tst-auditmod7b.c: Likewise.
14709 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14710 * sysdeps/x86_64/preconfigure.in: Likewise.
14711 * sysdeps/x86_64/preconfigure: Regenerated.
14713 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14718 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14721 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14723 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14726 * locale/iso-639.def: Fix gl language name. Spotted by
14729 2012-04-12 Roland McGrath <roland@hack.frob.com>
14732 * libio/libio.h (__io_write_fn): Update comment.
14734 2012-04-12 Petr Baudis <pasky@ucw.cz>
14737 * stdio.texi (Hook Functions): The user provided writer function
14738 is not allowed to return -1.
14740 2012-04-11 David S. Miller <davem@davemloft.net>
14742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14744 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14746 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14747 Add a leading slash to rtkaio.
14749 2012-04-11 Jim Meyering <meyering@redhat.com>
14752 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14753 It is not necessarily an error to ignore fwrite's return
14754 value. One can reliably use ferror to test for errors after
14757 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14759 * bits/types.h (__snseconds_t): New type.
14760 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14762 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14764 (__SNSECONDS_T_TYPE): Likewise.
14765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14766 (__SNSECONDS_T_TYPE): Likewise.
14767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14768 (__SNSECONDS_T_TYPE): Likewise.
14770 2012-04-10 Andreas Jaeger <aj@suse.de>
14773 * manual/time.texi (Processor Time): Return type of times is
14774 elapsed real time since an arbitrary point in the past.
14775 (CPU Time): Move CLK_TCK from here...
14776 (Processor Time): ...to here. Correct description.
14777 * manual/conf.texi (Constants for Sysconf): Correct description of
14780 2012-04-10 David S. Miller <davem@davemloft.net>
14783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14784 where the is a gap between DT_REL(A) and DT_JMPREL.
14786 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14788 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14789 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14790 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14792 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14795 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14796 (dl_main): Handle --inhibit-cache.
14797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14799 * elf/dl-load.c (_dl_map_object): Use it.
14800 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14802 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14805 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14806 (__ieee754_powl): Saturate large exponents rather than testing for
14807 overflow of y*log2(x).
14808 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14809 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14813 * math/s_ctan.c: Include <float.h>.
14814 (__ctan): Avoid internal overflow or cancellation in calculating
14816 * math/s_ctanf.c: Likewise.
14817 * math/s_ctanl.c: Likewise.
14818 * math/s_ctanh.c: Likewise.
14819 * math/s_ctanhf.c: Likewise.
14820 * math/s_ctanhl.c: Likewise.
14821 * math/libm-test.inc (ctan_test): Add more tests.
14822 (ctanh_test): Likewise.
14823 * sysdeps/i386/fpu/libm-test-ulps: Update.
14824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14826 2012-04-09 Andreas Jaeger <aj@suse.de>
14829 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14830 is an optional BSD extension.
14833 * manual/stdio.texi (Opening Streams): Document additional fopen
14836 2012-04-09 Roland McGrath <roland@hack.frob.com>
14838 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14839 %eax without telling the compiler.
14841 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14844 * manual/install.texi: Use sourceware.org.
14846 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14849 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14850 (__ieee754_pow): Generate overflow and underflow using huge*huge
14851 and tiny*tiny rather than just returning constant infinity or zero
14852 for large exponents.
14853 * math/libm-test.inc (pow_test): Require overflow exceptions for
14854 applicable cases of large exponents.
14857 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14858 (__ieee754_pow): Use iterative multiplication algorithm only for
14859 integer exponents with absolute value below 1024. Check for odd
14860 integer exponents when using algorithm for real exponents.
14861 * math/libm-test.inc (pow_test): Add more tests.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14864 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14867 * math/libm-test.inc (exp_test): Do not allow overflow exception
14870 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14873 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14874 instead of __kernel_standard_f.
14876 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14878 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14879 * sysdeps/x86_64/memset_chk.S: Likewise.
14881 2012-04-08 Andreas Jaeger <aj@suse.de>
14884 * manual/startup.texi (Environment Access): Describe return value
14885 for putenv and setenv.
14888 * manual/filesys.texi (Directory Entries): Add description for
14892 * manual/filesys.texi (Directory Entries): Clarify that it's file
14893 system not operating system in the description of DT_UNKNOWN.
14896 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14898 2012-04-08 Stephen Compall <s11@member.fsf.org>
14901 * manual/llio.texi (Opening and Closing Files): Add cross
14902 reference to explain mode argument.
14904 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14906 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14907 * sysdeps/x86_64/memset_chk.S: Likewise.
14909 2012-04-07 David S. Miller <davem@davemloft.net>
14911 * elf/elf.h (R_SPARC_WDISP10): Define.
14912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14915 R_SPARC_SIZE64 and R_SPARC_H34.
14917 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14919 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14920 conditions and remove no longer applicable assertion.
14922 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14924 * bits/byteswap.h: Include <features.h>.
14925 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14926 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14928 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14930 * bits/byteswap.h (__bswap_16): Removed.
14931 Include <bits/byteswap-16.h> to get __bswap_16.
14932 * sysdeps/i386/bits/byteswap.h: Likewise.
14933 * sysdeps/s390/bits/byteswap.h: Likewise.
14934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14935 * bits/byteswap-16.h: New file.
14936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14937 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14938 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14939 * string/Makefile (headers): Add bits/byteswap-16.h.
14941 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14944 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14946 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14947 * nss/tst-nss-static.c: New.
14949 2012-04-06 Robert Millan <rmh@gnu.org>
14952 * manual/llio.texi (File Position Primitive): lseek
14953 refers to WHENCE when it really means OFFSET.
14955 2012-04-06 Andreas Jaeger <aj@suse.de>
14957 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14958 strncmp declarations.
14960 * abilist/libc.abilist: Add __poll and __ppoll.
14962 2012-04-05 David S. Miller <davem@davemloft.net>
14964 * scripts/check-local-headers.sh: Accept a host triplet in the
14965 path matched by the exclude regexp.
14967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14969 * sysdeps/powerpc/powerpc32/dl-machine.h
14970 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14971 * sysdeps/s390/s390-32/dl-machine.h
14972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14973 * sysdeps/sparc/sparc32/dl-machine.h
14974 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14975 * sysdeps/sparc/sparc64/dl-machine.h
14976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14978 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14980 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14981 undefined symbol errors.
14983 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14986 2012-04-05 Michael Matz <matz@suse.de>
14989 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14991 2012-04-05 Andreas Jaeger <aj@suse.de>
14994 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15000 which ROUND is no valid rounding mode.
15002 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15006 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15008 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15010 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15011 an exception using FPU order intentionally.
15013 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15015 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15016 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15017 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15018 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15020 2012-04-05 Simon Josefsson <simon@josefsson.org>
15023 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15024 EINVAL when BUFLEN is too smal.
15026 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15029 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15030 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15032 2012-04-03 Andreas Jaeger <aj@suse.de>
15035 * manual/setjmp.texi (System V contexts): Fix sentence.
15038 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15039 New macro for this case.
15040 [!__GNUC__] (__bswap_64): New inline function for this case.
15041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15042 * bits/byteswap.h: Likewise.
15043 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15044 ull, guard with __GLIBC_HAVE_LONG_LONG.
15046 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15047 __GLIBC_HAVE_LONG_LONG.
15049 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15050 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15052 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15055 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15056 inptr and inend, rather than using last_ch.
15058 2012-04-02 David S. Miller <davem@davemloft.net>
15060 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15061 * stdio-common/printf-parse.h (read_int): Change return type to
15062 'int', return -1 on INT_MAX overflow.
15063 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15064 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15065 overflows INT_MAX. Check for overflow of in-format-string precision
15066 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15067 SIZE_MAX not INT_MAX for integer overflow test.
15068 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15069 skip the construct in the format string but do not record anything.
15070 * stdio-common/bug22.c: Adjust to test both width/prevision
15071 INT_MAX overflow as well as total length INT_MAX overflow. Check
15072 explicitly for proper errno values.
15074 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15076 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15078 * string/test-strcmp.c [! WIDE]: Likewise.
15079 * time/tst-mktime2.c: Likewise for INT_MAX.
15080 * string/test-string.h: #include <sys/param.h> for MIN.
15082 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15083 * sysdeps/i386/init-first.c (init): Likewise.
15084 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15085 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15086 * sysdeps/sh/init-first.c (init): Likewise.
15088 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15090 * po/ru.po: Update from translation team.
15091 * po/vi.po: Likewise.
15093 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15095 * resolv/nss_dns/dns-host.c: Merge copyright years.
15097 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15100 Optimize memcpy with prefetch if
15101 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15102 src, dst pointers have unequal 16 byte alignments.
15104 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15107 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15108 from a CNAME entry and return the minimum ttl for the query.
15109 (gaih_getanswer_slice): Likewise.
15111 2012-03-30 Jeff Law <law@redhat.com>
15113 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15115 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15116 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15118 * resolv/nss_dns/dns-host.c: Update copyright year.
15120 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15122 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15123 requests to save a system call. Fix check that all bytes are sent.
15125 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15126 comments for sendmmsg.
15128 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15131 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15132 with only 1 character between 0x0041 and 0x01b0.
15133 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15134 * wcsmbs/tst-mbsnrtowcs.c: New file.
15136 2012-03-29 David S. Miller <davem@davemloft.net>
15138 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15139 small copies by hand.
15141 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15144 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15145 _nss_compat_initgroups_dyn): Fall back to malloc/free
15146 for large group memberships.
15148 2012-03-28 David S. Miller <davem@davemloft.net>
15150 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15151 that branches into memcpy.
15152 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15155 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15158 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15159 implementation too.
15160 * sysdeps/sparc/mempcpy.S: New file.
15162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15163 the IFUNC routine in the libc case.
15164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15166 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15167 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15168 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15169 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15170 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15171 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15172 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15173 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15175 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15176 loop to 256 bytes instead of 64 bytes and fix test signedness.
15178 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15179 * sysdeps/sparc/sparc32/Makefile: rather than here...
15180 * sysdeps/sparc/sparc64/Makefile: and here.
15182 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15184 * malloc/mallocbug.c: Avoid warnings about unused variables.
15186 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15189 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15190 in the right place. Discard and retry query if response is
15191 larger than input buffer size.
15193 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15198 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15199 x for large integer exponent.
15200 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15201 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15202 sign of result as needed afterwards.
15203 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15205 result for underflowing pow the same as for overflow.
15206 (__kernel_standard_l): Handle powl overflow and underflow here
15207 rather than calling __kernel_standard.
15208 * math/libm-test.inc (pow_test): Add more tests.
15223 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15224 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15225 (__kernel_standard_l): New function.
15226 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15228 * math/w_acosl.c (__acosl): Likewise.
15229 * math/w_asinl.c (__asinl): Likewise.
15230 * math/w_atan2l.c (__atan2l): Likewise.
15231 * math/w_atanhl.c (__atanhl): Likewise.
15232 * math/w_coshl.c (__coshl): Likewise.
15233 * math/w_exp10l.c (__exp10l): Likewise.
15234 * math/w_exp2l.c (__exp2l): Likewise.
15235 * math/w_fmodl.c (__fmodl): Likewise.
15236 * math/w_hypotl.c (__hypotl): Likewise.
15237 * math/w_j0l.c (__j0l, __y0l): Likewise.
15238 * math/w_j1l.c (__j1l, __y1l): Likewise.
15239 * math/w_jnl.c (__jnl, __ynl): Likewise.
15240 * math/w_lgammal.c (__lgammal): Likewise.
15241 * math/w_log10l.c (__log10l): Likewise.
15242 * math/w_log2l.c (__log2l): Likewise.
15243 * math/w_logl.c (__logl): Likewise.
15244 * math/w_powl.c (__powl): Likewise.
15245 * math/w_remainderl.c (__remainderl): Likewise.
15246 * math/w_scalbl.c (sysv_scalbl): Likewise.
15247 * math/w_sinhl.c (__sinhl): Likewise.
15248 * math/w_sqrtl.c (__sqrtl): Likewise.
15249 * math/w_tgammal.c (__tgammal): Likewise.
15250 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15251 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15252 * math/libm-test.inc (acos_test): Add more tests.
15253 (acosh_test): Likewise.
15254 (asin_test): Likewise.
15255 (atanh_test): Likewise.
15256 (exp_test): Likewise.
15257 (exp10_test): Likewise.
15258 (exp2_test): Likewise.
15259 (expm1_test): Likewise.
15260 (lgamma_test): Likewise.
15261 (log_test): Likewise.
15262 (log10_test): Likewise.
15263 (log1p_test): Likewise.
15264 (log2_test): Likewise.
15265 (pow_test): Do not allow some spurious overflow exceptions.
15266 (sqrt_test): Add more tests.
15267 (tgamma_test): Likewise.
15268 (y0_test): Likewise.
15269 (y1_test): Likewise.
15270 (yn_test): Likewise.
15272 2012-03-27 Anton Blanchard <anton@samba.org>
15274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15277 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15280 2012-03-27 David S. Miller <davem@davemloft.net>
15282 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15284 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15285 have-as-vis3 check.
15287 2012-03-27 Andreas Jaeger <aj@suse.de>
15289 * sysdeps/x86_64/elf/configure.in: Moved to ...
15290 * sysdeps/x86_64/configure.in: ... here.
15291 * sysdeps/x86_64/elf/start.S: Moved to ...
15292 * sysdeps/x86_64/start.S: ... here.
15293 * sysdeps/x86_64/elf/configure: Delete.
15295 * sysdeps/x86_64/configure.in: Merge contents from
15296 sysdeps/i386/configure.in (without i686 check).
15298 * sysdeps/i386/elf/Versions: Merge into ...
15299 * sysdeps/i386/Versions: ... this.
15300 * sysdeps/i386/elf/Versions: Delete file.
15301 * sysdeps/i386/elf/start.S: Moved to ...
15302 * sysdeps/i386/start.S: ...here.
15303 * sysdeps/i386/elf/configure.in: Merge into...
15304 * sysdeps/i386/configure.in: ...here.
15305 * sysdeps/i386/elf/configure.in: Delete file.
15306 * sysdeps/i386/elf/configure: Delete file.
15308 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15309 * debug/backtracesyms.c: ... here.
15310 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15311 * debug/backtracesymsfd.c: ... here.
15312 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15313 * sysdeps/generic/ifunc-sel.h: ... here.
15315 * sysdeps/unix/i386/start.c: Delete file.
15316 * sysdeps/unix/sparc/start.c: Delete file.
15317 * sysdeps/unix/start.c: Delete file.
15319 * sysdeps/sh/elf/configure.in: Moved to ...
15320 * sysdeps/sh/configure.in: ... here.
15321 * sysdeps/sh/elf/start.S: Moved to ...
15322 * sysdeps/sh/start.S: ... here.
15323 * sysdeps/sh/elf/configure: Delete file.
15325 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15326 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15327 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15328 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15329 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15330 * sysdeps/powerpc/powerpc64/start.S: here.
15331 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15332 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15333 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15334 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15335 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15337 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15338 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15339 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15340 * sysdeps/powerpc/powerpc32/start.S: ... here.
15341 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15342 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15343 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15345 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15346 * sysdeps/powerpc/ifunc-sel.h: ... here.
15347 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15348 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15350 * sysdeps/sparc/elf/configure.in: Moved to ...
15351 * sysdeps/sparc/configure.in: ... here.
15352 * sysdeps/sparc/elf/configure: Delete file.
15353 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15354 * sysdeps/sparc/sparc32/start.S: ... here.
15355 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15356 * sysdeps/sparc/sparc64/start.S: ... here.
15357 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15358 * sysdeps/sparc/sparc32/Makefile: ... this.
15359 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15360 * sysdeps/sparc/sparc64/Makefile: ... this.
15362 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15363 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15364 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15365 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15366 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15367 * sysdeps/s390/s390-32/setjmp.S: ... here.
15368 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15369 * sysdeps/s390/s390-32/configure.in: ... here.
15370 * sysdeps/s390/s390-32/elf/configure: Delete file.
15371 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15372 * sysdeps/s390/s390-32/start.S: ... here.
15374 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15375 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15376 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15377 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15378 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15379 * sysdeps/s390/s390-64/setjmp.S: ... here.
15380 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15381 * sysdeps/s390/s390-64/configure.in: ... here
15382 * sysdeps/s390/s390-64/elf/configure: Delete file.
15383 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15384 * sysdeps/s390/s390-64/start.S: ... here.
15385 * sysdeps/s390/s390-64/elf/configure: Delete.
15387 * configure.in: Remove support for elf directories in sysdeps.
15389 * configure: Regenerated.
15390 * sysdeps/i386/configure: Regenerated.
15391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15393 * sysdeps/s390/s390-32/configure: Regenerated.
15394 * sysdeps/s390/s390-64/configure: Regenerated.
15395 * sysdeps/sh/configure: Regenerated.
15396 * sysdeps/sparc/configure: Regenerated.
15397 * sysdeps/x86_64/configure: Regenerated.
15399 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15404 denormal result into account.
15406 2012-03-25 Roland McGrath <roland@hack.frob.com>
15408 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15409 Reported by Allan McRae <allan@archlinux.org>.
15411 2012-03-23 Jeff Law <law@redhat.com>
15413 * nss/getnssent.c (__nss_getent): Fix typo.
15415 2012-03-23 David S. Miller <davem@davemloft.net>
15417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15419 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15421 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15422 to pad to uint64_t for each field.
15423 (dl_tls_index): Replace unsigned long with uint64_t.
15425 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15426 Paul Pluzhnikov <ppluzhnikov@google.com>
15429 * grp/Makefile (otherlibs): Don't set it.
15430 * inet/Makefile (otherlibs): Likewise.
15431 * login/Makefile (otherlibs): Likewise.
15432 * nscd/Makefile (otherlibs): Likewise.
15433 * posix/Makefile (otherlibs): Likewise.
15434 * pwd/Makefile (otherlibs): Likewise.
15435 * rt/Makefile (otherlibs): Likewise.
15436 * sunrpc/Makefile (otherlibs): Likewise.
15437 * nss/Makefile (otherlibs): Likewise.
15438 Add libnss_files to routines and static-only-routines.
15439 ($(objpfx)getent): Remove rule.
15440 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15441 static-only-routines.
15443 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15446 * math/s_cexp.c: Include <float.h>.
15447 (__cexp): Handle exp result overflowing not necessarily
15448 overflowing both real and imaginary parts of result.
15449 * math/s_cexpf.c: Likewise.
15450 * math/s_cexpl.c: Likewise.
15451 * math/libm-test.inc (cexp_test): Add more tests.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15457 * include/link.h (ELFW): New macro.
15458 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15459 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15463 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15466 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15468 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15470 (struct La_x32_retval): Likewise.
15472 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15474 * sysdeps/x86_64/preconfigure.in: New file.
15475 * sysdeps/x86_64/preconfigure: New generated file.
15477 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15480 * math/e_exp2l.c: Include <float.h>.
15481 (__ieee754_exp2l): Handle overflow and underflow cases
15482 separately. Only pass fractional part of argument to
15484 * math/libm-test.inc (exp2_test): Add more tests.
15486 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15487 negating x to take absolute value.
15488 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15493 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15494 computing low part if x was negated.
15495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15499 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15500 la_x32_gnu_pltexit.
15501 (pltexit): Cast int_retval to ptrdiff_t.
15502 * elf/tst-auditmod3b.c: Likewise.
15503 * elf/tst-auditmod4b.c: Likewise.
15504 * elf/tst-auditmod5b.c: Likewise.
15505 * elf/tst-auditmod6b.c: Likewise.
15506 * elf/tst-auditmod6c.c: Likewise.
15507 * elf/tst-auditmod7b.c: Likewise.
15509 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15510 and x32_gnu_pltexit.
15512 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15513 __ELF_NATIVE_CLASS.
15514 (La_x32_regs): New macro.
15515 (La_x32_retval): Likewise.
15516 (la_x32_gnu_pltenter): New function prototype.
15517 (la_x32_gnu_pltexit): Likewise.
15519 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15526 * configure.in (libc_cv_cc_nofma): Check for option to disable
15527 generation of FMA instructions.
15528 * configure: Regenerate.
15529 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15530 * sysdeps/ieee754/dbl-64/Makefile: New file.
15531 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15532 Remove brandred-fma4.
15533 (CFLAGS-brandred-fma4.c): Remove.
15534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15540 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15543 LLONG_MAX != LONG_MAX.
15544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15545 (_fitoa_word): Likewise.
15546 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15547 LLONG_MAX != LONG_MAX.
15548 * stdio-common/_itowa.h: Include <_itoa.h>.
15549 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15550 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15551 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15552 only if not defined.
15553 (_ITOA_WORD_TYPE): Likewise.
15554 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15555 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15557 2012-03-21 David S. Miller <davem@davemloft.net>
15559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15561 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15563 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15564 of x86_64 when setting libc_cv_slibdir, libdir and
15566 * sysdeps/unix/sysv/linux/configure: Regenerated.
15568 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15570 * manual/lang.texi (Old Varargs): Remove section.
15571 (How Variadic): Update menu.
15572 (va_start): Do not mention varargs.h.
15574 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15575 Joseph Myers <joseph@codesourcery.com>
15577 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15579 * configure: Regenerated.
15581 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15583 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15584 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15587 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15590 * Makefile (files-for-dist): Remove NOTES.
15591 (NOTES): Remove rule.
15592 * README: Don't refer to NOTES.
15593 * manual/creature.texi: Don't include macros.texi.
15594 * manual/intro.texi (creature.texi): Remove comment referring to
15597 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15598 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15599 * configure: Regenerated.
15600 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15601 LIBC_TRY_CC_OPTION.
15602 (libc_cv_as_i686): Likewise.
15603 (libc_cv_cc_avx): Likewise.
15604 (libc_cv_cc_sse2avx): Likewise.
15605 (libc_cv_cc_fma4): Likewise.
15606 (libc_cv_cc_novzeroupper): Likewise.
15607 * sysdeps/i386/configure: Regenerated.
15610 * sysdeps/i386/fpu/s_cexp.S: Remove.
15611 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15612 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15613 * math/libm-test.inc (cexp_test): Add more tests.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15617 2012-03-21 Allan McRae <allan@archlinux.org>
15619 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15621 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15624 * math/w_exp2.c: Do not include <float.h>.
15625 (o_threshold, u_threshold): Remove.
15626 (__exp2): Calculate result before checking finiteness and calling
15628 * math/w_exp2f.c: Likewise.
15629 * math/w_exp2l.c: Likewise.
15630 * math/libm-test.inc (exp2_test): Require overflow exception for
15634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15635 range of signed 64-bit integers before using fistpll. Remove
15636 checks for whether integers fit in mantissa bits.
15637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15638 the range of signed 32-bit integers before using fistpl. Remove
15639 checks for whether integers fit in mantissa bits.
15640 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15641 (__ieee754_powl): Test for y outside the range of signed 64-bit
15642 integers before using fistpll. Reduce 64-bit values to 63-bit
15644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15645 divide-by-zero is raised for zero to large negative powers.
15646 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15647 (__ieee754_powl): Test for y outside the range of signed 64-bit
15648 integers before using fistpll. Reduce 64-bit values to 63-bit
15650 * math/libm-test.inc (pow_test): Add more tests.
15652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15654 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15655 <stdio-common/_itoa.h>.
15656 * debug/segfault.c: Likewise.
15657 * elf/dl-cache.c: Likewise.
15658 * elf/dl-minimal.c: Likewise.
15659 * elf/dl-misc.c: Likewise.
15660 * elf/dl-sysdep.c: Likewise.
15661 * elf/dl-version.c: Likewise.
15662 * elf/rtld.c: Likewise.
15663 * hurd/hurdsock.c: Likewise.
15664 * hurd/lookup-retry.c: Likewise.
15665 * malloc/malloc.c: Likewise.
15666 * malloc/mtrace.c: Likewise.
15667 * nscd/nscd_getgr_r.c: Likewise.
15668 * nscd/nscd_getpw_r.c: Likewise.
15669 * nscd/nscd_getserv_r.c: Likewise.
15670 * posix/getopt_init.c: Likewise.
15671 * posix/wordexp.c: Likewise.
15672 * stdio-common/_itoa.c: Likewise.
15673 * stdio-common/printf_fphex.c: Likewise.
15674 * stdio-common/vfprintf.c: Likewise.
15675 * string/_strerror.c: Likewise.
15676 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15677 * sysdeps/i386/i686/hp-timing.h: Likewise.
15678 * sysdeps/mach/_strerror.c: Likewise.
15679 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15680 * sysdeps/mach/hurd/sethostid.c: Likewise.
15681 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15682 * sysdeps/mach/xpg-strerror.c: Likewise.
15683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15685 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15686 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15687 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15688 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15689 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15690 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15691 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15692 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15693 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15694 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15695 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15696 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15697 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15698 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15699 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15701 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15702 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15705 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15707 * stdio-common/_itoa.h: Moved to ...
15708 * sysdeps/generic/_itoa.h: Here.
15710 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15712 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15713 instead of "_itoa.h" and "_itowa.h".
15714 * stdio-common/vfprintf.: Likewise.
15716 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15720 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15721 (__signbit): Likwise.
15722 (llrintf): Likwise.
15725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15727 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15730 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15732 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15733 OVERFLOW_EXCEPTION_OK.
15734 * math/libm-test.inc ("Philosophy"): Update comment about
15736 (OVERFLOW_EXCEPTION): Define.
15737 (OVERFLOW_EXCEPTION_OK): Likewise.
15738 (INVALID_EXCEPTION_OK): Renumber.
15739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15740 (IGNORE_ZERO_INF_SIGN): Likewise.
15741 (test_exceptions): Handle FE_OVERFLOW.
15742 (exp10_test): Expect overflow exceptions.
15743 (exp2_test): Likewise.
15744 (expm1_test): Likewise.
15745 (nextafter_test): Likewise.
15746 (pow_test): Likewise.
15747 (scalbn_test): Likewise.
15748 (scalbln_test): Likewise.
15750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15752 * sysdeps/x86_64/bits/atomic.h
15753 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15755 (atomic_exchange_acq): Likewise.
15756 (__arch_exchange_and_add_body): Likewise.
15757 (__arch_add_body): Likewise.
15758 (atomic_add_negative): Likewise.
15759 (atomic_add_zero): Likewise.
15761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15763 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15764 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15768 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15769 Check __x86_64__ instead of __WORDSIZE.
15771 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15773 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15775 2012-03-19 David S. Miller <davem@davemloft.net>
15777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15779 * sysdeps/sparc/fpu/fenv_private.h: New file.
15780 * sysdeps/sparc/fpu/math_private.h: Use it.
15781 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15783 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15784 (libc_feholdexcept_setroundl): Remove.
15785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15787 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15788 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15790 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15792 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15793 int64_t instead of long int.
15794 (INSERT_WORDS64): Likwise.
15796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15798 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15799 _Unwind_GetCFA return to _Unwind_Ptr first.
15801 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15804 * math/s_clog.c: Include <float.h>.
15805 (__clog): Scale large or subnormal inputs.
15806 * math/s_clogf.c: Likewise.
15807 * math/s_clogl.c: Likewise.
15808 * math/s_clog10.c: Include <float.h>.
15809 (M_LOG10_2): Define.
15810 (__clog10): Scale large or subnormal inputs.
15811 * math/s_clog10f.c: Likewise.
15812 * math/s_clog10l.c: Likewise.
15813 * math/libm-test.inc (clog_test): Add more tests.
15814 (clog10_test): Likewise.
15815 * sysdeps/i386/fpu/libm-test-ulps: Update.
15816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15819 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15821 * math/libm-test.inc (atan2_test): Add another test.
15823 * Makerules (common-objdir-compile): Remove.
15824 * sysdeps/unix/Makefile (config-generated): Do not add
15825 $(unix-generated) to variable.
15826 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15827 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15829 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15831 [generic bits/local_lim.h] (before-compile): Do not append to
15833 [generic bits/local_lim.h] (common-generated): Likewise.
15834 [generic sys/param.h] (before-compile): Do not append to variable.
15835 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15836 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15837 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15838 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15840 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15841 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15842 [generic sys/param.h] ($(addprefix
15843 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15844 [generic sys/param.h] (common-generated): Do not append to
15846 [generic sys/param.h] (sysdep_headers): Likewise.
15847 [generic bits/errno.h] (before-compile): Do not append to
15849 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15851 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15852 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15853 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15854 [generic bits/errno.h] (common-generated): Do not append to
15856 [generic bits/ioctls.h] (before-compile): Do not append to
15858 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15860 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15861 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15862 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15864 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15865 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15866 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15867 [generic bits/ioctls.h] (common-generated): Do not append to
15869 [generic sys/syscall.h] (syscall.h): Remove variable.
15870 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15872 [generic sys/syscall.h] (before-compile): Do not append to
15874 [generic sys/syscall.h] (common-generated): Likewise.
15875 * sysdeps/unix/errnos-tmpl.c: Remove file.
15876 * sysdeps/unix/errnos.awk: Likewise.
15877 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15878 * sysdeps/unix/ioctls.awk: Likewise.
15879 * sysdeps/unix/mk-local_lim.c: Likewise.
15880 * sysdeps/unix/snarf-ioctls: Likewise.
15882 2012-03-19 Richard Henderson <rth@twiddle.net>
15884 * sysdeps/i386/fpu/fenv_private.h: New file.
15885 * sysdeps/i386/fpu/math_private.h: Use it.
15886 (math_opt_barrier, math_force_eval): Remove.
15887 (libc_feholdexcept_setround_53bit): Remove.
15888 (libc_feupdateenv_53bit): Remove.
15889 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15890 (math_opt_barrier, math_force_eval): Remove.
15891 (libc_feholdexcept): Remove.
15892 (libc_feholdexcept_setround): Remove.
15893 (libc_fetestexcept, libc_fesetenv): Remove.
15894 (libc_feupdateenv_test): Remove.
15895 (libc_feupdateenv, libc_feholdsetround): Remove.
15896 (libc_feresetround): Remove.
15898 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15899 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15901 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15902 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15903 (libc_feupdateenv_testl): New.
15904 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15905 (libc_feupdateenv_testf): New.
15906 (libc_feupdateenv): Use libc_feupdateenv_test.
15907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15910 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15911 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15912 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15913 (libc_feresetround_noex): New.
15914 (libc_feresetround_noexf): New.
15915 (libc_feresetround_noexl): New.
15916 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15917 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15918 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15919 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15924 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15926 SET_RESTORE_ROUND_NOEX.
15927 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15928 SET_RESTORE_ROUND_NOEXF.
15929 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15930 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15931 (libc_feholdsetroundf): New.
15932 (libc_feresetround, libc_feresetroundf): New.
15934 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15935 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15936 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15938 * sysdeps/generic/math_private.h: Include <fenv.h>.
15939 (default_libc_feholdexcept): New.
15940 (default_libc_feholdexcept_setround): New.
15941 (default_libc_fesetenv, default_libc_feupdateenv): New.
15942 (libc_feholdexcept): Only define if undefined.
15943 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15944 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15945 (libc_feholdexcept_setroundl): Likewise.
15946 (libc_feholdexcept_setround_53bit): Likewise.
15947 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15948 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15949 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15950 (libc_feupdateenv_53bit): Likewise.
15951 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15952 (libc_feholdexcept): Convert from macro to inline function.
15953 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15954 (libc_fesetenv, libc_feupdateenv): Likewise.
15956 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15957 not previously defined.
15958 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15959 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15960 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15962 * sysdeps/ieee754/flt-32/math_private.h: New file.
15963 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15964 math_private.h below SET_FLOAT_WORD.
15965 (__isnan, __isinf_ns, __finite): Remove.
15966 (__isnanf, __isinf_nsf, __finitef): Remove.
15968 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15972 2012-03-17 David S. Miller <davem@davemloft.net>
15975 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15978 2012-03-16 David S. Miller <davem@davemloft.net>
15980 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15986 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15987 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15988 sysdep_routines when subdir is sysvipc.
15989 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15990 __getshmlba helper.
15992 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15996 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16003 (__lround): Renamed to ...
16004 (__llround): This. Replace long int with long long int.
16005 Define lround functions as aliases of llround functions.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16010 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16011 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16012 adresses to uintptr_t. Replace "long int" and "unsigned long
16013 int" with "greg_t" on va_arg.
16015 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16017 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16018 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16020 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16021 Move e_machine check before EI_CLASS check. Handle x32
16022 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16023 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16024 SKIP_EM_IA_64 and include
16025 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16027 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16028 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16029 (add_system_dir): New macro.
16031 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16032 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16034 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16045 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16047 * math/w_j0f.c (j0f): Likewise.
16049 * math/w_j0l.c (__j0l): Likewise.
16051 * math/w_j1.c (j1): Likewise.
16053 * math/w_j1f.c (j1f): Likewise.
16055 * math/w_j1l.c (__j1l): Likewise.
16057 * math/w_jn.c (jn): Likewise.
16059 * math/w_jnf.c (jnf): Likewise.
16061 * math/w_jnl.c (__jnl): Likewise.
16063 * math/libm-test.inc (j0_test): Add more tests.
16064 (j1_test): Likewise.
16065 (jn_test): Likewise. Add trailing semicolon to existing test.
16066 (y0_test): Likewise.
16067 (y1_test): Likewise.
16068 * sysdeps/i386/fpu/libm-test-ulps: Update.
16069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16073 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16074 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16075 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16077 (__tanl): Set errno for infinite argument.
16078 * sysdeps/i386/fpu/mptan.c: Remove.
16079 * sysdeps/i386/fpu/s_tan.S: Likewise.
16080 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16081 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16082 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16083 * math/libm-test.inc (tan_test): Add more tests and enable more
16084 tests for double and long double.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16088 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16090 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16091 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16093 2012-03-16 Roland McGrath <roland@hack.frob.com>
16095 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16096 * configure.in: Use it for both main tree and add-ons.
16097 * configure: Regenerated.
16099 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16101 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16103 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16109 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16110 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16115 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16117 != 0 for prec == 2.
16118 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16119 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16120 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16121 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16122 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16123 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16124 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16125 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16126 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16127 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16128 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16129 * math/libm-test.inc (cos_test): Add more tests and enable more
16130 tests for long double.
16131 (sin_test): Likewise.
16132 (sincos_test): Likewise.
16133 * sysdeps/i386/fpu/libm-test-ulps: Update.
16134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16136 2012-03-16 David S. Miller <davem@davemloft.net>
16138 * sysdeps/sparc/fpu/math_private.h: New file.
16140 2012-03-15 David S. Miller <davem@davemloft.net>
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16156 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16159 * sysdeps/sparc/sparc-ifunc.h: New file.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16205 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16207 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16211 2012-03-15 Andreas Jaeger <aj@suse.de>
16214 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16215 ieee754/flt-32 implementation for sin, cos and sincos.
16216 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16217 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16218 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16219 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16220 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16221 ieee754/flt-32 implementation for tan.
16223 * math/libm-test.inc (cos_test): Enable some large input tests for
16225 (sin_test): Likewise.
16226 (sincos_test): Likewise.
16227 (tan_test): Add tests for large input.
16229 * sysdeps/i386/fpu/libm-test-ulps: Update.
16231 2012-03-15 Andreas Jaeger <aj@suse.de>
16234 * math/libm-test.inc (cos_test): Add more test cases.
16235 (sin_test): Likewise.
16236 (sincos_test): Likewise.
16238 2012-03-15 Andreas Jaeger <aj@suse.de>
16241 * math/libm-test.inc (cos_test): Add a test case for large input
16243 (sin_test): Likewise.
16244 (sincos_test): Likewise.
16246 2012-03-15 Andreas Jaeger <aj@suse.de>,
16247 Joseph Myers <joseph@codesourcery.com>
16250 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16251 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16252 * sysdeps/i386/fpu/branred.c: Likewise.
16253 * sysdeps/i386/fpu/dosincos.c: Likewise.
16254 * sysdeps/i386/fpu/mpa.c: Likewise.
16255 * sysdeps/i386/fpu/s_cos.S: Likewise.
16256 * sysdeps/i386/fpu/s_sin.S: Likewise.
16257 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16258 * sysdeps/i386/fpu/sincos32.c: Likewise.
16260 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16262 (libc_feupdateenv_53bit): Define.
16263 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16265 (libc_feupdateenv_53bit): Define.
16267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16268 53 bit (without extend i386 double precision).
16270 * math/libm-test.inc (sincos_test): Add tests for large input.
16274 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16276 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16280 2012-03-15 David S. Miller <davem@davemloft.net>
16282 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16310 fmin/fmax sysdep routines.
16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16313 2012-03-14 David S. Miller <davem@davemloft.net>
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16392 * sysdeps/sparc/configure.in: New file.
16393 * sysdeps/sparc/configure: Generate.
16394 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16395 * configure: Regenerate.
16396 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16397 * config.make.in (have-as-vis3): New.
16398 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16399 available use -Av9d instead of -Av9a.
16400 * sysdeps/sparc/sparc64/Makefile: Likewise.
16401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16416 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16417 fzeros/fnegs to load 0x80000000 into a float register instead of
16419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16421 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16425 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16426 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16427 ($(inst_includedir)/bits/syscall.h): Remove rule.
16428 ($(objpfx)bits/syscall.d): Include instead of
16429 $(objpfx)syscall-list.d.
16430 (generated): Change syscall-list.h and syscall-list.d to
16431 bits/syscall.h and bits/syscall.d.
16433 2012-03-14 Roland McGrath <roland@hack.frob.com>
16436 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16438 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16441 * math/s_csqrt.c: Include <float.h>.
16442 (__csqrt): Scale large or subnormal inputs.
16443 * math/s_csqrtf.c: Likewise.
16444 * math/s_csqrtl.c: Likewise.
16445 * math/libm-test.inc (csqrt_test): Add more tests.
16446 * sysdeps/i386/fpu/libm-test-ulps: Update.
16447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16450 * math/libm-test.inc (hypot_test): Add more tests.
16452 2012-03-13 David S. Miller <davem@davemloft.net>
16455 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16456 double-precision for the calculation instead of scaling.
16458 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16460 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16461 manipulate bits before adding and subtracting TWO52[sx].
16462 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16467 2012-03-13 David S. Miller <davem@davemloft.net>
16469 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16470 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16472 rtld-global-offsets.h
16473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16475 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16480 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16481 'err' in the ifdef scope in which it is actually used.
16483 * nss/nss_db/db-init.c: Include string.h
16485 2012-03-12 David S. Miller <davem@davemloft.net>
16487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16488 masking out of the most significant byte of random value used.
16489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16490 Fix coding style in previous change.
16492 * sysdeps/unix/sysv/linux/kernel-features.h
16493 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16494 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16496 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16499 2012-03-11 David S. Miller <davem@davemloft.net>
16501 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16502 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16504 for 'resultvar' otherwise things get truncated on 64-bit.
16506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16507 Fix masking out of the most significant byte of random value used.
16509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16511 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16515 2012-03-09 David S. Miller <davem@davemloft.net>
16517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16518 variables with appropriate CPP guards.
16519 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16520 frame pointer, not the stack pointer. Correct layout comments. Fix test
16521 on resulting framesize and the management of the outregs buffer for pltexit.
16522 Preserve floating point return values across _dl_call_pltexit call.
16523 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16524 framesize and the management of the outregs buffer for pltexit.
16525 Preserve floating point return values across _dl_call_pltexit
16527 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16528 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16529 (print_exit): Fix format string for return register value.
16531 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16533 * sunrpc/Makefile (others): Add rpcgen.
16534 ($(objpfx)rpcgen): Remove special build rule and dependency on
16536 * sunrpc/rpcgen.c: New file.
16538 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16541 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16542 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16543 * sysdeps/i386/crti.S: Likewise.
16544 * sysdeps/i386/crtn.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16546 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16549 * sysdeps/sh/crti.S: Likewise.
16550 * sysdeps/sh/crtn.S: Likewise.
16551 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16554 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16556 * locale/programs/locfile-kw.gperf: Likewise.
16557 * locale/programs/charmap-kw.h: Regenerated.
16558 * locale/programs/locfile-kw.h: Likewise.
16561 * intl/plural.y: Replace FSF snail mail address with URL.
16562 * intl/plural.c: Regenerated.
16564 2012-03-09 Richard Henderson <rth@twiddle.net>
16566 * include/math_private.h: Remove file.
16567 * math/math_private.h: Move file ...
16568 * sysdeps/generic/math_private.h: ... here.
16570 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16571 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16572 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16574 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16575 and <math_private.h>.
16576 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16577 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16676 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16678 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16681 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16720 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16721 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16722 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16723 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16724 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16725 * sysdeps/ieee754/k_standard.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16886 * sysdeps/ieee754/s_lib_version.c: Likewise.
16887 * sysdeps/ieee754/s_matherr.c: Likewise.
16888 * sysdeps/ieee754/s_signgam.c: Likewise.
16889 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16890 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16891 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16892 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16893 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16894 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16895 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16896 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16897 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16898 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16899 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16900 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16901 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16902 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16903 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16904 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16906 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16911 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16913 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16914 * sunrpc/rpc_main.c: Likewise.
16915 * sunrpc/rpc_svcout.c: Likewise.
16917 2012-03-09 David S. Miller <davem@davemloft.net>
16919 * include/math_private.h: New file.
16921 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16924 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16925 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16926 from <bits/socket_type.h>.
16927 (enum __socket_type): Don't define here.
16928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16930 bits/socket_type.h.
16933 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16934 checking __USE_GNU.
16936 * Makerules ($(inst_includedir)/%.h): New rule.
16937 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16938 (install-others): Remove variable setting.
16939 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16941 2012-03-08 Richard Henderson <rth@twiddle.net>
16943 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16944 from macro to inline function; merge with the
16945 !__LIBC_INTERNAL_MATH_INLINES version.
16946 (__ieee754_sqrtf): Likewise.
16948 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16949 to inline function.
16950 (__rintf, __floor, __floorf): Likewise.
16952 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16953 macro to inline function.
16954 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16956 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16957 not <math/math_private.h>.
16959 2012-03-08 David S. Miller <davem@davemloft.net>
16961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16963 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16965 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16967 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16969 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16970 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16972 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16974 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16975 be defined individually, they must be defined as a block. Define
16976 S for printing a string instead of hidint the different by using a
16977 macro for adding the 'l'.
16978 * stdio-common/tst-fphex-wide.c: Adjust.
16980 2012-03-07 Marek Polacek <polacek@redhat.com>
16982 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16984 2012-03-08 Marek Polacek <polacek@redhat.com>
16987 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16988 * stdio-common/tst-fphex.c: Define a few macros to make the
16989 test reusable. Use them.
16990 * stdio-common/tst-fphex-wide.c: New file.
16992 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16995 * manual/macros.texi (gnusystems): New macro.
16996 (nongnusystems): Likewise.
16997 (gnulinuxhurdsystems): Likewise.
16998 (gnuhurdsystems): Likewise..
16999 (gnulinuxsystems): Likewise.
17000 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17001 variants of the GNU system, not "GNU system".
17002 * manual/conf.texi: Likewise.
17003 * manual/errno.texi: Likewise. Update example of errno macro
17005 * manual/filesys.texi: Likewise.
17006 (getumask): Document as specific to GNU/Hurd.
17007 * manual/install.texi: Likewise. Reword some references to
17009 * manual/intro.texi: Likewise.
17010 * manual/io.texi: Likewise.
17011 (File Name Portability): Detail which constraints are inapplicable
17012 to all GNU systems and which are only inapplicable to GNU/Hurd.
17013 * manual/job.texi: Likewise.
17014 * manual/llio.texi: Likewise.
17015 (O_NOCTTY): Document as present on GNU/Linux.
17016 * manual/maint.texi: Likewise.
17017 * manual/memory.texi: Likewise.
17018 * manual/pattern.texi: Likewise.
17019 * manual/pipe.texi: Likewise.
17020 * manual/process.texi: Likewise.
17021 * manual/resource.texi: Likewise.
17022 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17024 * manual/setjmp.texi: Likewise.
17025 * manual/signal.texi: Likewise.
17026 * manual/startup.texi: Likewise.
17027 * manual/stdio.texi: Likewise.
17028 * manual/terminal.texi: Likewise.
17029 (ONLCR): Document as POSIX.
17030 (OXTABS): Document availability on GNU/Linux as XTABS.
17031 (ONOEOT): Document availability separately from other bits.
17032 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17033 * manual/time.texi: Likewise.
17034 * manual/users.texi: Likewise.
17035 * INSTALL: Regenerated.
17036 * sysdeps/gnu/errlist.c: Regenerated.
17038 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17039 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17040 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17042 * configure: Regenerated.
17044 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17046 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17047 default includes instead of AC_HEADER_CHECK.
17048 * sysdeps/i386/configure: Regenerated.
17051 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17052 * math/s_cacoshf.c (__cacoshf): Likewise.
17053 * math/s_cacoshl.c (__cacoshl): Likewise.
17054 * math/s_casinh.c (__casinh): Set signs of result from argument.
17055 * math/s_casinhf.c (__casinhf): Likewise.
17056 * math/s_casinhl.c (__casinhl): Likewise.
17057 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17058 (casinh_test): Add more tests.
17059 * sysdeps/i386/fpu/libm-test-ulps: Update.
17060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17062 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17064 * po/zh_TW.po: Update from translation team.
17066 * login/Makefile (distribute): Remove variable.
17067 * catgets/Makefile: Likewise.
17068 * mach/Makefile: Likewise.
17069 * malloc/Makefile: Likewise.
17070 * misc/Makefile: Likewise.
17071 * iconv/Makefile: Likewise.
17072 * nscd/Makefile: Likewise.
17073 * hurd/Makefile: Likewise.
17074 * manual/Makefile: Likewise.
17075 * locale/Makefile: Likewise.
17076 * intl/Makefile: Likewise.
17077 * conform/Makefile: Likewise.
17078 * nss/Makefile: Likewise.
17079 * time/Makefile: Likewise.
17080 * soft-fp/Makefile: Likewise.
17081 * dirent/Makefile: Likewise.
17082 * gmon/Makefile: Likewise.
17083 * po/Makefile: Likewise.
17084 * rt/Makefile: Likewise.
17085 * socket/Makefile: Likewise.
17086 * math/Makefile: Likewise.
17087 * signal/Makefile: Likewise.
17088 * debug/Makefile: Likewise.
17089 * elf/Makefile: Likewise.
17090 * timezone/Makefile: Likewise.
17091 * stdlib/Makefile: Likewise.
17092 * iconvdata/Makefile: Likewise.
17093 * sunrpc/Makefile: Likewise.
17094 * io/Makefile: Likewise.
17095 * argp/Makefile: Likewise.
17096 * inet/Makefile: Likewise.
17097 * hesiod/Makefile: Likewise.
17098 * grp/Makefile: Likewise.
17099 * csu/Makefile: Likewise.
17100 * wctype/Makefile: Likewise.
17101 * crypt/Makefile: Likewise.
17102 * libio/Makefile: Likewise.
17103 * string/Makefile: Likewise.
17104 * nis/Makefile: Likewise.
17105 * resolv/Makefile: Likewise.
17106 * stdio-common/Makefile: Likewise.
17107 * wcsmbs/Makefile: Likewise.
17108 * dlfcn/Makefile: Likewise.
17109 * posix/Makefile: Likewise.
17112 * timezone/Makefile: Don't install timezone files, just the programs
17115 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17117 * nss/databases.def: Add missing gshadow entry.
17119 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17121 2012-03-06 Marek Polacek <polacek@redhat.com>
17124 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17125 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17126 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17127 * stdio-common/tst-long-dbl-fphex.c: New file.
17129 2012-03-06 David S. Miller <davem@davemloft.net>
17131 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17132 (set_obp_int): New function.
17133 (get_obp_int): New function.
17134 (__get_clockfreq_via_dev_openprom): Likewise.
17135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17136 Avoid unused variable warnings on 'val' and use builtin_expect.
17137 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17139 (INLINE_CLONE_SYSCALL): Likewise.
17141 2012-03-05 David S. Miller <davem@davemloft.net>
17143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17145 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17150 only for |x| >= 40.
17151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17153 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17156 Replace gettimeofday with __vdso_gettimeofday.
17158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17159 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17160 __vdso_clock_gettime and __vdso_getcpu.
17162 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17163 time with __vdso_time.
17165 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17167 * manual/lang.texi (size_t): Note types to which size_t may be
17168 equivalent with the GNU C Library, but do not describe when
17169 differences between them are significant.
17171 2012-03-05 Andreas Jaeger <aj@suse.de>
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17175 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17178 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17179 (__ieee754_pow): Save and restore rounding mode and use
17180 round-to-nearest for main computations.
17181 * math/libm-test.inc (pow_test_tonearest): New function.
17182 (pow_test_towardzero): Likewise.
17183 (pow_test_downward): Likewise.
17184 (pow_test_upward): Likewise.
17185 (main): Call the new functions.
17186 * sysdeps/i386/fpu/libm-test-ulps: Update.
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17190 * math/libm-test.inc (cosh_test_tonearest): New function.
17191 (cosh_test_towardzero): Likewise.
17192 (cosh_test_downward): Likewise.
17193 (cosh_test_upward): Likewise.
17194 (sinh_test_tonearest): Likewise.
17195 (sinh_test_towardzero): Likewise.
17196 (sinh_test_downward): Likewise.
17197 (sinh_test_upward): Likewise.
17198 (main): Call the new functions.
17199 * sysdeps/i386/fpu/libm-test-ulps: Update.
17200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17202 2012-03-05 Tom de Vries <tom@codesourcery.com>
17204 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17205 default stack guard is set in last bytes.
17206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17208 2012-03-05 Kees Cook <keescook@chromium.org>
17210 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17213 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17214 possibly allocate from heap instead of stack.
17215 * stdio-common/bug-vfprintf-nargs.c: New file.
17216 * stdio-common/Makefile (tests): Add nargs overflow test.
17218 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17222 2012-03-03 Marek Polacek <polacek@redhat.com>
17224 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17225 * math/math_private.h: Likewise.
17226 * stdlib/tst-strtod.c: Likewise.
17227 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17228 * sysdeps/x86_64/bits/atomic.h: Likewise.
17230 2012-03-02 David S. Miller <davem@davemloft.net>
17232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17236 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17237 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17238 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17239 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17241 2012-03-02 Roland McGrath <roland@hack.frob.com>
17244 * manual/examples/README: New file, says the example source files
17245 can be used under GPL>=2.
17246 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17247 line containing just "*/".
17248 * manual/examples/add.c: Add copyright header (GPL>=2).
17249 * manual/examples/argp-ex1.c: Likewise.
17250 * manual/examples/argp-ex2.c: Likewise.
17251 * manual/examples/argp-ex3.c: Likewise.
17252 * manual/examples/argp-ex4.c: Likewise.
17253 * manual/examples/atexit.c: Likewise.
17254 * manual/examples/db.c: Likewise.
17255 * manual/examples/dir.c: Likewise.
17256 * manual/examples/dir2.c: Likewise.
17257 * manual/examples/execinfo.c: Likewise.
17258 * manual/examples/filecli.c: Likewise.
17259 * manual/examples/filesrv.c: Likewise.
17260 * manual/examples/fmtmsgexpl.c: Likewise.
17261 * manual/examples/genpass.c: Likewise.
17262 * manual/examples/inetcli.c: Likewise.
17263 * manual/examples/inetsrv.c: Likewise.
17264 * manual/examples/isockad.c: Likewise.
17265 * manual/examples/longopt.c: Likewise.
17266 * manual/examples/memopen.c: Likewise.
17267 * manual/examples/memstrm.c: Likewise.
17268 * manual/examples/mkfsock.c: Likewise.
17269 * manual/examples/mkisock.c: Likewise.
17270 * manual/examples/mygetpass.c: Likewise.
17271 * manual/examples/pipe.c: Likewise.
17272 * manual/examples/popen.c: Likewise.
17273 * manual/examples/rprintf.c: Likewise.
17274 * manual/examples/search.c: Likewise.
17275 * manual/examples/select.c: Likewise.
17276 * manual/examples/setjmp.c: Likewise.
17277 * manual/examples/sigh1.c: Likewise.
17278 * manual/examples/sigusr.c: Likewise.
17279 * manual/examples/stpcpy.c: Likewise.
17280 * manual/examples/strdupa.c: Likewise.
17281 * manual/examples/strftim.c: Likewise.
17282 * manual/examples/strncat.c: Likewise.
17283 * manual/examples/subopt.c: Likewise.
17284 * manual/examples/swapcontext.c: Likewise.
17285 * manual/examples/termios.c: Likewise.
17286 * manual/examples/testopt.c: Likewise.
17287 * manual/examples/testpass.c: Likewise.
17288 * manual/examples/timeval_subtract.c: Likewise.
17291 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17293 * manual/timeval_subtract.c.texi: ... here, new file.
17295 2012-03-02 David S. Miller <davem@davemloft.net>
17297 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17299 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17302 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17303 (__sin): Save and restore rounding mode and use round-to-nearest
17304 for all computations.
17305 (__cos): Save and restore rounding mode and use round-to-nearest
17306 for all computations.
17307 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17309 (tan): Save and restore rounding mode and use round-to-nearest for
17311 * math/libm-test.inc (cos_test_tonearest): New function.
17312 (cos_test_towardzero): Likewise.
17313 (cos_test_downward): Likewise.
17314 (cos_test_upward): Likewise.
17315 (sin_test_tonearest): Likewise.
17316 (sin_test_towardzero): Likewise.
17317 (sin_test_downward): Likewise.
17318 (sin_test_upward): Likewise.
17319 (tan_test_tonearest): Likewise.
17320 (tan_test_towardzero): Likewise.
17321 (tan_test_downward): Likewise.
17322 (tan_test_upward): Likewise.
17323 (main): Call the new functions.
17324 * sysdeps/i386/fpu/libm-test-ulps: Update.
17325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17329 small n, then large n, before computing and testing k+n.
17330 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17335 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17336 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17343 * math/libm-test.inc (scalbn_test): Add more tests.
17344 (scalbln_test): Likewise.
17346 * manual/filesys.texi (mode_t): Describe constraints on size and
17347 signedness, not exact equivalence to a particular type.
17349 (ino64_t): Likewise.
17351 (nlink_t): Likewise.
17352 (blkcnt_t): Likewise.
17353 (blkcnt64_t): Likewise.
17354 * manual/llio.texi (off_t): Likewise.
17357 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17358 (__ieee754_exp): Save and restore rounding mode and use
17359 round-to-nearest for all computations.
17360 * math/libm-test.inc (exp_test_tonearest): New function.
17361 (exp_test_towardzero): Likewise.
17362 (exp_test_downward): Likewise.
17363 (exp_test_upward): Likewise.
17364 (main): Call the new functions.
17365 * sysdeps/i386/fpu/libm-test-ulps: Update.
17366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17368 2012-03-01 Chris Demetriou <cgd@google.com>
17370 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17371 have predictable order.
17373 2012-03-01 David S. Miller <davem@davemloft.net>
17375 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17377 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17378 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17379 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17380 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17382 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17383 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17384 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17386 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17390 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17394 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17395 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17396 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17398 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17400 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17405 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17414 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17415 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17416 * sysdeps/sparc/elf/configure: Regenerated.
17418 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17420 * configure.in (AS, LD): Require binutils 2.20 or later.
17421 * configure: Regenerated.
17422 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17423 as required minimum version.
17424 * INSTALL: Regenerated.
17428 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17429 before squaring exponent.
17430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17431 bottom long double and 27 bits of top long double before squaring
17433 * math/libm-test.inc (erfc_test): Add more tests.
17434 * sysdeps/i386/fpu/libm-test-ulps: Update.
17435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17438 2012-03-01 Kai Tietz <ktietz@redhat.com>
17440 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17441 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17442 containing bit-fields.
17443 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17444 * soft-fp/single.h (_FP_UNION_S): Likewise.
17445 * soft-fp/double.h (_FP_UNION_D): Likewise.
17447 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17450 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17451 not include ../strcmp.S.
17452 [USE_AS_STRNCASECMP_L]: Likewise.
17453 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17454 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17455 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17456 (__strncasecmp_l_ia32): Define as alias to
17457 __strncasecmp_l_nonascii.
17460 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17461 * sysdeps/i386/fpu/libm-test-ulps: Update.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17464 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17467 2012-02-29 Jeff Law <law@redhat.com>
17469 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17470 out of bounds read.
17472 2012-02-29 Marek Polacek <polacek@redhat.com>
17475 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17476 * elf/Makefile: Add rules to run tst-unused-dep.out.
17478 2012-02-28 David S. Miller <davem@davemloft.net>
17480 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17481 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17484 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17485 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17487 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17489 * math/libm-test.inc (llround_test): Move one test from
17490 lround_test. Use TEST_f_L in moved test.
17491 (lround_test): Move misplaced test to llround_test. Add testcase
17494 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17496 * sysdeps/x86_64/fpu/e_expf.S: New file.
17497 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17499 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17502 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17503 of remain_len that may cause incomplete multi-byte character and
17505 * posix/bug-regex33.c: New file.
17506 * posix/Makefile (tests): Add bug-regex33.
17508 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17510 * manual/macros.texi: New file.
17511 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17512 * manual/libc.texinfo: Include macros.texi.
17513 * manual/creatute.texi: Likewise.
17514 * manual/install.texi: Likewise.
17515 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17516 @glibcadj{} in references to the GNU C Library.
17517 * manual/charset.texi: Likewise.
17518 * manual/conf.texi: Likewise.
17519 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17520 when not using those macros.
17521 * manual/creature.texi: Likewise.
17522 * manual/crypt.texi: Likewise.
17523 * manual/errno.texi: Likewise.
17524 * manual/filesys.texi: Likewise.
17525 * manual/header.texi: Likewise.
17526 * manual/install.texi: Likewise.
17527 * manual/intro.texi: Likewise.
17528 * manual/io.texi: Likewise.
17529 * manual/job.texi: Likewise.
17530 * manual/lang.texi: Likewise.
17531 * manual/libc.texiinfo: Likewise.
17532 * manual/llio.texi: Likewise.
17533 * manual/locale.texi: Likewise.
17534 * manual/maint.texi: Likewise.
17535 * manual/math.texi: Likewise.
17536 * manual/memory.texi: Likewise.
17537 * manual/message.texi: Likewise.
17538 * manual/nss.texi: Likewise.
17539 * manual/pattern.texi: Likewise.
17540 * manual/process.texi: Likewise.
17541 * manual/resource.texi: Likewise.
17542 * manual/search.texi: Likewise.
17543 * manual/setjmp.texi: Likewise.
17544 * manual/signal.texi: Likewise.
17545 * manual/socket.texi: Likewise.
17546 * manual/startup.texi: Likewise.
17547 * manual/stdio.texi: Likewise.
17548 * manual/string.texi: Likewise.
17549 * manual/sysinfo.texi: Likewise.
17550 * manual/syslog.texi: Likewise.
17551 * manual/terminal.texi: Likewise.
17552 * manual/time.texi: Likewise.
17553 * manual/users.texi: Likewise.
17554 * INSTALL: Regenerated.
17555 * NOTES: Regenerated.
17556 * sysdeps/gnu/errlist.c: Regenerated.
17558 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17560 * include/dirent.h: Include <dirstream.h> before
17563 2012-02-28 David S. Miller <davem@davemloft.net>
17565 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17566 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17567 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17568 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17570 2012-02-27 David S. Miller <davem@davemloft.net>
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17575 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17578 frame pointer instead of stack pointer relative arg slot.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17583 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17586 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17588 2012-02-27 David S. Miller <davem@davemloft.net>
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17599 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17601 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17602 later. Allow versions 5-9.
17603 * configure: Regenerated.
17604 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17605 required minimum version and 4.6 as recommended version. Do not
17606 mention bugs in GCC 2.7 and 2.8.
17607 * INSTALL: Regenerated.
17609 2012-02-27 David S. Miller <davem@davemloft.net>
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17615 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17616 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17617 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17618 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17621 manipulate bits before adding and subtracting TWO112[sx].
17622 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17624 2012-02-27 Roland McGrath <roland@hack.frob.com>
17627 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17628 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17629 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17630 being in POSIX, because they are in 1003.1-2008.
17632 * rt/tst-aio.c: Include <fcntl.h>.
17633 * rt/tst-aio7.c: Likewise.
17634 * rt/tst-aio64.c: Likewise.
17636 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17638 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17640 * manual/install.texi (--with-headers): Describe headers as
17641 interface headers, not private headers.
17642 (Specific advice for GNU/Linux systems): Describe use of headers
17643 from "make headers_install", not private headers from older
17645 * INSTALL: Regenerated.
17646 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17648 * sysdeps/unix/sysv/linux/configure: Regenerated.
17650 * manual/llio.texi (fclean): Remove documentation.
17652 * manual/Makefile (libc-texi-generated): New variable. Include
17654 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17655 $(libc-texi-generated), not duplicated list of files.
17656 (version.texi, stamp-version): New rules.
17657 (realclean): Remove $(libc-texi-generated), not individual files
17658 from that list. Do not remove dir-add.texinfo.
17659 * manual/libc.texinfo: Comment out uses of edition numbers and
17660 references to printed manual. Remove last-updated dates.
17661 (EDITION): Comment out.
17663 (VERSION, UPDATED): Remove.
17664 (version.texi): Include.
17666 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17668 * sysdeps/posix/spawni.c: Include <signal.h>.
17669 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17670 * sysdeps/pthread/aio_fsync.c: Likewise.
17672 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17674 * conform/Makefile (tests): Run only when not cross-compiling and
17675 when fast-check is not defined.
17677 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17678 * conform/data/limits.h-data: Fixes for POSIX2008.
17679 * conform/run-conformtest.sh: Run all tests.
17680 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17682 * include/bits/dlfcn.h: Likewise.
17683 * include/langinfo.h: Likewise.
17684 * include/monetary.h: Likewise.
17685 * include/sys/poll.h: Likewise.
17687 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17689 * posix/spawn.h: Define __need_sigset_t.
17690 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17691 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17692 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17693 to get sigevent_t only.
17694 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17695 only for __USE_GNU.
17696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17697 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17698 process_vm_writev only for __USE_GNU.
17699 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17701 * conform/Makefile: For now ignore errors from run-conformtest.
17702 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17703 POSIX to avoid namespace pollution. Don't prepend headers.
17704 * conform/data/aio.h-data: Fixes for POSIX testing.
17705 * conform/data/fcntl.h-data: Likewise.
17706 * conform/data/glob.h-data: Likewise.
17707 * conform/data/grp.h-data: Likewise.
17708 * conform/data/pthread.h-data: Likewise.
17709 * conform/data/pwd.h-data: Likewise.
17710 * conform/data/signal.h-data: Likewise.
17711 * conform/data/spawn.h-data: Likewise.
17712 * conform/data/stdio.h-data: Likewise.
17713 * conform/data/stdlib.h-data: Likewise.
17714 * conform/data/stropts.h-data: Likewise.
17715 * conform/data/sys/mman.h-data: Likewise.
17716 * conform/data/sys/stat.h-data: Likewise.
17717 * conform/data/sys/types.h-data: Likewise.
17718 * conform/data/sys/wait.h-data: Likewise.
17719 * conform/data/time.h-data: Likewise.
17720 * conform/data/unistd.h-data: Likewise.
17721 * conform/data/utime.h-data: Likewise.
17723 * io/sys/stat.h: fchmod was always in POSIX.
17724 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17725 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17726 * rt/aio.h: Define __need_timespec before including <time.h>.
17727 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17728 struct. Add forward declaration of pthread_attr_t and use it in
17730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17732 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17733 always remove CLK_TCK definition.
17735 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17737 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17739 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17741 * conform/run-conformtest.sh: New file.
17742 * conform/Makefile: Run run-conformtest for tests.
17743 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17746 * conform/data/uchar.h-data: New file.
17747 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17748 * conform/data/arpa/inet.h-data: Likewise.
17749 * conform/data/assert.h-data: Likewise.
17750 * conform/data/complex.h-data: Likewise.
17751 * conform/data/cpio.h-data: Likewise.
17752 * conform/data/ctype.h-data: Likewise.
17753 * conform/data/dirent.h-data: Likewise.
17754 * conform/data/dlfcn.h-data: Likewise.
17755 * conform/data/errno.h-data: Likewise.
17756 * conform/data/fcntl.h-data: Likewise.
17757 * conform/data/float.h-data: Likewise.
17758 * conform/data/fmtmsg.h-data: Likewise.
17759 * conform/data/fnmatch.h-data: Likewise.
17760 * conform/data/ftw.h-data: Likewise.
17761 * conform/data/glob.h-data: Likewise.
17762 * conform/data/grp.h-data: Likewise.
17763 * conform/data/iconv.h-data: Likewise.
17764 * conform/data/inttypes.h-data: Likewise.
17765 * conform/data/langinfo.h-data: Likewise.
17766 * conform/data/libgen.h-data: Likewise.
17767 * conform/data/limits.h-data: Likewise.
17768 * conform/data/locale.h-data: Likewise.
17769 * conform/data/math.h-data: Likewise.
17770 * conform/data/monetary.h-data: Likewise.
17771 * conform/data/mqueue.h-data: Likewise.
17772 * conform/data/ndbm.h-data: Likewise.
17773 * conform/data/net/if.h-data: Likewise.
17774 * conform/data/netdb.h-data: Likewise.
17775 * conform/data/netinet/in.h-data: Likewise.
17776 * conform/data/nl_types.h-data: Likewise.
17777 * conform/data/poll.h-data: Likewise.
17778 * conform/data/pthread.h-data: Likewise.
17779 * conform/data/pwd.h-data: Likewise.
17780 * conform/data/regex.h-data: Likewise.
17781 * conform/data/sched.h-data: Likewise.
17782 * conform/data/search.h-data: Likewise.
17783 * conform/data/semaphore.h-data: Likewise.
17784 * conform/data/setjmp.h-data: Likewise.
17785 * conform/data/signal.h-data: Likewise.
17786 * conform/data/spawn.h-data: Likewise.
17787 * conform/data/stdarg.h-data: Likewise.
17788 * conform/data/stdio.h-data: Likewise.
17789 * conform/data/stdlib.h-data: Likewise.
17790 * conform/data/string.h-data: Likewise.
17791 * conform/data/strings.h-data: Likewise.
17792 * conform/data/stropts.h-data: Likewise.
17793 * conform/data/sys/ipc.h-data: Likewise.
17794 * conform/data/sys/mman.h-data: Likewise.
17795 * conform/data/sys/msg.h-data: Likewise.
17796 * conform/data/sys/resource.h-data: Likewise.
17797 * conform/data/sys/select.h-data: Likewise.
17798 * conform/data/sys/sem.h-data: Likewise.
17799 * conform/data/sys/shm.h-data: Likewise.
17800 * conform/data/sys/socket.h-data: Likewise.
17801 * conform/data/sys/stat.h-data: Likewise.
17802 * conform/data/sys/statvfs.h-data: Likewise.
17803 * conform/data/sys/time.h-data: Likewise.
17804 * conform/data/sys/timeb.h-data: Likewise.
17805 * conform/data/sys/times.h-data: Likewise.
17806 * conform/data/sys/types.h-data: Likewise.
17807 * conform/data/sys/uio.h-data: Likewise.
17808 * conform/data/sys/un.h-data: Likewise.
17809 * conform/data/sys/utsname.h-data: Likewise.
17810 * conform/data/sys/wait.h-data: Likewise.
17811 * conform/data/syslog.h-data: Likewise.
17812 * conform/data/tar.h-data: Likewise.
17813 * conform/data/termios.h-data: Likewise.
17814 * conform/data/utime.h-data: Likewise.
17815 * conform/data/utmpx.h-data: Likewise.
17816 * conform/data/varargs.h-data: Likewise.
17817 * conform/data/wchar.h-data: Likewise.
17818 * conform/data/wctype.h-data: Likewise.
17819 * conform/data/wordexp.h-data: Likewise.
17821 * include/stropts.h: New file.
17822 * include/uchar.h: New file.
17823 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17824 * include/assert.h: Likewise.
17825 * include/ctype.h: Likewise.
17826 * include/dirent.h: Likewise.
17827 * include/dlfcn.h: Likewise.
17828 * include/fcntl.h: Likewise.
17829 * include/fnmatch.h: Likewise.
17830 * include/glob.h: Likewise.
17831 * include/grp.h: Likewise.
17832 * include/libio.h: Likewise.
17833 * include/locale.h: Likewise.
17834 * include/math.h: Likewise.
17835 * include/net/if.h: Likewise.
17836 * include/netdb.h: Likewise.
17837 * include/netinet/in.h: Likewise.
17838 * include/pthread.h: Likewise.
17839 * include/pwd.h: Likewise.
17840 * include/regex.h: Likewise.
17841 * include/sched.h: Likewise.
17842 * include/search.h: Likewise.
17843 * include/setjmp.h: Likewise.
17844 * include/signal.h: Likewise.
17845 * include/stdio.h: Likewise.
17846 * include/stdlib.h: Likewise.
17847 * include/string.h: Likewise.
17848 * include/sys/cdefs.h: Likewise.
17849 * include/sys/mman.h: Likewise.
17850 * include/sys/msg.h: Likewise.
17851 * include/sys/resource.h: Likewise.
17852 * include/sys/select.h: Likewise.
17853 * include/sys/socket.h: Likewise.
17854 * include/sys/stat.h: Likewise.
17855 * include/sys/statvfs.h: Likewise.
17856 * include/sys/time.h: Likewise.
17857 * include/sys/times.h: Likewise.
17858 * include/sys/uio.h: Likewise.
17859 * include/sys/utsname.h: Likewise.
17860 * include/sys/wait.h: Likewise.
17861 * include/termios.h: Likewise.
17862 * include/time.h: Likewise.
17863 * include/ulimit.h: Likewise.
17864 * include/unistd.h: Likewise.
17865 * include/utime.h: Likewise.
17866 * include/wchar.h: Likewise.
17867 * include/wctype.h: Likewise.
17868 * include/wordexp.h: Likewise.
17870 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17872 * time/time.h: TIME_UTC must be a macro.
17873 Make timespec_get available for ISO C11 only as well.
17875 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17877 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17878 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17880 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17882 * configure.in: Use -o not -a in test for unsupported multi-arch.
17884 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17886 * manual/texinfo.tex: Update to version 2012-01-19.16.
17888 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17890 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17892 2012-02-24 Roland McGrath <roland@hack.frob.com>
17895 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17896 * manual/fdl-1.3.texi: New file.
17897 * manual/fdl-1.1.texi: File removed.
17900 * manual/libc.texinfo (FDL_VERSION): New @set.
17901 Use it for mention of FDL in cover text.
17902 (Documentation License): Use it in @include file name.
17904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17905 Roland McGrath <roland@hack.frob.com>
17908 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17909 not LONG_LONG_MAX and LONG_LONG_MIN.
17910 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17911 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17913 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17915 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17919 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17920 manipulate bits before adding and subtracting TWO23[sx].
17921 * math/libm-test.inc (nearbyint_test): Add more tests.
17923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17926 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17927 bits before adding and subtracting TWO23[sx].
17928 * math/libm-test.inc (rint_test): Add more tests.
17929 (rint_test_tonearest): Likewise.
17930 (rint_test_towardzero): Likewise.
17931 (rint_test_downward): Likewise.
17932 (rint_test_upward: Likewise.
17934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17937 * include/stdc-predef.h: New file. Extracted from features.h.
17938 * include/features.h: Include stdc-predef.h.
17939 * Makefile (headers): Add stdc-predef.h.
17940 * CONFORMANCE (Compiler limitations): Update.
17942 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17944 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17946 2012-02-21 David S. Miller <davem@davemloft.net>
17948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17949 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17951 2012-02-20 David S. Miller <davem@davemloft.net>
17953 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17954 using a normal save/restore sequence, rather than allocating a
17955 dummy stack frame just to store a frame pointer and restore.
17956 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17958 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17960 * manual/install.texi: Fix stray word in line-wrapped comment.
17962 2012-02-20 David S. Miller <davem@davemloft.net>
17964 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17965 both binutils and gcc support GOTDATA.
17967 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17968 "rd %pc" in the PIC register setup sequences.
17970 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17971 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17972 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17973 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17974 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17979 (SYSCALL_ERROR_HANDLER): Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17981 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17983 (SYSCALL_ERROR_HANDLER): Likewise.
17985 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17986 (HAVE_GCC_GOTDATA): New.
17987 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17988 relocation support in both binutils and gcc.
17989 * sysdeps/sparc/elf/configure: Regenerate.
17991 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17992 * sysdeps/sparc/sparc32/elf/configure: Delete.
17993 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17994 * sysdeps/sparc/sparc64/elf/configure: Delete.
17995 * sysdeps/sparc/elf/configure.in: New file.
17996 * sysdeps/sparc/elf/configure: Generate.
17998 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17999 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18000 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18001 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18002 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18004 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18006 * manual/install.texi: Do not mention specific glibc version
18008 * manual/libc.texinfo (VERSION, UPDATED): Update.
18009 (@copying): Use @copyright{} and range of years.
18011 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18014 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18015 [crti.S not in sysdirs] (generated): Do not append.
18016 [crti.S not in sysdirs] (omit-deps): Likewise.
18017 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18018 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18019 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18020 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18021 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18023 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18024 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18025 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18026 * csu/defs.awk: Remove file.
18027 * sysdeps/generic/initfini.c: Likewise.
18028 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18030 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18033 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18035 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18036 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18037 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18040 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18042 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18043 (__EPOLL_PACKED): Define to empty if not defined by
18045 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18051 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18052 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18053 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18056 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18060 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18062 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18065 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18069 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18074 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18076 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18077 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18079 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18081 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18084 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18086 * math/w_acos.c: Use non-signaling floating-point comparisons.
18087 * math/w_acosf.c: Likewise.
18088 * math/w_acosh.c: Likewise.
18089 * math/w_acoshf.c: Likewise.
18090 * math/w_acoshl.c: Likewise.
18091 * math/w_acosl.c: Likewise.
18092 * math/w_asin.c: Likewise.
18093 * math/w_asinf.c: Likewise.
18094 * math/w_asinl.c: Likewise.
18095 * math/w_atanh.c: Likewise.
18096 * math/w_atanhf.c: Likewise.
18097 * math/w_atanhl.c: Likewise.
18098 * math/w_exp2.c: Likewise.
18099 * math/w_exp2f.c: Likewise.
18100 * math/w_exp2l.c: Likewise.
18101 * math/w_j0.c: Likewise.
18102 * math/w_j0f.c: Likewise.
18103 * math/w_j0l.c: Likewise.
18104 * math/w_j1.c: Likewise.
18105 * math/w_j1f.c: Likewise.
18106 * math/w_j1l.c: Likewise.
18107 * math/w_jn.c: Likewise.
18108 * math/w_jnf.c: Likewise.
18109 * math/w_log.c: Likewise.
18110 * math/w_log10.c: Likewise.
18111 * math/w_log10f.c: Likewise.
18112 * math/w_log10l.c: Likewise.
18113 * math/w_log2.c: Likewise.
18114 * math/w_log2f.c: Likewise.
18115 * math/w_log2l.c: Likewise.
18116 * math/w_logf.c: Likewise.
18117 * math/w_logl.c: Likewise.
18118 * math/w_sqrt.c: Likewise.
18119 * math/w_sqrtf.c: Likewise.
18120 * math/w_sqrtl.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18127 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18130 * manual/string.texi (strnlen): Use correct parameter name in
18131 equivalent expression.
18133 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18136 * manual/users.texi (seteuid): Consistently use neweuid for
18139 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18142 * manual/nss.texi (Services in the NSS configuration): Correct
18143 list of services in example configuration file.
18145 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18148 * manual/arith.texi: Remove statements about negative zero
18149 behaving identically to zero.
18151 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18154 * manual/install.texi: Do not document upgrading from libc5.
18156 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18159 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18161 2012-02-18 David S. Miller <davem@davemloft.net>
18163 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18164 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18165 %o7 across the call.
18166 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18169 SETUP_PIC_REG_LEAF.
18170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18171 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18172 * sysdeps/sparc/crtn.S: Likewise.
18174 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18176 * aout/Makefile: Remove.
18178 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18181 * manual/examples/argp-ex1.c (main): Format definition in GNU
18183 * manual/examples/argp-ex2.c (main): Likewise.
18184 * manual/examples/argp-ex3.c (main): Likewise.
18185 * manual/examples/argp-ex4.c (main): Likewise.
18186 * manual/examples/longopt.c (main): Use new-style prototype
18188 * manual/examples/strncat.c (main): Specify return type and use
18189 (void) for arguments.
18190 * manual/examples/subopt.c (main): Use char **argv argument.
18192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18195 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18198 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18201 * manual/string.texi (strchr): Change when strchrnul is
18204 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18207 * manual/locale.texi (setlocale): Document LOCPATH.
18209 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18212 * manual/process.texi (execle): Move @dots{} before last argument.
18214 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18217 * manual/charset.texi (Generic Charset Conversion): Fix typo
18218 (LC_TYPE -> LC_CTYPE).
18220 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18223 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18224 (scalbnf): Likewise.
18225 (scalbnl): Likewise.
18226 (scalbln): Likewise.
18227 (scalblnf): Likewise.
18228 (scalblnl): Likewise.
18229 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18230 (vwarnx): Likewise.
18233 * manual/filesys.texi (telldir): Use braces around return type.
18234 * manual/llio.texi (mmap): Add space after comma.
18235 (mmap64): Likewise.
18236 * manual/math.texi (jn): Use @var{} on parameter names.
18242 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18244 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18246 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18247 (sched_get_priority_max): Likewise.
18248 * manual/signal.texi (sigvec): Add space after comma.
18249 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18251 (if_indextoname): Likewise.
18252 (if_freenameindex): Likewise.
18253 (sendto): Use ',' instead of '.' in prototype.
18254 * manual/startup.texi (syscall): Use @dots{} instead of literal
18256 * manual/stdio.texi (__fpending): Separate initial words of
18257 paragraph from @deftypefun line.
18258 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18260 (vsyslog): Use @var{} on parameter names.
18261 * manual/terminal.texi (stty): Use @var{} on parameter names.
18262 * manual/users.texi (getutmp): Use @var{} on parameter names.
18263 (getutmpx): Likewise.
18265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18268 * manual/stdio.texi (fopen): Fix typos in description of
18271 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18274 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18275 get clock_id definition.
18277 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18280 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18281 (madvise): Cast every argument to void on its own.
18283 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18286 * manual/startup.texi (Exit Status): Fix typo.
18288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18291 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18292 * manual/examples/argp-ex2.c: Likewise.
18293 * manual/examples/argp-ex3.c: Likewise.
18295 2012-02-16 Richard Henderson <rth@redhat.com>
18297 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18298 * sysdeps/s390/s390-32/initfini.c: Remove.
18299 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18300 * sysdeps/s390/s390-64/initfini.c: Remove.
18302 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18304 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18305 compiler output for sysdeps/generic/initfini.c.
18306 * sysdeps/sh/elf/initfini.c: Remove file.
18308 2012-02-16 David S. Miller <davem@davemloft.net>
18311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18313 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18314 * sysdeps/sparc/crti.S: New file.
18315 * sysdeps/sparc/crtn.S: New file.
18316 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18317 * sysdeps/sparc/sparc64/Makefile: Likewise.
18319 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18322 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18324 2012-02-15 Roland McGrath <roland@hack.frob.com>
18327 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18329 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18330 (write, read, close): Likewise.
18331 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18333 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18335 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18336 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18337 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18338 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18340 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18344 2012-02-14 Marek Polacek <polacek@redhat.com>
18346 * sysdeps/x86_64/crti.S: New file.
18347 * sysdeps/x86_64/crtn.S: New file.
18348 * sysdeps/x86_64/elf/initfini.c: Remove file.
18350 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18352 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18353 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18354 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18355 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18357 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18361 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18363 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18364 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18365 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18366 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18368 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18372 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18374 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18375 __feraiseexcept instead of feraiseexcept.
18377 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18378 nanosleep invocations.
18379 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18380 strings, and add error checking for a nanosleep invocations.
18382 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18384 Replace FSF snail mail address with URLs, as per GNU coding standards.
18385 Most of the snail mail addresses were wrong anyway, and omitting
18386 them makes the source code easier to maintain. Almost all of the
18387 changes are to license notices and to locale LC_IDENTIFICATION
18388 addresses, except for this one:
18389 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18390 not its snail mail address.
18392 2012-02-09 Richard Henderson <rth@twiddle.net>
18394 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18395 of kernel-features.h.
18397 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18399 2012-02-08 Marek Polacek <polacek@redhat.com>
18401 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18402 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18403 * sysdeps/gnu/_G_config.h: Likewise.
18404 * sysdeps/generic/_G_config.h: Likewise.
18406 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18408 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18412 * sysdeps/powerpc/powerpc32/crti.S: New file.
18413 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18414 * sysdeps/powerpc/powerpc64/crti.S: New file.
18415 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18417 * Makeconfig (have-initfini): Don't set.
18418 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18419 * configure.in (nopic_initfini): Don't substitute.
18420 * config.h.in (HAVE_INITFINI): Don't #undef.
18421 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18422 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18424 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18426 Support crti.S and crtn.S provided directly by architectures.
18427 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18428 [crti.S in sysdirs] (omit-deps): Likewise.
18429 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18430 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18431 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18432 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18433 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18434 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18435 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18436 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18437 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18438 compiler output for sysdeps/generic/initfini.c.
18439 * sysdeps/i386/elf/Makefile: Remove file.
18440 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18442 2012-02-07 Marek Polacek <polacek@redhat.com>
18444 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18445 * sysdeps/gnu/_G_config.h: Likewise.
18446 * sysdeps/mach/hurd/_G_config.h: Likewise.
18448 2012-02-07 Marek Polacek <polacek@redhat.com>
18450 * math/Makefile (tests): Add tst-CMPLX2.
18451 * math/tst-CMPLX2.c: New file.
18453 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18455 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18457 * math/libm-test.inc (jn_test): Add missing L suffix.
18459 2012-02-06 Marek Polacek <polacek@redhat.com>
18461 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18462 * sysdeps/i386/fpu/e_powf.S: Likewise.
18463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18464 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18466 * sysdeps/i386/fpu/e_pow.S: Likewise.
18467 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18468 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18469 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18470 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18471 * sysdeps/i386/fpu/e_log2.S: Likewise.
18472 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18474 * sysdeps/i386/fpu/e_powl.S: Likewise.
18475 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18477 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18478 * sysdeps/i386/fpu/e_logl.S: Likewise.
18479 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18480 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18481 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18482 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18483 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18484 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18485 * sysdeps/i386/fpu/e_log.S: Likewise.
18486 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18488 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18489 * sysdeps/i386/fpu/e_logf.S: Likewise.
18490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18492 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18493 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18494 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18495 * sysdeps/i386/fpu/e_log10.S: Likewise.
18496 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18497 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18498 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18499 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18500 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18501 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18502 * sysdeps/i386/asm-syntax.h: Likewise.
18503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18504 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18505 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18506 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18507 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18509 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18510 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18512 * sysdeps/powerpc/sysdep.h: Likewise.
18513 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18514 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18516 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18519 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18521 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/i386/sysdep.h: Include <features.h>.
18524 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18527 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18531 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18534 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18536 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18537 (SETUP_PIC_REG): Use GET_PC_THUNK.
18538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18541 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18543 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18544 for non-PIC compilation.
18545 (SETUP_PIC_REG): Add .p2align directive.
18546 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18547 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18588 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18590 * math/tst-CMPLX.c: Include <stdio.h>.
18592 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18594 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18597 * sysdeps/sparc/bits/mathdef.h: Likewise.
18599 2012-01-31 Marek Polacek <polacek@redhat.com>
18601 * libio/libio.h: Don't define _PARAMS.
18602 * locale/programs/config.h: Don't define PARAMS.
18603 * stdlib/strtol_l.c: Likewise.
18604 (__strtol_l): Remove PARAMS from the prototype.
18606 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18608 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18609 names. Just use the correct names. Remove unnecessary wrapper
18611 * malloc/arena.c: Likewise.
18612 * malloc/hooks.c: Likewise.
18614 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18615 ARENA_TEST says not to. Simplify test for creation of a new arena.
18616 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18618 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18620 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18622 (update_get_addr): New function.
18623 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18624 GET_ADDR_MODULE parameter.
18626 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18628 * crypt/cert.c: Remove __STDC__ conditionals.
18629 * crypt/crypt-entry.c: Likewise.
18630 * crypt/crypt_util.c: Likewise.
18631 * libio/filedoalloc.c: Likewise.
18632 * libio/fileops.c: Likewise.
18633 * libio/genops.c: Likewise.
18634 * libio/iofclose.c: Likewise.
18635 * libio/iofdopen.c: Likewise.
18636 * libio/iofopen.c: Likewise.
18637 * libio/iofopen64.c: Likewise.
18638 * libio/iogetdelim.c: Likewise.
18639 * libio/iopopen.c: Likewise.
18640 * libio/obprintf.c: Likewise.
18641 * libio/oldfileops.c: Likewise.
18642 * libio/oldiofclose.c: Likewise.
18643 * libio/oldiofdopen.c: Likewise.
18644 * libio/oldiofopen.c: Likewise.
18645 * libio/oldiopopen.c: Likewise.
18646 * libio/wfiledoalloc.c: Likewise.
18647 * libio/wgenops.c: Likewise.
18648 * locale/programs/xmalloc.c: Likewise.
18649 * misc/syslog.c: Likewise.
18650 * stdio-common/xbug.c: Likewise.
18651 * string/memchr.c: Likewise.
18652 * string/memcmp.c: Likewise.
18653 * string/memrchr.c: Likewise.
18654 * string/rawmemchr.c: Likewise.
18655 * sysdeps/posix/getcwd.c: Likewise.
18656 * time/strftime_l.c: Likewise.
18658 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18660 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18661 * config.make.in (config-cflags-sse2avx): Define.
18662 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18665 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18667 * scripts/config.guess: Update from upstream config git repository.
18668 * scripts/config.sub: Likewise.
18670 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18672 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18674 (R_TILEPRO_*, R_TILEGX_*): New macros.
18676 * scripts/firstversions.awk: Fix bug in version range handling.
18678 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18680 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18682 * include/sys/epoll.h: New file.
18683 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18686 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18688 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18689 Avoid unnecessary __WORDSIZE == 64 test.
18690 (fmaxf): Use VEX format if possible.
18695 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18696 * math/math_private.h: Remove libc_fegetround* and
18698 * sysdeps/i386/configure.in: Check for -msse2avx.
18699 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18700 also if SSE2AVX is defined.
18701 Remove libc_fegetround* and libc_fesetround*.
18702 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18703 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18707 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18712 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18714 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18718 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18720 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18723 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18725 * Makeconfig (libm): Define.
18726 * elf/Makefile: Add rules to build and run tst-relsort1.
18727 * elf/tst-relsort1.c: New file.
18728 * elf/tst-relsort1mod1.c: New file.
18729 * elf/tst-relsort1mod2.c: New file.
18731 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18733 * math/s_ldexp.c: Remove __STDC__ conditionals.
18734 * math/s_ldexpf.c: Likewise.
18735 * math/s_ldexpl.c: Likewise.
18736 * math/s_nextafter.c: Likewise.
18737 * math/s_nexttowardf.c: Likewise.
18738 * math/s_significand.c: Likewise.
18739 * math/s_significandf.c: Likewise.
18740 * math/s_significandl.c: Likewise.
18741 * math/w_jnl.c: Likewise.
18742 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18743 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18744 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18745 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18746 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18774 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18775 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18781 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18782 * sysdeps/ieee754/k_standard.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18862 * sysdeps/ieee754/s_matherr.c: Likewise.
18863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18868 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18870 * crypt/md5.h: Remove __STDC__ conditionals.
18871 * libio/libioP.h: Likewise.
18872 * locale/programs/config.h: Likewise.
18873 * sysdeps/generic/sysdep.h: Likewise.
18874 * sysdeps/i386/asm-syntax.h: Likewise.
18875 * sysdeps/s390/asm-syntax.h: Likewise.
18876 * sysdeps/unix/sysdep.h: Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18880 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18882 * libio/libio.h: Remove __STDC__ conditionals.
18883 * malloc/obstack.h: Likewise.
18884 * math/complex.h: Likewise.
18885 * math/math.h: Likewise.
18886 * sysdeps/generic/_G_config.h: Likewise.
18887 * sysdeps/gnu/_G_config.h: Likewise.
18888 * sysdeps/mach/hurd/_G_config.h: Likewise.
18889 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18890 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18891 * sysdeps/sparc/bits/mathdef.h: Likewise.
18893 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18896 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18897 Clean up HAS_* macros.
18898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18899 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18903 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18904 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18906 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18909 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18911 * elf/tst-unique3.cc (gets): Remove declaration.
18912 * elf/tst-unique3lib.cc (gets): Likewise.
18913 * elf/tst-unique3lib2.cc (gets): Likewise.
18914 * elf/tst-unique4.cc (gets): Likewise.
18916 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18918 * include/stdio.h: Add C++ protection. Add gets declarations and
18920 * debug/tst-chk1.c: Don't declare gets here.
18921 * stdio-common/tst-gets.c: Likewise.
18923 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18925 * posix/glob: Remove directory.
18927 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18929 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18931 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18933 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18934 of the non-standard EPFNOSUPPORT.
18936 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18938 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18939 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18940 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18942 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18944 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18946 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18948 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18950 * nscd/grpcache.c (cache_addgr): Likewise.
18951 * nscd/hstcache.c (cache_addhst): Likewise.
18952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18953 * nscd/pwdcache.c (cache_addpw): Likewise.
18954 * nscd/servicescache.c (cache_addserv): Likewise.
18956 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18958 * malloc/malloc.c: Various cleanups.
18959 * malloc/hooks.c: Likewise.
18961 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18962 * stdlib/bug-fmtmsg1.c: New file.
18964 * stdlib/fmtmsg.c (init): Add missing unlock.
18965 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18967 2012-01-12 Marek Polacek <polacek@redhat.com>
18969 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18972 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18974 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18975 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18976 macro to ensure uniqueness of label name.
18977 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18978 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18980 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18984 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18985 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18989 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18993 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18997 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18999 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19000 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19001 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19004 * math/bits/math-finite.h: Add ldexp support.
19006 2012-01-10 Marek Polacek <polacek@redhat.com>
19008 * locale/programs/localedef.h (show_archive_content): Add noreturn
19011 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19013 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19015 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19017 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19019 * io/Makefile (headers): Add bits/poll2.h.
19021 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19024 typo #include statement.
19026 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19028 * include/sys/cdefs.h: Define __attribute_alloc_size.
19029 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19030 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19031 * elf/pldd.c: Likewise.
19032 * iconv/iconv_charmap.c: Likewise.
19033 * iconv/iconvconfig.c: Likewise.
19034 * iconv/strtab.c: Likewise.
19035 * locale/programs/locale.c: Likewise.
19036 * locale/programs/localedef.h: Likewise.
19037 * locale/programs/simple-hash.c: Likewise.
19038 * nscd/nscd.h: Likewise.
19039 * nss/makedb.c: Likewise.
19040 * sysdeps/generic/ldconfig.h: Likewise.
19041 * locale/programs/localedef.c: Remove xmalloc prototype.
19042 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19044 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19046 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19049 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19051 * math/Makefile (tests): Add tst-CMPLX.
19052 * math/tst-CMPLX.c: New file.
19054 * math/complex.h (CMPLXL): Fix typo.
19056 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19057 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19059 * debug/tst-chk1.c: Add poll and ppoll tests.
19060 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19061 * include/sys/poll.h: Add hidden proto for ppoll.
19062 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19063 * sysdeps/mach/hurd/ppoll.c: Likewise.
19064 * io/ppoll.c: Likewise.
19065 * debug/poll_chk.c: New file.
19066 * debug/ppoll_chk.c: New file.
19067 * include/bits/poll2.h: New file.
19068 * io/bits/poll2.h: New file.
19071 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19073 * configure.in: static is always set to yes. Remove.
19074 * config.make.in: Don't set build-static.
19075 * Makeconfig: Remove use of build-static.
19076 * dlfcn/Makefile: Likewise.
19077 * elf/Makefile: Likewise.
19078 * math/Makefile: Likewise.
19079 * misc/Makefile: Likewise.
19080 * nptl/Makefile: Likewise.
19081 * sysdeps/mach/hurd/Makefile: Likewise.
19083 * configure.in: PWD_P is not used anymore.
19084 * config.make.in: Remove PWD_P entry.
19086 * configure.in: Remove last remnants of RANLIB.
19087 No need to check for signed size_t anymore.
19088 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19090 Remove __builtin_expect test because we require at least gcc 3.4.
19091 * aclocal.m4: Likewise.
19093 * wcsmbs/mbrtoc16.c: Implement using towc function.
19094 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19095 * wcsmbs/wcsmbsload.c: Likewise.
19096 * iconv/gconv_simple.c: Likewise.
19097 * iconv/gconv_int.h: Likewise.
19098 * iconv/gconv_builtin.h: Likewise.
19099 * iconv/iconv_prog.c: Remove CHAR16 handling.
19101 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19103 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19105 * configure.in: Remove --with-elf and --enable-bounded options.
19106 Dont set base_machine for ia64. More non-ELF conditions removed.
19107 Remove testing and setting of leading underscore information.
19108 * config.make.in (build-bounded): Set to no.
19109 * config.h.in: Remove NO_UNDERSCORES entry.
19110 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19112 * csu/start.c: Remove !NO_UNDERSCORE code.
19113 * locale/localeinfo.h: Likewise.
19114 * sysdeps/generic/machine-gmon.h: Likewise.
19115 * sysdeps/generic/sysdep.h: Likewise.
19116 * sysdeps/i386/sysdep.h: Likewise.
19117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19118 * sysdeps/mach/sysdep.h: Likewise.
19119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19121 * sysdeps/sh/sysdep.h: Likewise.
19122 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19123 * sysdeps/unix/i386/sysdep.S: Likewise.
19124 * sysdeps/unix/sparc/start.c: Likewise.
19125 * sysdeps/unix/sparc/sysdep.S: Likewise.
19126 * sysdeps/unix/sparc/sysdep.h: Likewise.
19127 * sysdeps/unix/start.c: Likewise.
19128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19129 * sysdeps/x86_64/sysdep.h: Likewise.
19131 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19134 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19136 * argp/argp-fmtstream.h: Use const instead __const.
19137 * argp/argp.h: Likewise.
19138 * assert/assert.h: Likewise.
19139 * bits/fenv.h: Likewise.
19140 * bits/sched.h: Likewise.
19141 * bits/sigset.h: Likewise.
19142 * bits/sigthread.h: Likewise.
19143 * catgets/nl_types.h: Likewise.
19144 * conform/data/pthread.h-data: Likewise.
19145 * crypt/crypt-private.h: Likewise.
19146 * crypt/crypt.h: Likewise.
19147 * crypt/crypt_util.c: Likewise.
19148 * ctype/ctype.h: Likewise.
19149 * debug/execinfo.h: Likewise.
19150 * debug/mbsnrtowcs_chk.c: Likewise.
19151 * debug/mbsrtowcs_chk.c: Likewise.
19152 * debug/wcsnrtombs_chk.c: Likewise.
19153 * debug/wcsrtombs_chk.c: Likewise.
19154 * debug/wcstombs_chk.c: Likewise.
19155 * dirent/dirent.h: Likewise.
19156 * dlfcn/dlfcn.h: Likewise.
19157 * elf/neededtest4.c: Likewise.
19158 * grp/grp.h: Likewise.
19159 * gshadow/gshadow.h: Likewise.
19160 * iconv/gconv.h: Likewise.
19161 * iconv/gconv_int.h: Likewise.
19162 * iconv/gconv_simple.c: Likewise.
19163 * iconv/iconv.h: Likewise.
19164 * iconv/loop.c: Likewise.
19165 * iconv/skeleton.c: Likewise.
19166 * include/aio.h: Likewise.
19167 * include/aliases.h: Likewise.
19168 * include/argz.h: Likewise.
19169 * include/arpa/inet.h: Likewise.
19170 * include/assert.h: Likewise.
19171 * include/dirent.h: Likewise.
19172 * include/dlfcn.h: Likewise.
19173 * include/execinfo.h: Likewise.
19174 * include/fcntl.h: Likewise.
19175 * include/fenv.h: Likewise.
19176 * include/glob.h: Likewise.
19177 * include/grp.h: Likewise.
19178 * include/libintl.h: Likewise.
19179 * include/mntent.h: Likewise.
19180 * include/netdb.h: Likewise.
19181 * include/pwd.h: Likewise.
19182 * include/rpc/netdb.h: Likewise.
19183 * include/sched.h: Likewise.
19184 * include/search.h: Likewise.
19185 * include/shadow.h: Likewise.
19186 * include/signal.h: Likewise.
19187 * include/stdio.h: Likewise.
19188 * include/stdlib.h: Likewise.
19189 * include/string.h: Likewise.
19190 * include/sys/socket.h: Likewise.
19191 * include/sys/stat.h: Likewise.
19192 * include/sys/statfs.h: Likewise.
19193 * include/sys/statvfs.h: Likewise.
19194 * include/sys/syslog.h: Likewise.
19195 * include/sys/time.h: Likewise.
19196 * include/sys/uio.h: Likewise.
19197 * include/time.h: Likewise.
19198 * include/unistd.h: Likewise.
19199 * include/utmp.h: Likewise.
19200 * include/wchar.h: Likewise.
19201 * include/wctype.h: Likewise.
19202 * inet/aliases.h: Likewise.
19203 * inet/arpa/inet.h: Likewise.
19204 * inet/netinet/ether.h: Likewise.
19205 * inet/netinet/in.h: Likewise.
19206 * intl/libintl.h: Likewise.
19207 * io/bits/fcntl2.h: Likewise.
19208 * io/fcntl.h: Likewise.
19209 * io/ftw.h: Likewise.
19210 * io/sys/poll.h: Likewise.
19211 * io/sys/stat.h: Likewise.
19212 * io/sys/statfs.h: Likewise.
19213 * io/sys/statvfs.h: Likewise.
19214 * io/utime.h: Likewise.
19215 * libio/bits/stdio.h: Likewise.
19216 * libio/bits/stdio2.h: Likewise.
19217 * libio/libio.h: Likewise.
19218 * libio/libioP.h: Likewise.
19219 * libio/stdio.h: Likewise.
19220 * locale/lc-ctype.c: Likewise.
19221 * locale/locale.h: Likewise.
19222 * login/utmp.h: Likewise.
19223 * malloc/arena.c: Likewise.
19224 * malloc/malloc.c: Likewise.
19225 * malloc/malloc.h: Likewise.
19226 * malloc/mcheck.c: Likewise.
19227 * malloc/mtrace.c: Likewise.
19228 * math/bits/mathcalls.h: Likewise.
19229 * math/fenv.h: Likewise.
19230 * math/math_private.h: Likewise.
19231 * misc/bits/error.h: Likewise.
19232 * misc/bits/syslog.h: Likewise.
19233 * misc/err.h: Likewise.
19234 * misc/error.h: Likewise.
19235 * misc/fstab.h: Likewise.
19236 * misc/mntent.h: Likewise.
19237 * misc/regexp.h: Likewise.
19238 * misc/search.h: Likewise.
19239 * misc/sgtty.h: Likewise.
19240 * misc/sys/mman.h: Likewise.
19241 * misc/sys/syslog.h: Likewise.
19242 * misc/sys/uio.h: Likewise.
19243 * misc/sys/xattr.h: Likewise.
19244 * misc/ttyent.h: Likewise.
19245 * nis/rpcsvc/ypclnt.h: Likewise.
19246 * nss/nss.h: Likewise.
19247 * posix/bits/unistd.h: Likewise.
19248 * posix/fnmatch.h: Likewise.
19249 * posix/glob.h: Likewise.
19250 * posix/sched.h: Likewise.
19251 * posix/spawn.h: Likewise.
19252 * posix/sys/wait.h: Likewise.
19253 * posix/unistd.h: Likewise.
19254 * posix/wordexp.h: Likewise.
19255 * pwd/pwd.h: Likewise.
19256 * resolv/netdb.h: Likewise.
19257 * resource/sys/resource.h: Likewise.
19258 * rt/aio.h: Likewise.
19259 * rt/bits/mqueue2.h: Likewise.
19260 * rt/mqueue.h: Likewise.
19261 * shadow/shadow.h: Likewise.
19262 * signal/signal.h: Likewise.
19263 * socket/send.c: Likewise.
19264 * socket/sendto.c: Likewise.
19265 * socket/sys/socket.h: Likewise.
19266 * stdio-common/printf.h: Likewise.
19267 * stdlib/bits/stdlib.h: Likewise.
19268 * stdlib/fmtmsg.h: Likewise.
19269 * stdlib/monetary.h: Likewise.
19270 * stdlib/stdlib.h: Likewise.
19271 * stdlib/ucontext.h: Likewise.
19272 * streams/stropts.h: Likewise.
19273 * string/argz.h: Likewise.
19274 * string/bits/string2.h: Likewise.
19275 * string/string.h: Likewise.
19276 * string/strings.h: Likewise.
19277 * sunrpc/rpc/auth.h: Likewise.
19278 * sunrpc/rpc/auth_des.h: Likewise.
19279 * sunrpc/rpc/clnt.h: Likewise.
19280 * sunrpc/rpc/netdb.h: Likewise.
19281 * sunrpc/rpc/pmap_clnt.h: Likewise.
19282 * sunrpc/rpc/xdr.h: Likewise.
19283 * sysdeps/generic/inttypes.h: Likewise.
19284 * sysdeps/generic/net/if.h: Likewise.
19285 * sysdeps/generic/sys/swap.h: Likewise.
19286 * sysdeps/gnu/net/if.h: Likewise.
19287 * sysdeps/gnu/utmpx.h: Likewise.
19288 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19289 * sysdeps/i386/i486/bits/string.h: Likewise.
19290 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19291 * sysdeps/s390/bits/string.h: Likewise.
19292 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19293 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19294 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19295 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19296 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19297 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19298 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19299 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19300 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19301 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19302 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19303 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19304 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19305 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19306 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19307 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19308 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19314 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19315 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19316 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19317 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19318 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19320 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19322 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19323 * sysvipc/sys/ipc.h: Likewise.
19324 * sysvipc/sys/msg.h: Likewise.
19325 * sysvipc/sys/sem.h: Likewise.
19326 * sysvipc/sys/shm.h: Likewise.
19327 * termios/termios.h: Likewise.
19328 * time/sys/time.h: Likewise.
19329 * time/time.h: Likewise.
19330 * wcsmbs/bits/wchar2.h: Likewise.
19331 * wcsmbs/uchar.h: Likewise.
19332 * wcsmbs/wchar.h: Likewise.
19333 * wctype/wctype.h: Likewise.
19336 * Makeconfig: Remove all but ELF support including AIX support.
19337 * Makerules: Likewise.
19338 * config.h.in: Likewise.
19339 * config.make.in: Likewise.
19340 * configure: Likewise.
19341 * configure.in: Likewise.
19342 * csu/Makefile: Likewise.
19343 * csu/version.c: Likewise.
19344 * debug/Makefile: Likewise.
19345 * dlfcn/Makefile: Likewise.
19346 * elf/Makefile: Likewise.
19347 * extra-lib.mk: Likewise.
19348 * iconv/Makefile: Likewise.
19349 * include/libc-symbols.h: Likewise.
19350 * include/shlib-compat.h: Likewise.
19351 * resolv/Makefile: Likewise.
19352 * resolv/res_libc.c: Likewise.
19353 * rt/Makefile: Likewise.
19354 * sysdeps/i386/asm-syntax.h: Likewise.
19355 * sysdeps/i386/sysdep.h: Likewise.
19356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19357 * sysdeps/mach/sysdep.h: Likewise.
19358 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19359 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19360 * sysdeps/s390/asm-syntax.h: Likewise.
19361 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19363 * sysdeps/sh/sysdep.h: Likewise.
19364 * sysdeps/unix/sparc/sysdep.h: Likewise.
19365 * sysdeps/wordsize-32/divdi3.c: Likewise.
19366 * sysdeps/x86_64/sysdep.h: Likewise.
19368 * argp/Versions: Remove _argp_unlock_xxx.
19371 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19372 * abilist/libBrokenLocale.abilist: Likewise.
19373 * abilist/libanl.abilist: Likewise.
19374 * abilist/libc.abilist: Likewise.
19375 * abilist/libcrypt.abilist: Likewise.
19376 * abilist/libdl.abilist: Likewise.
19377 * abilist/libm.abilist: Likewise.
19378 * abilist/libnsl.abilist: Likewise.
19379 * abilist/libpthread.abilist: Likewise.
19380 * abilist/libresolv.abilist: Likewise.
19381 * abilist/librt.abilist: Likewise.
19382 * abilist/libthread_db.abilist: Likewise.
19383 * abilist/libutil.abilist: Likewise.
19384 * abilist/libnss_db.abilist: New file.
19386 * scripts/abilist.awk: Add support for indirect functions.
19388 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19390 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19392 * shlib-versions: Remove entries for ports architectures.
19394 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19396 * elf/stackguard-macros.h: Remove support for IA-64.
19397 * elf/tst-auditmod1.c: Likewise.
19398 * sysdeps/generic/ldsodefs.h: Likewise.
19400 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19401 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19405 * configure.in: Remove --enable-omitfp support.
19407 * config.make.in: Likewise.
19408 * Makeconfig: Likewise.
19409 * manual/install.texi: Likewise.
19411 In case anyone cares, the IA-64 architecture could move to ports.
19412 * sysdeps/ia64/*: Removed.
19413 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19414 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19417 * configure.in: Remove entries for unsupported architectures.
19420 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19421 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19423 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19424 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19425 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19426 fall back to using wcrtomb.
19427 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19428 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19430 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19431 * wcsmbs/tst-c16c32-1.c: New file.
19433 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19436 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19438 * elf/tst-unique3.cc: Add explicit declaration of gets.
19439 * elf/tst-unique3lib.cc: Likewise.
19440 * elf/tst-unique3lib2.cc: Likewise.
19441 * elf/tst-unique4.cc: Likewise.
19443 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19445 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19448 * assert/assert.h (static_assert): Don't define for C++.
19449 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19450 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19452 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19454 * iconv/loop.c (single loop): Fix assertion in storing of
19457 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19459 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19461 * posix/getconf.c: Update copyright year.
19462 * nss/getent.c: Likewise.
19463 * nss/makedb.c: Likewise.
19464 * iconv/iconvconfig.c: Likewise.
19465 * iconv/iconv_prog.c: Likewise.
19466 * elf/ldconfig.c: Likewise.
19467 * elf/pldd.c: Likewise.
19468 * elf/sotruss.ksh: Likewise.
19469 * catgets/gencat.c: Likewise.
19470 * csu/version.c: Likewise.
19471 * elf/ldd.bash.in: Likewise.
19472 * elf/sprof.c (print_version): Likewise.
19473 * locale/programs/locale.c: Likewise.
19474 * locale/programs/localedef.c: Likewise.
19475 * login/programs/pt_chown.c: Likewise.
19476 * nscd/nscd.c (print_version): Likewise.
19477 * debug/xtrace.sh: Likewise.
19478 * malloc/memusage.sh: Likewise.
19479 * malloc/mtrace.pl: Likewise.
19480 * debug/catchsegv.sh: Likewise.
19482 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19484 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19487 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19490 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19491 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19493 * iconv/gconv_int.h: Likewise.
19494 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19495 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19496 from libc for GLIBC_2.16.
19497 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19498 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19499 * wcsmbs/uchar.h: Really define mbstate_t.
19500 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19501 * wcsmbs/c16rtomb.c: New file.
19502 * wcsmbs/mbrtoc16.c: New file.
19503 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19504 for C/POSIX locale.
19505 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19506 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19508 * wcsmbs/wchar.h: Add missing __restrict.
19510 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19513 * time/Makefile (routines): Add timespec_get.
19514 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19515 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19516 timespec for ISO C11.
19517 * time/timespec_get.c: New file.
19518 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19519 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19522 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19523 * stdlib/stdlib.h: Declare aligned_alloc.
19524 * Versions.def: Add GLIBC_2.16 for libc.
19525 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19528 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19531 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19535 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19538 * assert/assert.h (static_assert): Define.
19540 * version.h: Update for 2.16 development version.
19543 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19546 * version.h (RELEASE): Bump for 2.15 release.
19547 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19549 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19550 Patch by Marek Polacek <mpolacek@redhat.com>.
19552 * bits/byteswap.h: Protect long long constants with __extension__.
19553 * sysdeps/i386/bits/byteswap.h: Likewise.
19554 * sysdeps/ia64/bits/byteswap.h: Likewise.
19555 * sysdeps/s390/bits/byteswap.h: Likewise.
19556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19558 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19562 destination buffer.
19563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19565 2011-12-23 Marek Polacek <polacek@redhat.com>
19567 * elf/dl-addr.c (determine_info): Add inline keyword.
19568 * elf/tst-auditmod4b.c (check_avx): Likewise.
19569 * elf/tst-auditmod6b.c (check_avx): Likewise.
19570 * elf/tst-auditmod6c.c (check_avx): Likewise.
19571 * elf/tst-auditmod7b.c (check_avx): Likewise.
19573 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19578 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19582 processing for last bytes.
19584 2011-08-06 Bruno Haible <bruno@clisp.org>
19587 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19588 U+0385, not to U+1FEE.
19591 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19592 entry for U+00A5 U+0301.
19594 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19597 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19598 buffer for the output is too small.
19600 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19604 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19605 SSE flags if possible.
19607 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19611 processing for last bytes.
19613 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19615 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19616 (syscall-list-default-options, syscall-list-default-condition)
19617 (syscall-list-includes): Define.
19618 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19619 list of ABIs and options and #if conditions for each ABI. Do not
19620 handle common syscalls between ABIs specially.
19621 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19623 (syscall-list-variants, syscall-list-32bit-options)
19624 (syscall-list-32bit-condition, syscall-list-64bit-options)
19625 (syscall-list-64bit-condition): Define.
19626 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19627 (syscall-list-variants, syscall-list-32bit-options)
19628 (syscall-list-32bit-condition, syscall-list-64bit-options)
19629 (syscall-list-64bit-condition): Define.
19630 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19632 (syscall-list-variants, syscall-list-32bit-options)
19633 (syscall-list-32bit-condition, syscall-list-64bit-options)
19634 (syscall-list-64bit-condition): Define.
19635 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19637 (syscall-list-variants, syscall-list-32bit-options)
19638 (syscall-list-32bit-condition, syscall-list-64bit-options)
19639 (syscall-list-64bit-condition): Define.
19641 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19643 * locale/iso-639.def: Add brx entry.
19646 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19647 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19649 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19650 __feraiseexcept_renamed.
19652 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19655 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19656 EPOLLET with unsigned values.
19657 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19660 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19661 to large cancellation.
19662 * math/s_cacoshf.c: Likewise.
19663 * math/s_cacoshl.c: Likewise.
19665 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19669 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19670 * math/s_cacoshf.c: Likewise.
19671 * math/s_cacoshl.c: Likewise.
19673 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19676 * iconv/gconv.h: Define __GCONV_SWAP.
19677 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19678 * iconvdata/utf-16.c: Likewise.
19679 * iconvdata/utf-32.c: Likewise.
19681 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19685 numerator after shifting it by one limb.
19687 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19690 under [__USE_EXTERN_INLINES].
19692 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19695 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19697 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19699 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19700 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19702 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19703 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19704 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19705 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19706 for strncasecmp/strncasecmp_l compilation.
19707 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19708 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19710 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19713 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19716 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19719 * time/tzfile.c (__tzfile_read): Check values from file header.
19721 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19723 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19724 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19725 * powerpc/powerpc32/dl-start.S: Likewise.
19726 * powerpc/powerpc32/elf/start.S: Likewise.
19727 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19728 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19729 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19730 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19731 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19732 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19733 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19734 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19735 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19736 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19737 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19738 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19739 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19740 * powerpc/powerpc32/memset.S: Likewise.
19741 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19742 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19743 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19744 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19745 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19746 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19747 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19748 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19749 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19750 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19755 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19757 * math/libm-test.inc: Added more nearbyint tests.
19758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19763 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19765 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19768 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19770 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19771 Add wcscpy-ssse3 wcscpy-c.
19772 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19773 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19774 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19775 * sysdeps/x86_64/wcschr.S: New file.
19776 * sysdeps/x86_64/wcsrchr.S: New file.
19777 * string/test-strcmp.c: Remove checking of wcscmp function for
19779 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19780 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19781 wcsrchr-sse2 wcsrchr-c.
19782 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19783 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19784 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19785 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19786 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19787 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19788 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19789 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19790 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19791 * wcsmbc/wcschr.c (WCSCHR): New macro.
19793 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19795 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19796 * wcsmbs/test-wcsrchr.c: New file.
19797 * string/test-strrchr.c: Add wcsrchr support.
19799 * wcsmbs/test-wcscpy.c: New file.
19800 * string/test-strcpy.c: Add wcscpy support.
19803 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19805 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19808 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19811 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19813 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19815 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19816 Minor optimizations.
19818 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19819 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19820 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19822 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19824 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19825 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19826 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19827 for gcc to avoid warnings.
19828 * inet/Makefile (tests): Add tst-checks.
19829 * inet/tst-checks.c: New file.
19831 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19834 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19837 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19838 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19840 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19842 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19844 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19847 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19849 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19851 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19852 conditional on GCC version.
19853 (__arch_compare_and_exchange_val_8_acq)
19854 (__arch_compare_and_exchange_val_16_acq)
19855 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19856 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19857 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19859 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19861 * sysdeps/sh/backtrace.c: New file.
19863 2011-12-02 Andreas Schwab <schwab@redhat.com>
19865 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19868 2011-12-01 Andreas Schwab <schwab@redhat.com>
19870 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19871 falling back to utime.
19873 2011-11-30 Andreas Schwab <schwab@redhat.com>
19875 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19876 expectations for float.
19878 2011-11-29 Andreas Schwab <schwab@redhat.com>
19880 * locale/weight.h (findidx): Add parameter len.
19881 * locale/weightwc.h (findidx): Likewise.
19882 * posix/fnmatch_loop.c (FCT): Adjust caller.
19883 * posix/regcomp.c (build_equiv_class): Likewise.
19884 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19885 * posix/regexec.c (check_node_accept_bytes): Likewise.
19886 * string/strcoll_l.c (STRCOLL): Likewise.
19887 * string/strxfrm_l.c (STRXFRM): Likewise.
19889 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19891 * Makefile.in: Remove CVSOPT handling.
19892 * configure.in: Remove use of AC_REVISION.
19893 * iconvdata/Makefile (distribute): No need to filter out CVS.
19894 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19897 2011-11-16 Andreas Schwab <schwab@redhat.com>
19899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19900 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19901 [USE_AS_STRNCASECMP_L]: Likewise.
19902 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19903 NO_TLS_DIRECT_SEG_REFS.
19904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19905 Fix argument offsets for non-PIC.
19906 [USE_AS_STRNCASECMP_L]: Likewise.
19907 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19908 NO_TLS_DIRECT_SEG_REFS.
19910 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19912 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19914 * locale/loadlocale.c (_nl_load_locale): Likewise.
19916 2011-11-15 Andreas Schwab <schwab@redhat.com>
19918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19919 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19921 (SYSCALL_GETTIME): Set errno on error.
19923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19924 count references to noai6ai_cached.
19926 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19928 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19930 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19931 FD_CLOEXEC for /proc/self/maps.
19933 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19934 FD_CLOEXEC for /proc/meminfo.
19936 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19939 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19940 FD_CLOEXEC for given file.
19942 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19944 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19945 FD_CLOEXEC for /etc/hosts.
19946 (_gethtent): Likewise.
19948 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19950 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19951 cancellation and set FD_CLOEXEC for /etc/netgroup.
19953 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19954 reading /etc/publickey.
19956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19957 allow cancellation when reading /etc/group.
19959 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19961 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19963 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19964 when using data file.
19966 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19968 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19969 (write_nis_obj): Use "c" and "e" in fopen.
19971 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19973 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19975 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19977 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19979 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19982 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19984 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19986 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19988 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19989 file parsing and set FD_CLOEXEC.
19991 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19993 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19995 2011-11-14 Andreas Schwab <schwab@redhat.com>
19997 * malloc/arena.c (arena_get2): Don't call reused_arena when
19998 _int_new_arena failed.
20000 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20003 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20004 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20008 to compile strcasecmp and strncasecmp.
20009 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20010 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20014 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20016 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20017 locale-defines.sym to gen-as-const-headers.
20018 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20019 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20021 to compile strcasecmp and strncasecmp.
20022 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20023 strcasecmp_l and strncasecmp_l.
20024 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20025 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20026 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20028 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20029 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20030 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20031 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20032 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20033 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20034 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20036 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20038 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20039 result of SYSDEP_GETTIME_CPU to retval.
20040 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20041 parameter list to macro. Remove trailing semicolon. Adjust users.
20043 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20046 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20048 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20051 from unused variable.
20053 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20055 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20058 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20061 * sunrpc/rpc_prot.c (rejected): Fix case value.
20063 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20064 unsigned long long int to avoid warnings in shift.
20066 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20068 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20071 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20072 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20073 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20075 * nis/nis_table.c (nis_list): Use variable of correct type for
20076 result of __follow_path call.
20078 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20080 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20081 of math functions ceil, trunc, floor, round, and sqrt, when
20082 avaliable on the platform.
20083 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20085 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20086 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20087 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20089 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20091 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20092 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20094 2011-11-11 Roland McGrath <roland@hack.frob.com>
20096 * include/unistd.h: Fix __readlink return type.
20097 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20099 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20101 * stdlib/ucontext.h: Undo last change for makecontext.
20103 2011-11-11 Andreas Schwab <schwab@redhat.com>
20105 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20107 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20108 * setjmp/setjmp.h: Mark functions as non-leaf.
20109 * setjmp/bits/setjmp2.h: Likewise.
20110 * stdlib/ucontext.h: Likewise.
20112 2011-11-10 Andreas Schwab <schwab@redhat.com>
20114 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20115 (reused_arena): Don't check arena limit.
20116 (arena_get2): Atomically check arena limit.
20118 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20120 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20121 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20126 2011-11-07 Andreas Schwab <schwab@redhat.com>
20128 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20129 handler when locking.
20131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20132 Fix size of allocated buffer.
20134 2011-11-04 Andreas Schwab <schwab@redhat.com>
20137 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20138 declarations for long double functions.
20139 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20141 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20143 2011-11-03 Andreas Schwab <schwab@redhat.com>
20145 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20148 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20151 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20153 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20155 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20157 * include/alloca.h (stackinfo_alloca_round): Define.
20158 (extend_alloca): Use it.
20159 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20160 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20163 * scripts/check-local-headers.sh: Ignore libaudit.h.
20165 * nscd/Makefile (extra-objs): Make recursively expanded.
20167 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20169 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20172 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20173 * posix/tst-rfc3484-2.c: Likewise.
20174 * posix/tst-rfc3484-3.c: Likewise.
20176 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20178 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20180 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20181 process_vm_writev from libc using GLIBC_2.15 version.
20183 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20185 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20187 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20190 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20193 * nss/getent.c (initgroups_keys): Show error message in case no group
20196 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20197 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20198 __bump_nl_timestamp.
20199 * nscd/connections (nscd_init): When host database is served open
20200 netlink socket and request notification about configuration changes.
20201 (main_loop_poll): Track netlink file descriptor and bump timestamp
20202 in case data becomes available.
20203 (main_loop_epoll): Likewise.
20204 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20205 (database_pers_head): Add extra_data fileds.
20206 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20208 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20211 in6ai data, call __free_in6ai.
20212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20213 Add -DHAVE_NETLINK.
20214 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20215 interface information. Reuse previous data if netlink timestamp
20217 (__bump_nl_timestamp): New function.
20218 (__free_in6ai): New function.
20220 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20222 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20223 close_not_cancel_no_status here.
20224 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20226 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20229 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20232 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20233 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20234 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20236 2011-07-03 Andreas Jaeger <aj@suse.de>
20239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20240 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20241 * math/libm-test.inc (sin_test): Add test case.
20243 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20246 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20247 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20249 * elf/chroot_canon.c (chroot_canon): Cleanups.
20251 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20254 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20255 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20257 * string/test-strchr.c: Make usable for strchrnul testing.
20258 * string/test-strchrnul.c: New file.
20259 * string/Makefile (strop-tests): Add strchrnul.
20261 * po/it.po: Update from translation team.
20262 * po/es.po: Likewise.
20264 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20266 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20267 the three constants needed as parameters. Drop the others.
20268 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20269 __m128i_strloadu_tolower.
20270 Create and initialize variable zero and use it in all the places
20271 where _mm_setzero_si128 was used.
20273 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20274 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20275 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20278 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20279 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20280 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20281 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20282 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20283 __mpranred, __mptan.
20284 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20285 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20286 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20287 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20288 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20289 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20294 2011-10-28 Andreas Schwab <schwab@redhat.com>
20296 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20297 redefine if SHARED.
20298 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20301 wide char related routines to wcsmbs subdir.
20303 2011-10-27 Andreas Schwab <schwab@redhat.com>
20306 * misc/sys/cdefs.h (__THROWNL): Define.
20307 * posix/unistd.h: Use __THREADNL instead of __THREAD
20308 for memory synchronization functions.
20310 2011-10-26 Roland McGrath <roland@hack.frob.com>
20313 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20315 * manual/stdio.texi (Obstack Streams): Node removed.
20317 2011-10-26 Andreas Schwab <schwab@redhat.com>
20319 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20323 * math/math_private.h (math_force_eval): Allow non-addressable
20325 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20327 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20330 file is not needed.
20332 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20339 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20341 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20347 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20349 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20350 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20351 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20352 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20354 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20355 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20356 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20358 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20359 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20361 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20362 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20365 place. Use VEX encoding when compiling for AVX.
20367 2011-10-25 Andreas Schwab <schwab@redhat.com>
20369 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20370 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20372 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20374 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20376 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20377 useless if() expression.
20378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20387 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20390 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20392 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20398 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20400 2011-10-25 Andreas Schwab <schwab@redhat.com>
20402 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20406 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20408 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20409 .text section. Avoid duplicate constants.
20410 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20420 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20422 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20425 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20427 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20456 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20458 * sysdeps/x86_64/dla.h: Move to ...
20459 * sysdeps/x86_64/fpu/dla.h: ...here.
20460 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20461 situations. Use __builtin_fma only for gcc 4.6 and up.
20463 * config.make.in: Add have-mfma4 entry.
20464 * configure.in: Substitute libc_cv_cc_fma4.
20465 * math/Makefile (dbl-only-routines): Add sincostab.
20466 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20467 Use __sincostab not sincos.
20468 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20475 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20476 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20477 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20478 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20480 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20481 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20483 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20484 define aliases when function name is a macro.
20485 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20486 sysdeps/ieee754/dbl-64/sincos.tbl.
20487 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20488 fma4-enabled routines.
20489 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20510 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20516 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20517 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20520 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20531 2011-10-24 Andreas Schwab <schwab@redhat.com>
20533 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20535 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20537 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20539 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20541 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20543 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20544 Remove unused variable magic_bits.
20545 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20547 * string/strnlen.c: Define and use STRNLEN macro.
20548 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20549 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20551 * wcsmbs/wcslen.c: Define and use WCSLEN.
20552 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20553 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20554 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20555 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20556 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20557 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20560 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20563 strnlen-sse2-no-bsf.
20564 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20567 Add strnlen support.
20568 (USE_AS_STRNLEN): New macro.
20569 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20570 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20571 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20572 * sysdeps/x86_64/wcslen.S: New file.
20574 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20577 XMM-moves are used for copying on small sizes.
20579 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20581 * wcsmbs/Makefile (strop-tests): Add wcschr.
20582 * wcsmbs/test-wcschr.c: New file.
20583 * string/test-strchr.c: Update.
20584 Add wcschr support.
20587 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20589 * wcsmbs/Makefile (strop-tests): Add wcslen.
20590 * wcsmbs/test-wcslen.c: New file.
20591 * string/test-strlen.c: Update.
20592 Add wcslen support.
20595 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20597 * po/it.po: Update from translation team.
20599 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20601 * sysdeps/x86_64/wcscmp.S: Update.
20602 Fix wrong comparison semantics.
20603 wcscmp shall use signed comparison not unsigned.
20604 Don't use substraction to avoid overflow bug.
20605 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20606 * wcsmbc/wcscmp.c: Likewise.
20607 * string/test-strcmp.c: Likewise.
20608 Add new tests to check cases with negative values.
20610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20612 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20613 * sysdeps/x86_64/dla.h: ...here. New file.
20614 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20624 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20627 __ynl_finite aliases.
20629 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20633 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20635 [DLA_FMA] (EMULV): Use DLA_FMA.
20636 [DLA_FMA] (MUL12): Use EMULV.
20637 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20638 that are not needed.
20639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20647 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20649 * math/s_nan.c: Undef __nan.
20650 * math/s_nanf.c: Undef __nanf.
20651 * math/s_nanl.c: Undef __nanl.
20652 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20655 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20657 * math/s_catan.c: Add branch predictions.
20658 * math/s_catanf.c: Likewise.
20659 * math/s_catanh.c: Likewise.
20660 * math/s_catanhf.c: Likewise.
20661 * math/s_catanhl.c: Likewise.
20662 * math/s_catanl.c: Likewise.
20663 * math/s_cexp.c: Likewise.
20664 * math/s_cexpf.c: Likewise.
20665 * math/s_cexpl.c: Likewise.
20666 * math/s_clog.c: Likewise.
20667 * math/s_clog10.c: Likewise.
20668 * math/s_clog10f.c: Likewise.
20669 * math/s_clog10l.c: Likewise.
20670 * math/s_clogf.c: Likewise.
20671 * math/s_clogl.c: Likewise.
20672 * math/s_csqrt.c: Likewise.
20673 * math/s_csqrtf.c: Likewise.
20674 * math/s_csqrtl.c: Likewise.
20675 * math/s_ctanf.c: Likewise.
20676 * math/s_ctanh.c: Likewise.
20677 * math/s_ctanhf.c: Likewise.
20678 * math/s_ctanhl.c: Likewise.
20679 * math/s_ctanl.c: Likewise.
20681 * math/math_private.h: Define __nan, __nanf, __nanl.
20682 * math/s_cacosh.c: Include <math_private.h>.
20683 * math/s_cacoshl.c: Likewise.
20684 * math/s_casinh.c: Likewise.
20685 * math/s_casinhf.c: Likewise.
20686 * math/s_casinhl.c: Likewise.
20687 * math/s_ccos.c: Rely entire on ccosh.
20688 * math/s_ccosf.c: Rely entire on ccoshf.
20689 * math/s_ccosl.c: Rely entirely on ccoshl.
20690 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20691 Remove tests for FE_INVALID.
20692 * math/s_ccoshf.c: Likewise.
20693 * math/s_ccoshl.c: Likewise.
20694 * math/s_csin.c: Likewise.
20695 * math/s_csinf.c: Likewise.
20696 * math/s_csinh.c Likewise.
20697 * math/s_csinhf.c: Likewise.
20698 * math/s_csinhl.c: Likewise.
20699 * math/s_csinl.c: Likewise.
20700 * math/s_ctan.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20702 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20705 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20708 compilation problems.
20710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20713 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20715 * sysdeps/i386/configure.in: Test for -mfma4 option.
20716 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20717 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20718 COMMON_CPUID_INDEX_80000001.
20719 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20720 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20721 use it if FMA3 is not supported.
20722 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20724 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20725 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20727 2011-10-20 Andreas Schwab <schwab@redhat.com>
20730 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20731 it would create a cycle with a link time dependency.
20733 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20735 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20737 * string/Makefile (strop-tests): Add rawmemchr.
20738 * string/test-rawmemchr.c: New file.
20740 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20742 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20743 when compiling str{,n}casecmp and when AVX is available. Hook up
20744 new optimized code in initializers.
20746 2011-10-19 Andreas Schwab <schwab@redhat.com>
20748 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20749 __feraiseexcept instead of feraiseexcept.
20751 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20753 * math/math_private.h: Define defaults for libc_fetestexcept and
20755 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20756 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20758 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20759 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20760 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20761 libc_fetestexcept and libc_feupdateenv.
20763 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20764 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20765 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20766 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20767 libc_feholdexcept_setround.
20769 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20770 Add s_nearbyint-c and s_nearbyintf-c.
20771 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20772 nearbyintf inlines.
20773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20778 * math/math_private.h: Define defaults for libc_fegetround,
20779 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20780 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20781 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20783 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20784 standard functions.
20785 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20786 Remove comments and hacks for old compiler versions.
20787 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20788 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20789 libc_feholdexceptl.
20791 2011-10-18 Andreas Schwab <schwab@redhat.com>
20793 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20794 (__feraiseexcept_renamed): Add __NTH.
20795 (feraiseexcept): Add __NTH. Rename local variables to fix
20796 namespace violations.
20798 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20800 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20804 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20805 recently added interfaces.
20806 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20808 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20809 about macro parameter expansion.
20811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20812 __NO_MATH_INLINES is defined. Cleanups.
20814 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20815 and __floorf is target has SSE4.1.
20816 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20821 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20823 (floorf): Likewise.
20825 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20827 2011-10-17 Andreas Schwab <schwab@redhat.com>
20829 * misc/sys/cdefs.h: Fix last change.
20831 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20834 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20836 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20838 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20845 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20846 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20847 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20848 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20849 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20850 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20851 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20852 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20853 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20855 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20856 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20857 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20858 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20859 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20861 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20862 ceil, ceilf, floor, floorf.
20864 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20865 Perform IRELATIVE relocations last.
20867 * elf/do-rel.h: Add another parameter nrelative, replacing the
20868 local variable with the same name. Change name of the function
20869 to end in Rel or Rela (uppercase).
20870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20871 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20872 elf_dynamic_do_##reloc function.
20874 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20876 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20877 is sufficient, at least on modern CPUs.
20879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20881 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20882 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20884 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20886 * math/bits/math-finite.h: Add entries for exp.
20887 * math/e_expl.c: Add __*_finite alias.
20888 * sysdeps/i386/fpu/e_exp.S: Likewise.
20889 * sysdeps/i386/fpu/e_expf.S: Likewise.
20890 * sysdeps/i386/fpu/e_expl.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20896 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20897 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20899 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20900 is sufficient, at least on modern CPUs.
20902 * ctype/ctype-info.c (__ctype_init): Define.
20903 * include/ctype.h (__ctype_init): Declare.
20904 (__ctype_b_loc): The variable is always initialized.
20905 (__ctype_toupper_loc): Likewise.
20906 (__ctype_tolower_loc): Likewise.
20907 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20908 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20910 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20912 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20914 * configure.in: Also look in $cxxmachine/include for C++ system
20917 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20919 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20920 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20921 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20922 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20924 (USE_AS_WMEMCMP): New macro.
20926 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20927 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20928 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20929 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20931 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20932 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20933 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20934 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20935 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20937 (USE_AS_WMEMCMP): New macro.
20938 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20939 * sysdeps/string/test-memcmp.c: Update.
20940 Fix simple_wmemcmp.
20942 * wcsmbs/wmemcmp.c: Update.
20943 (WMEMCMP): New macro.
20946 2011-10-12 Andreas Jaeger <aj@suse.de>
20949 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20951 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20953 * libio/iofwide.c (do_length): Avoid warning.
20955 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20957 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20959 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20961 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20962 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20963 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20964 * sysdeps/i386/i686/fpu/e_log.S: New file.
20965 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20966 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20968 * ctype/ctype.h: Add support for inlined isXXX functions when
20969 compiling C++ code.
20971 2011-10-14 Andreas Schwab <schwab@redhat.com>
20973 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20977 2011-10-13 Roland McGrath <roland@hack.frob.com>
20980 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20982 2011-10-13 Andreas Schwab <schwab@redhat.com>
20984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20985 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20988 * sysdeps/x86_64/memrchr.S: Check for zero size.
20990 * string/stratcliff.c: Add memrchr tests.
20992 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20995 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20996 rawmemchr-sse2 rawmemchr-sse2-bsf.
20997 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20998 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20999 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21000 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21001 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21002 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21003 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21004 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21006 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21007 * string/memrchr.c (MEMRCHR): New macro.
21009 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21011 Add integration with gcc's -ffinite-math-only and optimize wrapper
21013 * Versions.def: Define GLIBC_2.15 version for libm.
21014 * math/Makefile (headers): Add bits/math-finite.h.
21015 * math/bits/math-finite.h: New file.
21016 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21017 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21018 * math/e_acoshl.c: Add __*_finite alias.
21019 * math/e_acosl.c: Likewise.
21020 * math/e_asinl.c: Likewise.
21021 * math/e_atan2l.c: Likewise.
21022 * math/e_atanhl.c: Likewise.
21023 * math/e_coshl.c: Likewise.
21024 * math/e_exp10.c: Likewise.
21025 * math/e_exp10f.c: Likewise.
21026 * math/e_exp10l.c: Likewise.
21027 * math/e_exp2l.c: Likewise.
21028 * math/e_fmodl.c: Likewise.
21029 * math/e_gammal_r.c: Likewise.
21030 * math/e_hypotl.c: Likewise.
21031 * math/e_j0l.c: Likewise.
21032 * math/e_j1l.c: Likewise.
21033 * math/e_jnl.c: Likewise.
21034 * math/e_lgammal_r.c: Likewise.
21035 * math/e_log10l.c: Likewise.
21036 * math/e_log2l.c: Likewise.
21037 * math/e_logl.c: Likewise.
21038 * math/e_powl.c: Likewise.
21039 * math/e_sinhl.c: Likewise.
21040 * math/e_sqrtl.c: Likewise.
21041 * math/e_scalb.c: Completely rewritten and optimized.
21042 * math/e_scalbf.c: Likewise.
21043 * math/e_scalbl.c: Likewise.
21044 * math/w_acos.c: Likewise.
21045 * math/w_acosf.c: Likewise.
21046 * math/w_acosl.c: Likewise.
21047 * math/w_acosh.c: Likewise.
21048 * math/w_acoshf.c: Likewise.
21049 * math/w_acoshl.c: Likewise.
21050 * math/w_asin.c: Likewise.
21051 * math/w_asinf.c: Likewise.
21052 * math/w_asinl.c: Likewise.
21053 * math/w_atan2.c: Likewise.
21054 * math/w_atan2f.c: Likewise.
21055 * math/w_atan2l.c: Likewise.
21056 * math/w_atanh.c: Likewise.
21057 * math/w_atanhf.c: Likewise.
21058 * math/w_atanhl.c: Likewise.
21059 * math/w_exp10.c: Likewise.
21060 * math/w_exp10f.c: Likewise.
21061 * math/w_exp10l.c: Likewise.
21062 * math/w_fmod.c: Likewise.
21063 * math/w_fmodf.c: Likewise.
21064 * math/w_fmodl.c: Likewise.
21065 * math/w_j0.c: Likewise.
21066 * math/w_j0f.c: Likewise.
21067 * math/w_j0l.c: Likewise.
21068 * math/w_j1.c: Likewise.
21069 * math/w_j1f.c: Likewise.
21070 * math/w_j1l.c: Likewise.
21071 * math/w_jn.c: Likewise.
21072 * math/w_jnf.c: Likewise.
21073 * math/w_log.c: Likewise.
21074 * math/w_logf.c: Likewise.
21075 * math/w_logl.c: Likewise.
21076 * math/w_log10.c: Likewise.
21077 * math/w_log10f.c: Likewise.
21078 * math/w_log10l.c: Likewise.
21079 * math/w_log2.c: Likewise.
21080 * math/w_log2f.c: Likewise.
21081 * math/w_log2l.c: Likewise.
21082 * math/w_pow.c: Likewise.
21083 * math/w_powf.c: Likewise.
21084 * math/w_powl.c: Likewise.
21085 * math/w_remainder.c: Likewise.
21086 * math/w_remainderf.c: Likewise.
21087 * math/w_remainderl.c: Likewise.
21088 * math/w_scalb.c: Likewise.
21089 * math/w_scalbf.c: Likewise.
21090 * math/w_scalbl.c: Likewise.
21091 * math/w_sqrt.c: Likewise.
21092 * math/w_sqrtf.c: Likewise.
21093 * math/w_sqrtl.c: Likewise.
21094 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21095 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21097 * math/math_private.h: Declare __kernel_standard_f.
21098 * math/w_cosh.c: Remove cruft and optimize a bit.
21099 * math/w_coshf.c: Likewise.
21100 * math/w_coshl.c: Likewise.
21101 * math/w_exp2.c: Likewise.
21102 * math/w_exp2f.c: Likewise.
21103 * math/w_exp2l.c: Likewise.
21104 * math/w_hypot.c: Likewise.
21105 * math/w_hypotf.c: Likewise.
21106 * math/w_hypotl.c: Likewise.
21107 * math/w_lgamma.c: Likewise.
21108 * math/w_lgamma_r.c: Likewise.
21109 * math/w_lgammaf.c: Likewise.
21110 * math/w_lgammaf_r.c: Likewise.
21111 * math/w_lgammal.c: Likewise.
21112 * math/w_lgammal_r.c: Likewise.
21113 * math/w_sinh.c: Likewise.
21114 * math/w_sinhf.c: Likewise.
21115 * math/w_sinhl.c: Likewise.
21116 * math/w_tgamma.c: Likewise.
21117 * math/w_tgammaf.c: Likewise.
21118 * math/w_tgammal.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21121 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21122 Minor optimizations. Pretty printing. Remove cruft.
21123 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21124 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21125 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21126 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21127 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21128 * sysdeps/i386/fpu/e_asin.S: Likewise.
21129 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21130 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21131 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21132 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21133 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21134 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21135 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21136 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21137 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21138 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21139 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21140 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21141 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21142 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21143 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21144 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21145 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21146 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21147 * sysdeps/i386/fpu/e_log.S: Likewise.
21148 * sysdeps/i386/fpu/e_log10.S: Likewise.
21149 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21150 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21151 * sysdeps/i386/fpu/e_log2.S: Likewise.
21152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21153 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21154 * sysdeps/i386/fpu/e_logf.S: Likewise.
21155 * sysdeps/i386/fpu/e_logl.S: Likewise.
21156 * sysdeps/i386/fpu/e_pow.S: Likewise.
21157 * sysdeps/i386/fpu/e_powf.S: Likewise.
21158 * sysdeps/i386/fpu/e_powl.S: Likewise.
21159 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21160 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21161 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21162 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21163 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21164 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21165 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21166 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21167 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21197 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21202 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21203 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21204 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21209 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21259 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21260 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21261 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21262 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21263 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21264 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21265 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21266 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21267 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21268 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21269 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21270 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21271 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21272 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21273 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21274 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21275 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21276 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21278 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21279 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21280 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21281 (__isnanf): Likewise.
21282 (__isinf_ns): Likewise.
21283 (__isinf_nsf): Likewise.
21284 (__finite): Likewise.
21285 (__finitef): Likewise.
21286 (__ieee754_sqrt): Define as macro.
21287 (__ieee754_sqrtf): Define as macro.
21288 (__ieee754_sqrtl): Define as macro.
21289 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21291 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21292 __FINITE_MATH_ONLY__ consistent.
21293 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21295 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21297 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21302 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21304 * po/ja.po: Update from translation team.
21306 2011-10-08 Roland McGrath <roland@hack.frob.com>
21308 * locale/programs/locarchive.c (prepare_address_space): New function.
21309 (create_archive, enlarge_archive, open_archive): Use it.
21311 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21312 inside [SHARED], where it is used.
21314 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21316 * nss/getent.c (netgroup_keys): Remove unused variable.
21317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21319 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21321 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21325 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21326 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21327 * math/Makefile (libm-calls): Add s_isinf_ns.
21328 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21329 * math/multc3.c: Likewise.
21330 * math/s_casin.c: Likewise.
21331 * math/s_casinf.c: Likewise.
21332 * math/s_casinl.c: Likewise.
21333 * math/s_ccos.c: Likewise.
21334 * math/s_ccosf.c: Likewise.
21335 * math/s_ccosl.c: Likewise.
21336 * math/s_ctan.c: Likewise.
21337 * math/s_ctanf.c: Likewise.
21338 * math/s_ctanh.c: Likewise.
21339 * math/s_ctanhf.c: Likewise.
21340 * math/s_ctanhl.c: Likewise.
21341 * math/s_ctanl.c: Likewise.
21342 * math/w_fmod.c: Likewise.
21343 * math/w_fmodf.c: Likewise.
21344 * math/w_fmodl.c: Likewise.
21345 * math/w_remainder.c: Likewise.
21346 * math/w_remainderf.c: Likewise.
21347 * math/w_remainderl.c: Likewise.
21348 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21349 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21352 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21353 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21354 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21355 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21357 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21359 * stdio-common/printf_fphex.c: Likewise.
21360 * stdio-common/printf_size.c: Likewise.
21362 * math/e_exp10.c: Include math_private.h using <...> not "...".
21363 * math/e_exp10f.c: Likewise.
21364 * math/e_exp10l.c: Likewise.
21365 * math/e_exp2l.c: Likewise.
21366 * math/e_j0l.c: Likewise.
21367 * math/e_j1l.c: Likewise.
21368 * math/e_jnl.c: Likewise.
21369 * math/e_lgammal_r.c: Likewise.
21370 * math/e_rem_pio2l.c: Likewise.
21371 * math/e_scalb.c: Likewise.
21372 * math/e_scalbf.c: Likewise.
21373 * math/e_scalbl.c: Likewise.
21374 * math/k_cosl.c: Likewise.
21375 * math/k_sinl.c: Likewise.
21376 * math/k_tanl.c: Likewise.
21377 * math/s_cacoshf.c: Likewise.
21378 * math/s_catan.c: Likewise.
21379 * math/s_catanf.c: Likewise.
21380 * math/s_catanh.c: Likewise.
21381 * math/s_catanhf.c: Likewise.
21382 * math/s_catanhl.c: Likewise.
21383 * math/s_catanl.c: Likewise.
21384 * math/s_ccosh.c: Likewise.
21385 * math/s_ccoshf.c: Likewise.
21386 * math/s_ccoshl.c: Likewise.
21387 * math/s_cexp.c: Likewise.
21388 * math/s_cexpf.c: Likewise.
21389 * math/s_cexpl.c: Likewise.
21390 * math/s_clog.c: Likewise.
21391 * math/s_clog10.c: Likewise.
21392 * math/s_clog10f.c: Likewise.
21393 * math/s_clog10l.c: Likewise.
21394 * math/s_clogf.c: Likewise.
21395 * math/s_clogl.c: Likewise.
21396 * math/s_csin.c: Likewise.
21397 * math/s_csinf.c: Likewise.
21398 * math/s_csinh.c: Likewise.
21399 * math/s_csinhf.c: Likewise.
21400 * math/s_csinhl.c: Likewise.
21401 * math/s_csinl.c: Likewise.
21402 * math/s_csqrt.c: Likewise.
21403 * math/s_csqrtf.c: Likewise.
21404 * math/s_csqrtl.c: Likewise.
21405 * math/s_ctan.c: Likewise.
21406 * math/s_ctanf.c: Likewise.
21407 * math/s_ctanh.c: Likewise.
21408 * math/s_ctanhf.c: Likewise.
21409 * math/s_ctanhl.c: Likewise.
21410 * math/s_ctanl.c: Likewise.
21411 * math/s_ldexp.c: Likewise.
21412 * math/s_ldexpf.c: Likewise.
21413 * math/s_ldexpl.c: Likewise.
21414 * math/s_significand.c: Likewise.
21415 * math/s_significandf.c: Likewise.
21416 * math/s_significandl.c: Likewise.
21417 * math/w_acos.c: Likewise.
21418 * math/w_acosf.c: Likewise.
21419 * math/w_acosh.c: Likewise.
21420 * math/w_acoshf.c: Likewise.
21421 * math/w_acoshl.c: Likewise.
21422 * math/w_acosl.c: Likewise.
21423 * math/w_asin.c: Likewise.
21424 * math/w_asinf.c: Likewise.
21425 * math/w_asinl.c: Likewise.
21426 * math/w_atan2.c: Likewise.
21427 * math/w_atan2f.c: Likewise.
21428 * math/w_atan2l.c: Likewise.
21429 * math/w_atanh.c: Likewise.
21430 * math/w_atanhf.c: Likewise.
21431 * math/w_atanhl.c: Likewise.
21432 * math/w_cosh.c: Likewise.
21433 * math/w_coshf.c: Likewise.
21434 * math/w_coshl.c: Likewise.
21435 * math/w_dremf.c: Likewise.
21436 * math/w_exp10.c: Likewise.
21437 * math/w_exp10f.c: Likewise.
21438 * math/w_exp10l.c: Likewise.
21439 * math/w_exp2.c: Likewise.
21440 * math/w_exp2f.c: Likewise.
21441 * math/w_fmod.c: Likewise.
21442 * math/w_fmodf.c: Likewise.
21443 * math/w_fmodl.c: Likewise.
21444 * math/w_hypot.c: Likewise.
21445 * math/w_hypotf.c: Likewise.
21446 * math/w_hypotl.c: Likewise.
21447 * math/w_j0.c: Likewise.
21448 * math/w_j0f.c: Likewise.
21449 * math/w_j0l.c: Likewise.
21450 * math/w_j1.c: Likewise.
21451 * math/w_j1f.c: Likewise.
21452 * math/w_j1l.c: Likewise.
21453 * math/w_jn.c: Likewise.
21454 * math/w_jnf.c: Likewise.
21455 * math/w_jnl.c: Likewise.
21456 * math/w_lgamma.c: Likewise.
21457 * math/w_lgamma_r.c: Likewise.
21458 * math/w_lgammaf.c: Likewise.
21459 * math/w_lgammaf_r.c: Likewise.
21460 * math/w_lgammal.c: Likewise.
21461 * math/w_lgammal_r.c: Likewise.
21462 * math/w_log.c: Likewise.
21463 * math/w_log10.c: Likewise.
21464 * math/w_log10f.c: Likewise.
21465 * math/w_log10l.c: Likewise.
21466 * math/w_log2.c: Likewise.
21467 * math/w_log2f.c: Likewise.
21468 * math/w_log2l.c: Likewise.
21469 * math/w_logf.c: Likewise.
21470 * math/w_logl.c: Likewise.
21471 * math/w_pow.c: Likewise.
21472 * math/w_powf.c: Likewise.
21473 * math/w_powl.c: Likewise.
21474 * math/w_remainder.c: Likewise.
21475 * math/w_remainderf.c: Likewise.
21476 * math/w_remainderl.c: Likewise.
21477 * math/w_scalb.c: Likewise.
21478 * math/w_scalbf.c: Likewise.
21479 * math/w_scalbl.c: Likewise.
21480 * math/w_sinh.c: Likewise.
21481 * math/w_sinhf.c: Likewise.
21482 * math/w_sinhl.c: Likewise.
21483 * math/w_sqrt.c: Likewise.
21484 * math/w_sqrtf.c: Likewise.
21485 * math/w_sqrtl.c: Likewise.
21486 * math/w_tgamma.c: Likewise.
21487 * math/w_tgammaf.c: Likewise.
21488 * math/w_tgammal.c: Likewise.
21490 * po/ja.po: Update from translation team.
21492 2011-09-29 Andreas Jaeger <aj@suse.de>
21495 * sunrpc/netname.c (netname2host): Fix logic.
21499 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21501 * math/w_remainder.c (__remainder): Likewise.
21502 * math/w_remainderf.c (__remainderf): Likewise.
21503 * math/libm-test.inc (remainder_test): Add test cases.
21505 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21507 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21510 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21512 * string/test-memcmp.c: Avoid unncessary #defines.
21513 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21515 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21517 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21518 Use new sse2 version for core i3 - i7 as it's faster
21519 than sse42 version.
21520 (bit_Prefer_PMINUB_for_stringop): New.
21521 * sysdeps/x86_64/rawmemchr.S: Update.
21522 Replace with faster SSE2 version.
21523 * sysdeps/x86_64/memrchr.S: New file.
21524 * sysdeps/x86_64/memchr.S: Update.
21525 Replace with faster SSE2 version.
21527 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21529 * elf/dl-load.c (lose): Add cast to avoid warning.
21531 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21533 * po/ca.po: Update from translation team.
21535 * inet/getnetgrent_r.c: Hook up nscd.
21536 * nscd/Makefile (routines): Add nscd_netgroup.
21537 (nscd-modules): Add netgroupcache.
21538 (CFLAGS-netgroupcache.c): Define.
21539 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21540 (cache_search): Add const to second parameter.
21541 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21543 (dbs): Add netgrdb entry.
21544 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21545 (verify_persistent_db): Handle netgrdb.
21546 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21547 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21549 (netgroup_response_header): Define.
21550 (innetgroup_response_header): Define.
21551 (datahead): Add netgroup_response_header and innetgroup_response_header
21553 * nscd/nscd.conf: Add entries for netgroup cache.
21554 * nscd/nscd.h (dbtype): Add netgrdb.
21555 (_PATH_NSCD_NETGROUP_DB): Define.
21556 (netgroup_iov_disabled): Declare.
21557 (xmalloc, xcalloc, xrealloc): Move declarations here.
21558 (cache_search): Adjust prototype.
21559 Add netgroup-related prototypes.
21560 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21561 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21562 (__nscd_innetgr): Declare.
21563 * nscd/selinux.c (perms): Use access_vector_t as element type and
21564 add netgroup-related initializers.
21565 * nscd/netgroupcache.c: New file.
21566 * nscd/nscd_netgroup.c: New file.
21567 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21568 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21569 For four parameters use innetgr.
21570 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21571 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21572 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21573 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21575 * nscd/connections.c (register_traced_file): Don't register file
21576 for disabled databases.
21578 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21580 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21582 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21583 from tree and freeing node.
21585 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21587 * nss/nsswitch.c (__nss_database_lookup): Handle
21588 nss_parse_service_list out of memory case.
21590 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21592 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21593 out of memory case.
21595 2011-10-04 Andreas Schwab <schwab@redhat.com>
21597 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21598 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21600 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21601 elf_machine_rela, elf_machine_lazy_rel.
21602 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21603 (ELF_DYNAMIC_DO_REL): Likewise.
21604 (ELF_DYNAMIC_DO_RELA): Likewise.
21605 (ELF_DYNAMIC_RELOCATE): Likewise.
21606 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21607 to ELF_DYNAMIC_DO_REL.
21608 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21609 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21610 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21613 skip_ifunc, don't call ifunc function if non-zero.
21614 (elf_machine_rela): Likewise.
21615 (elf_machine_lazy_rel): Likewise.
21616 (elf_machine_lazy_rela): Likewise.
21617 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21618 (elf_machine_lazy_rel): Likewise.
21619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21621 (elf_machine_lazy_rel): Likewise.
21622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21624 (elf_machine_lazy_rel): Likewise.
21625 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21626 (elf_machine_lazy_rel): Likewise.
21627 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21628 (elf_machine_lazy_rel): Likewise.
21629 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21630 (elf_machine_lazy_rel): Likewise.
21631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21632 (elf_machine_lazy_rel): Likewise.
21633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21634 (elf_machine_lazy_rel): Likewise.
21635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21636 (elf_machine_lazy_rel): Likewise.
21638 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21640 * nss/nss_files/files-init.c (_nss_files_init): Use static
21641 initialization for all the *_traced_file variables.
21643 2011-09-28 Andreas Schwab <schwab@redhat.com>
21645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21647 2011-09-27 Roland McGrath <roland@hack.frob.com>
21650 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21652 2011-09-27 Andreas Schwab <schwab@redhat.com>
21654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21655 Reread the line before reparsing it.
21657 2011-09-26 Andreas Schwab <schwab@redhat.com>
21659 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21661 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21662 Maxim Kuvyrkov <maxim@codesourcery.com>
21663 Joseph Myers <joseph@codesourcery.com>
21665 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21666 if needed for __stack_chk_guard.
21668 2011-09-19 Roland McGrath <roland@hack.frob.com>
21670 * sysdeps/posix/spawni.c (script_execute): Always define it.
21671 It will be optimized away if unused.
21672 (maybe_script_execute): New function.
21673 (__spawni): Call it.
21675 * Makerules: Don't include tls.make.
21676 (config-tls): Always set to thread.
21677 * tls.make.c: File removed.
21679 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21681 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21682 * config.make.in (CPPFLAGS-config): New substituted variable.
21684 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21689 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21690 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21692 2011-09-15 Roland McGrath <roland@hack.frob.com>
21694 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21695 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21697 (CALL_FAIL): Likewise.
21698 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21699 (CALL_FAIL): Macro removed.
21700 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21702 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21704 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21705 for __FINITE_MATH_ONLY__ == 1.
21707 2011-09-15 Andreas Schwab <schwab@redhat.com>
21709 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21710 __ieee754_sqrt instead of sqrt.
21711 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21712 __ieee754_sqrtf instead of sqrtf.
21713 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21714 __floorf instead of floorf.
21715 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21716 __floorf, __truncf instead of floorf, truncf.
21718 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21720 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21722 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21723 __extern_always_inline.
21724 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21727 2011-09-14 Andreas Schwab <schwab@redhat.com>
21729 * elf/rtld.c (dl_main): Also relocate in dependency order when
21730 doing symbol dependency testing.
21732 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21735 Always define `refsym'.
21737 2011-09-13 Andreas Schwab <schwab@redhat.com>
21739 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21740 (__FD_ELT): Renamed from __FDELT.
21741 * misc/bits/select2.h (__FD_ELT): Likewise.
21742 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21743 __FD_MASK instead of __FDELT, __FDMASK.
21744 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21746 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21749 * elf/Makefile (gen-ldd): Fix pattern.
21751 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21752 (init_tls): Likewise.
21754 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21758 2011-09-12 Andreas Schwab <schwab@redhat.com>
21760 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21761 `struct cmsghdr *' instead of `void *'.
21762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21765 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21767 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21769 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21770 ldd_rewrite_script.
21772 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21774 * configure.in: Remove --with-tls option.
21775 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21776 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21777 out in case it is missing.
21778 * sysdeps/ia64/elf/configure.in: Likewise.
21779 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21780 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21781 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21782 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21783 * sysdeps/sh/elf/configure.in: Likewise.
21784 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21785 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21786 * sysdeps/x86_64/elf/configure.in: Likewise.
21787 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21788 * sysdeps/mach/hurd/tls.h: Likewise.
21791 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21794 * configure.in: Fix use of AC_INIT.
21796 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21798 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21800 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21802 * malloc/hooks.c: Likewise.
21805 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21806 variables statically.
21807 (narenas): Initialize.
21808 (list_lock): Initialize.
21809 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21810 initializtion of main_arena and list_lock. Small cleanups.
21811 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21812 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21813 Add initializers to main_arena and mp_.
21814 (malloc_state): Remove pagesize member. Change all users to use
21817 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21818 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21819 is always initialized.
21821 * malloc/malloc.c: Removed unused configurations and dead code.
21822 * malloc/arena.c: Likewise.
21823 * malloc/hooks.c: Likewise.
21824 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21826 * include/tls.h: Removed. USE___THREAD must always be defined.
21827 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21828 * elf/dl-libc.c: Likewise.
21829 * elf/dl-tsd.c: Likewise.
21830 * include/errno.h: Likewise.
21831 * include/netdb.h: Likewise.
21832 * include/resolv.h: Likewise.
21833 * inet/herrno-loc.c: Likewise.
21834 * inet/herrno.c: Likewise.
21835 * malloc/arena.c: Likewise.
21836 * malloc/hooks.c: Likewise.
21837 * malloc/malloc.c: Likewise.
21838 * resolv/res-state.c: Likewise.
21839 * resolv/res_libc.c: Likewise.
21840 * sysdeps/i386/dl-machine.h: Likewise.
21841 * sysdeps/ia64/dl-machine.h: Likewise.
21842 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21843 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21844 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21845 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21846 * sysdeps/sh/dl-machine.h: Likewise.
21847 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21849 * sysdeps/unix/i386/sysdep.S: Likewise.
21850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21851 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21856 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21857 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21861 * sysdeps/x86_64/dl-machine.h: Likewise.
21862 * tls.make.c: Likewise.
21864 * configure.in: Remove --with-__thread option. Make tests for
21865 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21866 tls_model attribute fail if no support is available. Remove
21868 * Makeconfig: Adjust for dropped configure option. All features are
21870 * Makerules: Likewise.
21871 * Versions.def: Likewise.
21872 * argp/argp-fmtstream.c: Likewise.
21873 * argp/argp-fmtstream.h: Likewise.
21874 * argp/argp-help.c: Likewise.
21875 * assert/assert.c: Likewise.
21876 * config.h.in: Likewise.
21877 * config.make.in: Likewise.
21878 * configure: Likewise.
21879 * configure.in: Likewise.
21880 * csu/Versions: Likewise.
21881 * csu/init.c: Likewise.
21882 * elf/tst-audit2.c: Likewise.
21883 * elf/tst-tls10.c: Likewise.
21884 * elf/tst-tls10.h: Likewise.
21885 * elf/tst-tls11.c: Likewise.
21886 * elf/tst-tls12.c: Likewise.
21887 * elf/tst-tls14.c: Likewise.
21888 * elf/tst-tlsmod11.c: Likewise.
21889 * elf/tst-tlsmod12.c: Likewise.
21890 * elf/tst-tlsmod13.c: Likewise.
21891 * elf/tst-tlsmod13a.c: Likewise.
21892 * elf/tst-tlsmod14a.c: Likewise.
21893 * elf/tst-tlsmod15b.c: Likewise.
21894 * elf/tst-tlsmod16a.c: Likewise.
21895 * elf/tst-tlsmod16b.c: Likewise.
21896 * elf/tst-tlsmod7.c: Likewise.
21897 * elf/tst-tlsmod8.c: Likewise.
21898 * elf/tst-tlsmod9.c: Likewise.
21899 * gmon/gmon.c: Likewise.
21900 * grp/fgetgrent_r.c: Likewise.
21901 * grp/putgrent.c: Likewise.
21902 * hurd/fopenport.c: Likewise.
21903 * include/libc-symbols.h: Likewise.
21904 * include/tls.h: Likewise.
21905 * intl/gettextP.h: Likewise.
21906 * intl/loadinfo.h: Likewise.
21907 * locale/global-locale.c: Likewise.
21908 * locale/localeinfo.h: Likewise.
21909 * mach/devstream.c: Likewise.
21910 * malloc/arena.c: Likewise.
21911 * malloc/set-freeres.c: Likewise.
21912 * misc/err.c: Likewise.
21913 * misc/getttyent.c: Likewise.
21914 * misc/mntent_r.c: Likewise.
21915 * posix/getopt.c: Likewise.
21916 * posix/wordexp.c: Likewise.
21917 * pwd/fgetpwent_r.c: Likewise.
21918 * resolv/Versions: Likewise.
21919 * resolv/res_hconf.c: Likewise.
21920 * shadow/fgetspent_r.c: Likewise.
21921 * shadow/putspent.c: Likewise.
21922 * stdio-common/printf_fphex.c: Likewise.
21923 * stdio-common/tmpfile.c: Likewise.
21924 * stdlib/abort.c: Likewise.
21925 * stdlib/fmtmsg.c: Likewise.
21926 * sunrpc/auth_unix.c: Likewise.
21927 * sunrpc/clnt_perr.c: Likewise.
21928 * sunrpc/clnt_tcp.c: Likewise.
21929 * sunrpc/clnt_udp.c: Likewise.
21930 * sunrpc/clnt_unix.c: Likewise.
21931 * sunrpc/openchild.c: Likewise.
21932 * sunrpc/svc_simple.c: Likewise.
21933 * sunrpc/svc_tcp.c: Likewise.
21934 * sunrpc/svc_udp.c: Likewise.
21935 * sunrpc/svc_unix.c: Likewise.
21936 * sunrpc/xdr.c: Likewise.
21937 * sunrpc/xdr_array.c: Likewise.
21938 * sunrpc/xdr_rec.c: Likewise.
21939 * sunrpc/xdr_ref.c: Likewise.
21940 * sunrpc/xdr_stdio.c: Likewise.
21942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21944 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21946 2011-07-03 Andreas Jaeger <aj@suse.de>
21948 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21949 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21950 regenerate with gen-libm-tests.pl.
21952 2010-05-12 Petr Baudis <pasky@suse.cz>
21955 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21956 around j0() zero points by switching to j1().
21957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21962 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21964 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21966 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21969 Patch in part by Pavel Roskin <proski@gnu.org>.
21972 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21974 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21975 Free memory block if necessary.
21978 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21979 be NULL. Don't lock in this case.
21981 2011-09-09 Roland McGrath <roland@hack.frob.com>
21983 * elf/elf.h (ELFOSABI_GNU): New macro.
21984 (ELFOSABI_LINUX): Define to that.
21986 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21988 * string/strncat.c (strncat): Undef the symbol in case it has been
21989 defined in bits/string.h.
21991 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21993 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21995 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21998 2011-08-17 Andreas Jaeger <aj@suse.de>
22000 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22002 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22003 Ian Lance Taylor <iant@google.com>
22005 * math/libm-test.inc (lround_test): New testcase.
22006 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22008 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22010 * Makefile: Remove support for automatic cvs check-ins.
22011 * Makerules: Likewise.
22012 * config.make.in: Likewise.
22013 * configure.in: Likewise.
22014 * intl/Makefile: Likewise.
22015 * locale/Makefile: Likewise.
22016 * po/Makefile: Likewise.
22017 * posix/Makefile: Likewise.
22018 * sysdeps/gnu/Makefile: Likewise.
22019 * sysdeps/mach/hurd/Makefile: Likewise.
22020 * sysdeps/sparc/sparc32/Makefile: Likewise.
22023 * posix/Makefile (bug-regex32-ENV): Define.
22024 Patch by John Stanley <jpsinthemix@verizon.net>.
22026 * misc/Makefile (headers): Add bits/select2.h.
22027 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22028 * misc/bits/select2.h: New file.
22029 * include/bits/select2.h: New file.
22030 * debug/Makefile (routines): Add fdelt_chk.
22031 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22032 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22034 * debug/fdelt_chk.c: New file.
22036 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22037 * wcsmbs/test-wmemcmp.c: Likewise.
22038 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22039 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22041 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22043 * string/Makefile (strop-tests): Add memcmp.
22044 * string/test-wmemcmp.c: New file.
22045 * string/test-memcmp.c: Add wmemcmp support.
22047 2011-09-08 Roland McGrath <roland@hack.frob.com>
22050 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22053 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22054 garbage value in a __mach_port_mod_refs call in the cases of the
22055 task-self and thread-self ports.
22057 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22059 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22061 2011-09-08 Andreas Schwab <schwab@redhat.com>
22063 * elf/dl-load.c (lose): Check for non-null L.
22065 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22067 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22069 * elf/dl-libc.c (dlerror_run): Pass back error code from
22073 * elf/dl-load.c (lose): Free l_origin if it is valid.
22075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22081 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22082 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22084 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22086 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22087 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22088 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22089 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22090 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22091 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22092 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22093 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22094 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22095 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22097 2011-08-15 Alan Modra <amodra@gmail.com>
22100 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22101 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22102 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22103 ppc_mcount to static-only-routines.
22104 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22106 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22107 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22109 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22111 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22112 for finite and infinity parameters.
22114 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22116 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22117 and add nop instructions for throughput optimization.
22118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22120 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22123 aligned copy for power7 with vector-scalar instructions.
22124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22126 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22131 2011-09-07 Andreas Schwab <schwab@redhat.com>
22134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22137 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22139 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22140 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22141 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22145 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22148 Forgot to demangle the pointer.
22150 * sysdeps/i386/sysdep.h: Define atom_text_section.
22151 * sysdeps/x86_64/sysdep.h: Likewise.
22152 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22153 section with atom_text_section.
22154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22156 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22158 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22160 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22162 already be defined. Change to take two parameters and don't assign
22163 result to variable. Adjust all users.
22164 Define INTERNAL_GETTIME if not already defined.
22165 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22168 HAVE_CLOCK_GETTIME_VSYSCALL.
22169 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22172 gettimeofday vsyscall, just use time.
22174 2011-09-06 Andreas Schwab <schwab@redhat.com>
22176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22179 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22181 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22185 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22187 syscall if possible.
22189 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22191 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22192 e_ident. Don't pass to find_mapsXX.
22193 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22195 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22198 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22199 * sysdeps/x86_64/multiarch/strchr.S: Update.
22200 Check bit_slow_BSF bit.
22201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22202 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22205 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22208 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22210 (tryshell): Define.
22211 (__spawni): Change last parameter to be flag. Test
22212 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22213 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22214 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22215 * posix/spawni.c: Likewise.
22216 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22217 * posix/spawnp.c: Likewise. Change normal version to use
22218 SPAWN_XFLAGS_USE_PATH.
22219 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22220 SPAWN_XFLAGS_TRY_SHELL.
22223 * posix/glob.h: Remove gcc 1.x support.
22226 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22228 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22231 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22233 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22234 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22236 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22237 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22240 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22242 * sysdeps/x86_64/wcscmp.S: New file.
22244 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22245 wcscmp-c wcscmp-sse2
22246 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22247 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22248 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22249 * wcsmbs/wcscmp.c: Allow renaming.
22251 2011-09-05 David S. Miller <davem@davemloft.net>
22253 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22254 stack slot, rather than the struct return pointer slot.
22255 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22256 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22258 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22260 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22262 * po/ja.po: Update from translation team.
22265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22266 kernel in 64-bit binaries.
22268 2011-09-01 David S. Miller <davem@davemloft.net>
22270 * elf/elf.h (HWCAP_SPARC_*): Move to..
22271 * sysdeps/sparc/sysdep.h: this new file and add new values.
22272 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22273 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22274 _DL_HWCAP_COUNT to 24.
22275 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22277 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22278 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22279 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22281 instead of magic constants.
22282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22284 2011-08-31 David S. Miller <davem@davemloft.net>
22286 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22288 Reimplement to do errno handling inline.
22289 (SYSCALL_ERROR_HANDLER): New macro.
22290 (__SYSCALL_STRING): Do not do errno handling in asm.
22291 (__CLONE_SYSCALL_STRING): Delete.
22292 (__INTERNAL_SYSCALL_STRING): Delete.
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22294 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22295 (PSEUDO): Reimplement to do errno handling inline.
22296 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22297 (SYSCALL_ERROR_HANDLER): New macro.
22298 (__SYSCALL_STRING): Do not do errno handling in asm.
22299 (__CLONE_SYSCALL_STRING): Delete.
22300 (__INTERNAL_SYSCALL_STRING): Delete.
22301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22302 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22304 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22305 (inline_syscall*): Add 'err' argument.
22306 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22307 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22308 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22309 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22311 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22314 2011-08-30 Andreas Schwab <schwab@redhat.com>
22316 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22318 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22320 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22323 2011-08-24 David S. Miller <davem@davemloft.net>
22325 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22327 2011-08-24 Andreas Schwab <schwab@redhat.com>
22329 * elf/Makefile: Add rules to build and run unload8 test.
22330 * elf/unload8.c: New file.
22331 * elf/unload8mod1.c: New file.
22332 * elf/unload8mod1x.c: New file.
22333 * elf/unload8mod2.c: New file.
22334 * elf/unload8mod3.c: New file.
22336 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22339 2011-08-23 David S. Miller <davem@davemloft.net>
22341 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22342 subtract stack bias.
22343 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22344 %sp not %fp in calculations.
22345 (_JMPBUF_UNWINDS_ADJ): Likewise.
22347 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22348 (aio_suspend): Call it to force an exception region around the
22349 AIO_MISC_WAIT() invocation.
22351 2011-08-23 Andreas Schwab <schwab@redhat.com>
22353 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22356 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22358 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22360 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22361 and <dl-machine.h>.
22362 (Elf64_FuncDesc): Remove.
22364 2011-08-22 David S. Miller <davem@davemloft.net>
22366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22367 sigaltstack check, add missing cfi directives.
22368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22369 missing cfi directives, and sigaltstack handling.
22371 2011-08-16 Andreas Schwab <schwab@redhat.com>
22374 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22375 object is seen twice.
22376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22378 * elf/Makefile (distribute): Add tst-initorder2.c.
22379 (tests): Add tst-initorder2.
22380 (modules-names): Add tst-initorder2a tst-initorder2b
22381 tst-initorder2c tst-initorder2d. Add rules to build them.
22382 ($(objpfx)tst-initorder2.out): New rule.
22383 * elf/tst-initorder2.c: New file.
22384 * elf/tst-initorder2.exp: New file.
22386 2011-08-22 Andreas Schwab <schwab@redhat.com>
22388 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22390 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22391 dependencies back to end of function.
22393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22394 $(elfobjdir)/ld.so.
22396 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22399 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22401 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22402 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22403 of __vdso_gettimeofday.
22404 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22405 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22407 (_libc_vdso_platform_setup): Remove initialization of
22408 __vdso_gettimeofday and __vdso_time.
22410 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22412 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22413 and fgetc_unlocked.
22414 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22417 * elf/dl-open.c (add_to_global): Report additions to the global scope
22418 for LD_DEBUG=scopes.
22419 (dl_open_worker): Also print scope of newly loaded dependencies.
22420 (_dl_show_scope): Indicate if there is no scope.
22423 * stdio-common/Makefile (tests): Add bug24.
22424 * stdio-common/bug24.c: New file.
22426 2011-08-19 Andreas Jaeger <aj@suse.de>
22429 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22430 non-existant file when using close-on-exec mode.
22432 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22435 the very first instruction.
22437 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22438 the CFI state in the end.
22439 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22440 inclusion of dl-trampoline.h.
22441 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22443 2011-08-19 Andreas Schwab <schwab@redhat.com>
22445 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22446 expectations for long double.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22449 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22451 2011-08-14 David S. Miller <davem@davemloft.net>
22453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22454 artificual limit depends upon the system page size.
22456 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22458 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22459 * resolv/Makefile: Define CFLAGS-libresolv.
22461 2011-08-17 Andreas Schwab <schwab@redhat.com>
22463 * nss/makedb.c (compute_tables): Make variables used in nested
22466 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22468 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22469 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22470 if buffer was too small.
22472 * elf/pldd.c (main): Attach to all threads in the process.
22473 Rewrite /proc handling to use *at functions.
22475 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22477 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22478 specifies first scope to show.
22479 (dl_open_worker): Update callers. Move printing scope of new
22480 object to before the relocation.
22481 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22482 * sysdeps/generic/ldsodefs.h: Update declaration.
22484 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22485 string for the scope number.
22487 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22489 * nscd/servicescache.c (cache_addserv): Make sure written is always
22492 2011-08-14 Roland McGrath <roland@hack.frob.com>
22494 * sysdeps/i386/i486/bits/atomic.h
22495 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22496 statement expression, so as to suppress "set but not used" warning.
22497 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22499 * string/strncat.c (STRNCAT): Use prototype definition.
22501 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22502 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22504 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22505 (localedef-modules): Add localedef.
22506 (locale-modules): Add locale.
22508 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22509 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22510 to avoid a warning.
22512 2011-08-14 David S. Miller <davem@davemloft.net>
22514 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22515 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22517 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22519 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22520 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22521 * elf/rtld.c (dl_main): Set l_name of vDSO.
22522 Call _dl_show_scope when DL_DEBUG_SCOPES.
22523 (process_dl_debug): Recognize scopes flag and also set it for all.
22524 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22525 Declare _dl_show_scope.
22527 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22528 (do_dlopen): Pass caller_dlopen to dl_open.
22529 (__libc_dlopen_mode): Initialize caller_dlopen.
22531 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22532 of libc. Make tolower call locale-independent. Optimize a bit by
22533 using isdigit instead of isalnum.
22534 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22536 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22538 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22539 was a dependency or dynamically loaded.
22541 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22543 * intl/l10nflist.c: Allow architecture-specific pop function.
22544 * sysdeps/x86_64/l10nflist.c: New file.
22546 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22549 2011-08-10 Andreas Schwab <schwab@redhat.com>
22551 * include/dirent.h: Add libc_hidden_proto for scandirat and
22552 scandirat64. Don't declare __scandirat64.
22553 * dirent/scandirat.c: Add libc_hidden_def.
22554 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22555 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22557 2011-08-10 David S. Miller <davem@davemloft.net>
22559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22565 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22567 * Versions.def [libc]: Add GLIBC_2.15.
22568 * dirent/Makefile (routines): Add scandirat and scandirat64.
22569 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22571 * dirent/dirent.h: Declare scandirat and scandirat64.
22572 * dirent/scandirat.c: New file.
22573 * dirent/scandirat64.c: New file.
22574 * sysdeps/wordsize-64/scandirat.c: New file.
22575 * sysdeps/wordsize-64/scandirat64.c: New file.
22576 * dirent/opendir.c: Define opendirat.
22577 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22579 * dirent/scandir64.c: Adjust for scandir.c change.
22580 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22581 __scandirat64, and __scandir_cancel_handler.
22582 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22583 additional parameter and use openat instead of open (outside of ld.so).
22584 Add new __opendir as wrapper around __opendirat.
22585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22586 here without requiring old scandirat implementation.
22588 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22590 * dirent/scandir.c (cancel_handler): Renamed to
22591 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22592 defined. Adjust users.
22593 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22596 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22598 * string/test-string.h (IMPL): Use __STRING to expand name and then
22601 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22604 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22606 * string/Makefile: Update.
22607 (strop-tests): Append strncat.
22608 * string/test-wcscmp.c: New file.
22609 New comprehensive test for wcscmp.
22610 * string/test-strcmp.c: Update.
22611 (WIDE): New define.
22613 2011-07-22 Andreas Schwab <schwab@redhat.com>
22615 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22618 2011-07-26 Andreas Schwab <schwab@redhat.com>
22620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22621 encoding to ACE if AI_IDN.
22623 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22626 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22628 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22631 Fix overflow bug in strncat.
22632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22634 * string/test-strncat.c: Update.
22635 Add new tests for checking overflow bugs.
22637 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22640 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22641 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22642 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22644 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22645 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22646 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22647 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22650 (USE_AS_STRCAT): Define.
22651 Add strcat and strncat support.
22652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22654 2011-07-25 Andreas Schwab <schwab@redhat.com>
22656 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22657 __n bigger than INT_MAX+1.
22658 (__strncmp_g): Likewise.
22660 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22662 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22663 * libio/stido.h: Likewise.
22665 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22670 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22673 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22677 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22682 (_dl_x86_64_save_sse): Likewise.
22684 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22688 (_dl_x86_64_save_sse): Likewise.
22690 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22692 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22694 2011-07-21 Andreas Schwab <schwab@redhat.com>
22696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22698 (_dl_x86_64_save_sse): Use correct AVX check.
22700 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22703 bug in strncpy/strncat.
22704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22706 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22708 * string/tester.c (test_strcat): Add tests for different alignments
22709 of source and destination.
22710 (test_strncat): Likewise.
22712 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22715 * posix/glob.c (glob): Check passed in values before using them in
22716 expressions to avoid some overflows.
22717 (glob_in_dir): Likewise.
22720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22721 check for AVX enablement so that we don't crash with old kernels and
22723 * elf/tst-audit4.c: Add same checks here.
22724 * elf/tst-audit6.c: Likewise.
22726 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22728 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22730 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22732 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22734 * po/cs.po: Update from translation team.
22735 * po/bg.po: Likewise.
22737 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22739 * misc/sys/cdefs.h: Add support for const attribute.
22740 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22741 to gnu_dev_{major,minor,makedev} functions.
22743 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22745 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22747 2011-07-20 Andreas Schwab <schwab@redhat.com>
22749 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22752 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22755 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22756 register in order to avoid conflicts with the soft frame pointer
22757 being held in r11 when necessary.
22758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22759 (INTERNAL_VSYSCALL_NCS): Likewise.
22761 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22763 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22764 * elf/dl-fini.c (_dl_fini): Adjust caller.
22765 * elf/dl-close.c (_dl_close_worker): Likewise.
22766 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22768 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22770 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22771 "aux_cache->nlibs < 0".
22773 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22774 in the reload-count case.
22776 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22779 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22780 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22781 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22782 * sysdeps/x86_64/multiarch/strcat.S: New file.
22783 * sysdeps/x86_64/multiarch/strncat.S: New file.
22784 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22785 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22786 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22787 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22789 (USE_AS_STRCAT): Define.
22790 Add strcat and strncat support.
22791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22793 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22794 * string/strncat.c: Update.
22795 (USE_AS_STRNCAT): Define.
22796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22797 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22799 * sysdeps/x86_64/multiarch/init-arch.h
22800 (bit_Prefer_PMINUB_for_stringop): New.
22801 (index_Prefer_PMINUB_for_stringop): Likewise.
22802 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22803 bit_Prefer_PMINUB_for_stringop.
22805 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22807 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22809 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22810 of casting of buffer.
22811 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22812 buffer32 and buffer64.
22813 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22814 writes instead of casting of buffer.
22815 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22817 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22820 2011-07-19 Andreas Schwab <schwab@redhat.com>
22822 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22824 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22826 * nscd/nscd.c (termination_handler): Don't do anything for a database
22827 if it has not yet been initialized.
22829 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22833 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22835 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22837 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22839 * po/nl.po: Update from translation team.
22840 * po/sv.po: Likewise.
22842 2011-07-16 Roland McGrath <roland@hack.frob.com>
22844 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22845 now disallowed by GCC.
22847 * configure.in (use-default-link): Default to yes if a test -shared
22848 link meets our qualifications.
22849 * configure: Regenerated.
22851 * config.make.in (output-format): New variable.
22852 * configure.in: Check for ld --print-output-format support.
22853 * configure: Regenerated.
22854 * Makerules ($(common-objpfx)format.lds)
22855 [$(output-format) != unknown]: Just use $(output-format),
22856 instead of the linker-script munging.
22858 2011-07-14 Roland McGrath <roland@hack.frob.com>
22860 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22861 of $(common-objpfx)shlib.lds.
22862 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22864 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22865 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22867 * configure.in (-z relro check): Adjust test code to add a large
22868 writable data section after it.
22869 * configure: Regenerated.
22871 2011-07-11 Roland McGrath <roland@hack.frob.com>
22873 * configure.in (-z relro check): Fix test code to make the variable
22875 * configure: Regenerated.
22877 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22879 * nscd/nscd.h (struct traced_file): Define.
22880 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22881 elements. Add traced_files.
22882 (inotify_fd): Declare.
22883 (register_traced_file): Declare.
22884 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22885 (inotify_fd): Export.
22886 (resolv_conf_descr): Remove.
22887 (nscd_init): Move inotify descriptor creation to main.
22888 Don't register files for notification here.
22889 (register_traced_file): New function.
22890 (invalidate_cache): Don't use reset_res to determine whether to call
22891 res_init, go through the list of registered files.
22892 (main_loop_poll): The inotify descriptors are now stored in the
22893 structures for the traced files.
22894 (main_loop_epoll): Likewise
22895 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22896 to __nss_disable_nscd.
22897 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22898 for a database anymore. Check the records for all the registered
22900 * nss/Makefile (libnss_files-routines): Add files-init.
22901 (libnss_db-routines): Add db-init.
22902 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22903 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22904 * nss/nss_db/db-init.c: New file.
22905 * nss/nss_files/files-init.c: New file.
22906 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22907 __nss_lookup_function.
22908 (__nss_lookup_function): Call nss_load_library.
22909 (nss_load_all_libraries): New function.
22910 (__nss_disable_nscd): Take parameter with callback function for files
22911 to register. Set is_nscd. Load all the DSOs for the NSS modules
22912 used for the cached services.
22913 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22915 options for features to all the files in nscd.
22917 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22919 2011-07-10 Roland McGrath <roland@hack.frob.com>
22921 * csu/elf-init.c (__libc_csu_init): Comment typo.
22923 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22925 * po/pl.po: Update from translation team.
22926 * po/ja.po: Likewise.
22927 * po/ru.po: Likewise.
22928 * po/ko.po: Likewise.
22929 * po/fr.po: Likewise.
22931 2011-07-09 Roland McGrath <roland@hack.frob.com>
22933 * configure.in (.ctors/.dtors header and trailer check):
22934 Use an empirical test on a built program.
22935 * configure: Regenerated.
22937 * configure.in (-z relro check): Use an empirical test on a built DSO.
22938 Detect, but do not require, on ia64.
22939 * configure: Regenerated.
22941 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22942 Update tests that use readelf to use $READELF instead.
22943 * configure: Regenerated.
22945 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22947 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22948 if the result is not used.
22950 2011-07-05 Andreas Jaeger <aj@suse.de>
22953 * stdlib/tst-strtod.c: Add testcase.
22955 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22957 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22958 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22959 The latter has a higher limit. Take additional parameter to pass to
22961 (__pathconf): Pass file to __statfs_link_max.
22962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22964 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22968 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22972 (__statfs_filesize_max): Likewise.
22973 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22975 2011-07-05 Andreas Jaeger <aj@suse.de>
22977 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22979 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22981 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22983 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22986 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22988 * Makefile (strop-tests): Add strncat.
22989 * string/test-strncat.c: New file.
22991 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22993 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22995 2011-06-21 Andreas Jaeger <aj@suse.de>
22997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22998 Copy rule from iconvdata/Makefile.
23000 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23003 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23004 but no long options are defined, just return 'W'.
23006 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23009 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23011 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23013 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23015 (innetgr): Likewise.
23017 2011-07-05 Roland McGrath <roland@hack.frob.com>
23019 * config.make.in (install_root): Default to $(DESTDIR).
23021 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23023 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23025 2011-07-02 Roland McGrath <roland@hack.frob.com>
23027 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23029 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23030 containing directory rather than embedding absolute directory names.
23032 * scripts/check-local-headers.sh: Rewritten using awk.
23033 Match by word, not by line. Print error messages for matches.
23034 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23036 * Makerules [shlib-lds-flags empty]:
23037 ($(common-objpfx)libc_pic.opts): New target.
23038 ($(common-objpfx)libc_pic.os.clean): New target.
23039 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23041 * config.make.in (OBJCOPY): New variable.
23042 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23043 * configure: Regenerated.
23045 * config.make.in (use-default-link): New variable.
23046 * configure.in (use_default_link): Grok --with-default-link to set it.
23047 * configure: Regenerated.
23048 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23049 (shlib-lds, shlib-lds-flags): Define to empty.
23051 * Makerules (shlib-lds): New variable.
23052 (shlib-lds-flags): New variable.
23053 (build-shlib, build-moduile, build-module-asneeded): Use it.
23054 ($(common-objpfx)libc.so): Use $(shlib-lds).
23055 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23056 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23058 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23059 DT_FLAGS/DT_FLAGS_1 with zero flags.
23061 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23062 linker script munging.
23064 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23066 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23068 * crypt/sha512.c (sha512_process_block): Perform total addition using
23069 128-bit if possible.
23070 (__sha512_finish_ctx): Likewise.
23071 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23073 * crypt/sha256.c (SWAP64): Define.
23074 (sha256_process_block): Perform total addition using 64-bit if
23076 (__sha256_finish_ctx): Likewise.
23078 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23080 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23082 * nscd/hstcache.c (cache_addhst): Likewise.
23083 * nscd/grpcache.c (cache_addgr): Likewise.
23084 * nscd/aicache.c (addhstaiX): Likewise
23085 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23087 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23089 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23091 * nscd/hstcache.c (cache_addhst): Likewise.
23092 * nscd/grpcache.c (cache_addgr): Likewise.
23093 * nscd/aicache.c (addhstaiX): Likewise
23095 2011-07-01 Andreas Schwab <schwab@redhat.com>
23097 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23098 domain only when needed.
23100 2011-06-30 Andreas Schwab <schwab@redhat.com>
23102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23103 is always restored.
23105 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23107 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23108 are re-adding the entry.
23109 * nscd/servicescache.c (cache_addserv): Likewise.
23111 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23113 * sysdeps/generic/dl-irel.h: fix protection against multiple
23115 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23117 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23120 * malloc/memusage.sh: Fix quoting in message.
23121 * debug/xtrace.sh: Likewise.
23123 * configure.in: Remove support for --experimental-malloc option, make
23125 * config.make.in: Likewise.
23126 * malloc/Makefile: Likewise.
23128 2011-06-27 Andreas Schwab <schwab@redhat.com>
23130 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23131 two-byte characters.
23133 2011-06-27 Roland McGrath <roland@hack.frob.com>
23135 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23136 AC_CACHE_CHECK invocation.
23137 * configure: Regenerated.
23139 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23141 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23144 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23145 bit from old_res_options.
23147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23149 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23150 value type for setfct.
23152 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23155 __gettimeofday instead of gettimeofday.
23157 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23159 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23161 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23168 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23171 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23172 strcpy-sse2-unaligned strncpy-sse2-unaligned
23173 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23174 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23175 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23176 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23177 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23180 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23181 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23182 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23183 (STRCPY): Support SSE2 and SSSE3 versions.
23185 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23189 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23190 kernels which artificially limit size of requests.
23192 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23195 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23196 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23197 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23198 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23199 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23200 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23201 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23202 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23204 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23205 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23206 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23207 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23208 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23210 Enable unaligned load optimization for Intel Core i3, i5 and i7
23212 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23214 (index_Fast_Unaligned_Load): Define.
23215 (HAS_FAST_UNALIGNED_LOAD): Define.
23217 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23219 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23221 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23225 until it is clear that the information is realy needed.
23226 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23228 2011-06-22 Andreas Schwab <schwab@redhat.com>
23230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23232 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23235 /sys/devices/system/cpu/online if it is usable.
23237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23238 reading the information from the /proc filesystem to once a second.
23240 2011-06-21 Andreas Jaeger <aj@suse.de>
23242 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23243 NULL after inclusion of kernel headers.
23245 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23247 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23248 calls to internal_setent.
23251 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23252 addresses using gethostbyname4_r ignore IPv4 addresses.
23254 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23255 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23257 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23259 2011-06-20 David S. Miller <davem@davemloft.net>
23261 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23263 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23265 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23266 (elf_irel): Use it.
23267 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23268 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23269 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23270 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23271 * sysdeps/x86_64/dl-irel.h: Likewise.
23273 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23274 * elf/dl-sym.c: Likewise.
23276 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23278 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23279 need to dereference resplen2.
23281 2011-06-14 Andreas Schwab <schwab@redhat.com>
23283 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23285 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23287 * Makeconfig: Define vardbdir and inst_vardbdir.
23288 * nss/Makefile: Add rules to install db-Makefile.
23290 * nss/nss_db/db-XXX.c: Cleanup.
23292 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23293 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23295 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23296 * nss/makedb.c: Implement -g option to specify that value strings
23297 are generated and should not be added to table iterated over for
23299 * nss/nss_db/db-initgroups.c: New file.
23301 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23304 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23305 (internal_getgrouplist): Adjust to name change.
23306 Update use_initgroups_entry if this is not the first call.
23307 * nss/databases.def: Add initgroups entry.
23309 * nss/makedb.c (compute_tables): Check result of multiple hash table
23310 sizes to minimize maximum chain length.
23312 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23314 * Versions.def: Add entry for libnss_db.
23315 * shlib-versions: Likewise.
23316 * nss/Makefile: Add rules to build libnss_db.
23317 * nss/Versions: Add libnss_db information. Organize libnss_files
23319 * nss/db-Makefile: Add gshadow support. Change rules for the new
23320 makedb progra. Some minor improvements to generate smaller files.
23321 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23323 * nss/makedb.c: ...here.
23324 Improve database format to be smaller and require less memory at
23326 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23328 * nss/nss_db/db-netgrp.c: Likewise.
23329 * nss/nss_db/db-open.c: Likewise.
23330 * nss/nss_files/flies-XXX.x: Adjust comments.
23331 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23332 * nss/nss_files/files-grp.c: Likewise.
23333 * nss/nss_files/files-hosts.c: Likewise.
23334 * nss/nss_files/files-network.c: Likewise.
23335 * nss/nss_files/files-proto.c: Likewise.
23336 * nss/nss_files/files-pwd.c: Likewise.
23337 * nss/nss_files/files-rpc.c: Likewise.
23338 * nss/nss_files/files-service.c: Likewise.
23339 * nss/nss_files/files-sgrp.c: Likewise.
23340 * nss/nss_files/files-spwd.c: Likewise.
23341 * nss/nss_db/db-alias.c: Removed.
23342 * nss/nss_db/dummy-db.h: Removed.
23344 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23346 * nss/makedb.c: Rewritten to not use database library.
23347 * nss/Makefile: Update to build new makedb program.
23349 2011-06-14 Andreas Jaeger <aj@suse.de>
23351 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23352 memset declaration.
23354 2011-06-10 Andreas Schwab <schwab@redhat.com>
23356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23359 2011-06-10 Roland McGrath <roland@hack.frob.com>
23361 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23362 * elf/Makefile ($(objpfx)ld.so): Likewise.
23364 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23365 Don't list ld.so twice in dependencies.
23367 * posix/bug-regex31.c: Include <stdlib.h>.
23369 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23371 * nis/nss_compat/compat-spwd.c
23372 (getspent_next_nss_netgr): Remove unused variable.
23373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23375 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23376 nonmembers" output to use the right array.
23378 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23380 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23382 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23383 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23384 * catgets/gencat.c (read_input_file): Likewise.
23385 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23387 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23388 variable definition inside #if's controlling its use.
23390 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23392 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23394 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23396 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23399 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23401 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23402 * configure: Regenerated.
23404 * Makerules: Revert last change.
23405 * elf/Makefile: Likewise.
23407 2011-06-09 Roland McGrath <roland@hack.frob.com>
23409 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23410 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23411 (reloc-link): Likewise.
23413 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23415 * elf/Makefile: Add rules to build pldd.
23416 * elf/pldd.c: New file.
23417 * elf/pldd-xx.c: New file.
23419 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23421 * version.h: Update for 2.15 development version.
23423 2011-06-07 David S. Miller <davem@davemloft.net>
23425 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23428 elf_machine_lazy_rel): Likewise.
23429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23431 elf_machine_lazy_rel): Likewise.
23432 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23433 dl_hwcap via passed in argument.
23434 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23437 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23439 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23441 2011-06-06 Roland McGrath <roland@hack.frob.com>
23444 * manual/fdl-1.1.texi: New file, verbatim from:
23445 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23446 * manual/lgpl-2.1.texi: New file, verbatim from:
23447 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23448 * manual/Makefile (licenses): New variable, list those new file names.
23450 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23452 * manual/fdl.texi: File removed.
23453 * manual/lesser.texi: File removed.
23454 * manual/libc.texinfo (Copying, Documentation License):
23455 Use new @include file names, put @appendix directive before @include.
23457 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23460 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23461 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23462 (mq_open): Add __NTH.
23464 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23467 Assume Intel Core i3/i5/i7 processor if AVX is available.
23469 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23474 2011-05-31 Andreas Schwab <schwab@redhat.com>
23476 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23477 memory. Use alloca_account. Fix memory leak when retrying.
23479 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23481 * version.h (RELEASE): Bump for 2.14 release.
23482 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23484 * config.make.in (RANLIB): Remove entry.
23486 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23488 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23489 (libc.pot): Work around missing support for .ksh extension in xgettext.
23492 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23493 if both request failed.
23494 (send_dg): In case of server errors clear resplen or *resplen2.
23497 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23498 when there are multiple maps.
23499 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23500 (_dl_fini): Remove test here.
23502 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23504 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23507 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23508 bit from old_res_options.
23509 (gaih_inet): Likewise.
23512 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23515 * resolv/res_init.c (res_setoptions): Make the code more compact.
23518 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23522 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23524 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23527 * malloc/malloc.h: Declare malloc hook variables as volatile.
23529 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23533 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23534 raise in the comment.
23535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23537 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23539 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23542 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23543 grow the buffers more if it already has to be sufficient.
23544 (build_wcs_upper_buffer): Likewise.
23545 * posix/regexec.c (check_matching): Likewise.
23546 (clean_state_log_if_needed): Likewise.
23547 (extend_buffers): Don't enlarge buffers beyond size of the input
23549 Patches mostly by Emil Wojak <emil@wojak.eu>.
23550 * posix/bug-regex32.c: New file.
23551 * posix/Makefile (tests): Add bug-regex32.
23553 * locale/findlocale.c (_nl_find_locale): Return right away if
23554 _nl_explode_name failed.
23555 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23559 * debug/xtrace.sh: Unify messages.
23560 * malloc/memusage.sh: Likewise.
23563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23564 time symbol from vDSO. Substitute with vsyscall if not available.
23565 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23568 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23569 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23571 Add sendmmsg and internal_sendmmsg.
23572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23573 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23574 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23576 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23577 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23580 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23583 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23584 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23590 * iconvdata/Makefile (tests): Add bug-iconv9.
23591 * iconvdata/bug-iconv9.c: New file.
23593 2011-05-27 Andreas Schwab <schwab@redhat.com>
23596 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23598 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23601 (struct user_regs_struct): Change intcs field back to cs.
23603 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23605 * po/ja.po: Update from translation team.
23607 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23611 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23613 2011-05-20 Andreas Schwab <schwab@redhat.com>
23615 * stdlib/longlong.h: Update from GCC.
23617 2011-05-23 Andreas Schwab <schwab@redhat.com>
23619 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23621 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23622 Add parameter name.
23623 (__sysconf): Pass it down.
23625 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23628 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23630 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23631 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23632 add in in __libc_use_alloca calls. Adjust callers.
23633 (glob): Use malloc in some situations.
23635 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23636 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23639 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23641 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23642 and CLOCK_BOOTTIME_ALARM.
23645 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23648 * string/_strerror.c (__strerror_r): Print negative errors as signed
23652 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23653 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23654 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23656 * configure.in: Fix typo in redirection and correct removal of test
23657 files in two cases.
23660 * locale/setlocale.c (new_composite_name): Fix test to check for
23661 identical name of all categories.
23664 * libio/filedoalloc.c (local_isatty): New function.
23665 (_IO_file_doallocate): Use local_isatty.
23666 * stdio-common/perror.c (perror): In case a new stream is used
23667 forward the stream error.
23668 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23671 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23676 * include/alloca.h (extend_alloca_account): Define.
23679 * posix/regex.h: Fix comments with documentation of user-accessible
23680 fields after compilation and describe correct free'ing of pattern
23681 after re_compile_pattern.
23682 Patch by Reuben Thomas <rrt@sc3d.org>.
23684 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23686 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23687 and -mno-altivec to prevent the compiler from using Altivec and/or
23688 VSX instructions when the corresponding registers are not available.
23690 2011-05-19 Andreas Schwab <schwab@redhat.com>
23692 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23694 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23696 * libio/freopen.c (freopen): Use __dup2, not dup2.
23697 * libio/freopen64.c (freopen64): Likewise.
23699 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23702 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23703 * math/Makefile (tests): Add test-powl.
23704 (CFLAGS-test-powl.c): Define.
23705 * math/test-powl.c: New file.
23707 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23709 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23711 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23714 * iconvdata/gb18030.c: Update to GB18020-2005.
23716 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23718 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23719 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23720 Patch by Aharon Robbins <arnold@skeeve.com>.
23723 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23727 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23728 through underflows.
23731 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23732 point to strings before performing equality test for error_one_per_line
23736 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23740 (struct user_fpregs_struct): Avoid __uint*_t types.
23743 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23744 symbol info. Use it instead of calling _dl_addr locally.
23745 (lock_and_info): New function.
23746 (tr_freehook): Call lock_and_info and pass symbol info as additional
23747 parameter to tr_where.
23748 (tr_mallochook): Likewise.
23749 (tr_reallochook): Likewise.
23750 (tr_memalignhook): Likewise.
23752 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23753 used and couldn't be at all thread-safe.
23755 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23757 * libio/freopen.c (freopen): Don't close old file descriptor
23758 before the new one is opened. Instead dup the new file descriptor
23759 to the old one after the new stream is created.
23760 * libio/freopen64.c (freopen64): Likewise.
23761 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23762 * libio/fileops.c (_IO_new_file_close_it): Handle new
23763 _IO_FLAGS2_NOCLOSE flag.
23764 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23765 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23766 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23767 _IO_FLAGS2_NOCLOSE flag.
23768 * include/unistd.h: Add hidden_proto for dup3.
23769 Define __have_dup3.
23770 * io/dup3.c: Define hidden symbol.
23771 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23774 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23775 when an incomplete long option is used.
23776 * posix/tst-getopt_long1.c: New file.
23777 * posix/Makefile (tests): Add tst-getopt_long1.
23780 * scripts/config.guess: Update from autoconf-2.68.
23781 * scripts/config.sub: Likewise.
23784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23786 (has_cpuclock): ...this. New function.
23787 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23788 macro here based on has_cpuclock code.
23791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23792 First byte (not low byte) is now always NUL.
23793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23796 Use non-cancelable interfaces.
23799 * locale/iso-639.def: Add entry for Sorani.
23802 * include/stdlib.h: Move include protection to the right place.
23803 Define abort_msg_s. Declare __abort_msg with it.
23804 * stdlib/abort.c (__abort_msg): Adjust type.
23805 * assert/assert.c (__assert_fail_base): New function. Majority
23806 of code from __assert_fail. Allocate memory for __abort_msg with
23808 (__assert_fail): Now call __assert_fail_base.
23809 * assert/assert-perr.c: Remove bulk of implementation. Use
23810 __assert_fail_base.
23811 * include/assert.hL Declare __assert_fail_base.
23812 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23814 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23816 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23820 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23821 until all modules are registered in the DTV.
23822 * elf/Makefile: Add rules to build and run tst-tls19.
23823 * elf/tst-tls19.c: New file.
23824 * elf/tst-tls19mod1.c: New file.
23825 * elf/tst-tls19mod2.c: New file.
23826 * elf/tst-tls19mod3.c: New file.
23827 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23830 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23834 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23835 two-byte sequence errors.
23836 * iconvdata/Makefile (tests): Add bug-iconv8.
23837 * iconvdata/bug-iconv8.c: New file.
23840 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23843 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23846 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23847 (dummy_getcfa): New function.
23848 (init): Get _Unwind_GetCFA address, use dummy if not found.
23849 (backtrace_helper): In recursion check, also check whether CFA changes.
23850 (__backtrace): Completely initialize arg.
23852 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23853 storing incomplete byte sequence in state object. Avoid testing for
23854 guaranteed too small input if we know there is enough data available.
23856 2011-05-11 Andreas Schwab <schwab@redhat.com>
23858 * Makeconfig (+link-pie): Indent.
23859 * Rules (binaries-pie): Define if $(have-fpie) and
23861 (binaries-shared): Also filter out $(binaries-pie).
23862 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23863 * nscd/Makefile (others-pie): Add nscd.
23864 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23865 ($(objpfx)nscd): Remove command override.
23866 * login/Makefile (others-pie): Add pt_chown.
23867 ($(objpfx)pt_chown): Remove command override.
23868 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23869 remove command overrides.
23871 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23873 * libio/tst_putwc.c: Fix error messages.
23876 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23877 currently writing and seek to current position when not.
23878 * libio/Makefile (tests): Add bug-fclose1.
23879 * libio/bug-fclose1.c: New file.
23881 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23884 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23885 don't set DF_1_NODELETE here.
23886 (do_lookup_x): When entering new entry test for copy relocation
23887 and if necessary set DF_1_NODELETE flag.
23888 * elf/tst-unique4.cc: New file.
23889 * elf/tst-unique4.h: New file.
23890 * elf/tst-unique4lib.cc: New file.
23891 * elf/Makefile: Add rules to build and run tst-unique4.
23892 Patch by Piotr Bury <pbury@goahead.com>.
23894 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23897 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23900 * misc/mntent_r.c (addmntent): Flush the stream after the output
23903 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23904 (is_trusted_path_normalize): Skip initial colon. Append slash
23905 to empty buffer. Duplicate is_trusted_path code but allow
23906 constructed patch to be prefix.
23907 (is_dst): Allow $ORIGIN followed by /.
23908 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23909 Correct testing of result of is_trusted_path_normalize
23910 (decompose_rpath): Fix warning.
23912 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23915 * grp/initgroups.c (internal_getgrouplist): When we found the service
23916 list through the initgroups entry in nsswitch.conf do not always
23917 continue on a successful lookup. Don't always use the
23918 __nss_group_database value if it is set.
23919 * nss/nsswitch.conf (initgroups): Change action for successful db
23920 lookup to continue for compatibility.
23922 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23925 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23927 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23929 * iconvdata/tst-tables.sh: Likewise.
23930 * iconvdata/cp770.c: New file.
23931 * iconvdata/cp771.c: New file.
23932 * iconvdata/cp772.c: New file.
23933 * iconvdata/cp773.c: New file.
23934 * iconvdata/cp774.c: New file.
23935 * iconvdata/testdata/CP770: New file.
23936 * iconvdata/testdata/CP770..UTF8: New file.
23937 * iconvdata/testdata/CP771: New file.
23938 * iconvdata/testdata/CP771..UTF8: New file.
23939 * iconvdata/testdata/CP772: New file.
23940 * iconvdata/testdata/CP772..UTF8: New file.
23941 * iconvdata/testdata/CP773: New file.
23942 * iconvdata/testdata/CP773..UTF8: New file.
23943 * iconvdata/testdata/CP774: New file.
23944 * iconvdata/testdata/CP774..UTF8: New file.
23946 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23948 * iconvdata/gen-8bit-gap.sh: Likewise.
23949 * iconvdata/gen-8bit.sh: Likewise.
23951 * locale/iso-639.def: Add ary entry.
23954 * locale/C-translit.h.in: Add U20A1 transliteration.
23957 * locale/iso-639.def: Add wae entry.
23958 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23961 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23965 * locale/C-translit.h.in: Add entry for U20B9.
23966 Patch by pravin.d.s@gmail.com.
23968 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23971 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23972 ENAMETOOLONG use generic getcwd.
23973 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23974 in rtld. Use *stat64.
23975 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23976 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23977 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23978 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23979 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23980 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23981 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23982 __fstatat64 macros.
23983 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23984 * dirent/rewinddir.c: Add libc_hidden_def.
23985 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23986 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23988 * include/dirent.h (__alloc_dir): Add flags parameter.
23989 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23990 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23992 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23993 from fdopendir if O_CLOEXEC is already set.
23995 2011-03-15 Alan Modra <amodra@gmail.com>
23997 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23998 l_tls_firstbyte_offset non-zero. Save padding offset in
23999 l_tls_firstbyte_offset for later use.
24000 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24001 freeing static tls block.
24003 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24005 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24006 where #ifdef was intended. The intent is to prevent ARG_MAX from
24007 being defined by the kernel headers.
24009 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24012 * resolv/resolv.h: Define RES_NOTLDQUERY.
24013 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24014 no-tld-query and set RES_NOTLDQUERY.
24015 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24016 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24017 modern BIND to search name as TLD unless forbidden.
24019 2011-05-07 Petr Baudis <pasky@suse.cz>
24020 Ulrich Drepper <drepper@gmail.com>
24023 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24024 (is_trusted_path): ...to here.
24025 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24026 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24027 using is_trusted_path_normalize() in setuid scripts.
24029 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24031 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24032 __BEGIN/__END_DECLS.
24034 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24037 NSS_STATUS_NOTFOUND if no record was found.
24039 2011-05-05 Andreas Schwab <schwab@redhat.com>
24041 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24042 (headers-not-in-tirpc): Remove rpc/netdb.h
24043 * resolv/netdb.h: Revert last change.
24045 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24047 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24048 circular dependency between libgcc.a and libc.a.
24050 2011-05-05 Andreas Schwab <schwab@redhat.com>
24052 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24053 * nis/Makefile: Don't install rpcsvc/*.
24054 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24055 instead of <rpc/types.h>.
24056 (MAXHOSTNAMELEN): Define.
24058 2011-05-03 Andreas Schwab <schwab@redhat.com>
24060 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24062 2011-04-28 Maciej Babinski <mbabinski@google.com>
24065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24066 gethostbyname4_r when IPv6 results are possible.
24068 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24071 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24072 _PC_PIPE_BUF handling.
24074 2011-04-30 Bruno Haible <bruno@clisp.org>
24077 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24078 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24080 * inet/getnameinfo.c (getnameinfo): Likewise.
24082 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24084 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24085 to groups setting in database lookup.
24086 * nss/nsswitch.conf: Add initgroups entry.
24088 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24091 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24093 Patch by Eric Blake <eblake@redhat.com>.
24095 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24097 * sunrpc/Makefile (need-export-routines): Add svc_run.
24098 (routines): Remove svc_run.
24099 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24100 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24101 * sunrpc/svc_run.c (svc_run): Likewise.
24102 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24104 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24106 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24107 problem in reallocation in last patch.
24109 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24111 * sunrpc/Makefile: Move inclusion of Rules.
24113 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24115 * nss/nss_files/files-initgroups.c: New file.
24116 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24117 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24118 _nss_files_initgroups_dyn.
24120 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24122 * elf/elf.h (R_ARM_IRELATIVE): Define.
24124 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24126 * po/ru.po: Update from translation team.
24128 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24130 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24133 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24137 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24142 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24144 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24150 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24153 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24155 * stdlib/bug-getcontext.c: New file.
24156 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24158 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24160 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24161 instructions into .machine "z9-109".
24162 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24163 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24165 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24167 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24168 between environment variables and auxiliary vector.
24170 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24172 * Makefile: Add rules to build linkobj/libc.so.
24173 * include/libc-symbols.h: Define libc_hidden_nolink.
24174 * include/rpc/auth.h: Mark functions which are to be hidden.
24175 * include/rpc/auth_des.h: Likewise.
24176 * include/rpc/auth_unix.h: Likewise.
24177 * include/rpc/clnt.h: Likewise.
24178 * include/rpc/des_crypt.h: Likewise.
24179 * include/rpc/key_prot.h: Likewise.
24180 * include/rpc/pmap_clnt.h: Likewise.
24181 * include/rpc/pmap_prot.h: Likewise.
24182 * include/rpc/pmap_rmt.h: Likewise.
24183 * include/rpc/rpc_msg.h: Likewise.
24184 * include/rpc/svc.h: Likewise.
24185 * include/rpc/svc_auth.h: Likewise.
24186 * include/rpc/xdr.h: Likewise.
24187 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24188 * nss/Makefile: Likewise.
24189 * sunrpc/Makefile: Don't install headers. Build library with normal
24190 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24191 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24192 for the compat linking library. Remove use of INTDEF/INTUSE.
24193 * sunrpc/auth_none.c: Likewise.
24194 * sunrpc/auth_unix.c: Likewise.
24195 * sunrpc/authdes_prot.c: Likewise.
24196 * sunrpc/authuxprot.c: Likewise.
24197 * sunrpc/clnt_gen.c: Likewise.
24198 * sunrpc/clnt_perr.c: Likewise.
24199 * sunrpc/clnt_raw.c: Likewise.
24200 * sunrpc/clnt_simp.c: Likewise.
24201 * sunrpc/clnt_tcp.c: Likewise.
24202 * sunrpc/clnt_udp.c: Likewise.
24203 * sunrpc/clnt_unix.c: Likewise.
24204 * sunrpc/des_crypt.c: Likewise.
24205 * sunrpc/des_soft.c: Likewise.
24206 * sunrpc/get_myaddr.c: Likewise.
24207 * sunrpc/key_call.c: Likewise.
24208 * sunrpc/key_prot.c: Likewise.
24209 * sunrpc/netname.c: Likewise.
24210 * sunrpc/pm_getmaps.c: Likewise.
24211 * sunrpc/pm_getport.c: Likewise.
24212 * sunrpc/pmap_clnt.c: Likewise.
24213 * sunrpc/pmap_prot.c: Likewise.
24214 * sunrpc/pmap_prot2.c: Likewise.
24215 * sunrpc/pmap_rmt.c: Likewise.
24216 * sunrpc/publickey.c: Likewise.
24217 * sunrpc/rpc_cmsg.c: Likewise.
24218 * sunrpc/rpc_common.c: Likewise.
24219 * sunrpc/rpc_dtable.c: Likewise.
24220 * sunrpc/rpc_prot.c: Likewise.
24221 * sunrpc/rpc_thread.c: Likewise.
24222 * sunrpc/rtime.c: Likewise.
24223 * sunrpc/svc.c: Likewise.
24224 * sunrpc/svc_auth.c: Likewise.
24225 * sunrpc/svc_authux.c: Likewise.
24226 * sunrpc/svc_raw.c: Likewise.
24227 * sunrpc/svc_run.c: Likewise.
24228 * sunrpc/svc_simple.c: Likewise.
24229 * sunrpc/svc_tcp.c: Likewise.
24230 * sunrpc/svc_udp.c: Likewise.
24231 * sunrpc/svc_unix.c: Likewise.
24232 * sunrpc/svcauth_des.c: Likewise.
24233 * sunrpc/xcrypt.c: Likewise.
24234 * sunrpc/xdr.c: Likewise.
24235 * sunrpc/xdr_array.c: Likewise.
24236 * sunrpc/xdr_float.c: Likewise.
24237 * sunrpc/xdr_intXX_t.c: Likewise.
24238 * sunrpc/xdr_mem.c: Likewise.
24239 * sunrpc/xdr_rec.c: Likewise.
24240 * sunrpc/xdr_ref.c: Likewise.
24241 * sunrpc/xdr_sizeof.c: Likewise.
24242 * sunrpc/xdr_stdio.c: Likewise.
24244 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24247 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24248 * sysdeps/ia64/dl-tls.h: Likewise.
24249 * sysdeps/powerpc/dl-tls.h: Likewise.
24250 * sysdeps/s390/dl-tls.h: Likewise.
24251 * sysdeps/sh/dl-tls.h: Likewise.
24252 * sysdeps/sparc/dl-tls.h: Likewise.
24253 * sysdeps/x86_64/dl-tls.h: Likewise.
24254 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24256 2011-03-14 Andreas Schwab <schwab@redhat.com>
24258 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24259 rpath element also skip the following colon.
24260 (expand_dynamic_string_token): Add is_path parameter and pass
24261 down to DL_DST_REQUIRED and _dl_dst_substitute.
24262 (decompose_rpath): Call expand_dynamic_string_token with
24263 non-zero is_path. Ignore empty rpaths.
24264 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24267 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24272 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24275 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24276 Patch by Filipe David Manana <fdmanana@apache.org>.
24278 2011-04-07 Andreas Schwab <schwab@redhat.com>
24280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24281 Maintain aligned stack.
24282 (CHECK_RSP): Remove unused macro.
24284 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24286 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24287 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24289 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24291 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24293 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24295 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24298 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24299 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24300 * sysdeps/x86_64/memmove.c: New file.
24301 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24302 (memcpy): Renamed to ...
24303 (__new_memcpy): This.
24304 (memcpy): Provide GLIBC_2_14 memcpy.
24305 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24306 (memcpy): Provide GLIBC_2_2_5 memcpy.
24308 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24311 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24313 2011-03-30 Andreas Schwab <schwab@redhat.com>
24315 * misc/syncfs.c: New file.
24316 * misc/Makefile (routines): Add syncfs.
24317 * posix/unistd.h: Declare syncfs.
24318 * sysdeps/unix/syscalls.list: Add syncfs.
24320 2011-04-01 Andreas Schwab <schwab@redhat.com>
24322 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24329 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24332 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24342 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24343 sync_file_range.c with -fexceptions.
24344 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24345 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24346 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24347 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24348 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24349 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24351 sync_file_range as cancellation point
24352 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24353 now a wrapper around __call_sync_file_range with cancellation handling.
24354 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24355 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24356 function name to __call_sync_file_range.
24357 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24358 Add call_sync_file_range.
24360 2011-04-01 Andreas Schwab <schwab@redhat.com>
24362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24365 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24367 * iconv/iconv.h: Fix typo in comment.
24368 * io/fcntl.h: Likewise.
24369 * libio/stdio.h: Likewise.
24370 * posix/spawn.h: Likewise.
24371 * posix/unistd.h: Likewise.
24372 * stdlib/stdlib.h: Likewise.
24373 * time/time.h: Likewise.
24374 * wcsmbs/wchar.h: Likewise.
24376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24377 open_by_handle): Add.
24378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24379 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24380 Augment a few comments.
24381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24386 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24389 * io/fcntl.h (AT_EMPTY_PATH): Define.
24391 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24393 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24394 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24395 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24397 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24398 * Versions.def: Add GLIBC_2.14.
24399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24402 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24408 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24411 * string/test-strncmp.c (do_page_test): New function.
24412 (check2): Likewise.
24413 (test_main): Call check2.
24414 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24416 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24420 Handle cache information in CPU leaf 4.
24421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24423 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24426 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24427 character representation.
24428 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24430 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24432 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24433 END(__isnan) to END(__isnanf) to match function entry point/label
24434 EALIGN(__isnanf,...).
24436 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24438 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24440 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24443 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24444 copy from the symbol referenced in the relocation to initialize the
24446 Patch by Piotr Bury <pbury@goahead.com>.
24447 * elf/Makefile: Add rules to build and tst-unique3.
24448 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24449 * elf/tst-unique3.cc: New file.
24450 * elf/tst-unique3.h: New file.
24451 * elf/tst-unique3lib.cc: New file.
24452 * elf/tst-unique3lib2.cc: New file.
24454 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24456 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24458 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24459 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24462 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24464 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24465 to-be-loaded object along a path to loader is ld.so.
24467 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24468 Ulrich Drepper <drepper@gmail.com>
24470 * sysdeps/x86_64/memset.S: After aligning destination, code
24471 branches to different locations depending on the value of
24472 misalignment, when multiarch is enabled. Fix this.
24474 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24476 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24477 Set _x86_64_preferred_memory_instruction for AMD processsors.
24478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24479 Set bit_Prefer_SSE_for_memop for AMD processors.
24481 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24483 * libio/fmemopen.c (fmemopen): Optimize a bit.
24485 2011-03-03 Andreas Schwab <schwab@redhat.com>
24487 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24489 2011-03-03 Roland McGrath <roland@redhat.com>
24491 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24493 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24495 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24496 __bzero_ultra1 instead of __memset_ultra1.
24498 2011-02-23 Andreas Schwab <schwab@redhat.com>
24499 Ulrich Drepper <drepper@gmail.com>
24502 * include/link.h (struct link_map): Add l_orig_initfini.
24503 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24504 returning unsuccessfully.
24505 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24506 close of a file loaded at startup, restore the original l_initfini
24508 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24509 list, store the pointer.
24510 * elf/Makefile ($(objpfx)noload-mem): New rule.
24511 (noload-ENV): Define.
24512 (tests): Add $(objpfx)noload-mem.
24513 * elf/noload.c: Include <memcheck.h>.
24514 (main): Call mtrace. Close all opened handles.
24516 2011-02-17 Andreas Schwab <schwab@redhat.com>
24519 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24520 dependencies are missing.
24522 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24524 Fix __if_freereq crash: Unlike the generic version which uses free,
24526 * sysdeps/mach/hurd/ifreq.h: New file.
24528 2011-01-27 Petr Baudis <pasky@suse.cz>
24529 Ulrich Drepper <drepper@gmail.com>
24532 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24533 to extend_alloca().
24534 * stdio-common/bug23.c: New file.
24535 * stdio-common/Makefile (tests): Add bug23.
24537 2010-09-28 Andreas Schwab <schwab@redhat.com>
24538 Ulrich Drepper <drepper@gmail.com>
24541 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24542 before performing relro protection. At old place add assertion
24543 to make sure nothing changed.
24545 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24546 Glauber de Oliveira Costa <glommer@gmail.com>
24548 * elf/elf.h: Add new ARM TLS relocs.
24550 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24553 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24555 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24557 * sysdeps/wordsize-64/tst-writev.c: New file.
24559 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24561 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24562 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24563 insns in _dl_start to prevent a TOC reference before relocs are
24566 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24569 * Makeconfig: Remove RANLIB definition.
24570 * Makerules: Don't use RANLIB.
24571 * aclocal.m4: Remove ranlib test.
24572 * configure.in: No need to check for ranlib.
24573 * elf/rtld-Rules: Don't use RANLIB.
24575 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24579 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24580 inclusion protection macro.
24582 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24583 SIGRTMIN and SIGRTMAX and print information in that case only when
24584 SIGRTMIN is defined.
24586 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24588 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24589 arginfo fn returning -1.
24591 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24592 and thousands string is zero terminated.
24594 2011-02-03 Andreas Schwab <schwab@redhat.com>
24596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24597 sysdeps/unix/sysv/linux/bits/socket.h.
24599 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24601 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24602 (__CPU_COUNT): Remove old macros.
24603 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24604 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24605 (__CPU_ALLOC, __CPU_FREE): Add macros.
24606 (__sched_cpualloc, __sched_cpufree): Add declarations.
24608 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24610 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24611 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24612 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24613 (readdhstai): Return value of addhstaiX call.
24614 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24615 (addgrbyX): Return value returned by cache_addgr.
24616 (readdgrbyname): Return value returned by addgrbyX.
24617 (readdgrbygid): Likewise.
24618 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24619 (addpwbyX): Return value returned by cache_addpw.
24620 (readdpwbyname): Return value returned by addhstbyX.
24621 (readdpwbyuid): Likewise.
24622 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24623 (addservbyX): Return value returned by cache_addserv.
24624 (readdservbyname): Return value returned by addservbyX:
24625 (readdservbyport): Likewise.
24626 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24627 (addhstbyX): Return value returned by cache_addhst.
24628 (readdhstbyname): Return value returned by addhstbyX.
24629 (readdhstbyaddr): Likewise.
24630 (readdhstbynamev6): Likewise.
24631 (readdhstbyaddrv6): Likewise.
24632 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24633 (readdinitgroups): Return value returned by addinitgroupsX.
24634 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24635 (prune_cache): Keep track of timeout value of re-added entries.
24636 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24637 * nscd/nscd.h: Adjust prototypes of readd* functions.
24639 2011-02-04 Roland McGrath <roland@redhat.com>
24641 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24642 (nis_stats): Likewise.
24643 * nis/nis_modify.c (nis_modify): Likewise.
24644 * nis/nis_remove.c (nis_remove): Likewise.
24645 * nis/nis_add.c (nis_add): Likewise.
24647 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24649 * posix/fnmatch_loop.c: Add some consts.
24651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24653 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24656 * config.make.in (config-cflags-novzeroupper): Define.
24657 * configure.in: Substitute libc_cv_cc_novzeroupper.
24658 * elf/Makefile (AVX-CFLAGS): Define.
24659 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24660 (CFLAGS-tst-auditmod4a.c): Likewise.
24661 (CFLAGS-tst-auditmod4b.c): Likewise.
24662 (CFLAGS-tst-auditmod6b.c): Likewise.
24663 (CFLAGS-tst-auditmod6c.c): Likewise.
24664 (CFLAGS-tst-auditmod7b.c): Likewise.
24665 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24667 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24669 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24670 function to the callback.
24671 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24673 2011-02-02 Andreas Schwab <schwab@redhat.com>
24675 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24678 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24681 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24683 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24685 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24688 * elf/Makefile: Add rules to build and run new test.
24689 * elf/tst-initorder.c: New file.
24690 * elf/tst-initorder.exp: New file.
24691 * elf/tst-initordera1.c: New file.
24692 * elf/tst-initordera2.c: New file.
24693 * elf/tst-initordera3.c: New file.
24694 * elf/tst-initordera4.c: New file.
24695 * elf/tst-initorderb1.c: New file.
24696 * elf/tst-initorderb2.c: New file.
24697 * elf/tst-order-a1.c: New file.
24698 * elf/tst-order-a2.c: New file.
24699 * elf/tst-order-a3.c: New file.
24700 * elf/tst-order-a4.c: New file.
24701 * elf/tst-order-b1.c: New file.
24702 * elf/tst-order-b2.c: New file.
24703 * elf/tst-order-main.c: New file.
24704 New test case by George Gensure <werkt0@gmail.com>.
24706 2010-10-01 Andreas Schwab <schwab@redhat.com>
24708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24709 decoding ACE if AI_CANONIDN.
24711 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24713 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24715 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24717 * version.h (RELEASE): Bump for 2.13 release.
24718 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24720 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24724 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24725 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24731 * posix/getconf.c: Update copyright year.
24732 * catgets/gencat.c: Likewise.
24733 * csu/version.c: Likewise.
24734 * debug/catchsegv.sh: Likewise.
24735 * debug/xtrace.sh: Likewise.
24736 * elf/ldconfig.c: Likewise.
24737 * elf/ldd.bash.in: Likewise.
24738 * elf/sprof.c (print_version): Likewise.
24739 * iconv/iconv_prog.c: Likewise.
24740 * iconv/iconvconfig.c: Likewise.
24741 * locale/programs/locale.c: Likewise.
24742 * locale/programs/localedef.c: Likewise.
24743 * malloc/memusage.sh: Likewise.
24744 * malloc/mtrace.pl: Likewise.
24745 * nscd/nscd.c (print_version): Likewise.
24746 * nss/getent.c: Likewise.
24748 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24749 PF_CAIF, and PF_ALG.
24750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24752 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24754 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24755 (modules-names): Use them.
24756 (ifunc-test-modules, ifunc-pie-tests): Define.
24757 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24758 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24759 (test-extras): Likewise.
24760 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24761 $(compile-command.c).
24762 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24763 (all-built-dso): Define.
24764 (check-textrel.out, check-execstack.out): Depend on it.
24766 * configure.in: Don't override --enable-multi-arch.
24768 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24771 * nscd/hstcache.c (tryagain): Define.
24772 (cache_addhst): Return tryagain not notfound for temporary errors.
24773 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24776 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24779 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24780 to make the syscall.
24781 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24784 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24785 and fall back to matching as normal character if the string ends before
24786 the matching ']' is found. This is what POSIX requires.
24787 * posix/testfnm.c: Adjust test result.
24788 * posix/globtest.sh: Adjust test result. Add new test.
24789 * posix/tst-fnmatch.input: Likewise.
24790 * posix/tst-fnmatch2.c: Add new test.
24792 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24794 * elf/Makefile (check-execstack): Revert last change. Depend on
24796 (check-execstack.h): New target.
24797 (generated): Add check-execstack.h.
24798 * elf/check-execstack.c: Include "check-execstack.h".
24799 (main): Revert last change.
24800 (handle_file): Return zero if GNU_STACK is absent and
24801 DEFAULT_STACK_PERMS doesn't include PF_X.
24803 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24805 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24806 in child fails because the descriptor is already closed.
24807 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24808 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24809 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24812 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24816 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24817 temporary buffer used to handle multi lookups locally.
24818 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24820 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24822 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24825 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24827 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24828 alignment for SSE2.
24830 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24833 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24834 characters. When rounding increased number of integer digits recompute
24836 * stdio-common/tst-grouping.c: New file.
24837 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24839 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24841 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24842 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24844 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24846 * bits/select.h: Likewise.
24848 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24850 * po/ja.po: Update from translation team.
24852 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24855 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24856 implementation just like for lxstat, fxstatat, et al.
24858 2010-12-27 Jim Meyering <meyering@redhat.com>
24861 * posix/regexec.c (build_trtable): Return failure indication upon
24862 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24864 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24867 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24868 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24873 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24876 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24877 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24879 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24881 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24882 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24883 script has SORT_BY_INIT_PRIORITY.
24884 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24885 NO_CTORS_DTORS_SECTIONS is defined.
24886 * elf/soinit.c: Likewise.
24887 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24888 NO_CTORS_DTORS_SECTIONS is defined.
24889 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24890 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24891 * sysdeps/sh/init-first.c: Likewise.
24892 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24894 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24896 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24897 always use the slow path.
24899 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24901 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24902 similar rule which adds the sysdep directories to the header search in
24903 order to pick up the correct platform stackinfo.h.
24904 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24905 perform test if it is, otherwise return successfully without testing.
24906 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24907 DEFAULT_STACK_PERMS define in stackinfo.h.
24908 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24909 defined in stackinfo.h.
24910 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24911 DEFAULT_STACK_PERMS defined in stackinfo.h.
24912 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24913 * sysdeps/ia64/stackinfo.h: Likewise.
24914 * sysdeps/s390/stackinfo.h: Likewise.
24915 * sysdeps/sh/stackinfo.h: Likewise.
24916 * sysdeps/sparc/stackinfo.h: Likewise.
24917 * sysdeps/x86_64/stackinfo.h: Likewise.
24918 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24919 PF_X for powerpc64. Retain PF_X for powerpc32.
24921 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24923 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24925 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24926 GETDENTS_64BIT_ALIGNED.
24928 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24930 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24932 2010-12-10 Andreas Schwab <schwab@redhat.com>
24934 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24938 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24940 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24941 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24943 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24946 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24949 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24951 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24953 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24955 * po/it.po: Update from translation team.
24957 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24962 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24964 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24966 2010-11-24 Andreas Schwab <schwab@redhat.com>
24968 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24970 (gaih_getanswer_slice): Likewise.
24972 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24976 2010-05-31 Petr Baudis <pasky@suse.cz>
24979 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24980 silently even in the chroot mode.
24982 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24984 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24985 last patch a bit. Pretty printing
24987 2010-05-31 Petr Baudis <pasky@suse.cz>
24990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24991 initialization of skip_initgroups_dyn.
24993 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24995 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24998 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25000 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25002 2010-11-11 Andreas Schwab <schwab@redhat.com>
25004 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25005 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25006 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25007 ($(objpfx)tst-fnmatch-mem): New rule.
25008 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25009 * posix/tst-fnmatch.c (main): Call mtrace.
25011 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25014 Support Intel processor model 6 and model 0x2c.
25016 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25021 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25024 * string/test-strncasecmp.c (check_result): New function.
25025 (do_one_test): Use it.
25026 (check1): New function.
25027 (test_main): Use it.
25028 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25029 Support strcasecmp and strncasecmp.
25031 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25034 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25035 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25037 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25039 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25043 * sysdeps/x86_64/multiarch/bzero.S: New file.
25044 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25045 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25046 * sysdeps/x86_64/multiarch/memset.S: New file.
25047 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25049 Set bit_Prefer_SSE_for_memop for Intel processors.
25050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25052 (index_Prefer_SSE_for_memop): Define.
25053 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25055 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25057 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25058 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25060 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25063 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25064 (__x86_64_raw_data_cache_size_half): Likewise.
25065 (__x86_64_raw_shared_cache_size): Likewise.
25066 (__x86_64_raw_shared_cache_size_half): Likewise.
25068 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25069 (__x86_64_raw_data_cache_size_half): Likewise.
25070 (__x86_64_raw_shared_cache_size): Likewise.
25071 (__x86_64_raw_shared_cache_size_half): Likewise.
25072 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25073 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25074 and __x86_64_raw_shared_cache_size_half. Round
25075 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25076 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25077 to multiple of 256 bytes.
25079 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25083 of inacessible symlinks. Verify result of symlink before returning it.
25084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25085 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25087 2010-10-28 Erich Ritz <erichritz@gmail.com>
25089 * math/math.h (isinf): Fix typo in comment.
25091 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25093 * po/da.po: Update from translation team.
25095 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25097 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25098 is added to the list.
25100 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25101 Ulrich Drepper <drepper@gmail.com>
25103 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25104 the global list here. Move code to...
25105 (_dl_add_to_namespace_list): ...here. New function.
25106 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25107 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25108 * elf/dl-load.c (lose): Don't remove the element from the list.
25109 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25110 (_dl_map_object): Likewise.
25112 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25115 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25116 into all bytes of SSE register.
25117 Patch by Richard Li <richardpku@gmail.com>.
25119 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25122 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25125 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25127 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25128 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25129 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25130 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25135 2010-10-22 Andreas Schwab <schwab@redhat.com>
25137 * include/dlfcn.h (__RTLD_SECURE): Define.
25138 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25139 mode & __RTLD_SECURE instead.
25140 (open_path): Rename preloaded parameter to secure.
25141 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25142 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25143 * elf/dl-deps.c (openaux): Likewise.
25144 * elf/rtld.c (struct map_args): Remove is_preloaded.
25145 (map_doit): Don't use it.
25146 (dl_main): Likewise.
25147 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25148 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25150 2010-09-09 Andreas Schwab <schwab@redhat.com>
25152 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25153 (sysd-rules-targets): Remove duplicates.
25154 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25155 rtld-%.$o dependency.
25157 2010-10-18 Andreas Schwab <schwab@redhat.com>
25159 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25160 _dl_map_object do it.
25162 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25164 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25165 fast fma builtins, define the macros in the C99 standard.
25166 (FP_FAST_FMAF): Likewise.
25167 (FP_FAST_FMAL): Likewise.
25168 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25170 * bits/mathdef.h: Update copyright year.
25171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25173 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25175 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25176 builtins, define the macros in the C99 standard.
25177 (FP_FAST_FMAF): Likewise.
25178 (FP_FAST_FMAL): Likewise.
25179 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25181 (FP_FAST_FMAF): Likewise.
25183 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25186 * math/libm-test.inc (fma_test): Some new testcases.
25187 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25189 y and infinite z. Do multiplication by C already in long double.
25190 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25192 y and infinite z. Do bitwise or of inexact bit into u.d.
25193 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25194 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25195 * sysdeps/i386/fpu/s_fma.S: Removed.
25196 * sysdeps/i386/fpu/s_fmal.S: Removed.
25198 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25201 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25203 computation is not scheduled after fetestexcept. Fix value
25204 of minimum denormal long double.
25206 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25209 * math/libm-test.inc (fma_test): Add some more tests.
25210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25213 2010-10-15 Andreas Schwab <schwab@redhat.com>
25215 * scripts/data/localplt-s390-linux-gnu.data: New file.
25216 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25218 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25221 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25222 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25224 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25226 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25228 if one of x and y is very large and the other is subnormal.
25229 * sysdeps/s390/fpu/s_fmaf.c: New file.
25230 * sysdeps/s390/fpu/s_fma.c: New file.
25231 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25232 * sysdeps/powerpc/fpu/s_fma.S: New file.
25233 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25234 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25235 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25237 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25240 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25242 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25243 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25244 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25245 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25246 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25247 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25248 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25250 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25253 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25254 * posix/bug-regex31.input: Add test case.
25256 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25258 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25259 * posix/bug-regex31.input: New file.
25262 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25263 (parse_sub_exp): Fix last change, use postorder.
25265 * posix/bug-regex31.c: New file.
25266 * posix/Makefile: Add rules to build and run bug-regex31.
25268 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25271 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25274 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25275 to have entries in sys_siglist.
25278 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25281 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25284 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25285 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25286 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25287 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25289 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25290 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25291 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25292 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25293 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25294 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25295 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25296 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25297 * math/ftestexcept.c (fetestexcept): Likewise.
25298 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25299 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25300 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25301 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25302 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25303 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25304 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25306 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25309 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25312 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25314 * string/bug-strstr1.c: New file.
25315 * string/Makefile: Add rules to build and run bug-strstr1.
25317 2010-10-05 Eric Blake <eblake@redhat.com>
25320 * string/str-two-way.h (two_way_long_needle): Always clear memory
25321 when skipping input due to the shift table.
25323 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25326 * malloc/mcheck.c: Handle large requests.
25329 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25330 for strncmp and strncasecmp.
25331 * string/stratcliff.c: Add tests for strcmp and strncmp.
25332 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25334 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25336 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25339 2010-09-30 Andreas Jaeger <aj@suse.de>
25341 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25342 (CGROUP_SUPER_MAGIC): Define.
25343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25344 Handle btrfs and cgroup file systems.
25345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25348 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25350 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25351 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25353 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25356 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25357 trying to locate the ELF header.
25359 2010-09-27 Andreas Schwab <schwab@redhat.com>
25362 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25363 Mask out sign-bit copies when constructing f_fsid.
25365 2010-09-24 Petr Baudis <pasky@suse.cz>
25367 * debug/stack_chk_fail_local.c: Add missing licence exception.
25368 * debug/warning-nop.c: Likewise.
25370 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25373 implementing getdents64 using getdents syscall, set d_type if
25374 __ASSUME_GETDENTS32_D_TYPE.
25376 2010-09-16 Andreas Schwab <schwab@redhat.com>
25378 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25379 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25381 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25384 * posix/unistd.h: Undo change of feature selection for ftruncate from
25387 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25389 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25392 2010-09-20 Andreas Schwab <schwab@redhat.com>
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25398 2010-09-14 Andreas Schwab <schwab@redhat.com>
25400 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25401 variables after CHECK_SP call.
25402 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25404 2010-09-13 Andreas Schwab <schwab@redhat.com>
25405 Ulrich Drepper <drepper@redhat.com>
25407 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25408 re-relocationg ld.so.
25409 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25410 _dl_init_paths call.
25411 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25414 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25416 * resolv/res_init.c (__res_vinit): Count the default server we added.
25418 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25419 Ulrich Drepper <drepper@redhat.com>
25422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25423 (____longjmp_chk): Use %ebx for saving value across system call.
25426 2010-09-06 Andreas Schwab <schwab@redhat.com>
25428 * manual/Makefile: Don't mix pattern rules with normal rules.
25430 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25432 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25434 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25435 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25436 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25437 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25441 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25444 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25445 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25447 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25449 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25450 * sysdeps/x86_64/addmul_1.S: Likewise.
25451 * sysdeps/x86_64/lshift.S: Likewise.
25452 * sysdeps/x86_64/mul_1.S: Likewise.
25453 * sysdeps/x86_64/rshift.S: Likewise.
25454 * sysdeps/x86_64/sub_n.S: Likewise.
25455 * sysdeps/x86_64/submul_1.S: Likewise.
25457 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25459 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25460 Define __sched_param instead of SCHED_* and sched_param when
25461 <bits/sched.h> is included with __need_schedparam defined.
25462 * bits/sched.h [__need_schedparam]
25463 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25464 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25465 (__defined_schedparam): Define to 1.
25466 (__sched_param): New structure, identical to sched_param.
25467 (__need_schedparam): Undefine.
25469 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25472 (epoll_create1): Declare.
25474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25476 2010-08-31 Andreas Schwab <schwab@redhat.com>
25479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25480 shifting retval into place.
25482 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25484 * nis/rpcsvc/nis.h: Update copyright notice.
25485 * nis/rpcsvc/nis.x: Likewise.
25486 * nis/rpcsvc/nis_callback.h: Likewise.
25487 * nis/rpcsvc/nis_callback.x: Likewise.
25488 * nis/rpcsvc/nis_object.x: Likewise.
25489 * nis/rpcsvc/nis_tags.h: Likewise.
25490 * nis/rpcsvc/yp.h: Likewise.
25491 * nis/rpcsvc/yp.x: Likewise.
25492 * nis/rpcsvc/ypupd.h: Likewise.
25493 * nis/yp_xdr.c: Likewise.
25494 * nis/ypupdate_xdr.c: Likewise.
25496 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25497 mainly the body of pmap_getport. Add parameters to specify timeouts.
25498 (pmap_getport): Use __libc_rpc_getport.
25499 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25500 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25501 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25503 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25508 2010-08-27 Roland McGrath <roland@redhat.com>
25510 * sysdeps/i386/i686/multiarch/Makefile
25511 (CFLAGS-varshift.c): New variable.
25513 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25515 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25516 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25520 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25522 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25524 * sysdeps/x86_64/strlen.S: Unroll the loop.
25525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25526 strlen-sse2 strlen-sse2-bsf.
25527 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25528 __strlen_no_bsf if bit_Slow_BSF is set.
25529 (__strlen_sse42): Removed.
25530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25531 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25533 2010-08-25 Roland McGrath <roland@redhat.com>
25535 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25536 * sysdeps/x86_64/multiarch/varshift.c: New file.
25537 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25538 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25539 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25540 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25542 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25545 strlen-sse2 strlen-sse2-bsf.
25546 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25547 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25548 (__strlen_sse2): Removed.
25549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25552 bit_Slow_BSF for Atom.
25553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25554 (index_Slow_BSF): Define.
25555 (HAS_SLOW_BSF): Define.
25557 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25560 * resolv/res_init.c (__res_vinit): When no server address at all
25561 is given default to loopback.
25563 2010-08-24 Roland McGrath <roland@redhat.com>
25565 * configure.in: Remove config-name.h generation.
25566 * configure: Regenerated.
25567 * config-name.in: File removed.
25568 * scripts/config-uname.sh: New file.
25569 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25570 ($(objdir)config-name.h): New target.
25572 * sunrpc/rpc_parse.h: Avoid nested comment.
25574 2010-08-24 Richard Henderson <rth@redhat.com>
25575 Ulrich Drepper <drepper@redhat.com>
25576 H.J. Lu <hongjiu.lu@intel.com>
25578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25580 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25581 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25582 _mm_alignr_epi8 with _mm_loadu_si128.
25583 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25584 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25585 (__m128i_shift_right): Removed.
25586 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25587 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25588 * sysdeps/x86_64/multiarch/varshift.h: New file.
25589 * sysdeps/x86_64/multiarch/varshift.S: New file.
25591 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25593 * configure.in: Move assembler checks to before sysdep dir checking.
25595 2010-08-20 Petr Baudis <pasky@suse.cz>
25597 * LICENSES: Sync the sunrpc license.
25599 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25601 * sunrpc/auth_des.c: Update copyright notice once again.
25602 * sunrpc/auth_none.c: Likewise.
25603 * sunrpc/auth_unix.c: Likewise.
25604 * sunrpc/authdes_prot.c: Likewise.
25605 * sunrpc/authuxprot.c: Likewise.
25606 * sunrpc/bindrsvprt.c: Likewise.
25607 * sunrpc/clnt_gen.c: Likewise.
25608 * sunrpc/clnt_perr.c: Likewise.
25609 * sunrpc/clnt_raw.c: Likewise.
25610 * sunrpc/clnt_simp.c: Likewise.
25611 * sunrpc/clnt_tcp.c: Likewise.
25612 * sunrpc/clnt_udp.c: Likewise.
25613 * sunrpc/clnt_unix.c: Likewise.
25614 * sunrpc/des_crypt.c: Likewise.
25615 * sunrpc/des_soft.c: Likewise.
25616 * sunrpc/get_myaddr.c: Likewise.
25617 * sunrpc/getrpcport.c: Likewise.
25618 * sunrpc/key_call.c: Likewise.
25619 * sunrpc/key_prot.c: Likewise.
25620 * sunrpc/openchild.c: Likewise.
25621 * sunrpc/pm_getmaps.c: Likewise.
25622 * sunrpc/pm_getport.c: Likewise.
25623 * sunrpc/pmap_clnt.c: Likewise.
25624 * sunrpc/pmap_prot.c: Likewise.
25625 * sunrpc/pmap_prot2.c: Likewise.
25626 * sunrpc/pmap_rmt.c: Likewise.
25627 * sunrpc/rpc/auth.h: Likewise.
25628 * sunrpc/rpc/auth_unix.h: Likewise.
25629 * sunrpc/rpc/clnt.h: Likewise.
25630 * sunrpc/rpc/des_crypt.h: Likewise.
25631 * sunrpc/rpc/key_prot.h: Likewise.
25632 * sunrpc/rpc/netdb.h: Likewise.
25633 * sunrpc/rpc/pmap_clnt.h: Likewise.
25634 * sunrpc/rpc/pmap_prot.h: Likewise.
25635 * sunrpc/rpc/pmap_rmt.h: Likewise.
25636 * sunrpc/rpc/rpc.h: Likewise.
25637 * sunrpc/rpc/rpc_des.h: Likewise.
25638 * sunrpc/rpc/rpc_msg.h: Likewise.
25639 * sunrpc/rpc/svc.h: Likewise.
25640 * sunrpc/rpc/svc_auth.h: Likewise.
25641 * sunrpc/rpc/types.h: Likewise.
25642 * sunrpc/rpc/xdr.h: Likewise.
25643 * sunrpc/rpc_clntout.c: Likewise.
25644 * sunrpc/rpc_cmsg.c: Likewise.
25645 * sunrpc/rpc_common.c: Likewise.
25646 * sunrpc/rpc_cout.c: Likewise.
25647 * sunrpc/rpc_dtable.c: Likewise.
25648 * sunrpc/rpc_hout.c: Likewise.
25649 * sunrpc/rpc_main.c: Likewise.
25650 * sunrpc/rpc_parse.c: Likewise.
25651 * sunrpc/rpc_parse.h: Likewise.
25652 * sunrpc/rpc_prot.c: Likewise.
25653 * sunrpc/rpc_sample.c: Likewise.
25654 * sunrpc/rpc_scan.c: Likewise.
25655 * sunrpc/rpc_scan.h: Likewise.
25656 * sunrpc/rpc_svcout.c: Likewise.
25657 * sunrpc/rpc_tblout.c: Likewise.
25658 * sunrpc/rpc_util.c: Likewise.
25659 * sunrpc/rpc_util.h: Likewise.
25660 * sunrpc/rpcinfo.c: Likewise.
25661 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25662 * sunrpc/rpcsvc/key_prot.x: Likewise.
25663 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25664 * sunrpc/rpcsvc/mount.x: Likewise.
25665 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25666 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25667 * sunrpc/rpcsvc/rex.x: Likewise.
25668 * sunrpc/rpcsvc/rstat.x: Likewise.
25669 * sunrpc/rpcsvc/rusers.x: Likewise.
25670 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25671 * sunrpc/rpcsvc/spray.x: Likewise.
25672 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25673 * sunrpc/rtime.c: Likewise.
25674 * sunrpc/svc.c: Likewise.
25675 * sunrpc/svc_auth.c: Likewise.
25676 * sunrpc/svc_authux.c: Likewise.
25677 * sunrpc/svc_raw.c: Likewise.
25678 * sunrpc/svc_run.c: Likewise.
25679 * sunrpc/svc_simple.c: Likewise.
25680 * sunrpc/svc_tcp.c: Likewise.
25681 * sunrpc/svc_udp.c: Likewise.
25682 * sunrpc/svc_unix.c: Likewise.
25683 * sunrpc/svcauth_des.c: Likewise.
25684 * sunrpc/xcrypt.c: Likewise.
25685 * sunrpc/xdr.c: Likewise.
25686 * sunrpc/xdr_array.c: Likewise.
25687 * sunrpc/xdr_float.c: Likewise.
25688 * sunrpc/xdr_mem.c: Likewise.
25689 * sunrpc/xdr_rec.c: Likewise.
25690 * sunrpc/xdr_ref.c: Likewise.
25691 * sunrpc/xdr_sizeof.c: Likewise.
25692 * sunrpc/xdr_stdio.c: Likewise.
25694 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25697 2010-08-19 Andreas Schwab <schwab@redhat.com>
25699 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25701 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25703 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25705 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25706 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25707 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25708 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25710 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25712 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25713 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25714 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25715 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25716 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25718 2010-07-26 Anton Blanchard <anton@samba.org>
25720 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25721 * malloc/arena.c (heap_trim): Likewise.
25723 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25725 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25728 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25730 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25732 * sysdeps/i386/elf/Makefile: New file.
25734 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25736 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25737 from fanotify_init.
25738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25741 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25743 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25745 * sysdeps/multiarch/strcmp.S: Likewise.
25747 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25750 strncase_l-nonascii.
25751 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25752 Add strncase_l-ssse3.
25753 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25754 * sysdeps/x86_64/strcmp.S: Likewise.
25755 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25756 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25757 * sysdeps/x86_64/strncase.S: New file.
25758 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25759 * sysdeps/x86_64/strncase_l.S: New file.
25760 * string/Makefile (strop-tests): Add strncasecmp.
25761 * string/test-strncasecmp.c: New file.
25763 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25766 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25767 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25769 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25771 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25773 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25775 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25777 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25779 2010-05-01 Alan Modra <amodra@gmail.com>
25781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25782 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25783 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25784 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25785 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25786 tidying. Don't tail-call __sigjmp_save for static lib.
25787 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25789 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25790 (CALL_MCOUNT): Add eh info, and nop after bl.
25791 (TAIL_CALL_SYSCALL_ERROR): New macro.
25792 (PSEUDO_RET): Use it.
25793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25794 Correct save location of integer regs and cr.
25795 (_dl_profile_resolve): Correct cr save location. Delete nops
25796 after bl when SHARED. Reduce cfi size a little by better
25797 placement of cfi directives.
25798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25799 make a stack frame. Instead use parm save area as a temp.
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25801 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25803 Don't make a stack frame for parent, use parm save area.
25804 Increase child stack frame to 112 bytes. Don't save unused reg,
25805 and adjust reg usage. Set up cfi on error recovery and
25806 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25808 (__makecontext): Add dummy nop after jump to exit.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25810 Use correct parm save area and cr save, reduce stack frame.
25811 Correct cfi for possible PSEUDO_RET frame setup.
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25813 Branch to local label emitted by PSEUDO_RET rather than
25816 2010-08-12 Andreas Schwab <schwab@redhat.com>
25819 * locale/programs/locale.c (print_assignment): New function.
25820 (show_locale_vars): Use it.
25822 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25824 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25826 (struct statfs64): Likewise.
25827 (_STATFS_F_FLAGS): Define.
25828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25830 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25831 (ST_VALID): Define locally.
25832 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25833 __statvfs_getflags, use the provided value.
25834 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25835 __ASSUME_STATFS_F_FLAGS.
25837 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25840 Add sys/fanotify.h.
25841 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25842 fanotify_mask for GLIBC_2.13.
25843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25844 fanotify_init and fanotify_mark.
25845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25846 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25850 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25851 prlimit64 for GLIBC_2.13.
25852 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25858 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25859 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25862 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25865 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25866 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25868 * nss/Makefile: Add rules to build and run tst-nss-test1.
25869 * shlib-versions: Add entry for libnss_test1.
25870 * nss/nss_test1.c: New file.
25871 * nss/tst-nss-test1.c: New file.
25873 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25874 (__nss_configure_lookup): Set appropriate entry in
25875 __nss_configure_lookup to true.
25876 * nss/nsswitch.h: Define enum with indeces of databases in
25877 databases and __nss_database_custom arrays. Declare
25878 __nss_database_custom.
25879 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25880 to avoid using nscd when custom rules are installed.
25881 * nss/getXXbyYY_r.c: Likewise.
25882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25884 * nss/nss_files/files-parse.c: Whitespace fixes.
25886 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25889 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25890 * posix/fnmatch_loop.c: Likewise.
25892 2010-07-17 Andi Kleen <ak@linux.intel.com>
25894 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25895 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25896 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25897 * Versions.def [GLIBC_2.13]: Add.
25899 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25902 Also fail if tpwd after pwuid call is NULL.
25904 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25906 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25907 when converting to ms.
25909 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25911 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25912 EOPNOTSUPP errors with ENOTTY.
25913 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25914 EOPNOTSUPP errors with ENOTTY.
25916 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25919 Add strcasecmp_l-ssse3.
25920 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25922 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25923 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25924 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25926 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25928 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25930 * string/Makefile (strop-tests): Add strcasecmp.
25931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25932 strcasecmp_l-nonascii.
25933 (gen-as-const-headers): Add locale-defines.sym.
25934 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25935 * sysdeps/x86_64/strcasecmp.S: New file.
25936 * sysdeps/x86_64/strcasecmp_l.S: New file.
25937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25938 * sysdeps/x86_64/locale-defines.sym: New file.
25939 * string/test-strcasecmp.c: New file.
25941 * string/test-strcasestr.c: Test both ends of the range of characters.
25942 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25944 2010-07-29 Roland McGrath <roland@redhat.com>
25947 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25949 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25951 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25954 2010-07-27 Andreas Schwab <schwab@redhat.com>
25956 * manual/memory.texi (Malloc Tunable Parameters): Document
25959 2010-07-26 Roland McGrath <roland@redhat.com>
25962 * configure.in (-fgnu89-inline check): Set and substitute
25963 gnu89_inline, not libc_cv_gnu89_inline.
25964 * configure: Regenerated.
25965 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25967 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25969 * string/test-strnlen.c: New file.
25970 * string/Makefile (strop-tests): Add strnlen.
25971 * string/tester.c (test_strnlen): Add a few more test cases.
25972 * string/tst-strlen.c: Better error reporting.
25974 * sysdeps/x86_64/strnlen.S: New file.
25976 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25978 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25979 lower-latency instructions.
25981 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25983 * string/test-strcasestr.c: New file.
25984 * string/test-strstr.c: New file.
25985 * string/Makefile (strop-tests): Add strstr and strcasestr.
25986 * string/str-two-way.h: Don't undefine MAX.
25987 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25989 2010-07-21 Andreas Schwab <schwab@redhat.com>
25991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25992 strcasestr-nonascii.
25993 (CFLAGS-strcasestr-nonascii.c): Define.
25994 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25996 Remove unused attribute.
25998 2010-07-20 Roland McGrath <roland@redhat.com>
26000 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26001 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26002 ld.so.cache was broken. With it, there is no way to disable dsocaps
26003 like LD_HWCAP_MASK can disable hwcaps.
26005 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26007 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26009 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26011 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26012 call in strcasestr.
26013 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26014 __strcasestr_sse42_nonascii.
26015 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26016 strcasestr-nonascii.c.
26017 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26019 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26026 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26031 2010-07-06 Andreas Schwab <schwab@redhat.com>
26034 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26037 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26040 _PC_PIPE_BUF using F_GETPIPE_SZ.
26042 2010-07-05 Roland McGrath <roland@redhat.com>
26044 * manual/arith.texi (Rounding Functions): Fix rint description
26045 implicit in round description.
26047 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26049 * elf/Makefile: Fix linking for a few tests to make recent linker
26052 2010-06-30 Andreas Schwab <schwab@redhat.com>
26054 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26055 $(common-objpfx)libc_nonshared.a.
26057 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26059 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26060 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26061 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26062 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26063 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26064 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26065 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26066 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26081 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26082 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26083 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26084 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26085 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26086 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26087 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26088 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26089 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26090 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26091 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26092 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26108 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26110 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26111 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26112 * string/memmove.c (memmove): Renamed to ...
26113 (MEMMOVE): ...this. Default to memmove.
26114 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26115 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26118 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26119 mempcpy-ssse3-back memmove-ssse3-back.
26120 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26123 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26124 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26125 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26126 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26127 * sysdeps/x86_64/multiarch/memmove.c: New file.
26128 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26129 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26130 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26131 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26132 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26135 (index_Fast_Copy_Backward): Define.
26136 (HAS_ARCH_FEATURE): Define.
26137 (HAS_FAST_REP_STRING): Define.
26138 (HAS_FAST_COPY_BACKWARD): Define.
26140 2010-06-21 Andreas Schwab <schwab@redhat.com>
26142 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26143 Restore proper fallback handling.
26145 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26148 * posix/group_member.c (__group_member): Correct checking loop.
26150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26151 OOM in getpwuid_r correctly. Return error number when the caller
26152 should return, otherwise -1.
26153 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26154 call returning > 0 value.
26155 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26157 2010-06-07 Andreas Schwab <schwab@redhat.com>
26159 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26160 libc_nonshared.a from targets in modules-names.
26162 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26164 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26167 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26170 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26174 2010-06-02 Andreas Schwab <schwab@redhat.com>
26176 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26178 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26189 2010-06-14 Roland McGrath <roland@redhat.com>
26191 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26193 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26195 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26196 __REDIRECT followed by __THROW.
26197 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26198 * posix/getopt.h (getopt): Likewise.
26200 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26202 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26203 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26204 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26206 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26207 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26209 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26213 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26217 Properly check family and model.
26219 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26223 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26225 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26227 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26229 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26232 2010-05-19 Andreas Schwab <schwab@redhat.com>
26234 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26237 2010-05-21 Andreas Schwab <schwab@redhat.com>
26239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26240 and internal_recvmmsg.
26241 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26242 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26243 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26244 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26246 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26247 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26248 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26250 2010-05-20 Andreas Schwab <schwab@redhat.com>
26252 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26254 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26256 POWER7 optimizations.
26257 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26258 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26260 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26262 * version.h: Update for 2.13 development version.
26264 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26267 exceptions. Return 0.
26269 2010-05-07 Roland McGrath <roland@redhat.com>
26271 * elf/ldconfig.c (main): Add a const.
26273 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26275 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26276 (args_options): Add no-idn option.
26277 (ahosts_keys_int): Add idn_flags to ai_flags.
26278 (parse_option): Handle 'i' option to clear idn_flags.
26280 * malloc/malloc.c (_int_free): Possible race in the most recently
26281 added check. Only act on the data if no current modification
26284 See ChangeLog.17 for earlier changes.