1 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4 Use ZK to minimize writes to Z.
5 (sub_magnitudes): Simplify code a bit.
6 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7 Use ZK to minimize writes to Z.
8 (sub_magnitudes): Simplify code a bit.
10 2013-02-27 Roland McGrath <roland@hack.frob.com>
12 * csu/gmon-start.c: Add special exception to license text.
14 2013-02-27 Richard Henderson <rth@redhat.com>
16 * scripts/config.guess: Update from config.git.
17 * scripts/config.sub: Likewise.
19 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31 2013-02-26 Roland McGrath <roland@hack.frob.com>
33 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34 [$(build-shared = yes].
36 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39 (__mul): Reduce iterations for calculating mantissa.
41 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
43 (__mpranred): Likewise.
46 * malloc/memusagestat.c (main): Draw graphs for heap and stack
47 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58 * posix/regex_internal.h (__attribute): Remove.
59 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60 (re_string_context_at): Likewise.
61 (bitset_not): Use __attribute__ and mark function as possibly
63 (bitset_merge): Likewise.
64 (bitset_mask): Likewise.
65 (re_string_char_size_at): Likewise.
66 (re_string_wchar_at): Likewise.
67 (re_string_elem_size_at): Likewise.
69 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
71 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
75 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
81 (add_magnitudes): Likewise.
82 (sub_magnitudes): Likewise.
86 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
89 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
92 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
95 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
96 up changes with default code.
97 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
100 2013-02-24 Allan McRae <allan@archlinux.org>
102 * manual/socket.texi (The Internet Namespace): Order menu items
103 to match that in the file.
105 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
106 node listing of the info page menu.
108 2013-02-21 Joseph Myers <joseph@codesourcery.com>
111 * sysdeps/i386/bp-asm.h: Remove file.
112 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
113 (PARMS): Do not use macros from bp-asm.h.
117 (__mpn_add_n): Do not use BP_SYM
118 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
120 (PARMS): Do not use macros from bp-asm.h.
123 (__mpn_addmul_1): Do not use BP_SYM
124 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
126 (PARMS): Do not use macros from bp-asm.h.
128 (_setjmp): Likewise. Do not use BP_SYM.
129 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
131 (PARMS): Do not use macros from bp-asm.h.
133 (setjmp): Likewise. Do not use BP_SYM.
134 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
136 (PARMS): Do not use macros from bp-asm.h.
137 (__frexp): Do not use BP_SYM.
139 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
141 (PARMS): Do not use macros from bp-asm.h.
142 (__frexpf): Do not use BP_SYM.
144 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
146 (PARMS): Do not use macros from bp-asm.h.
147 (__frexpl): Do not use BP_SYM.
149 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
151 (PARMS): Do not use macros from bp-asm.h.
152 (__remquo): Do not use BP_SYM.
154 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
156 (PARMS): Do not use macros from bp-asm.h.
157 (__remquof): Do not use BP_SYM.
159 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
161 (PARMS): Do not use macros from bp-asm.h.
162 (__remquol): Do not use BP_SYM.
164 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
166 (PARMS): Do not use macros from bp-asm.h.
169 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
170 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
172 (PARMS): Do not use macros from bp-asm.h.
173 (strlen): Do not use BP_SYM.
174 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
176 (PARMS): Do not use macros from bp-asm.h.
180 (__mpn_add_n): Do not use BP_SYM.
181 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
183 (PARMS): Do not use macros from bp-asm.h.
186 (__mpn_addmul_1): Do not use BP_SYM.
187 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
190 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
192 (PARMS): Do not use macros from bp-asm.h.
195 (__mpn_lshift): Do not use BP_SYM.
196 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
198 (PARMS): Do not use macros from bp-asm.h.
202 (memcpy): Likewise. Do not use BP_SYM.
203 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
204 libc_hidden_def and weak_alias.
205 (mempcpy): Do not use BP_SYM in weak_alias.
206 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
208 (PARMS): Do not use macros from bp-asm.h.
211 [!BZERO_P] (CHR): Likewise.
212 (memset): Likewise. Do not use BP_SYM.
213 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
215 (PARMS): Do not use macros from bp-asm.h.
218 (__mpn_mul_1): Do not use BP_SYM.
219 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
221 (PARMS): Do not use macros from bp-asm.h.
224 (__mpn_rshift): Do not use BP_SYM.
225 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
227 (PARMS): Do not use macros from bp-asm.h.
230 (strchr): Likewise. Do not use BP_SYM.
231 (index): Do not use BP_SYM in weak_alias.
232 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
234 (PARMS): Do not use macros from bp-asm.h.
237 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
238 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
240 (PARMS): Do not use macros from bp-asm.h.
241 (strlen): Do not use BP_SYM.
242 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
244 (PARMS): Do not use macros from bp-asm.h.
248 (__mpn_sub_n): Do not use BP_SYM.
249 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
251 (PARMS): Do not use macros from bp-asm.h.
254 (__mpn_submul_1): Do not use BP_SYM.
255 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
257 (PARMS): Do not use macros from bp-asm.h.
261 (__mpn_add_n): Do not use BP_SYM.
262 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
265 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
267 (PARMS): Do not use macros from bp-asm.h.
270 (memcmp): Do not use BP_SYM.
271 (bcmp): Do not use BP_SYM in weak_alias.
272 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
274 (PARMS): Do not use macros from bp-asm.h.
278 (memcpy): Likewise. Do not use BP_SYM.
279 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
281 (PARMS): Do not use macros from bp-asm.h.
285 (memmove): Likewise. Do not use BP_SYM.
286 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
288 (PARMS): Do not use macros from bp-asm.h.
292 (__mempcpy): Likewise. Do not use BP_SYM.
293 (mempcpy): Do not use BP_SYM in weak_alias.
294 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
296 (PARMS): Do not use macros from bp-asm.h.
299 [!BZERO_P] (CHR): Likewise.
300 (memset): Likewise. Do not use BP_SYM.
301 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
303 (PARMS): Do not use macros from bp-asm.h.
305 (strcmp): Do not use BP_SYM.
306 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
308 (PARMS): Do not use macros from bp-asm.h.
311 [USE_AS_STRTOK_R] (SAVE): Likewise.
312 (FUNCTION): Likewise. Do not use BP_SYM.
313 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
315 (strtok_r): Likewise.
316 (__GI___strtok_r): Likewise.
317 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
318 (PARMS): Do not use macros from bp-asm.h.
321 (__mpn_lshift): Do not use BP_SYM.
322 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
326 (__memchr): Do not use BP_SYM.
327 (memchr): Do not use BP_SYM in weak_alias.
328 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
332 (memcmp): Do not use BP_SYM.
333 (bcmp): Do not use BP_SYM in weak_alias.
334 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
335 (PARMS): Do not use macros from bp-asm.h.
338 (__mpn_mul_1): Do not use BP_SYM.
339 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
341 (PARMS): Do not use macros from bp-asm.h.
344 (__rawmemchr): Do not use BP_SYM.
345 (rawmemchr): Do not use BP_SYM in weak_alias.
346 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
347 (PARMS): Do not use macros from bp-asm.h.
350 (__mpn_rshift): Do not use BP_SYM.
351 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
352 (PARMS): Do not use macros from bp-asm.h.
354 (__sigsetjmp): Likewise. Do not use BP_SYM.
355 * sysdeps/i386/start.S: Do not include "bp-sym.h".
356 (_start): Do not use BP_SYM.
357 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
358 (PARMS): Do not use macros from bp-asm.h.
361 (__stpcpy): Likewise. Do not use BP_SYM.
362 (stpcpy): Do not use BP_SYM in weak_alias.
363 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
365 (PARMS): Do not use macros from bp-asm.h.
369 (__stpncpy): Likewise. Do not use BP_SYM.
370 (stpncpy): Do not use BP_SYM in weak_alias.
371 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
375 (strchr): Likewise. Do not use BP_SYM.
376 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
378 (PARMS): Do not use macros from bp-asm.h.
381 (__strchrnul): Likewise. Do not use BP_SYM.
382 (strchrnul): Do not use BP_SYM in weak_alias.
383 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
385 (PARMS): Do not use macros from bp-asm.h.
387 (strcspn): Do not use BP_SYM.
388 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
390 (PARMS): Do not use macros from bp-asm.h.
393 (strpbrk): Likewise. Do not use BP_SYM.
394 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
396 (PARMS): Do not use macros from bp-asm.h.
399 (strrchr): Likewise. Do not use BP_SYM.
400 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
401 (PARMS): Do not use macros from bp-asm.h.
403 (strspn): Do not use BP_SYM.
404 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
405 (PARMS): Do not use macros from bp-asm.h.
409 (FUNCTION): Likewise. Do not use BP_SYM.
410 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
412 (strtok_r): Likewise.
413 (__GI___strtok_r): Likewise.
414 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
415 (PARMS): Do not use macros from bp-asm.h.
419 (__mpn_sub_n): Do not use BP_SYM.
420 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
422 (PARMS): Do not use macros from bp-asm.h.
425 (__mpn_submul_1): Do not use BP_SYM.
426 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
428 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
430 (PARMS): Do not use macros from bp-asm.h.
435 (__clone): Do not use BP_SYM.
436 (clone): Do not use BP_SYM in weak_alias.
437 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
439 (PARMS): Do not use macros from bp-asm.h.
441 (__mmap64): Do not use BP_SYM.
442 (mmap64): Do not use BP_SYM in weak_alias.
443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
444 <bp-sym.h> and <bp-asm.h>.
445 (PARMS): Do not use macros from bp-asm.h.
446 (__posix_fadvise64_l64): Do not use BP_SYM.
447 * sysdeps/unix/sysv/linux/i386/semtimedop.S
448 (PARMS): Do not use macros from bp-asm.h.
450 (semtimedop): Do not use BP_SYM.
451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
454 2013-02-21 Allan McRae <allan@archlinux.org>
456 * manual/message.texi (Charset conversion in gettext):
457 Move @end statement to beginning of line.
459 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
466 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
471 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
473 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
474 tail-call to the resolved function if pltexit isn't needed.
476 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
479 or Y being zero as being unlikely.
480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
483 2013-02-20 Carlos O'Donell <carlos@redhat.com>
485 * manual/nss.texi (System Databases and Name Service Switch):
486 Remove frobnicate @pxref.
488 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
490 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
491 __attribute__ ((unused)) to __attribute__ ((__unused__)).
493 2013-02-20 Petr Machata <pmachata@redhat.com>
495 * elf/elf.h (R_ARM_TARGET1): New macro.
496 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
497 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
498 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
499 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
500 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
501 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
502 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
503 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
504 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
505 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
506 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
507 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
508 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
509 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
510 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
511 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
512 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
513 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
514 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
515 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
516 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
517 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
518 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
519 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
520 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
521 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
522 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
523 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
524 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
525 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
526 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
527 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
528 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
529 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
530 (R_ARM_THM_GOT_BREL12): Likewise.
531 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
532 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
533 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
534 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
535 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
536 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
537 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
538 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
539 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
541 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
543 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
544 __attribute_used__ to __attribute__ ((unused)).
546 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
548 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
554 2013-02-19 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
559 (ENTER): Remove both macro definitions.
561 (CHECK_BOUNDS_LOW): Likewise.
562 (CHECK_BOUNDS_HIGH): Likewise.
563 (CHECK_BOUNDS_BOTH): Likewise.
564 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
565 (RETURN_BOUNDED_POINTER): Likewise.
566 (RETURN_NULL_BOUNDED_POINTER): Likewise.
567 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
568 (POP_ERRNO_LOCATION_RETURN): Likewise.
569 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
570 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
571 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
573 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
574 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
575 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
576 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
577 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
578 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
579 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
580 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
581 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
582 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
583 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
584 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
585 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
586 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
588 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
589 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
592 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
593 * sysdeps/i386/i586/memset.S (memset): Likewise.
594 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
596 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
598 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
600 Change uses of L(2) to L(out).
601 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
602 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
603 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
605 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
607 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
610 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
611 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
612 (RETURN): Do not use macro LEAVE.
613 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
614 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
615 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
616 * sysdeps/i386/i686/memset.S (memset): Likewise.
617 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
618 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
619 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
620 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
622 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
623 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
624 L(1_2) and L(1_3) into L(1).
625 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
626 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
627 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
628 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
629 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
630 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
631 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
632 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
633 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
635 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
636 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
637 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
638 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
639 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
640 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
641 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
642 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
643 * sysdeps/i386/strcspn.S (strcspn): Likewise.
644 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
645 * sysdeps/i386/strrchr.S (strrchr): Likewise.
646 * sysdeps/i386/strspn.S (strspn): Likewise.
647 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
649 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
650 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
651 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
652 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
654 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
655 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
656 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
658 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
660 2013-02-19 Jakub Jelinek <jakub@redhat.com>
662 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
665 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
667 * math/atest-exp.c (exp_mpn): Remove ROUND.
668 * math/atest-exp2.c (exp_mpn): Likewise.
669 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
671 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
672 * stdlib/tst-tls-atexit-lib.c: Likewise.
673 * stdlib/tst-tls-atexit.c: Likewise.
675 2013-02-18 Mike Frysinger <vapier@gentoo.org>
677 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
678 and __attribute_alloc_size__.
680 2013-02-18 Mike Frysinger <vapier@gentoo.org>
682 * include/programs/xmalloc.h: Change __attribute_alloc_size to
683 __attribute_alloc_size__.
684 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
685 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
687 2013-02-18 Mike Frysinger <vapier@gentoo.org>
689 * include/programs/xmalloc.h: New file.
690 * catgets/gencat.c: Include it.
691 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
692 * elf/pldd.c: Likewise.
693 * iconv/iconv_charmap.c: Likewise.
694 * iconv/iconvconfig.c: Likewise.
695 * iconv/strtab.c: Likewise.
696 * locale/programs/locale.c: Likewise.
697 * locale/programs/localedef.h: Likewise.
698 * locale/programs/simple-hash.c: Likewise.
699 * nscd/nscd.h: Likewise.
700 * nss/makedb.c: Likewise.
701 * sysdeps/generic/ldconfig.h: Likewise.
703 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
705 * Versions.def: Add GLIBC_2.18.
706 * include/link.h (struct link_map): New member l_tls_dtor_count.
707 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
708 (__call_tls_dtors): Likewise.
709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
710 __cxa_thread_atexit_impl.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
719 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
727 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
728 (tests): Add test case tst-tls-atexit.
729 (modules-names): Add shared library for tst-tls-atexit.
730 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
731 (GLIBC_PRIVATE): Add __call_tls_dtors.
732 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
734 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
735 * stdlib/tst-tls-atexit.c: New test case.
736 * stdlib/tst-tls-atexit-lib.c: New test case.
738 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
740 * elf/Versions (ld): Add _dl_find_dso_for_object.
741 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
742 * elf/dl-open.c (_dl_find_dso_for_object): New function.
743 (dl_open_worker): Use _dl_find_dso_for_object.
744 * elf/dl-sym.c (do_sym): Likewise.
745 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
747 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
749 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
750 Syntactic changes only.
751 (_dl_runtime_profile): Do a tail-call to the resolved function.
753 2013-02-17 Joseph Myers <joseph@codesourcery.com>
756 * sysdeps/x86_64/bp-asm.h: Remove file.
757 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
758 <bp-sym.h> and <bp-asm.h>.
759 (__clone): Do not use BP_SYM.
760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
761 <bp-sym.h> and <bp-asm.h>.
762 * sysdeps/unix/x86_64/sysdep.S: Likewise.
763 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
765 (_setjmp): Do not use BP_SYM.
766 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
768 (setjmp): Do not use BP_SYM.
769 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
771 (mempcpy): Do not use BP_SYM in weak_alias.
772 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
774 (strchr): Do not use BP_SYM.
775 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
777 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
778 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
779 (_start): Do not use BP_SYM.
780 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
782 (strcat): Do not use BP_SYM.
783 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
785 (STRCMP): Do not use BP_SYM.
786 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
788 (STRCPY): Do not use BP_SYM.
789 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
791 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
793 (FUNCTION): Do not use BP_SYM.
794 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
796 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
798 2013-02-17 Andreas Jaeger <aj@suse.de>
800 * time/Versions: Sort entries.
801 * string/Versions: Likewise.
802 * resolv/Versions: Likewise.
803 * posix/Versions: Likewise.
804 * iconv/Versions: Likewise.
805 * elf/Versions: Likewise.
806 * wcsmbs/Versions: Likewise.
808 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
810 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
811 loop termination condition.
813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
814 variable to calculate EZ.
817 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
818 the lower precision input.
820 2013-02-15 Joseph Myers <joseph@codesourcery.com>
823 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
824 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
825 (run-via-rtld-prefix): Do not handle %-bp tests.
826 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
827 (all-object-suffixes): Remove .ob.
828 (bppfx): Remove variable.
829 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
830 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
831 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
832 [$(build-bounded) = yes] (libtype.ob): Likewise.
833 * Makerules (elide-routines.ob): Remove variable.
834 (do-tests-clean): Do not handle *-bp.out.
835 (common-mostlyclean): Do not handle *-bp and *-bp.out.
836 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
837 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
838 (tests): Do not include $(tests-bp.out).
839 (xtests): Do not include $(xtests-bp.out).
840 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
841 [$(build-bounded) = yes] ($(addprefix
842 $(objpfx),$(binaries-bounded))): Remove rule.
843 ($(objpfx)%-bp.out): Remove rule.
844 * config.make.in (build-bounded): Remove variable.
845 * crypt/Makefile [$(build-bounded) = yes]
846 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
847 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
849 [$(build-bounded) = yes] (install-lib): Likewise.
850 [$(build-bounded) = yes] (generated): Likewise.
851 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
853 * intl/Makefile [$(build-bounded) = yes]
854 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
855 * math/Makefile [$(build-bounded) = yes]
856 ($(tests:%=$(objpfx)%-bp): Likewise.
857 * misc/Makefile [$(build-bounded) = yes]
858 ($(objpfx)tst-tsearch-bp): Likewise.
859 * nptl/Makeconfig (bounded-thread-library): Remove variable.
860 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
862 * string/Makefile (o-objects.ob): Remove variable.
863 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
864 (CFLAGS-.ob): Remove variable.
865 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
866 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
867 both definitions of variable.
868 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
869 (ASFLAGS-.ob): Remove variable.
871 2013-02-14 Joseph Myers <joseph@codesourcery.com>
874 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
875 Remove __BOUNDED_POINTERS__ from condition.
876 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
877 * string/bits/string2.h [!__NO_STRING_INLINES &&
878 !__BOUNDED_POINTERS__]: Likewise.
879 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
881 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
882 Remove conditional code.
883 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
884 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
885 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
889 * csu/libc-start.c: Do not include <bp-sym.h>.
890 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
891 * elf/dl-open.c: Do not include <bp-sym.h>.
892 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
893 * math/fegetenv.c: Do not include <bp-sym.h>.
894 (fegetenv): Do not use BP_SYM in versioned symbols.
895 * nptl/sysdeps/pthread/bits/libc-lockP.h
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_mutex_destroy): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_mutex_lock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_mutex_trylock): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_mutex_unlock): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_mutexattr_init): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911 (__pthread_mutexattr_destroy): Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913 (__pthread_mutexattr_settype): Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (__pthread_rwlock_init): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
917 (__pthread_rwlock_destroy): Likewise.
918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919 (__pthread_rwlock_rdlock): Likewise.
920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
921 (__pthread_rwlock_tryrdlock): Likewise.
922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
923 (__pthread_rwlock_wrlock): Likewise.
924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
925 (__pthread_rwlock_trywrlock): Likewise.
926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
927 (__pthread_rwlock_unlock): Likewise.
928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
929 (__pthread_key_create): Likewise.
930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
931 (__pthread_setspecific): Likewise.
932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
933 (__pthread_getspecific): Likewise.
934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
937 (_pthread_cleanup_push_defer): Likewise.
938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
939 (_pthread_cleanup_pop_restore): Likewise.
940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
941 (pthread_setcancelstate): Likewise.
942 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
944 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
945 (memchr): Do not use BP_SYM in weak_alias.
946 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
947 (fegetenv): Do not use BP_SYM in versioned symbols.
948 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
949 (fesetenv): Do not use BP_SYM in versioned symbols.
950 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
951 (feupdateenv): Do not use BP_SYM in versioned symbols.
952 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
953 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
954 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
955 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
956 (open64): Do not use BP_SYM in weak_alias.
957 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
958 (fegetenv): Do not use BP_SYM in versioned symbols.
959 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
960 (fesetenv): Do not use BP_SYM in versioned symbols.
961 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
962 (feupdateenv): Do not use BP_SYM in versioned symbols.
963 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
964 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
965 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
966 (feraiseexcept): Do not use BP_SYM in versioned symbols.
967 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
968 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
971 (__libc_start_main): Do not use BP_SYM.
973 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
976 redundant return line.
980 (sub_magnitudes): Likewise.
986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
990 (sub_magnitudes): Likewise.
997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1000 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1004 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1006 of __mul for squares.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1012 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1014 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1017 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1019 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1020 prototype or function definition. Rename ubp_* variables and
1021 parameters. Remove argv definitions conditional on
1022 [__BOUNDED_POINTERS__].
1023 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1024 * elf/dl-runtime.c (_dl_fixup): Likewise.
1025 * include/set-hooks.h (RUN_HOOK): Likewise.
1026 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1028 * string/strcpy.c (strcpy): Do not use __unbounded.
1029 * sysdeps/generic/frame.h (struct layout): Likewise.
1030 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1031 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1032 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1033 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1034 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1035 (__backtrace): Likewise.
1036 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1038 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1039 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1040 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1042 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1043 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1045 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1046 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1047 Do not use __unbounded.
1048 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1049 Rename __unboundedrlimits parameter to rlimits in prototype.
1050 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1051 Do not use __unbounded.
1052 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1054 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1055 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1057 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1058 __ptrvalue or __unbounded.
1059 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1062 (__new_msgctl): Do not use __ptrvalue.
1063 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1065 (__libc_msgrcv): Do not use __ptrvalue.
1066 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1067 startup_info): Do not use __unbounded.
1068 (__libc_start_main): Likewise. Rename ubp_* variables and
1069 parameters. Remove argv definitions conditional on
1070 [__BOUNDED_POINTERS__].
1071 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1073 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1075 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1077 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1079 (__new_shmctl): Do not use __ptrvalue.
1080 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1081 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1083 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1085 (__libc_sigaction): Likewise.
1086 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1089 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1091 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1093 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1095 * string/mempcpy.c: Implement by calling memcpy.
1097 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1104 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1105 values in the mantissa.
1107 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1108 minimize writes to Z.
1109 (sub_magnitudes): Simplify code a bit.
1111 2013-02-12 Roland McGrath <roland@hack.frob.com>
1113 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1114 from the message. The linker prefixes all warnings with that already.
1116 2013-02-12 Andreas Schwab <schwab@suse.de>
1119 * posix/regexec.c (extend_buffers): Add parameter min_len.
1120 (check_matching): Pass minimum needed length.
1121 (clean_state_log_if_needed): Likewise.
1122 (get_subexp): Likewise.
1123 * posix/Makefile (tests): Add bug-regex34.
1124 (bug-regex34-ENV): Define.
1125 * posix/bug-regex34.c: New file.
1128 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1129 elements compare against the byte sequence of it, not its name.
1130 * posix/Makefile (tests): Add bug-regex35.
1131 (bug-regex35-ENV): Define.
1132 * posix/bug-regex35.c: New file.
1134 2013-02-11 Tom de Vries <tom@codesourcery.com>
1136 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1138 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1139 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1140 (CHECK_EOL): Add undef.
1142 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1144 * bits/stdlib-bsearch.h: New file.
1145 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1146 * stdlib/stdlib.h: Likewise.
1148 2013-02-11 Roland McGrath <roland@hack.frob.com>
1150 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1151 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1153 * manual/search.texi (Array Search Function): Add missing const in
1155 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1156 declaration to use rlim_t.
1157 (Basic Scheduling Functions): Remove erroneous const from
1158 sched_getparam prototype. Remove erroneous * from
1159 sched_get_priority_max and sched_get_priority_min prototypes.
1160 (Resource Usage): Fix summary @comment on vtimes to refer to
1161 sys/vtimes.h rather than vtimes.h.
1162 Add missing *s in vtimes prototype.
1163 (Limits on Resources): Fix ulimit prototype to return long int.
1164 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1165 prototypes to use long int rather than double.
1166 (BSD Random): Fix initstate and setstate to use char *, not void *.
1167 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1168 prototype to make second argument 'struct aiocb64 *const[]'.
1169 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1170 (Status of AIO Operations): Remove erroneous const in aio_return and
1171 aio_return64 prototypes.
1172 (Synchronizing I/O): Fix sync prototype to return void.
1173 * manual/startup.texi (Suboptions): Remove an erroneous const in
1174 getsubopt prototype.
1175 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1176 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1177 use size_t rather than int.
1178 (Scanning All Users): Likewise for getpwent_r.
1179 (Setting Groups): Add missing const to setgroups prototype.
1180 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1181 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1182 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1183 'const void *' rather than 'const char *'.
1184 (Host Address Functions): Likewise for inet_ntop.
1185 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1186 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1187 ssize_t for return value.
1188 (Sending Data): Likewise for send, sendto, sendmsg.
1189 (Socket Option Functions): Add a missing const in setsockopt prototype.
1190 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1191 use wchar_t for the argument.
1192 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1193 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1195 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1196 double/float/long double for second argument.
1197 Fix return types of significand, significandf, significandl.
1198 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1199 argument in fchmod prototype.
1200 (File Owner): Use uid_t and gid_t in fchown prototype.
1201 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1202 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1203 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1204 use 'const struct dirent **' as argument types to CMP function pointer
1206 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1207 (File Times): Fix summary magic @comment for struct utimbuf and utime
1208 to refer to utime.h, not time.h.
1209 * manual/string.texi (Argz Functions): Add missing const in
1210 argz_extract and argz_next prototypes.
1211 (Finding Tokens in a String): Likewise for basename.
1212 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1213 (Copying and Concatenation): Fix typo in wmemmove prototype.
1214 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1215 (Signal Stack): Remove erroneous const in sigstack prototype.
1216 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1218 (Simple Calendar Time): Likewise for stime.
1219 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1221 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1222 say sys/sysctl.h instead.
1223 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1224 and vsyslog prototypes.
1226 2013-02-11 Tom de Vries <tom@codesourcery.com>
1228 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1231 2013-02-11 Roland McGrath <roland@hack.frob.com>
1233 * misc/sys/mman.h: Fix typo in mremap comment.
1235 2013-02-08 Roland McGrath <roland@hack.frob.com>
1237 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1238 the '\0' terminator.
1240 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1243 * debug/segfault.c: Don't include <bp-checks.h>.
1244 * sysdeps/generic/bp-checks.h: Remove file.
1245 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1246 (__GETDENTS): Don't use CHECK_N.
1247 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1248 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1249 (__getgroups): Don't use CHECK_N.
1250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1251 (setgroups): Don't use CHECK_N.
1252 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1253 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1254 (__libc_msgrcv): Don't use CHECK_N.
1255 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1256 (__libc_msgsnd): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1259 (__libc_pread): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1261 include <bp-checks.h>.
1262 (__libc_pread64): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1264 include <bp-checks.h>.
1265 (__libc_pwrite): Don't use CHECK_N.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1267 include <bp-checks.h>.
1268 (__libc_pwrite64): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1271 (__libc_pread): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1273 include <bp-checks.h>.
1274 (__libc_pread64): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1276 include <bp-checks.h>.
1277 (__libc_pwrite): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1279 include <bp-checks.h>.
1280 (__libc_pwrite64): Don't use CHECK_N.
1281 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1282 (do_pread): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1284 (do_pread64): Don't use CHECK_N.
1285 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1286 (do_pwrite): Don't use CHECK_N.
1287 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1288 (do_pwrite64): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1290 (__libc_readv): Don't use CHECK_N.
1291 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1292 (semop): Don't use CHECK_N.
1293 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1295 (semtimedop): Don't use CHECK_N.
1296 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1297 (__libc_pread): Don't use CHECK_N.
1298 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1300 (__libc_pread64): Don't use CHECK_N.
1301 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1303 (__libc_pwrite): Don't use CHECK_N.
1304 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1306 (__libc_pwrite64): Don't use CHECK_N.
1307 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1309 (__libc_msgrcv): Don't use CHECK_N.
1310 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1311 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1312 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1313 (__libc_writev): Don't use CHECK_N.
1315 2013-02-08 Roland McGrath <roland@hack.frob.com>
1317 * string/strcpy.c: Removed unused variable.
1319 * Makeconfig (+sysdep-includes): Define with := rather than =.
1320 Use an existing include/ subdir of each sysdeps dir before it.
1322 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1324 * nscd/connection.c (register_traced_file): Comment function.
1325 [HAVE_INOTIFY] (union __inev): Define.
1326 [HAVE_INOTIFY] (inotify_check_files): New function.
1327 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1328 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1330 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1332 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1334 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1335 loaded if not already and that a failure is permanent.
1337 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1340 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1341 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1343 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1346 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1347 (CHECK_1_NULL_OK): Likewise.
1348 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1349 (__fxstat): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1352 (___fxstat64): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1355 (__fxstatat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1358 (__fxstatat64): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1361 (__fxstat): Do not use CHECK_1.
1362 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1364 (__fxstatat): Do not use CHECK_1.
1365 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1367 (__getresgid): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1370 (__getresuid): Do not use CHECK_1.
1371 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1373 (__lxstat): Do not use CHECK_1.
1374 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1376 (__old_msgctl): Do not use CHECK_1.
1377 (__new_msgctl): Likewise.
1378 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1380 (__new_setrlimit): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1383 (__old_shmctl): Do not use CHECK_1.
1384 (__new_shmctl): Likewise.
1385 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1387 (__xstat): Do not use CHECK_1.
1388 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1389 (__lxstat): Do not use CHECK_1.
1390 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1392 (___lxstat64): Do not use CHECK_1.
1393 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1394 (__old_msgctl): Do not use CHECK_1.
1395 (__new_msgctl): Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1398 (__gettimeofday): Do not use CHECK_1.
1399 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1400 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1401 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1403 (__gettimeofday): Do not use CHECK_1.
1404 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1405 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1406 (__new_shmctl): Do not use CHECK_1.
1407 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1409 (do_sigtimedwait): Do not use CHECK_1.
1410 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1412 (do_sigwaitinfo): Do not use CHECK_1.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1415 (msgctl): Do not use CHECK_1.
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1418 (shmctl): Do not use CHECK_1.
1419 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1420 (ustat): Do not use CHECK_1.
1421 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1423 (__fxstat): Do not use CHECK_1.
1424 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1426 (__fxstatat): Do not use CHECK_1.
1427 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1429 (__lxstat): Do not use CHECK_1.
1430 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1432 (__xstat): Do not use CHECK_1.
1433 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1434 (__xstat): Do not use CHECK_1.
1435 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1436 (___xstat64): Do not use CHECK_1.
1439 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1441 (CHECK_BOUNDS_HIGH): Likewise.
1442 * string/strcpy.c: Do not include <bp-checks.h>.
1443 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1445 2013-02-07 Roland McGrath <roland@hack.frob.com>
1447 * nscd/nscd-client.h (__nscd_drop_map_ref):
1448 Add __attribute__ ((unused)).
1449 * nis/nss-nisplus.h (niserr2nss): Likewise.
1451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1452 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1454 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1455 Remove inline keyword.
1456 * include/rounding-mode.h (round_away): Likewise.
1457 * libio/wfileops.c (adjust_wide_data): Likewise.
1458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1459 (__m128i_strloadu_tolower): Likewise.
1460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1461 (__m128i_strloadu_tolower): Likewise.
1462 * time/mktime.c (ydhms_diff): Likewise.
1463 * locale/elem-hash.h (elem_hash): Likewise.
1464 * locale/setlocale.c (setdata): Likewise.
1465 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1466 (re_string_wchar_at): Likewise.
1467 (bitset_not, bitset_merge, bitset_mask): Likewise.
1468 [!(__GNUC__ > 3)] (inline): Remove macro.
1469 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1470 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1471 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1472 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1473 * string/memcmp.c (memcmp_bytes): Likewise.
1474 * locale/programs/locarchive.c (compute_hashval): Likewise.
1475 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1476 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1477 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1478 * nss/getent.c (print_rpc, print_protocols): Likewise.
1479 (print_passwd, print_group, print_aliases): Likewise.
1480 * nis/nss-nisplus.h (niserr2nss): Likewise.
1481 * nscd/connections.c (restart_p): Likewise.
1482 Change return type to bool.
1484 2013-02-05 Roland McGrath <roland@hack.frob.com>
1486 * Makeconfig (all-Depend-files): Add existing
1487 $(sorted-subdirs:=/Depend) files.
1488 (all-subdirs): Remove nss.
1489 * sysdeps/unix/inet/Subdirs: Add it here instead.
1490 * hesiod/Depend: New file.
1492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1493 instead of calling alloca.
1495 * io/lseek.c (__lseek): Rename to __libc_lseek.
1496 Define __lseek as an alias.
1498 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1500 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1502 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1503 else clause and remove check for non-standard endianness.
1505 2013-02-04 David S. Miller <davem@davemloft.net>
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1509 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1512 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1513 (__ubp_memchr): Remove prototype.
1514 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1515 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1516 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1517 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1518 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1520 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1521 (__ubp_memchr): Likewise.
1522 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1523 (__ubp_memchr): Likewise.
1524 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1525 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1526 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1527 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1529 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1530 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1531 (__getcwd): Do not use CHECK_STRING.
1532 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1534 (__real_chown): Do not use CHECK_STRING.
1535 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1537 (fchownat): Do not use CHECK_STRING.
1538 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1540 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1542 (__lchown): Do not use CHECK_STRING.
1543 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1544 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1545 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1546 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1548 include <bp-checks.h>.
1549 (truncate64): Do not use CHECK_STRING.
1550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1552 (__real_chown): Do not use CHECK_STRING.
1553 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1555 (__lchown): Do not use CHECK_STRING.
1556 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1558 (__chown): Do not use CHECK_STRING.
1559 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1561 (truncate64): Do not use CHECK_STRING.
1562 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1564 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1565 (__xmknod): Do not use CHECK_STRING.
1566 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1568 (__xmknodat): Do not use CHECK_STRING.
1569 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1570 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1572 2013-02-04 Andreas Schwab <schwab@suse.de>
1575 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1576 * include/netdb.h: Likewise for h_errno.
1577 * elf/tst-stackguard1.c: Include <tls.h>.
1579 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1581 * elf/link.h (struct link_map): Extend the l_addr comment.
1582 * include/link.h (struct link_map): Likewise.
1584 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1587 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1588 (BOUNDED_1): Remove macro.
1589 * debug/backtrace.c: Don't include <bp-checks.h>.
1590 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1591 (__backtrace): Likewise.
1592 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1594 (__backtrace): Don't use BOUNDED_1.
1595 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1597 (__backtrace): Don't use BOUNDED_1.
1598 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1599 (__backtrace): Don't use BOUNDED_1.
1600 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1601 (shmat): Don't use BOUNDED_N.
1603 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/generic/bp-start.h: Remove file.
1607 * csu/libc-start.c: Don't include <bp-start.h>.
1608 (LIBC_START_MAIN): Set up __environ directly instead of using
1609 INIT_ARGV_and_ENVIRON.
1610 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1614 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1616 (CHECK_FCNTL): Likewise.
1617 (CHECK_N_PAGES): Likewise.
1620 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1622 (CHECK_SIGSET_NULL_OK): Likewise.
1623 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1625 (sigpending): Don't use CHECK_SIGSET.
1626 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1628 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1629 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1631 (do_sigsuspend): Don't use CHECK_SIGSET.
1632 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1634 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1635 (do_sigwait): Don't use CHECK_SIGSET.
1636 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1639 include <bp-checks.h>.
1640 (sigpending): Don't use CHECK_SIGSET.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1642 include <bp-checks.h>.
1643 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1644 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1646 (sigpending): Don't use CHECK_SIGSET.
1647 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1649 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1652 * sysdeps/generic/bp-semctl.h: Remove file.
1653 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1654 <bp-checks.h> and <bp-semctl.h>.
1655 (__old_semctl): Don't use CHECK_SEMCTL.
1656 (__new_semctl): Likewise.
1657 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1659 (__old_semctl): Don't use CHECK_SEMCTL.
1660 (__new_semctl): Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1662 <bp-checks.h> and <bp-semctl.h>.
1663 (__old_semctl): Don't use CHECK_SEMCTL.
1664 (__new_semctl): Likewise.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1666 <bp-checks.h> and <bp-semctl.h>.
1667 (semctl): Don't use CHECK_SEMCTL.
1670 * Makerules (elide-bp-thunks): Remove variable.
1671 (elide-routines.oS): Don't use $(elide-bp-thunks).
1672 (elide-routines.os): Likewise.
1673 (elide-routines.o): Likewise.
1674 (elide-routines.op): Likewise.
1675 (elide-routines.og): Likewise.
1676 (objects): Don't use $(bp-thunks).
1677 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1679 (common-generated): Do not add s-proto-bp.d.
1680 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1683 Do not generate makefile rules for bounded-pointer thunks.
1684 * sysdeps/generic/bp-thunks.h: Remove file.
1685 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1686 * sysdeps/unix/s-proto-bp.S: Likewise.
1689 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1690 parts of result separately when argument is not close to line from
1691 -i to i and one part of argument is small.
1692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1694 * math/libm-test.inc (cacos_test): Add more tests.
1695 (casin_test): Likewise.
1696 (casinh_test): Likewise.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1700 2013-01-31 David S. Miller <davem@davemloft.net>
1702 * po/de.po: Update from translation team.
1704 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1706 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1708 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1710 * configure.in (_AC_PROG_CC_C89): New definition.
1711 * configure: Regenerate.
1713 * configure.in (AC_PROG_CPP): New definition.
1714 * configure: Regenerate.
1716 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1718 * debug/tst-backtrace.h: New file.
1719 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1720 (ret): Remove variable.
1722 (FAIL): Remove macro.
1723 (NO_INLINE): Likewise.
1724 (fn1): Use match function instead of strstr.
1725 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1726 (ret): Remove variable.
1728 (FAIL): Remove macro.
1729 (NO_INLINE): Likewise.
1730 (fn): Use match function instead of strstr.
1731 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1732 (ret): Remove variable.
1734 (FAIL): Remove macro.
1735 (NO_INLINE): Likewise.
1736 (handle_signal): Use match function instead of strstr.
1737 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1738 (ret): Remove variable.
1740 (FAIL): Remove macro.
1741 (NO_INLINE): Likewise.
1742 (handle_signal): Use match function instead of strstr.
1744 2013-01-23 Roland McGrath <roland@hack.frob.com>
1746 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1748 2013-01-23 David S. Miller <davem@davemloft.net>
1750 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1751 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1752 argument of CAS if possible.
1753 * sysdeps/sparc/sparc64/bits/atomic.h
1754 (__arch_compare_and_exchange_val_32_acq): Likewise.
1755 (__arch_compare_and_exchange_val_64_acq): Likewise.
1757 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1759 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1760 * sysdeps/posix/ulimit.c: ... this.
1762 * sysdeps/unix/bsd/ulimit.c: Remove file.
1764 2013-01-23 Adam Conrad <adconrad@0c3.net>
1766 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1767 (LDFLAGS-tst-array5): Likewise.
1769 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1772 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1773 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1774 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1775 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1777 2013-01-21 David S. Miller <davem@davemloft.net>
1779 * sysdeps/sparc/backtrace.c: New file.
1780 * sysdeps/sparc/sparc32/backtrace.h: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1782 * sysdeps/sparc/sparc64/backtrace.h: New file.
1783 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1784 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1787 2013-01-21 Andreas Schwab <schwab@suse.de>
1790 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1793 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1799 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1800 Mark Mitchell <mark@codesourcery.com>
1801 Tom de Vries <tom@codesourcery.com>
1802 Paul Pluzhnikov <ppluzhnikov@google.com>
1804 * debug/tst-backtrace2.c: New file.
1805 * debug/tst-backtrace3.c: Likewise.
1806 * debug/tst-backtrace4.c: Likewise.
1807 * debug/tst-backtrace5.c: Likewise.
1808 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1809 (CFLAGS-tst-backtrace3.c): Likewise.
1810 (CFLAGS-tst-backtrace4.c): Likewise.
1811 (CFLAGS-tst-backtrace5.c): Likewise.
1812 (LDFLAGS-tst-backtrace2): Likewise.
1813 (LDFLAGS-tst-backtrace3): Likewise.
1814 (LDFLAGS-tst-backtrace4): Likewise.
1815 (LDFLAGS-tst-backtrace5): Likewise.
1816 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1817 tst-backtrace4 and tst-backtrace5.
1819 2013-01-18 Anton Blanchard <anton@samba.org>
1820 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1822 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1823 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1824 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1825 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1827 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1828 "+r" and remove output regs list as redundant. Add explicit inline
1829 asm to specify register of return val to work around compiler codegen
1830 bug. Remove (int) cast on return value. Add return type parameter to
1831 use in macro so that this macro does not truncate return value for
1833 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1834 pass to INTERNAL_VSYSCALL_NCS.
1835 (INLINE_VSYSCALL): Add 'long int' as return type to
1836 INTERNAL_VSYSCALL_NCS macro invocation.
1837 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1838 INTERNAL_VSYSCALL_NCS macro invocation.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1841 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1844 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1845 Fix application of SIMD FP exception mask.
1847 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1848 mp_no from a power of two.
1849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1850 __mpexp_twomm1. Use __pow_mp.
1852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1855 2013-01-17 David S. Miller <davem@davemloft.net>
1857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1859 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1862 * include/complex.h: Condition contents on [!_COMPLEX_H].
1863 (__kernel_casinhf): New prototype.
1864 (__kernel_casinh): Likewise.
1865 (__kernel_casinhl): Likewise.
1866 * math/Makefile (libm_calls): Add k_casinh.
1867 * math/k_casinh.c: New file.
1868 * math/k_casinhf.c: Likewise.
1869 * math/k_casinhl.c: Likewise.
1870 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1871 finite nonzero arguments.
1872 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1873 finite nonzero arguments.
1874 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1875 finite nonzero arguments.
1876 * math/s_casinh.c: Do not include <float.h>.
1877 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1878 * math/s_casinhf.c: Do not include <float.h>.
1879 (__casinhf): Move code for finite nonzero arguments to
1881 * math/s_casinhl.c: Do not include <float.h>.
1882 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1884 (__casinhl): Move code for finite nonzero arguments to
1886 * math/libm-test.inc (cacos_test): Add more tests.
1887 * sysdeps/i386/fpu/libm-test-ulps: Update.
1888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1890 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1892 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1893 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1894 [!HAVE_MREMAP]: Remove [defined linux] case.
1895 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1897 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1899 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1901 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1903 * elf/elf.h (R_386_SIZE32): New relocation.
1904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1906 (elf_machine_rela): Likewise.
1907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1908 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1910 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1912 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1913 (FP_FAST_FMA): Do not define.
1914 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1915 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1916 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1917 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1918 !_SOFT_FLOAT]: Likewise.
1919 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1923 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1924 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1926 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1927 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1930 2013-01-16 Andreas Schwab <schwab@suse.de>
1933 * include/stdlib.h (__mktemp): Add declaration.
1934 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1935 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1937 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1939 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1941 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1942 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1943 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1945 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1946 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1948 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1950 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1951 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1952 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1954 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1955 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1957 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1959 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1961 2013-01-15 David S. Miller <davem@davemloft.net>
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1964 trunc{,f} to libm-sysdep_routes.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1978 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1979 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1983 nearbyint{,f} to libm-sysdep_routes.
1984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2001 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2004 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2005 libc_feholdexcept and libc_fesetenv.
2007 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2009 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2011 2013-01-14 David S. Miller <davem@davemloft.net>
2013 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2014 (SPARC_ASM_VIS2_IFUNC): Likewise.
2015 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2017 use of 'siam' instruction.
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2051 routines to libm-sysdep_routines.
2052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2055 fdim/fdimf to libm-sysdep_routines.
2056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2064 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2065 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2066 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2067 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2069 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2074 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2079 local variable MPTWO.
2080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2083 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2085 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2088 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2090 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2092 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2094 * manual/pattern.texi (glob_t): Document gl_flags.
2095 (glob64_t): Likewise.
2097 2013-01-11 David S. Miller <davem@davemloft.net>
2099 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2100 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2101 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2102 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2103 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2104 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2105 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2106 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2107 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2108 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2109 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2110 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2111 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2114 sparc V9 rather than using V8 code.
2115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2123 2013-01-11 Roland McGrath <roland@hack.frob.com>
2125 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2126 not in the main loop.
2127 * configure: Regenerated.
2129 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2131 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2132 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2134 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2135 [!__GLIBC_HAVE_LONG_LONG] case.
2136 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2137 condition to just #else.
2138 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2139 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2140 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2141 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2143 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2144 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2145 #elif condition to just #else.
2146 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2147 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2148 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2149 #elif condition to just #else.
2151 2013-01-11 Steve Ellcey <sellcey@mips.com>
2153 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2154 (EF_MIPS_ARCH_64): Fix value.
2155 (EF_MIPS_ARCH_32R2): New.
2156 (EF_MIPS_ARCH_64R2): New.
2158 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2160 * Makeconfig (+link-pie-before-libc): New.
2161 (+link-pie-after-libc): Likewise.
2162 (+link-pie-tests): Likewise.
2163 (+link-pie): Rewritten.
2164 (link-before-libc): Remove $(config-LDFLAGS).
2165 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2166 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2167 (config-LDFLAGS): Renamed to ...
2168 (rtld-LDFLAGS): This.
2169 (rtld-tests-LDFLAGS): New macro.
2170 (link-libc-rpath-link): Likewise.
2171 (link-libc-tests-rpath-link): Likewise.
2172 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2173 (link-libc): Prepand $(link-libc-rpath-link).
2174 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2175 (test-program-prefix): New macro.
2176 (test-via-rtld-prefix): Likewise.
2177 (test-program-cmd): Likewise.
2178 (host-test-program-cmd): Likewise.
2179 * Makefile ($(common-objpfx)testrun.sh): Replace
2180 $(run-program-prefix) with $(test-program-prefix).
2181 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2183 ($(common-objpfx)shlib.lds): Likewise.
2184 (build-module-helper): Likewise.
2185 ($(common-objpfx)format.lds): Likewise.
2186 * Rules (binaries-pie-tests): New.
2187 (binaries-pie-notests): Likewise.
2188 (binaries-pie): Rewritten.
2189 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2190 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2191 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2192 (make-test-out): Replace $(host-built-program-cmd) with
2193 $(host-test-program-cmd).
2194 * config.make.in (build-hardcoded-path-in-tests): New variable.
2195 * configure.in (--enable-hardcoded-path-in-tests): New configure
2197 (hardcoded_path_in_tests): New AC_SUBST.
2198 * configure: Regenerated.
2199 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2200 $(built-program-cmd) with $(test-program-cmd).
2201 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2202 (test_program_cmd): This.
2203 * elf/Makefile ($(objpfx)order.out): Run test with
2204 $(test-program-prefix).
2205 ($(objpfx)order2.out): Likewise.
2206 ($(objpfx)tst-initorder.out): Likewise.
2207 ($(objpfx)tst-initorder2.out): Likewise.
2208 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2209 $(test-program-cmd).
2210 ($(objpfx)tst-array1-static.out): Likewise.
2211 ($(objpfx)tst-array2.out): Likewise.
2212 ($(objpfx)tst-array3.out): Likewise.
2213 ($(objpfx)tst-array4.out): Likewise.
2214 ($(objpfx)tst-array5.out): Likewise.
2215 ($(objpfx)tst-array5-static.out): Likewise.
2216 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2217 $(test-program-cmd).
2218 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2219 $(run-program-prefix) with $(test-program-prefix).
2220 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2221 (test_program_prefix): This.
2222 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2223 $(run-program-prefix) with $(test-program-prefix).
2224 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2225 (test_program_prefix): This.
2226 * iconvdata/tst-tables.sh: Likewise.
2227 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2228 $(run-program-prefix) with $(test-program-prefix).
2229 ($(objpfx)tst-translit.out): Likewise.
2230 ($(objpfx)tst-gettext2.out): Likewise.
2231 ($(objpfx)tst-gettext4.out): Likewise.
2232 ($(objpfx)tst-gettext6.out): Likewise.
2233 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2234 (test_program_prefix): This.
2235 * intl/tst-gettext2.sh: Likewise.
2236 * intl/tst-gettext4.sh Likewise.
2237 * intl/tst-gettext6.sh: Likewise.
2238 * intl/tst-translit.sh: Likewise.
2239 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2240 with $(test-program-cmd).
2241 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2242 $(run-program-prefix) with $(test-program-prefix).
2243 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2244 (test_program_prefix): This.
2245 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2246 $(run-program-prefix) with $(test-program-prefix).
2247 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2248 (test_program_prefix): This.
2249 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2250 * posix/Makefile ($(objpfx)globtest.out): Replace
2251 $(run-via-rtld-prefix) and $(test-wrapper) with
2252 $(test-program-prefix) and $(test-via-rtld-prefix).
2253 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2254 $(test-program-prefix).
2255 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2256 $(host-test-program-cmd).
2257 (tst-spawn-ARGS): Likewise.
2258 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2259 $(test-program-prefix).
2260 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2261 (test_via_rtld_prefix): This.
2262 (test_wrapper): Renamed to ...
2263 (test_program_prefix): This.
2264 (run_program_prefix): Replaced by test_program_prefix.
2265 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2266 (test_program_prefix): This.
2267 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2268 with $(host-test-program-cmd).
2269 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2270 $(run-program-prefix) with $(test-program-prefix).
2271 ($(objpfx)tst-printf.out): Likewise.
2272 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2273 $(test-program-cmd).
2274 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2275 (test_program_prefix): This.
2276 * stdio-common/tst-unbputc.sh: Likewise.
2277 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2278 $(run-program-prefix) with $(test-program-prefix).
2279 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2280 (test_program_prefix): This.
2281 * string/Makefile ($(objpfx)tst-svc.out): Replace
2282 $(built-program-cmd) with $(test-program-cmd).
2284 2013-01-11 Andreas Jaeger <aj@suse.de>
2287 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2288 value. Sync with Linux 3.7.
2290 2013-01-10 David S. Miller <davem@davemloft.net>
2292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2296 2013-01-10 Roland McGrath <roland@hack.frob.com>
2298 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2300 * configure: Regenerated.
2302 2013-01-10 David S. Miller <davem@davemloft.net>
2304 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2305 sparc V9 rather than using V8 code.
2306 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2307 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2309 2013-01-10 Roland McGrath <roland@hack.frob.com>
2311 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2312 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2313 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2314 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2315 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2316 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2317 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2318 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2319 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2320 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2321 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2322 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2323 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2324 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2325 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2326 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2327 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2328 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2329 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2330 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2331 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2332 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2333 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2334 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2335 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2336 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2337 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2339 2013-01-10 David S. Miller <davem@davemloft.net>
2341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2343 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2345 * posix/Makefile (tests-static): New variable.
2346 (tests): Add $(tests-static).
2347 (tst-exec-static-ARGS): New variable.
2348 (tst-spawn-static-ARGS): Likewise.
2349 * posix/tst-exec-static.c: New file.
2350 * posix/tst-spawn-static.c: Likewise.
2351 * posix/tst-exec.c: Support run directly.
2352 * posix/tst-spawn.c: Likewise.
2354 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2356 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2358 * math/bits/mathcalls.h (llrint): Likewise.
2359 (llround): Likewise.
2360 * stdlib/stdlib.h (struct drand48_data): Likewise.
2361 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2362 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2365 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2367 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2368 (elf_greg_t): Likewise.
2369 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2370 (__jmp_buf): Likewise.
2371 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2373 (llrint): Likewise, for all definitions.
2374 (llrintl): Likewise.
2376 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2377 Remove [__GNUC__] condition.
2378 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2379 condition to just [__USE_ISOC99].
2380 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2382 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2386 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2388 (_POSIX_V6_ILP32_OFF32): Likewise.
2389 (_XBS5_ILP32_OFF32): Likewise.
2390 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2391 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2393 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2395 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2398 doubles __mpexp_twomm1. Adjust usage.
2399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2402 2013-01-10 Andreas Schwab <schwab@suse.de>
2405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2406 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2408 2013-01-09 David S. Miller <davem@davemloft.net>
2411 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2412 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2413 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2414 TCP_FASTOPEN): Define.
2415 (tcp_repair_opt): New structure.
2416 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2418 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2419 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2420 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2421 (tcp_cookie_transactions): New structure.
2423 2013-01-09 Anton Blanchard <anton@samba.org>
2425 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2426 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2427 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2430 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2432 * include/features.h (__USE_ANSI): Remove.
2434 2013-01-09 Roland McGrath <roland@hack.frob.com>
2436 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2438 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2440 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2442 * sysdeps/s390/fpu/libm-test-ulps: Update.
2444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2446 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2451 (__mp_dbl): Likewise.
2452 (__dbl_mp): Likewise.
2453 (add_magnitudes): Likewise.
2454 (sub_magnitudes): Likewise.
2460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2465 (__mp_dbl): Likewise.
2466 (__dbl_mp): Likewise.
2467 (add_magnitudes): Likewise.
2468 (sub_magnitudes): Likewise.
2474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2479 (__mp_dbl): Likewise.
2480 (__dbl_mp): Likewise.
2481 (add_magnitudes): Likewise.
2482 (sub_magnitudes): Likewise.
2489 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2491 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2492 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2493 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2494 2 && __USE_EXTERN_INLINES]: Likewise.
2496 2013-01-08 Andreas Jaeger <aj@suse.de>
2499 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2501 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2502 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2504 2013-01-07 Anton Blanchard <anton@samba.org>
2506 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2507 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2508 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2509 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2510 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2512 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2515 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2526 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2529 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2531 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2533 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2536 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2550 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2552 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2553 (__MALLOC_PMT): Likewise.
2554 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2555 [__GNUC__], only on [_LIBC].
2556 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2557 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2558 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2559 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2560 forward declaration.
2561 (realloc_hook_ini): Likewise.
2562 (memalign_hook_ini): Likewise.
2563 (__libc_memalign): Do not use __MALLOC_PMT in variable
2565 (__libc_valloc): Likewise.
2566 (__libc_pvalloc): Likewise.
2567 (__libc_calloc): Likewise.
2568 (__posix_memalign): Likewise.
2571 * math/s_casinh.c: Include <float.h>.
2572 (__casinh): Do not do computation with squaring and square root
2573 for large arguments.
2574 * math/s_casinhf.c: Include <float.h>.
2575 (__casinhf): Do not do computation with squaring and square root
2576 for large arguments.
2577 * math/s_casinhl.c: Include <float.h>.
2578 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2579 (__casinhl): Do not do computation with squaring and square root
2580 for large arguments.
2581 * math/libm-test.inc (casin_test): Add more tests.
2582 (casinh_test): Likewise.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2586 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2588 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2589 (__x86_64_raw_data_cache_size): Likewise.
2590 (__x86_64_data_cache_size_half): Likewise.
2591 (__x86_64_raw_data_cache_size_half): Likewise.
2592 (__x86_64_shared_cache_size): Likewise.
2593 (__x86_64_raw_shared_cache_size): Likewise.
2594 (__x86_64_shared_cache_size_half): Likewise.
2595 (__x86_64_raw_shared_cache_size_half): Likewise.
2596 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2598 (__x86_data_cache_size): This.
2599 (__x86_64_raw_data_cache_size): Renamed to ...
2600 (__x86_raw_data_cache_size): This.
2601 (__x86_64_data_cache_size_half): Renamed to ...
2602 (__x86_data_cache_size_half): This.
2603 (__x86_64_raw_data_cache_size_half): Renamed to ...
2604 (__x86_raw_data_cache_size_half): This.
2605 (__x86_64_shared_cache_size): Renamed to ...
2606 (__x86_shared_cache_size): This.
2607 (__x86_64_raw_shared_cache_size): Renamed to ...
2608 (__x86_raw_shared_cache_size): This.
2609 (__x86_64_shared_cache_size_half): Renamed to ...
2610 (__x86_shared_cache_size_half): This.
2611 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2612 (__x86_raw_shared_cache_size_half): This.
2613 * sysdeps/x86_64/memcpy.S: Updated.
2614 * sysdeps/x86_64/memset.S: Likewise.
2615 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2619 2013-01-04 David S. Miller <davem@davemloft.net>
2621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2623 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2625 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2626 1 to avoid redefinition warning.
2627 (__USE_GNU): Don't define.
2628 (init_signaling_nan): Protoize.
2630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2632 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2634 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2636 (__cpymn): Likewise.
2637 (norm): Remove commented code.
2639 (__mp_dbl): Likewise.
2641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2642 (__cpymn): Likewise.
2643 (norm): Remove commented code.
2645 (__mp_dbl): Likewise.
2648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2649 mp_no value for 1.0 and 2.0.
2650 (norm): Use RADIXI instead of radixi.d.
2652 (__mul): Use 0.0 instead of zero.d.
2653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2654 mp_no value for 1.0 and 2.0.
2655 (norm): Use RADIXI instead of radixi.d.
2657 (__mul): Use 0.0 instead of zero.d.
2659 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2662 * math/s_casinh.c (__casinh): Reduce finite argument to first
2663 quadrant then set signs of results at the end.
2664 * math/s_casinhf.c (__casinhf): Likewise.
2665 * math/s_casinhl.c (__casinhl): Likewise.
2666 * math/libm-test.inc (casin_test): Add more tests.
2667 (casinh_test): Likewise.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2673 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2675 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2677 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2680 (__mp_dbl): Likewise.
2683 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2684 and adjust the header comment.
2686 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2687 variable name from declaration.
2689 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2692 Initialize COMMON_CPUID_INDEX_7 element.
2693 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2694 (CPUID_RTM): Likewise.
2695 (HAS_RTM): Likewise.
2696 (COMMON_CPUID_INDEX_7): New enum.
2698 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2701 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2702 size is zero, record memory as freed.
2704 2013-01-03 Andreas Jaeger <aj@suse.de>
2706 * po/ia.po: Add new Interlingua translation.
2708 2012-01-03 Allan McRae <allan@archlinux.org>
2710 * locale/programs/localedef.c: Fix description of '--posix' flag.
2712 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2714 * NEWS: Update dates in second copyright notice.
2715 * README: Update copyright dates in example.
2716 * manual/libc.texinfo: Update copyright dates.
2717 * scripts/test-installation.pl: Update copyright date in --version
2720 * hurd/ctty-input.c: Fix copyright notice formatting.
2721 * hurd/ctty-output.c: Likewise.
2722 * hurd/dtable.c: Likewise.
2723 * hurd/hurd-raise.c: Likewise.
2724 * hurd/hurdprio.c: Likewise.
2725 * hurd/msgportdemux.c: Likewise.
2726 * misc/sys/file.h: Likewise.
2727 * misc/sys/ioctl.h: Likewise.
2728 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2729 * sysdeps/mach/hurd/chdir.c: Likewise.
2730 * sysdeps/mach/hurd/fchdir.c: Likewise.
2731 * sysdeps/mach/hurd/rename.c: Likewise.
2732 * sysdeps/mach/hurd/rmdir.c: Likewise.
2733 * sysdeps/mach/hurd/seekdir.c: Likewise.
2734 * sysdeps/mach/hurd/setsid.c: Likewise.
2735 * sysdeps/posix/wait3.c: Likewise.
2737 * All files with FSF copyright notices: Update copyright dates
2738 using scripts/update-copyrights.
2739 * intl/plural.c: Regenerated.
2740 * locale/programs/charmap-kw.h: Likewise.
2741 * locale/programs/locfile-kw.h: Likewise.
2743 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2745 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2749 calculation loop and add branch prediction.
2751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2752 check access beyond bounds of m1np.
2754 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2756 (__inv): Remove local variable MPTWO to use the global
2758 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2761 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2762 MP3HALFS static const.
2764 2013-01-01 David S. Miller <davem@davemloft.net>
2766 * po/ca.po: Update from translation team.
2768 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2770 * scripts/update-copyrights: New file.
2771 * Makeconfig: Reformat copyright notice.
2772 * ctype/ctype.h: Likewise.
2773 * debug/swprintf_chk.c: Likewise.
2774 * elf/dl-cache.c: Likewise.
2775 * elf/dl-debug.c: Likewise.
2776 * elf/dl-object.c: Likewise.
2777 * grp/initgroups.c: Likewise.
2778 * hurd/Makefile: Likewise.
2779 * hurd/hurd/signal.h: Likewise.
2780 * hurd/hurdfault.c: Likewise.
2781 * hurd/hurdioctl.c: Likewise.
2782 * hurd/hurdlookup.c: Likewise.
2783 * hurd/intr-msg.c: Likewise.
2784 * iconv/gconv_open.c: Likewise.
2785 * libio/swprintf.c: Likewise.
2786 * locale/lc-ctype.c: Likewise.
2787 * locale/nl_langinfo.c: Likewise.
2788 * mach/Machrules: Likewise.
2789 * mach/Makefile: Likewise.
2790 * malloc/obstack.h: Likewise.
2791 * manual/Makefile: Likewise.
2792 * manual/tsort.awk: Likewise.
2793 * misc/bits/stab.def: Likewise.
2794 * nis/nis_print_group_entry.c: Likewise.
2795 * nis/nis_table.c: Likewise.
2796 * nis/nss_compat/compat-pwd.c: Likewise.
2797 * nis/nss_compat/compat-spwd.c: Likewise.
2798 * po/Makefile: Likewise.
2799 * posix/fnmatch.c: Likewise.
2800 * posix/regex.h: Likewise.
2801 * resolv/Makefile: Likewise.
2802 * resolv/nss_dns/dns-network.c: Likewise.
2803 * resolv/res_hconf.c: Likewise.
2804 * scripts/gen-sorted.awk: Likewise.
2805 * soft-fp/soft-fp.h: Likewise.
2806 * stdio-common/printf.h: Likewise.
2807 * stdlib/monetary.h: Likewise.
2808 * stdlib/random.c: Likewise.
2809 * stdlib/random_r.c: Likewise.
2810 * sysdeps/generic/Makefile: Likewise.
2811 * sysdeps/gnu/Makefile: Likewise.
2812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2826 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2832 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2833 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2834 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2840 * sysdeps/mach/hurd/errnos.awk: Likewise.
2841 * sysdeps/mach/hurd/fork.c: Likewise.
2842 * sysdeps/mach/hurd/getcwd.c: Likewise.
2843 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2844 * sysdeps/mach/hurd/mmap.c: Likewise.
2845 * sysdeps/mach/hurd/utimes.c: Likewise.
2846 * sysdeps/mach/hurd/xmknod.c: Likewise.
2847 * sysdeps/posix/profil.c: Likewise.
2848 * sysdeps/posix/readdir_r.c: Likewise.
2849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2850 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2851 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2852 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2854 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2856 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2858 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2859 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2860 * sysdeps/pthread/lio_listio.c: Likewise.
2861 * sysdeps/sparc/dl-procinfo.h: Likewise.
2862 * sysdeps/unix/i386/sysdep.S: Likewise.
2863 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2864 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2865 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2866 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2868 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2869 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2870 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2871 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2872 * sysdeps/wordsize-32/divdi3.c: Likewise.
2873 * time/sys/time.h: Likewise.
2874 * wcsmbs/Makefile: Likewise.
2876 2013-01-01 David S. Miller <davem@davemloft.net>
2878 * po/fr.po: Update from translation team.
2880 * catgets/gencat.c: Update copyright year.
2881 * csu/version.c: Likewise.
2882 * debug/catchsegv.sh: Likewise.
2883 * debug/pcprofiledump.c: Likewise.
2884 * debug/xtrace.sh: Likewise.
2885 * elf/ldconfig.c: Likewise.
2886 * elf/ldd.bash.in: Likewise.
2887 * elf/pldd.c: Likewise.
2888 * elf/sotruss.ksh: Likewise.
2889 * elf/sprof.c: Likewise.
2890 * iconv/iconv_prog.c: Likewise.
2891 * iconv/iconvconfig.c: Likewise.
2892 * locale/programs/locale.c: Likewise.
2893 * locale/programs/localedef.c: Likewise.
2894 * login/programs/pt_chown.c: Likewise.
2895 * malloc/memusage.sh: Likewise.
2896 * malloc/memusagestat.c: Likewise.
2897 * malloc/mtrace.pl: Likewise.
2898 * nscd/nscd.c: Likewise.
2899 * nss/getent.c: Likewise.
2900 * nss/makedb.c: Likewise.
2901 * posix/getconf.c: Likewise.
2903 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2905 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2908 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2910 * math/bits/mathcalls.h (modf): Use __nonnull.
2912 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2914 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2915 (split): Use macro CN instead of the bare value.
2916 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2919 instead of the bare value.
2922 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2924 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2928 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2930 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2932 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2935 2012-12-28 Andreas Jaeger <aj@suse.de>
2937 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2938 values are from Linux 3.7.
2940 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2941 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2943 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2945 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2948 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2951 variables with preprocessor constants.
2952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2953 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2956 2012-12-27 Bruno Haible <bruno@clisp.org>
2959 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2962 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2965 and use variable directly.
2966 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2968 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2970 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2975 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2976 include directive. Remove local variable MPONE.
2977 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2978 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2981 2012-12-25 David S. Miller <davem@davemloft.net>
2983 * version.h (RELEASE): Set to "development".
2984 (VERSION): Set to "2.17.90".
2985 * NEWS: Add 2.18 section.
2987 2012-12-21 David S. Miller <davem@davemloft.net>
2989 * po/hr.po: Update from translation team.
2991 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2993 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2995 2012-12-19 Steve Ellcey <sellcey@mips.com>
2997 * NEWS: Mention new memcpy for MIPS.
2999 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3001 * manual/contrib.texi (Contributors): Spelling correction.
3003 2012-12-15 David S. Miller <davem@davemloft.net>
3005 * po/ru.po: Update from translation team.
3007 2012-12-13 David S. Miller <davem@davemloft.net>
3009 * NEWS: Mention IFUNC testsuite enhancements.
3011 * po/pl.po: Update from translation team.
3012 * po/bg.po: Likewise.
3014 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3015 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3017 2012-12-11 David S. Miller <davem@davemloft.net>
3019 * po/sv.po: Update from translation team.
3021 * po/vi.po: Update from translation team.
3023 * po/cs.po: Update from translation team.
3025 * po/de.po: Update from translation team.
3026 * po/eo.po: Likewise.
3027 * po/nl.po: Likewise.
3029 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3032 * manual/argp.texi (Argp Helper Functions): Move node to follow
3036 * manual/conf.texi (Limits on File System Capacity): Mention if
3037 terminating null is included in the max size.
3039 2012-12-10 Andreas Jaeger <aj@suse.de>
3041 * po/cs.po: Update from translation team.
3043 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3045 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3046 void pointer and cast to uintptr_t.
3047 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3049 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3050 * sysdeps/s390/s390-64/memset.S: Likewise.
3052 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3055 * menual/message.texi (Message Translation): Fix typos.
3056 (Helper programs for gettext): Likewise.
3058 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3061 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3064 2012-12-07 David S. Miller <davem@davemloft.net>
3066 * po/libc.pot: Update.
3068 2012-12-07 Richard Henderson <rth@redhat.com>
3071 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3072 normal/normal case to before the switch.
3073 (_FP_DIV): Likewise.
3075 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3076 Mike Frysinger <vapier@gentoo.org>
3078 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3079 check for __NR_fadvise64_64.
3081 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3083 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3084 0, not just to plain "0" as a statement.
3085 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3088 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3090 * NEWS: Use sourceware.org in Bugzilla URL.
3092 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3095 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3097 * stdio-common/tst-put-error.c (do_test): Add newline to the
3098 padded test to ensure flush.
3100 2012-12-05 Jeff Law <law@redhat.com>
3102 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3104 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3106 * README: Don't refer to ports add-on as distributed separately.
3107 Mention AArch64 in list of systems supported in the ports add-on.
3109 * LICENSES: Add more non-FSF copyright and license notices.
3111 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3116 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3117 10000 as width of padded output.
3119 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3121 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3123 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3124 variable LX with __attribute__ ((unused)).
3125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3127 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3130 with __attribute__ ((unused)).
3132 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3134 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3136 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3139 (CFLAGS-nldbl-acos.c): New variable.
3140 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3219 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3220 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3221 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3222 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3223 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3224 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3225 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3226 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3227 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3228 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3229 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3230 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3231 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3232 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3233 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3234 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3235 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3236 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3239 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3243 whole low double instead of just low 47 bits when splitting values
3246 2012-12-03 Allan McRae <allan@archlinux.org>
3248 * manual/stdio.texi (Predefined Printf Handlers): Remove
3249 @hsep and @vsep usage.
3251 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3253 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3254 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3256 2012-12-03 Jeff Law <law@redhat.com>
3258 * time/sys/time.h (settimeofday): Do not mark TV argument
3261 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3263 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3264 when currently writing and seek to current position when not.
3265 * libio/Makefile (tests): Remove bug-fclose1.
3266 * libio/bug-fclose1.c: Delete.
3268 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3270 * manual/arith.texi (feenableexcept): Fix typo.
3271 (fedisableexcept): Likewise.
3273 2012-11-30 Roland McGrath <roland@hack.frob.com>
3275 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3276 second, differently-typed declaration, rather than a cast.
3278 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3280 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3281 * include/rpc/svc.h: ... here.
3283 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3286 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3287 depending n and resplen2 to catch cases where answer
3290 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3292 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3293 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3295 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3299 2012-11-29 Roland McGrath <roland@hack.frob.com>
3301 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3303 2012-11-28 Jeff Law <law@redhat.com>
3306 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3307 dataset_temporary. Track alloca usage into alloca_used.
3308 If dataset is large allocate and release it via malloc/free.
3310 2012-06-04 Florian Weimer <fweimer@redhat.com>
3313 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3315 2012-11-28 David S. Miller <davem@davemloft.net>
3317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3319 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3322 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3323 of pi/2 rounded to nearest to 64 bits.
3324 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3326 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3329 2012-11-28 Jeff Law <law@redhat.com>
3330 Martin Osvald <mosvald@redhat.com>
3333 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3334 * sunrpc/svc.c: Include time.h.
3335 (__svc_accept_failed): New function.
3336 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3337 any reason other than EINTR, call __svc_accept_failed.
3338 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3339 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3341 2012-11-28 Andreas Schwab <schwab@suse.de>
3343 * scripts/abilist.awk: Also handle indirect functions in .opd
3346 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3349 * sysdeps/x86/fpu/powl_helper.c: New file.
3350 * sysdeps/x86/fpu/Makefile: Likewise.
3351 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3353 (__ieee754_powl): Use __powl_helper for finite arguments except
3354 integer exponents below 8.
3355 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3357 (__ieee754_powl): Use __powl_helper for finite arguments except
3358 integer exponents below 8.
3359 * math/libm-test.inc (pow_test): Add more tests and enable some
3360 previously disabled tests.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3364 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3365 Carlos O'Donell <carlos_odonell@mentor.com>
3367 * nss/makedb.c (is_prime): Assert that input is odd and greater
3368 than 4. Note that fact in a comment too.
3369 (next_prime): Add 4 to input.
3371 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3374 * libio/Makefile (tests): Add test case tst-fwrite-error.
3375 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3376 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3377 * libio/tst-fwrite-error.c: New test case.
3379 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3381 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3382 before casting to void *.
3383 * include/libc-internal.h (__pointer_type): New macro.
3384 (__integer_if_pointer_type_sub): Likewise.
3385 (__integer_if_pointer_type): Likewise.
3386 (cast_to_integer): Likewise.
3387 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3388 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3389 before casting to atomic64_t.
3390 (atomic_exchange_acq): Likewise.
3391 (__arch_exchange_and_add_body): Likewise.
3392 (__arch_add_body): Likewise.
3393 (atomic_add_negative): Likewise.
3394 (atomic_add_zero): Likewise.
3396 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3398 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3399 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3400 (add_fdes): Likewise.
3401 (linear_search_fdes): Likewise.
3402 (binary_search_unencoded_fdes): Likewise.
3404 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3406 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3408 2012-11-24 Adam Conrad <adconrad@0c3.net>
3410 * configure.in: Autodetect C++ header directories.
3411 * configure: Regenerated.
3413 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3415 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3417 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3421 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3423 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3424 LDBL_MANT_DIG == 106]: Disable some tests.
3425 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3427 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3432 input for small inputs. Return +/- pi/2 for large inputs.
3433 * math/libm-test.inc (atan_test): Add more tests.
3435 * sysdeps/generic/unwind-dw2-fde-glibc.c
3436 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3437 __attribute__ ((unused)).
3440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3441 x * y if x and y are nonzero and z is zero.
3444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3445 nonzero exponents with absolute value below 0x1p-117 to +/-
3449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3450 up arguments below 2**-450, not just those below 2**-500.
3451 * math/libm-test.inc (hypot_test): Add another test.
3454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3455 Return a+b for ratio over 2**120, not 2**60.
3456 * math/libm-test.inc (hypot_test): Add another test.
3458 * math/libm-test.inc (clog_test): Use
3459 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3460 (clog10_test): Likewise.
3463 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3465 2012-11-22 Andreas Schwab <schwab@suse.de>
3467 * sysdeps/i386/fpu/libm-test-ulps: Update.
3469 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3471 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3472 printf output with newline.
3474 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3477 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3478 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3479 -z nodlopen, -z initfirst and -z execstack support.
3480 * configure: Regenerated.
3482 * elf/elf.h (DF_1_NODIRECT): New macro.
3483 (DF_1_IGNMULDEF): Likewise.
3484 (DF_1_NOKSYMS): Likewise.
3485 (DF_1_NOHDR): Likewise.
3486 (DF_1_EDITED): Likewise.
3487 (DF_1_NORELOC): Likewise.
3488 (DF_1_SYMINTPOSE): Likewise.
3489 (DF_1_GLOBAUDIT): Likewise.
3490 (DF_1_SINGLETON): Likewise.
3491 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3492 DT_1_SUPPORTED_MASK bits.
3493 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3495 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3497 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3499 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3501 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3504 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3505 (sendmmsg): Move declarations...
3506 * socket/sys/socket.h: ... here.
3507 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3508 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3510 * socket/recvmmsg.c: ... this new file.
3511 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3512 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3513 definition of __sendmmsg hidden.
3514 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3515 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3516 Move ENOSYS stub into and include it from...
3517 * socket/sendmmsg.c: ... this new file.
3518 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3519 (sysdep_routines): Move recvmmsg and sendmmsg...
3520 * socket/Makefile (routines): ... here.
3521 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3522 (GLIBC_PRIVATE): Add __sendmmsg.
3523 * include/sys/socket.h (__sendmmsg): Add declarations.
3524 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3527 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3530 variable I1 with __attribute__ ((unused)).
3531 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3533 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3535 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3536 DUMMY variables with __attribute__ ((unused)).
3538 * bits/byteswap.h: Include <bits/types.h>.
3539 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3541 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3543 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3544 string_t. Do not manually set errno.
3545 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3546 length with __strnlen. Make sure to both set errno and return it on
3549 2012-11-19 David S. Miller <davem@davemloft.net>
3551 With help from Joseph Myers.
3552 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3553 very large arguments properly.
3554 * math/libm-test.inc (atan_test): New tests.
3555 (atan2_test): New tests.
3556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3559 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3562 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3565 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3566 [POSIX] (EADDRNOTAVAIL): Likewise.
3567 [POSIX] (EAFNOSUPPORT): Likewise.
3568 [POSIX] (EALREADY): Likewise.
3569 [POSIX] (ECONNABORTED): Likewise.
3570 [POSIX] (ECONNREFUSED): Likewise.
3571 [POSIX] (ECONNRESET): Likewise.
3572 [POSIX] (EDESTADDRREQ): Likewise.
3573 [POSIX] (EDQUOT): Likewise.
3574 [POSIX] (EHOSTUNREACH): Likewise.
3575 [POSIX] (EIDRM): Likewise.
3576 [POSIX] (EISCONN): Likewise.
3577 [POSIX] (ELOOP): Likewise.
3578 [POSIX] (EMULTIHOP): Likewise.
3579 [POSIX] (ENETDOWN): Likewise.
3580 [POSIX] (ENETUNREACH): Likewise.
3581 [POSIX] (ENOBUFS): Likewise.
3582 [POSIX] (ENODATA): Likewise.
3583 [POSIX] (ENOLINK): Likewise.
3584 [POSIX] (ENOMSG): Likewise.
3585 [POSIX] (ENOPROTOOPT): Likewise.
3586 [POSIX] (ENOSR): Likewise.
3587 [POSIX] (ENOSTR): Likewise.
3588 [POSIX] (ENOTCONN): Likewise.
3589 [POSIX] (ENOTSOCK): Likewise.
3590 [POSIX] (EOPNOTSUPP): Likewise.
3591 [POSIX] (EOVERFLOW): Likewise.
3592 [POSIX] (EPROTO): Likewise.
3593 [POSIX] (EPROTONOSUPPORT): Likewise.
3594 [POSIX] (EPROTOTYPE): Likewise.
3595 [POSIX] (ESTALE): Likewise.
3596 [POSIX] (ETIME): Likewise.
3597 [POSIX] (ETXTBSY): Likewise.
3598 [POSIX] (EWOULDBLOCK): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3600 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3601 [POSIX] (SEEK_CUR): Likewise.
3602 [POSIX] (SEEK_END): Likewise.
3603 [POSIX || UNIX98] (mode_t): Do not require.
3604 [POSIX] (off_t): Likewise.
3605 [POSIX] (pid_t): Likewise.
3606 [POSIX] (sys/stat.h): Do not allow header.
3607 [POSIX] (unistd.h): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3609 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3611 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3613 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3614 sigevent): Specify elements.
3615 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3617 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3618 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3620 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3621 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3622 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3623 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3624 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3625 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3626 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3627 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3629 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3630 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3631 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3632 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3637 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3639 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3641 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3642 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3643 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3644 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3646 Specify lower bound on value.
3647 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3653 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3675 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3677 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3684 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3689 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3692 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3694 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3695 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3696 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3697 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3698 specify as optional.
3699 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3702 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3703 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3704 [XPG3] (NL_LANGMAX): Likewise.
3705 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3706 [POSIX || XPG3] (NL_NMAX): Likewise.
3707 [POSIX || XPG3] (NL_SETMAX): Likewise.
3708 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3709 [XPG3] (NZERO): Likewise.
3710 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3711 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3712 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3713 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3714 (REG_ERANGE): Expect.
3715 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3717 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3718 Use (void) in prototype.
3719 [POSIX] (*_t): Allow.
3720 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3721 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3722 (WRDE_BADVAL): Expect.
3724 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3726 [XPG3 || XPG4] (O_RSYNC): Likewise.
3727 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3729 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3730 [XPG3 || XPG4] (sigqueue): Likewise.
3731 [XPG3 || XPG4] (sigtimedwait): Likewise.
3732 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3733 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3734 [XPG3 || XPG4] (vsnprintf): Likewise.
3735 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3737 [XPG3 || XPG4] (blksize_t): Likewise.
3738 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3740 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3741 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3742 [XPG3 || XPG4] (struct itimerspec): Likewise.
3743 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3744 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3745 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3746 [XPG3 || XPG4] (clockid_t): Likewise.
3747 [XPG3 || XPG4] (timer_t): Likewise.
3748 [XPG3 || XPG4] (clock_getres): Likewise.
3749 [XPG3 || XPG4] (clock_gettime): Likewise.
3750 [XPG3 || XPG4] (clock_settime): Likewise.
3751 [XPG3 || XPG4] (nanosleep): Likewise.
3752 [XPG3 || XPG4] (timer_create): Likewise.
3753 [XPG3 || XPG4] (timer_delete): Likewise.
3754 [XPG3 || XPG4] (timer_gettime): Likewise.
3755 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3756 [XPG3 || XPG4] (timer_settime): Likewise.
3757 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3758 [XPG3 || XPG4] (getlogin_r): Likewise.
3759 [XPG3 || XPG4] (pread): Likewise.
3760 [XPG3 || XPG4] (pthread_atfork): Likewise.
3761 [XPG3 || XPG4] (pwrite): Likewise.
3764 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3767 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3769 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3770 finalizing MALLSTREAM.
3772 * sysdeps/mach/hurd/syncfs.c: New file.
3774 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3777 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3778 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3779 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3780 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3781 (_nss_dns_gethostbyname4_r): Likewise.
3782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3783 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3785 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3788 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3790 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3792 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3793 * elf/cache.c (print_entry): Print ",AArch64" for
3796 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3797 * elf/cache.c (print_entry): Print ",hard-float" for
3800 2012-11-18 David S. Miller <davem@davemloft.net>
3802 With help from Joseph Myers.
3803 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3805 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3807 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3808 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3810 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3811 * math/libm-test.inc (y0_test): New tests.
3812 (y1_test): New tests.
3813 * sysdeps/i386/fpu/libm-test-ulps: Update.
3814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3817 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3819 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3821 * configure: Regenerated.
3823 2012-11-17 David S. Miller <davem@davemloft.net>
3826 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3827 nonzero exponents with absolute value below 0x1p-128 to +/-
3830 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3832 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3834 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3836 * posix/getconf-speclist.c: New file.
3837 * posix/posix-envs.def: Likewise.
3838 * posix/confstr.c (START_ENV_GROUP): New macro.
3839 (END_ENV_GROUP): Likewise.
3840 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3841 (KNOWN_PRESENT_ENV_STRING): Likewise.
3842 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3843 (UNKNOWN_ENVIRONMENT): Likewise.
3844 (confstr): Include posix-envs.def instead of handling
3845 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3846 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3847 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3848 (END_ENV_GROUP): Likewise.
3849 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3850 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3851 (UNKNOWN_ENVIRONMENT): Likewise.
3852 (__sysconf): Include posix-envs.def instead of handling associated
3853 cases directly here.
3854 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3855 preprocessing getconf-speclist.c rather than running getconf or
3856 generating empty file.
3858 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3860 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3862 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3865 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3867 2012-11-16 David S. Miller <davem@davemloft.net>
3869 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3870 smaller than LDBL_EPSILON/2.0L, just return xm1.
3872 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3874 * elf/tst-array1.c (init): Set constructor priority to 1000.
3875 (fini): Set destructor priority to 1000.
3876 * elf/tst-array2dep.c: Likewise.
3878 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3881 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3882 (_IO_new_file_xsputn): Also return EOF if none of the input
3883 data was written when overflow failed.
3884 * libio/iopadn.c (_IO_padn): Likewise.
3885 * libio/iowpadn.c (_IO_wpadn): Likewise.
3886 * stdio-common/tst-put-error.c: Add copyright notice.
3887 (do_test): Add case for printing padded string.
3888 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3889 _IO_padn returned error.
3890 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3891 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3894 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3896 * libio/libioP.h: Add comment note that the references to C++
3897 bits are now obsolete.
3899 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3901 * math/libm-test.inc (check_complex): Use asprintf.
3903 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3905 * debug/pcprofiledump.c (print_version): Update copyright year.
3906 * malloc/memusagestat.c (print_version): Likewise.
3908 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3911 * elf/Makefile (tests): Add tst-audit8.
3912 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3913 ($(objpfx)tst-audit8.out): New target.
3914 (tst-audit8-ENV): New variable.
3915 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3916 audit if l_reloc_result is NULL.
3917 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3918 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3919 * elf/tst-audit8.c: New file.
3921 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3923 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3924 * misc/Makefile (CFLAGS-select.c): Define.
3925 * posix/Makefile (CFLAGS-pause.c): Define.
3927 2012-11-13 David S. Miller <davem@davemloft.net>
3929 * crypt/Makefile: Move test targets after toplevel Rules
3930 inclusion. Grab any necessary sysdep routines when linking.
3931 * crypt/md5.c (md5_process_block): Remove define, we will always
3932 name it __md5_process_block.
3933 (md5_finish_ctx): Update md5_process_block call.
3934 (md5_stream): Likewise.
3935 (md5_process_bytes): Likewise.
3936 (md5_process_block): Rename to __md5_process_block and move to ...
3937 * crypt/md5-block.c: ... here.
3938 * crypt/sha256.c (sha256_process_block): Move to ...
3939 * crypt/sha256-block.c: ... here.
3940 * crypt/sha512.c (sha512_process_block): Move to ...
3941 * crypt/sha512-block.c: ... here.
3942 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3944 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3945 * sysdeps/sparc/sparc64/multiarch/Makefile
3946 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3948 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3949 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3951 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3952 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3953 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3954 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3955 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3956 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3957 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3958 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3959 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3961 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3966 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3968 * timezone/tzselect.ksh: Update from tzcode git revision
3969 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3970 * timezone/zdump.c: Likewise.
3971 * timezone/zic.c: Likewise.
3972 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3973 in TZVERSION setting, not $(PKGVERSION).
3974 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3975 REPORT_BUGS_TO settings.
3978 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3981 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3983 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3984 detection to immediately after _FP_ROUND().
3985 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3988 2012-11-11 David S. Miller <davem@davemloft.net>
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3992 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3993 __close rather than their public counterparts.
3995 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3997 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3999 [UNIX98] (sem_timedwait): Do not expect.
4000 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4001 [XPG4 || UNIX98] (sockatmark): Do not expect.
4002 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4003 (clock_getcpuclockid): Do not expect.
4004 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4005 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4007 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4008 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4009 [UNIX98] (vwscanf): Likewise.
4010 [UNIX98] (vswscanf): Likewise.
4012 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4014 * timezone/version.h: Remove file.
4015 * timezone/README: Do not refer to version.h.
4016 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4018 ($(objpfx)zdump.o): Likewise.
4019 ($(objpfx)version.h): New target.
4021 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4023 * timezone/README: Don't mention modification to tzselect.ksh.
4024 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4025 work on unmodified tzselect.ksh. Substitute version numbers in
4028 * Makefile (format-me): Remove.
4029 (INSTALL): Adjust indentation. Use commands directly instead of
4032 * aclocal.m4 (ACX_PKGVERSION): New macro.
4033 (ACX_BUGURL): Likewise.
4034 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4035 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4036 (REPORT_BUGS_TO): Likewise.
4037 * configure: Regenerated.
4038 * config.h.in (PKGVERSION): New macro.
4039 (REPORT_BUGS_TO): Likewise.
4040 * config.make.in (PKGVERSION): New variable.
4041 (PKGVERSION_TEXI): Likewise.
4042 (REPORT_BUGS_TO): Likewise.
4043 (REPORT_BUGS_TEXI): Likewise.
4044 * Makefile (format-me): Use -I$(common-objpfx)manual.
4045 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4046 ($(common-objpfx)manual/%): New target.
4047 (manual/%): Remove target.
4048 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4049 (print_version): Use PKGVERSION.
4050 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4051 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4053 ($(objpfx)xtrace): Likewise.
4054 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4055 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4056 (print_version): Use PKGVERSION.
4057 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4058 (do_version): Use PKGVERSION.
4059 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4061 (common-ldd-rewrite): Likewise.
4062 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4063 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4064 (print_version): Use PKGVERSION.
4065 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4066 * elf/pldd.c (argp_program_bug_address): Remove variable.
4067 (more_help): New function.
4068 (argp): Use more_help.
4069 (print_version): Use PKGVERSION.
4070 * elf/sln.c (main): Use PKGVERSION.
4071 (usage): Use REPORT_BUGS_TO.
4072 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4073 (top level): Use PKGVERSION.
4074 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4075 (print_version): Use PKGVERSION.
4076 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4077 (print_version): Use PKGVERSION.
4078 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4079 (print_version): Use PKGVERSION.
4080 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4081 (print_version): Use PKGVERSION.
4082 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4083 (print_version): Use PKGVERSION.
4084 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4085 (print_version): Use PKGVERSION.
4086 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4088 ($(objpfx)memusage): Likewise.
4089 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4090 (do_version): Use PKGVERSION.
4091 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4092 (print_version): Use PKGVERSION.
4093 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4094 ($PKGVERSION): New variable.
4095 ($REPORT_BUGS_TO): Likewise.
4096 (usage): Use $REPORT_BUGS_TO.
4097 (top level): Use $PKGVERSION.
4098 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4099 ($(objpfx)pkgvers.texi): New rule.
4100 ($(objpfx)stamp-pkgvers): Likewise.
4101 * manual/install.texi: Include pkgvers.texi.
4102 (--with-pkgversion): Document new configure option.
4103 (--with-bugurl): Likewise.
4104 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4105 than necessarily for this particular distribution. Use
4106 REPORT_BUGS_TO for where to report bugs.
4107 * INSTALL: Regenerated.
4108 * manual/libc.texinfo: Include pkgvers.texi.
4109 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4110 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4111 (print_version): Use PKGVERSION.
4112 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4113 (print_version): Use PKGVERSION.
4114 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4115 (print_version): Use PKGVERSION.
4116 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4117 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4119 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4120 (print_version): Use PKGVERSION.
4121 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4122 (print_version): Use PKGVERSION.
4123 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4126 * timezone/checktab.awk: Update from tzcode 2012i.
4127 * timezone/ialloc.c: Likewise.
4128 * timezone/private.h: Likewise.
4129 * timezone/scheck.c: Likewise.
4130 * timezone/tzfile.h: Likewise.
4131 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4132 (TZVERSION): Hardcode tzcode version number.
4133 * timezone/zdump.c: Update from tzcode 2012i.
4134 * timezone/zic.c: Likewise.
4135 * timezone/version.h: New file.
4136 * timezone/README: Describe version.h. Update upstream location.
4139 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4140 (mktemp): Enable declaration.
4141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4158 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4159 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4160 for copies of such integer values.
4161 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4162 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4164 2012-11-09 Andreas Jaeger <aj@suse.de>
4166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4167 definitions and declarations that are provided by
4168 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4170 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4173 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4174 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4177 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4179 * elf/elf.h: Update comment before AArch64 relocations.
4181 2012-11-07 David S. Miller <davem@davemloft.net>
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4185 (__start_context): Declare.
4186 (__makecontext_ret): Delete.
4187 (__makecontext): Hook up __start_context instead of
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4190 (sysdep_routines): Add __start_context when in stdlib.
4192 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4194 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4195 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4196 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4198 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4199 (READELF): New variable. Use it instead of hardcoded "readelf".
4201 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4203 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4204 * sysdeps/x86/Makefile: Here.
4205 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4206 * sysdeps/x86/tst-xmmymm.sh: This.
4208 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4210 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4212 [UNIX98] (pthread_barrier_t): Do not expect.
4213 [UNIX98] (pthread_barrierattr_t): Likewise.
4214 [UNIX98] (pthread_spinlock_t): Likewise.
4215 [UNIX98] (pthread_barrier_destroy): Likewise.
4216 [UNIX98] (pthread_barrier_init): Likewise.
4217 [UNIX98] (pthread_barrier_wait): Likewise.
4218 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4219 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4220 [UNIX98] (pthread_barrierattr_init): Likewise.
4221 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4222 [UNIX98] (pthread_getcpuclockid): Likewise.
4223 [UNIX98] (pthread_mutex_timedlock): Likewise.
4224 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4225 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4226 [UNIX98] (pthread_sigmask): Likewise.
4227 [UNIX98] (pthread_spin_destroy): Likewise.
4228 [UNIX98] (pthread_spin_init): Likewise.
4229 [UNIX98] (pthread_spin_lock): Likewise.
4230 [UNIX98] (pthread_spin_trylock): Likewise.
4231 [UNIX98] (pthread_spin_unlock): Likewise.
4232 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4234 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4236 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4237 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4238 [XPG3 || XPG4] (pthread_key_t): Likewise.
4239 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4240 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4241 [XPG3 || XPG4] (pthread_once_t): Likewise.
4242 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4243 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4245 [XPG3 || XPG4] (pthread_t): Likewise.
4247 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4249 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4251 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4252 Change function return type to int.
4254 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4255 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4256 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4257 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4258 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4259 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4260 [!POSIX] (posix_madvise): Likewise.
4261 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4263 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4264 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4266 (posix_mem_offset): Likewise.
4267 (posix_typed_mem_get_info): Likewise.
4268 (posix_typed_mem_open): Likewise.
4270 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4271 Change condition to [XOPEN2K8].
4273 * conform/conformtest.pl: Preprocess allow-header data with -x c
4274 instead of from stdin.
4275 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4276 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4277 [C99-based standards] (cerfc): Likewise.
4278 [C99-based standards] (cexp2): Likewise.
4279 [C99-based standards] (cexpm1): Likewise.
4280 [C99-based standards] (clog10): Likewise.
4281 [C99-based standards] (clog1p): Likewise.
4282 [C99-based standards] (clog2): Likewise.
4283 [C99-based standards] (clgamma): Likewise.
4284 [C99-based standards] (ctgamma): Likewise.
4285 [C99-based standards] (cerff): Likewise.
4286 [C99-based standards] (cerfcf): Likewise.
4287 [C99-based standards] (cexp2f): Likewise.
4288 [C99-based standards] (cexpm1f): Likewise.
4289 [C99-based standards] (clog10f): Likewise.
4290 [C99-based standards] (clog1pf): Likewise.
4291 [C99-based standards] (clog2f): Likewise.
4292 [C99-based standards] (clgammaf): Likewise.
4293 [C99-based standards] (ctgammaf): Likewise.
4294 [C99-based standards] (cerfl): Likewise.
4295 [C99-based standards] (cerfcl): Likewise.
4296 [C99-based standards] (cexp2l): Likewise.
4297 [C99-based standards] (cexpm1l): Likewise.
4298 [C99-based standards] (clog10l): Likewise.
4299 [C99-based standards] (clog1pl): Likewise.
4300 [C99-based standards] (clog2l): Likewise.
4301 [C99-based standards] (clgammal): Likewise.
4302 [C99-based standards] (ctgammal): Likewise.
4303 * conform/data/inttypes.h-data [C99-based standards]: Include
4304 stdint.h-data. Remove all expectations for stdint.h contents.
4305 [C99-based standards] (PRI*): Do not allow.
4306 [C99-based standards] (SCN*): Likewise.
4307 [C99-based standards] (*_t): Likewise.
4308 [C99-based-standards] (PRId8): Expect macro.
4309 [C99-based-standards] (PRIi8): Likewise.
4310 [C99-based-standards] (PRIo8): Likewise.
4311 [C99-based-standards] (PRIu8): Likewise.
4312 [C99-based-standards] (PRIx8): Likewise.
4313 [C99-based-standards] (PRIX8): Likewise.
4314 [C99-based-standards] (SCNd8): Likewise.
4315 [C99-based-standards] (SCNi8): Likewise.
4316 [C99-based-standards] (SCNo8): Likewise.
4317 [C99-based-standards] (SCNu8): Likewise.
4318 [C99-based-standards] (SCNx8): Likewise.
4319 [C99-based-standards] (PRIdLEAST8): Likewise.
4320 [C99-based-standards] (PRIiLEAST8): Likewise.
4321 [C99-based-standards] (PRIoLEAST8): Likewise.
4322 [C99-based-standards] (PRIuLEAST8): Likewise.
4323 [C99-based-standards] (PRIxLEAST8): Likewise.
4324 [C99-based-standards] (PRIXLEAST8): Likewise.
4325 [C99-based-standards] (SCNdLEAST8): Likewise.
4326 [C99-based-standards] (SCNiLEAST8): Likewise.
4327 [C99-based-standards] (SCNoLEAST8): Likewise.
4328 [C99-based-standards] (SCNuLEAST8): Likewise.
4329 [C99-based-standards] (SCNxLEAST8): Likewise.
4330 [C99-based-standards] (PRIdFAST8): Likewise.
4331 [C99-based-standards] (PRIiFAST8): Likewise.
4332 [C99-based-standards] (PRIoFAST8): Likewise.
4333 [C99-based-standards] (PRIuFAST8): Likewise.
4334 [C99-based-standards] (PRIxFAST8): Likewise.
4335 [C99-based-standards] (PRIXFAST8): Likewise.
4336 [C99-based-standards] (SCNdFAST8): Likewise.
4337 [C99-based-standards] (SCNiFAST8): Likewise.
4338 [C99-based-standards] (SCNoFAST8): Likewise.
4339 [C99-based-standards] (SCNuFAST8): Likewise.
4340 [C99-based-standards] (SCNxFAST8): Likewise.
4341 [C99-based-standards] (PRId16): Likewise.
4342 [C99-based-standards] (PRIi16): Likewise.
4343 [C99-based-standards] (PRIo16): Likewise.
4344 [C99-based-standards] (PRIu16): Likewise.
4345 [C99-based-standards] (PRIx16): Likewise.
4346 [C99-based-standards] (PRIX16): Likewise.
4347 [C99-based-standards] (SCNd16): Likewise.
4348 [C99-based-standards] (SCNi16): Likewise.
4349 [C99-based-standards] (SCNo16): Likewise.
4350 [C99-based-standards] (SCNu16): Likewise.
4351 [C99-based-standards] (SCNx16): Likewise.
4352 [C99-based-standards] (PRIdLEAST16): Likewise.
4353 [C99-based-standards] (PRIiLEAST16): Likewise.
4354 [C99-based-standards] (PRIoLEAST16): Likewise.
4355 [C99-based-standards] (PRIuLEAST16): Likewise.
4356 [C99-based-standards] (PRIxLEAST16): Likewise.
4357 [C99-based-standards] (PRIXLEAST16): Likewise.
4358 [C99-based-standards] (SCNdLEAST16): Likewise.
4359 [C99-based-standards] (SCNiLEAST16): Likewise.
4360 [C99-based-standards] (SCNoLEAST16): Likewise.
4361 [C99-based-standards] (SCNuLEAST16): Likewise.
4362 [C99-based-standards] (SCNxLEAST16): Likewise.
4363 [C99-based-standards] (PRIdFAST16): Likewise.
4364 [C99-based-standards] (PRIiFAST16): Likewise.
4365 [C99-based-standards] (PRIoFAST16): Likewise.
4366 [C99-based-standards] (PRIuFAST16): Likewise.
4367 [C99-based-standards] (PRIxFAST16): Likewise.
4368 [C99-based-standards] (PRIXFAST16): Likewise.
4369 [C99-based-standards] (SCNdFAST16): Likewise.
4370 [C99-based-standards] (SCNiFAST16): Likewise.
4371 [C99-based-standards] (SCNoFAST16): Likewise.
4372 [C99-based-standards] (SCNuFAST16): Likewise.
4373 [C99-based-standards] (SCNxFAST16): Likewise.
4374 [C99-based-standards] (PRId32): Likewise.
4375 [C99-based-standards] (PRIi32): Likewise.
4376 [C99-based-standards] (PRIo32): Likewise.
4377 [C99-based-standards] (PRIu32): Likewise.
4378 [C99-based-standards] (PRIx32): Likewise.
4379 [C99-based-standards] (PRIX32): Likewise.
4380 [C99-based-standards] (SCNd32): Likewise.
4381 [C99-based-standards] (SCNi32): Likewise.
4382 [C99-based-standards] (SCNo32): Likewise.
4383 [C99-based-standards] (SCNu32): Likewise.
4384 [C99-based-standards] (SCNx32): Likewise.
4385 [C99-based-standards] (PRIdLEAST32): Likewise.
4386 [C99-based-standards] (PRIiLEAST32): Likewise.
4387 [C99-based-standards] (PRIoLEAST32): Likewise.
4388 [C99-based-standards] (PRIuLEAST32): Likewise.
4389 [C99-based-standards] (PRIxLEAST32): Likewise.
4390 [C99-based-standards] (PRIXLEAST32): Likewise.
4391 [C99-based-standards] (SCNdLEAST32): Likewise.
4392 [C99-based-standards] (SCNiLEAST32): Likewise.
4393 [C99-based-standards] (SCNoLEAST32): Likewise.
4394 [C99-based-standards] (SCNuLEAST32): Likewise.
4395 [C99-based-standards] (SCNxLEAST32): Likewise.
4396 [C99-based-standards] (PRIdFAST32): Likewise.
4397 [C99-based-standards] (PRIiFAST32): Likewise.
4398 [C99-based-standards] (PRIoFAST32): Likewise.
4399 [C99-based-standards] (PRIuFAST32): Likewise.
4400 [C99-based-standards] (PRIxFAST32): Likewise.
4401 [C99-based-standards] (PRIXFAST32): Likewise.
4402 [C99-based-standards] (SCNdFAST32): Likewise.
4403 [C99-based-standards] (SCNiFAST32): Likewise.
4404 [C99-based-standards] (SCNoFAST32): Likewise.
4405 [C99-based-standards] (SCNuFAST32): Likewise.
4406 [C99-based-standards] (SCNxFAST32): Likewise.
4407 [C99-based-standards] (PRId64): Likewise.
4408 [C99-based-standards] (PRIi64): Likewise.
4409 [C99-based-standards] (PRIo64): Likewise.
4410 [C99-based-standards] (PRIu64): Likewise.
4411 [C99-based-standards] (PRIx64): Likewise.
4412 [C99-based-standards] (PRIX64): Likewise.
4413 [C99-based-standards] (SCNd64): Likewise.
4414 [C99-based-standards] (SCNi64): Likewise.
4415 [C99-based-standards] (SCNo64): Likewise.
4416 [C99-based-standards] (SCNu64): Likewise.
4417 [C99-based-standards] (SCNx64): Likewise.
4418 [C99-based-standards] (PRIdLEAST64): Likewise.
4419 [C99-based-standards] (PRIiLEAST64): Likewise.
4420 [C99-based-standards] (PRIoLEAST64): Likewise.
4421 [C99-based-standards] (PRIuLEAST64): Likewise.
4422 [C99-based-standards] (PRIxLEAST64): Likewise.
4423 [C99-based-standards] (PRIXLEAST64): Likewise.
4424 [C99-based-standards] (SCNdLEAST64): Likewise.
4425 [C99-based-standards] (SCNiLEAST64): Likewise.
4426 [C99-based-standards] (SCNoLEAST64): Likewise.
4427 [C99-based-standards] (SCNuLEAST64): Likewise.
4428 [C99-based-standards] (SCNxLEAST64): Likewise.
4429 [C99-based-standards] (PRIdFAST64): Likewise.
4430 [C99-based-standards] (PRIiFAST64): Likewise.
4431 [C99-based-standards] (PRIoFAST64): Likewise.
4432 [C99-based-standards] (PRIuFAST64): Likewise.
4433 [C99-based-standards] (PRIxFAST64): Likewise.
4434 [C99-based-standards] (PRIXFAST64): Likewise.
4435 [C99-based-standards] (SCNdFAST64): Likewise.
4436 [C99-based-standards] (SCNiFAST64): Likewise.
4437 [C99-based-standards] (SCNoFAST64): Likewise.
4438 [C99-based-standards] (SCNuFAST64): Likewise.
4439 [C99-based-standards] (SCNxFAST64): Likewise.
4440 [C99-based-standards] (PRIdMAX): Likewise.
4441 [C99-based-standards] (PRIiMAX): Likewise.
4442 [C99-based-standards] (PRIoMAX): Likewise.
4443 [C99-based-standards] (PRIuMAX): Likewise.
4444 [C99-based-standards] (PRIxMAX): Likewise.
4445 [C99-based-standards] (PRIXMAX): Likewise.
4446 [C99-based-standards] (SCNdMAX): Likewise.
4447 [C99-based-standards] (SCNiMAX): Likewise.
4448 [C99-based-standards] (SCNoMAX): Likewise.
4449 [C99-based-standards] (SCNuMAX): Likewise.
4450 [C99-based-standards] (SCNxMAX): Likewise.
4451 [C99-based-standards] (PRIdPTR): Likewise.
4452 [C99-based-standards] (PRIiPTR): Likewise.
4453 [C99-based-standards] (PRIoPTR): Likewise.
4454 [C99-based-standards] (PRIuPTR): Likewise.
4455 [C99-based-standards] (PRIxPTR): Likewise.
4456 [C99-based-standards] (PRIXPTR): Likewise.
4457 [C99-based-standards] (SCNdPTR): Likewise.
4458 [C99-based-standards] (SCNiPTR): Likewise.
4459 [C99-based-standards] (SCNoPTR): Likewise.
4460 [C99-based-standards] (SCNuPTR): Likewise.
4461 [C99-based-standards] (SCNxPTR): Likewise.
4462 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4464 * conform/data/stdint.h-data: Update comments to clarify
4466 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4468 [C99-based standards] (INT8_MAX): Likewise.
4469 [C99-based standards] (INT16_MIN): Likewise.
4470 [C99-based standards] (INT16_MAX): Likewise.
4471 [C99-based standards] (INT32_MIN): Likewise.
4472 [C99-based standards] (INT32_MAX): Likewise.
4473 [C99-based standards] (INT64_MIN): Likewise.
4474 [C99-based standards] (INT64_MAX): Likewise.
4475 [C99-based standards] (UINT8_MAX): Likewise.
4476 [C99-based standards] (UINT16_MAX): Likewise.
4477 [C99-based standards] (UINT32_MAX): Likewise.
4478 [C99-based standards] (UINT64_MAX): Likewise.
4479 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4480 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4481 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4482 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4483 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4484 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4485 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4486 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4487 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4488 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4489 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4490 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4491 [C99-based standards] (INT_FAST8_MIN): Likewise.
4492 [C99-based standards] (INT_FAST8_MAX): Likewise.
4493 [C99-based standards] (INT_FAST16_MIN): Likewise.
4494 [C99-based standards] (INT_FAST16_MAX): Likewise.
4495 [C99-based standards] (INT_FAST32_MIN): Likewise.
4496 [C99-based standards] (INT_FAST32_MAX): Likewise.
4497 [C99-based standards] (INT_FAST64_MIN): Likewise.
4498 [C99-based standards] (INT_FAST64_MAX): Likewise.
4499 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4500 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4501 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4502 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4503 [C99-based standards] (INTPTR_MIN): Likewise.
4504 [C99-based standards] (INTPTR_MAX): Likewise.
4505 [C99-based standards] (UINTPTR_MAX): Likewise.
4506 [C99-based standards] (INTMAX_MIN): Likewise.
4507 [C99-based standards] (INTMAX_MAX): Likewise.
4508 [C99-based standards] (UINTMAX_MAX): Likewise.
4509 [C99-based standards] (PTRDIFF_MIN): Likewise.
4510 [C99-based standards] (PTRDIFF_MAX): Likewise.
4511 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4512 [C99-based standards] (SIZE_MAX): Likewise.
4513 [C99-based standards] (WCHAR_MAX): Likewise.
4514 [C99-based standards] (WINT_MAX): Likewise.
4515 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4516 constraint on value.
4517 [C99-based standards] (WCHAR_MIN): Likewise.
4518 [C99-based standards] (WINT_MIN): Likewise.
4519 [C99-based standards] (*_t): Allow.
4520 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4521 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4522 Include math.h-data and complex.h-data. Remove all expectations
4523 of math.h and complex.h contents.
4524 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4526 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4527 (struct tm): Expect tag.
4528 [C99-based-standards] (wcstof): Expect function.
4529 [C99-based-standards] (wcstold): Likewise.
4530 [C99-based-standards] (wcstoll): Likewise.
4531 [C99-based-standards] (wcstoull): Likewise.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4533 macro-int-constant. Specify type.
4534 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4535 constraint on value.
4536 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4538 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4540 [ISO C standards]: Do not allow headers.
4541 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4542 wcs[abcdefghijklmnopqrstuvwxyz]*.
4543 [ISO C standards] (*_t): Do not allow.
4544 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4546 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4547 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4549 [ISO C standards]: Do not allow headers.
4550 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4551 is[abcdefghijklmnopqrstuvwxyz]*.
4552 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4553 to[abcdefghijklmnopqrstuvwxyz]*.
4554 [ISO C standards] (*_t): Do not allow.
4555 * conform/data/stdalign.h-data: New file.
4556 * conform/data/stdbool.h-data: Likewise.
4557 * conform/data/stdnoreturn.h-data: Likewise.
4559 2012-11-07 Roland McGrath <roland@hack.frob.com>
4562 * manual/filesys.texi (Directory Entries): Typo fix.
4563 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4565 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4567 * elf/elf.h (EM_AARCH64): New macro.
4568 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4569 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4570 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4571 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4572 (R_AARCH64_TLSDESC): Likewise.
4573 (NT_ARM_TLS): Likewise.
4574 (NT_ARM_HW_BREAK): Likewise.
4575 (NT_ARM_HW_WATCH): Likewise.
4577 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4580 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4581 (__ieee754_powl): Saturate nonzero exponents with absolute value
4582 below 0x1p-79 to +/- 0x1p-79.
4583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4584 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4585 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4586 nonzero exponents with absolute value below 0x1p-32 to +/-
4588 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4589 (__ieee754_powl): Saturate nonzero exponents with absolute value
4590 below 0x1p-79 to +/- 0x1p-79.
4591 * math/libm-test.inc (pow_test): Add more tests.
4593 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4596 _dl_s390_cap_flags with kernel. Increase string length.
4597 (_dl_s390_platforms): Add z196 and zEC12.
4599 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4601 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4602 Change XOPEN21K to XOPEN2K.
4604 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4606 * string/memmove.c: Use memcpy when possible.
4608 2012-11-06 Andreas Jaeger <aj@suse.de>
4610 * po/eo.po: Update from translation team.
4612 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4616 exponent and small x and y exponents, scale x or y up. Increase
4617 by 2 the exponent used in scaling up.
4618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4620 * math/libm-test.inc (fma_test): Add more tests.
4621 (fma_test_towardzero): Likewise.
4622 (fma_test_downward): Likewise.
4623 (fma_test_upward): Likewise.
4625 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4628 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4632 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4633 namespace for names of struct fields.
4634 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4636 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4637 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4639 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4642 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4644 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4646 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4650 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4653 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4657 definitely overflow as x * y not x * y + z.
4658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4660 * math/libm-test.inc (fma_test): Add more tests.
4661 (fma_test_towardzero): Likewise.
4662 (fma_test_downward): Likewise.
4663 (fma_test_upward): Likewise.
4665 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4669 * include/stub-tag.h: Remove file.
4670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4672 * manual/maint.texi (Porting): Don't reference it.
4673 * Makerules ($(objpfx)stubs): Likewise.
4674 * dirent/closedir.c: Don't include <stub-tag.h>.
4675 * dirent/dirfd.c: Likewise.
4676 * dirent/fdopendir.c: Likewise.
4677 * dirent/getdents.c: Likewise.
4678 * dirent/getdents64.c: Likewise.
4679 * dirent/opendir.c: Likewise.
4680 * dirent/readdir.c: Likewise.
4681 * dirent/readdir64.c: Likewise.
4682 * dirent/readdir64_r.c: Likewise.
4683 * dirent/readdir_r.c: Likewise.
4684 * dirent/rewinddir.c: Likewise.
4685 * dirent/seekdir.c: Likewise.
4686 * dirent/telldir.c: Likewise.
4687 * gmon/profil.c: Likewise.
4688 * grp/setgroups.c: Likewise.
4689 * inet/if_index.c: Likewise.
4690 * io/access.c: Likewise.
4691 * io/chdir.c: Likewise.
4692 * io/chmod.c: Likewise.
4693 * io/chown.c: Likewise.
4694 * io/close.c: Likewise.
4695 * io/dup.c: Likewise.
4696 * io/dup2.c: Likewise.
4697 * io/dup3.c: Likewise.
4698 * io/euidaccess.c: Likewise.
4699 * io/faccessat.c: Likewise.
4700 * io/fchdir.c: Likewise.
4701 * io/fchmod.c: Likewise.
4702 * io/fchmodat.c: Likewise.
4703 * io/fchown.c: Likewise.
4704 * io/fchownat.c: Likewise.
4705 * io/fcntl.c: Likewise.
4706 * io/flock.c: Likewise.
4707 * io/fstatfs.c: Likewise.
4708 * io/fstatfs64.c: Likewise.
4709 * io/fstatvfs.c: Likewise.
4710 * io/fstatvfs64.c: Likewise.
4711 * io/futimens.c: Likewise.
4712 * io/fxstat.c: Likewise.
4713 * io/fxstat64.c: Likewise.
4714 * io/fxstatat.c: Likewise.
4715 * io/fxstatat64.c: Likewise.
4716 * io/getcwd.c: Likewise.
4717 * io/isatty.c: Likewise.
4718 * io/lchmod.c: Likewise.
4719 * io/lchown.c: Likewise.
4720 * io/link.c: Likewise.
4721 * io/linkat.c: Likewise.
4722 * io/lseek.c: Likewise.
4723 * io/lseek64.c: Likewise.
4724 * io/lxstat64.c: Likewise.
4725 * io/mkdir.c: Likewise.
4726 * io/mkdirat.c: Likewise.
4727 * io/mkfifo.c: Likewise.
4728 * io/mkfifoat.c: Likewise.
4729 * io/open.c: Likewise.
4730 * io/open64.c: Likewise.
4731 * io/openat.c: Likewise.
4732 * io/openat64.c: Likewise.
4733 * io/pipe.c: Likewise.
4734 * io/pipe2.c: Likewise.
4735 * io/poll.c: Likewise.
4736 * io/posix_fadvise.c: Likewise.
4737 * io/posix_fadvise64.c: Likewise.
4738 * io/posix_fallocate.c: Likewise.
4739 * io/posix_fallocate64.c: Likewise.
4740 * io/read.c: Likewise.
4741 * io/readlink.c: Likewise.
4742 * io/readlinkat.c: Likewise.
4743 * io/rmdir.c: Likewise.
4744 * io/sendfile.c: Likewise.
4745 * io/sendfile64.c: Likewise.
4746 * io/statfs.c: Likewise.
4747 * io/statfs64.c: Likewise.
4748 * io/statvfs.c: Likewise.
4749 * io/statvfs64.c: Likewise.
4750 * io/symlink.c: Likewise.
4751 * io/symlinkat.c: Likewise.
4752 * io/ttyname.c: Likewise.
4753 * io/ttyname_r.c: Likewise.
4754 * io/umask.c: Likewise.
4755 * io/unlink.c: Likewise.
4756 * io/unlinkat.c: Likewise.
4757 * io/utime.c: Likewise.
4758 * io/utimensat.c: Likewise.
4759 * io/write.c: Likewise.
4760 * io/xmknod.c: Likewise.
4761 * io/xmknodat.c: Likewise.
4762 * io/xstat.c: Likewise.
4763 * io/xstat64.c: Likewise.
4764 * login/getpt.c: Likewise.
4765 * login/grantpt.c: Likewise.
4766 * login/unlockpt.c: Likewise.
4767 * math/e_acoshl.c: Likewise.
4768 * math/e_acosl.c: Likewise.
4769 * math/e_asinl.c: Likewise.
4770 * math/e_atan2l.c: Likewise.
4771 * math/e_atanhl.c: Likewise.
4772 * math/e_coshl.c: Likewise.
4773 * math/e_expl.c: Likewise.
4774 * math/e_fmodl.c: Likewise.
4775 * math/e_gammal_r.c: Likewise.
4776 * math/e_hypotl.c: Likewise.
4777 * math/e_j0l.c: Likewise.
4778 * math/e_j1l.c: Likewise.
4779 * math/e_jnl.c: Likewise.
4780 * math/e_lgammal_r.c: Likewise.
4781 * math/e_log10l.c: Likewise.
4782 * math/e_log2l.c: Likewise.
4783 * math/e_logl.c: Likewise.
4784 * math/e_powl.c: Likewise.
4785 * math/e_rem_pio2l.c: Likewise.
4786 * math/e_sinhl.c: Likewise.
4787 * math/e_sqrtl.c: Likewise.
4788 * math/fclrexcpt.c: Likewise.
4789 * math/fedisblxcpt.c: Likewise.
4790 * math/feenablxcpt.c: Likewise.
4791 * math/fegetenv.c: Likewise.
4792 * math/fegetexcept.c: Likewise.
4793 * math/fegetround.c: Likewise.
4794 * math/feholdexcpt.c: Likewise.
4795 * math/fesetenv.c: Likewise.
4796 * math/fesetround.c: Likewise.
4797 * math/feupdateenv.c: Likewise.
4798 * math/fgetexcptflg.c: Likewise.
4799 * math/fraiseexcpt.c: Likewise.
4800 * math/fsetexcptflg.c: Likewise.
4801 * math/ftestexcept.c: Likewise.
4802 * math/k_cosl.c: Likewise.
4803 * math/k_rem_pio2l.c: Likewise.
4804 * math/k_sinl.c: Likewise.
4805 * math/k_tanl.c: Likewise.
4806 * math/s_asinhl.c: Likewise.
4807 * math/s_atanl.c: Likewise.
4808 * math/s_cbrtl.c: Likewise.
4809 * math/s_erfl.c: Likewise.
4810 * math/s_expm1l.c: Likewise.
4811 * math/s_log1pl.c: Likewise.
4812 * math/s_tanhl.c: Likewise.
4813 * misc/acct.c: Likewise.
4814 * misc/brk.c: Likewise.
4815 * misc/chflags.c: Likewise.
4816 * misc/chroot.c: Likewise.
4817 * misc/fchflags.c: Likewise.
4818 * misc/fgetxattr.c: Likewise.
4819 * misc/flistxattr.c: Likewise.
4820 * misc/fremovexattr.c: Likewise.
4821 * misc/fsetxattr.c: Likewise.
4822 * misc/fsync.c: Likewise.
4823 * misc/ftruncate.c: Likewise.
4824 * misc/futimes.c: Likewise.
4825 * misc/futimesat.c: Likewise.
4826 * misc/getdomain.c: Likewise.
4827 * misc/getdtsz.c: Likewise.
4828 * misc/gethostid.c: Likewise.
4829 * misc/gethostname.c: Likewise.
4830 * misc/getloadavg.c: Likewise.
4831 * misc/getpagesize.c: Likewise.
4832 * misc/getsysstats.c: Likewise.
4833 * misc/getxattr.c: Likewise.
4834 * misc/gtty.c: Likewise.
4835 * misc/ioctl.c: Likewise.
4836 * misc/lgetxattr.c: Likewise.
4837 * misc/listxattr.c: Likewise.
4838 * misc/llistxattr.c: Likewise.
4839 * misc/lremovexattr.c: Likewise.
4840 * misc/lsetxattr.c: Likewise.
4841 * misc/lutimes.c: Likewise.
4842 * misc/madvise.c: Likewise.
4843 * misc/mincore.c: Likewise.
4844 * misc/mlock.c: Likewise.
4845 * misc/mlockall.c: Likewise.
4846 * misc/mmap.c: Likewise.
4847 * misc/mprotect.c: Likewise.
4848 * misc/msync.c: Likewise.
4849 * misc/munlock.c: Likewise.
4850 * misc/munlockall.c: Likewise.
4851 * misc/munmap.c: Likewise.
4852 * misc/preadv.c: Likewise.
4853 * misc/preadv64.c: Likewise.
4854 * misc/ptrace.c: Likewise.
4855 * misc/pwritev.c: Likewise.
4856 * misc/pwritev64.c: Likewise.
4857 * misc/readv.c: Likewise.
4858 * misc/reboot.c: Likewise.
4859 * misc/remap_file_pages.c: Likewise.
4860 * misc/removexattr.c: Likewise.
4861 * misc/revoke.c: Likewise.
4862 * misc/select.c: Likewise.
4863 * misc/setdomain.c: Likewise.
4864 * misc/setegid.c: Likewise.
4865 * misc/seteuid.c: Likewise.
4866 * misc/sethostid.c: Likewise.
4867 * misc/sethostname.c: Likewise.
4868 * misc/setregid.c: Likewise.
4869 * misc/setreuid.c: Likewise.
4870 * misc/setxattr.c: Likewise.
4871 * misc/sstk.c: Likewise.
4872 * misc/stty.c: Likewise.
4873 * misc/swapoff.c: Likewise.
4874 * misc/swapon.c: Likewise.
4875 * misc/sync.c: Likewise.
4876 * misc/syncfs.c: Likewise.
4877 * misc/syscall.c: Likewise.
4878 * misc/truncate.c: Likewise.
4879 * misc/ualarm.c: Likewise.
4880 * misc/usleep.c: Likewise.
4881 * misc/ustat.c: Likewise.
4882 * misc/utimes.c: Likewise.
4883 * misc/vhangup.c: Likewise.
4884 * misc/writev.c: Likewise.
4885 * posix/_exit.c: Likewise.
4886 * posix/alarm.c: Likewise.
4887 * posix/execve.c: Likewise.
4888 * posix/fexecve.c: Likewise.
4889 * posix/fork.c: Likewise.
4890 * posix/fpathconf.c: Likewise.
4891 * posix/getaddrinfo.c: Likewise.
4892 * posix/getegid.c: Likewise.
4893 * posix/geteuid.c: Likewise.
4894 * posix/getgid.c: Likewise.
4895 * posix/getgroups.c: Likewise.
4896 * posix/getlogin.c: Likewise.
4897 * posix/getlogin_r.c: Likewise.
4898 * posix/getpgid.c: Likewise.
4899 * posix/getpid.c: Likewise.
4900 * posix/getppid.c: Likewise.
4901 * posix/getresgid.c: Likewise.
4902 * posix/getresuid.c: Likewise.
4903 * posix/getsid.c: Likewise.
4904 * posix/getuid.c: Likewise.
4905 * posix/glob64.c: Likewise.
4906 * posix/nanosleep.c: Likewise.
4907 * posix/pathconf.c: Likewise.
4908 * posix/pause.c: Likewise.
4909 * posix/posix_madvise.c: Likewise.
4910 * posix/pread.c: Likewise.
4911 * posix/pread64.c: Likewise.
4912 * posix/pwrite.c: Likewise.
4913 * posix/pwrite64.c: Likewise.
4914 * posix/sched_getaffinity.c: Likewise.
4915 * posix/sched_getp.c: Likewise.
4916 * posix/sched_gets.c: Likewise.
4917 * posix/sched_primax.c: Likewise.
4918 * posix/sched_primin.c: Likewise.
4919 * posix/sched_rr_gi.c: Likewise.
4920 * posix/sched_setaffinity.c: Likewise.
4921 * posix/sched_setp.c: Likewise.
4922 * posix/sched_sets.c: Likewise.
4923 * posix/sched_yield.c: Likewise.
4924 * posix/setgid.c: Likewise.
4925 * posix/setlogin.c: Likewise.
4926 * posix/setpgid.c: Likewise.
4927 * posix/setresgid.c: Likewise.
4928 * posix/setresuid.c: Likewise.
4929 * posix/setsid.c: Likewise.
4930 * posix/setuid.c: Likewise.
4931 * posix/sleep.c: Likewise.
4932 * posix/spawni.c: Likewise.
4933 * posix/sysconf.c: Likewise.
4934 * posix/times.c: Likewise.
4935 * posix/wait.c: Likewise.
4936 * posix/wait3.c: Likewise.
4937 * posix/wait4.c: Likewise.
4938 * posix/waitpid.c: Likewise.
4939 * resolv/gai_sigqueue.c: Likewise.
4940 * resource/getpriority.c: Likewise.
4941 * resource/getrlimit.c: Likewise.
4942 * resource/getrusage.c: Likewise.
4943 * resource/nice.c: Likewise.
4944 * resource/setpriority.c: Likewise.
4945 * resource/setrlimit.c: Likewise.
4946 * resource/ulimit.c: Likewise.
4947 * rt/aio_cancel.c: Likewise.
4948 * rt/aio_fsync.c: Likewise.
4949 * rt/aio_read.c: Likewise.
4950 * rt/aio_sigqueue.c: Likewise.
4951 * rt/aio_suspend.c: Likewise.
4952 * rt/aio_write.c: Likewise.
4953 * rt/clock_getres.c: Likewise.
4954 * rt/clock_gettime.c: Likewise.
4955 * rt/clock_nanosleep.c: Likewise.
4956 * rt/clock_settime.c: Likewise.
4957 * rt/lio_listio.c: Likewise.
4958 * rt/mq_close.c: Likewise.
4959 * rt/mq_getattr.c: Likewise.
4960 * rt/mq_notify.c: Likewise.
4961 * rt/mq_open.c: Likewise.
4962 * rt/mq_receive.c: Likewise.
4963 * rt/mq_send.c: Likewise.
4964 * rt/mq_setattr.c: Likewise.
4965 * rt/mq_timedreceive.c: Likewise.
4966 * rt/mq_timedsend.c: Likewise.
4967 * rt/mq_unlink.c: Likewise.
4968 * rt/shm_open.c: Likewise.
4969 * rt/shm_unlink.c: Likewise.
4970 * rt/timer_create.c: Likewise.
4971 * rt/timer_delete.c: Likewise.
4972 * rt/timer_getoverr.c: Likewise.
4973 * rt/timer_gettime.c: Likewise.
4974 * rt/timer_settime.c: Likewise.
4975 * setjmp/__longjmp.c: Likewise.
4976 * setjmp/setjmp.c: Likewise.
4977 * signal/kill.c: Likewise.
4978 * signal/killpg.c: Likewise.
4979 * signal/raise.c: Likewise.
4980 * signal/sigaction.c: Likewise.
4981 * signal/sigaltstack.c: Likewise.
4982 * signal/sigblock.c: Likewise.
4983 * signal/sigignore.c: Likewise.
4984 * signal/sigintr.c: Likewise.
4985 * signal/signal.c: Likewise.
4986 * signal/sigpause.c: Likewise.
4987 * signal/sigpending.c: Likewise.
4988 * signal/sigqueue.c: Likewise.
4989 * signal/sigreturn.c: Likewise.
4990 * signal/sigset.c: Likewise.
4991 * signal/sigsetmask.c: Likewise.
4992 * signal/sigstack.c: Likewise.
4993 * signal/sigsuspend.c: Likewise.
4994 * signal/sigtimedwait.c: Likewise.
4995 * signal/sigvec.c: Likewise.
4996 * signal/sigwait.c: Likewise.
4997 * signal/sigwaitinfo.c: Likewise.
4998 * signal/sysv_signal.c: Likewise.
4999 * socket/accept.c: Likewise.
5000 * socket/accept4.c: Likewise.
5001 * socket/bind.c: Likewise.
5002 * socket/connect.c: Likewise.
5003 * socket/getpeername.c: Likewise.
5004 * socket/getsockname.c: Likewise.
5005 * socket/getsockopt.c: Likewise.
5006 * socket/isfdtype.c: Likewise.
5007 * socket/listen.c: Likewise.
5008 * socket/recv.c: Likewise.
5009 * socket/recvfrom.c: Likewise.
5010 * socket/recvmsg.c: Likewise.
5011 * socket/send.c: Likewise.
5012 * socket/sendmsg.c: Likewise.
5013 * socket/sendto.c: Likewise.
5014 * socket/setsockopt.c: Likewise.
5015 * socket/shutdown.c: Likewise.
5016 * socket/sockatmark.c: Likewise.
5017 * socket/socket.c: Likewise.
5018 * socket/socketpair.c: Likewise.
5019 * stdio-common/ctermid.c: Likewise.
5020 * stdio-common/cuserid.c: Likewise.
5021 * stdio-common/remove.c: Likewise.
5022 * stdio-common/rename.c: Likewise.
5023 * stdio-common/renameat.c: Likewise.
5024 * stdio-common/tempname.c: Likewise.
5025 * stdlib/getcontext.c: Likewise.
5026 * stdlib/makecontext.c: Likewise.
5027 * stdlib/setcontext.c: Likewise.
5028 * stdlib/swapcontext.c: Likewise.
5029 * stdlib/system.c: Likewise.
5030 * streams/fattach.c: Likewise.
5031 * streams/fdetach.c: Likewise.
5032 * streams/getmsg.c: Likewise.
5033 * streams/getpmsg.c: Likewise.
5034 * streams/putmsg.c: Likewise.
5035 * streams/putpmsg.c: Likewise.
5036 * sysdeps/unix/bsd/getpt.c: Likewise.
5037 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5038 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5039 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5042 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5043 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5044 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5045 * sysvipc/msgctl.c: Likewise.
5046 * sysvipc/msgget.c: Likewise.
5047 * sysvipc/msgrcv.c: Likewise.
5048 * sysvipc/msgsnd.c: Likewise.
5049 * sysvipc/semctl.c: Likewise.
5050 * sysvipc/semget.c: Likewise.
5051 * sysvipc/semop.c: Likewise.
5052 * sysvipc/semtimedop.c: Likewise.
5053 * sysvipc/shmat.c: Likewise.
5054 * sysvipc/shmctl.c: Likewise.
5055 * sysvipc/shmdt.c: Likewise.
5056 * sysvipc/shmget.c: Likewise.
5057 * termios/tcdrain.c: Likewise.
5058 * termios/tcflow.c: Likewise.
5059 * termios/tcflush.c: Likewise.
5060 * termios/tcgetattr.c: Likewise.
5061 * termios/tcgetpgrp.c: Likewise.
5062 * termios/tcsendbrk.c: Likewise.
5063 * termios/tcsetattr.c: Likewise.
5064 * termios/tcsetpgrp.c: Likewise.
5065 * time/adjtime.c: Likewise.
5066 * time/clock.c: Likewise.
5067 * time/getitimer.c: Likewise.
5068 * time/gettimeofday.c: Likewise.
5069 * time/setitimer.c: Likewise.
5070 * time/settimeofday.c: Likewise.
5071 * time/stime.c: Likewise.
5072 * time/time.c: Likewise.
5074 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5076 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5079 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5081 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5083 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5087 FE_TONEAREST before applying Dekker multiplication and Knuth
5088 addition. Clear inexact exceptions and check for exact zero
5090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5093 * math/libm-test.inc (fma_test): Add more tests.
5094 (fma_test_towardzero): Likewise.
5095 (fma_test_downward): Likewise.
5096 (fma_test_upward): Likewise.
5097 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5099 (libc_fesetround): New macro.
5100 (libc_fesetroundf): Likewise.
5101 (libc_fesetroundl): Likewise.
5102 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5104 (libc_fesetround_387): Likewise.
5105 (libc_fesetroundf): New macro.
5106 (libc_fesetround): Likewise.
5107 (libc_fesetroundl): Likewise.
5108 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5110 (libc_fesetroundf): New macro.
5111 (libc_fesetround): Likewise.
5112 (libc_fesetroundl): Likewise.
5113 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5114 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5115 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5117 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5118 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5120 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5121 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5123 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5127 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5128 integer constant usable in #if and use that to give value to enum
5130 (FE_DIVBYZERO): Likewise.
5131 (FE_UNDERFLOW): Likewise.
5132 (FE_OVERFLOW): Likewise.
5133 (FE_INVALID): Likewise.
5134 (FE_INVALID_SNAN): Likewise.
5135 (FE_INVALID_ISI): Likewise.
5136 (FE_INVALID_IDI): Likewise.
5137 (FE_INVALID_ZDZ): Likewise.
5138 (FE_INVALID_IMZ): Likewise.
5139 (FE_INVALID_COMPARE): Likewise.
5140 (FE_INVALID_SOFTWARE): Likewise.
5141 (FE_INVALID_SQRT): Likewise.
5142 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_TOWARDZERO): Likewise.
5145 (FE_UPWARD): Likewise.
5146 (FE_DOWNWARD): Likewise.
5147 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5148 (FE_DIVBYZERO): Likewise.
5149 (FE_OVERFLOW): Likewise.
5150 (FE_UNDERFLOW): Likewise.
5151 (FE_INEXACT): Likewise.
5152 (FE_TONEAREST): Likewise.
5153 (FE_DOWNWARD): Likewise.
5154 (FE_UPWARD): Likewise.
5155 (FE_TOWARDZERO): Likewise.
5156 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5157 (FE_UNDERFLOW): Likewise.
5158 (FE_OVERFLOW): Likewise.
5159 (FE_DIVBYZERO): Likewise.
5160 (FE_INVALID): Likewise.
5161 (FE_TONEAREST): Likewise.
5162 (FE_TOWARDZERO): Likewise.
5163 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5164 (FE_OVERFLOW): Likewise.
5165 (FE_UNDERFLOW): Likewise.
5166 (FE_DIVBYZERO): Likewise.
5167 (FE_INEXACT): Likewise.
5168 (FE_TONEAREST): Likewise.
5169 (FE_TOWARDZERO): Likewise.
5170 (FE_UPWARD): Likewise.
5171 (FE_DOWNWARD): Likewise.
5172 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5173 (FE_DIVBYZERO): Likewise.
5174 (FE_OVERFLOW): Likewise.
5175 (FE_UNDERFLOW): Likewise.
5176 (FE_INEXACT): Likewise.
5177 (FE_TONEAREST): Likewise.
5178 (FE_DOWNWARD): Likewise.
5179 (FE_UPWARD): Likewise.
5180 (FE_TOWARDZERO): Likewise.
5182 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5184 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5186 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5188 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5189 commands. Quote $PWD.
5190 (blacklist_exports): Don't use remove_newlines. Replace "declare
5192 (remove_newlines): Remove.
5194 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5196 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5197 * stdlib/stdlib.h (atof): Moved to ...
5198 * include/bits/stdlib-float.h: Here. New file.
5199 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5200 * stdlib/bits/stdlib-float.h: New file.
5201 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5206 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5208 * conform/conformtest.pl (@headers): Add fenv.h.
5209 * conform/data/fenv.h-data: New file.
5210 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5211 include of <math/fenv.h>.
5213 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5214 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5215 && !UNIX98]. Enables tests for XOPEN2K8.
5216 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5217 POSIX2008]: Likewise.
5219 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5220 (struct rusage): Do not expect type or its members.
5223 * math/math.h (FP_NAN): Define macro to integer constant usable in
5224 #if and use that to give value to enum constant.
5225 (FP_INFINITE): Likewise.
5226 (FP_ZERO): Likewise.
5227 (FP_SUBNORMAL): Likewise.
5228 (FP_NORMAL): Likewise.
5230 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5232 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5233 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5236 2012-11-02 Roland McGrath <roland@hack.frob.com>
5238 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5239 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5240 autoconf-time if not.
5241 * configure.in: Remove AC_PREREQ.
5243 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5245 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5246 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5247 of the internal implementation.
5249 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5251 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5252 except include of <misc/sys/syslog.h>.
5254 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5257 function returns with a NULL context exit with zero.
5259 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5261 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5263 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5265 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5266 (run_program_cmd): This.
5267 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5268 (tst_langinfo): New variable. Use it.
5270 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5272 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5273 floating point opcodes.
5275 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5277 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5280 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5282 * sysdeps/mach/hurd/powerpc: Remove directory.
5283 * sysdeps/mach/powerpc: Likewise.
5285 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5287 * scripts/check-local-headers.sh: Ignore c++ headers.
5289 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5291 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5292 __libc_cleanup_region_start argument.
5294 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5299 x * y using scaling, not as x * y + z.
5300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5302 * math/libm-test.inc (fma_test): Add more tests.
5303 (fma_test_towardzero): Likewise.
5304 (fma_test_downward): Likewise.
5305 (fma_test_upward): Likewise.
5307 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5309 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5311 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5313 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5316 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5318 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5320 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5327 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5330 Fix the order of the list for glibc 2.17.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5334 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5338 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5342 for low part of x being zero before using __atanl (y).
5343 * math/libm-test.inc (atan2_test): Add another test.
5345 * manual/install.texi (Configuring and compiling): Document
5346 general use of test-wrapper and test-wrapper-env.
5347 * INSTALL: Regenerated.
5349 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5350 (__fma): Do not extract and scale down low bits on after-rounding
5351 systems when result rounded to normal precision would have normal
5353 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5354 (__fmal): Do not extract and scale down low bits on after-rounding
5355 systems when result rounded to normal precision would have normal
5357 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5358 (__fmal): Do not extract and scale down low bits on after-rounding
5359 systems when result rounded to normal precision would have normal
5361 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5363 (fma_test): Add more tests.
5364 (fma_test_towardzero): Likewise.
5365 (fma_test_downward): Likewise.
5366 (fma_test_upward): Likewise.
5368 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5370 * sysdeps/i386/tininess.h: Renamed to ...
5371 * sysdeps/x86/tininess.h: This.
5372 * sysdeps/x86_64/tininess.h: Removed.
5374 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5376 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5377 input. Use $(build-program-cmd).
5378 ($(objpfx)tst-array1-static.out): Likewise.
5379 ($(objpfx)tst-array2.out): Likewise.
5380 ($(objpfx)tst-array3.out): Likewise.
5381 ($(objpfx)tst-array4.out): Likewise.
5382 ($(objpfx)tst-array5.out): Likewise.
5383 ($(objpfx)tst-array5-static.out): Likewise.
5385 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5387 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5390 * nss/nsswitch.h (nss_interface_function): Provide new
5391 macro for use with NSS functions.
5392 * grp/initgroups.c: Use new macro.
5393 * nss/getXXbyYY.c: Likewise.
5394 * nss/getXXbyYY_r.c: Likewise.
5395 * nss/getXXent.c: Likewise.
5396 * nss/getXXent_r.c: Likewise.
5397 * sysdeps/posix/getaddrinfo.c: Likewise.
5399 2012-10-30 Andreas Jaeger <aj@suse.de>
5401 * po/ru.po: Update Russion translation from translation project.
5403 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5408 result and shift together with sticky bit instead of replicating
5409 round-to-nearest rounding.
5410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5412 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5413 missing underflow exceptions.
5414 (fma_test_towardzero): Add more tests.
5415 (fma_test_downward): Likewise.
5416 (fma_test_upward): Likewise.
5419 * sysdeps/generic/tininess.h: New file.
5420 * sysdeps/i386/tininess.h: Likewise.
5421 * sysdeps/sh/tininess.h: Likewise.
5422 * sysdeps/x86_64/tininess.h: Likewise.
5423 * stdlib/tst-strtod-underflow.c: Likewise.
5424 * stdlib/tst-tininess.c: Likewise.
5425 * stdlib/strtod_l.c: Include <tininess.h>.
5426 (round_and_return): Do not set errno for exact underflow cases.
5427 Force an underflow exception when setting errno for underflow.
5428 Determine underflow based on rounding to normal precision if
5429 TININESS_AFTER_ROUNDING.
5430 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5431 ERANGE for exact underflow cases.
5432 * stdlib/Makefile (tests): Add tst-tininess and
5433 tst-strtod-underflow.
5434 ($(objpfx)tst-tininess): Use $(link-libm).
5435 ($(objpfx)tst-strtod-underflow): Likewise.
5437 2012-10-30 Andreas Jaeger <aj@suse.de>
5440 * elf/Makefile (tests): Remove conditional for have-initfini-array
5441 since this is now always required and the variable does not exist
5443 (tests-static): Likewise.
5444 (modules-names): Likewise.
5446 * po/eo.po: Add Esperanto translation from translation project.
5448 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5449 merged with constructor/destructor.
5450 (init_array): Likewise.
5451 * elf/tst-array2dep.c (fini_array): Likewise.
5452 (init_array): Likewise.
5454 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5456 * manual/message.texi: Delete @cartouche tags.
5458 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5460 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5462 * sysdeps/mach/hurd/fsync.c: Likewise.
5464 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5465 [_POSIX_REALTIME_SIGNALS]: Change condition to
5466 [_POSIX_REALTIME_SIGNALS > 0].
5468 2012-10-27 Andreas Jaeger <aj@suse.de>
5470 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5471 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5473 [__WORDSIZE != 64]: Likewise.
5475 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5477 * iconvdata/tst-table.sh: Remove ${SHELL}.
5478 * iconvdata/tst-tables.sh: Likewise.
5480 2012-10-25 David S. Miller <davem@davemloft.net>
5482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5483 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5489 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5490 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5493 2012-10-25 Roland McGrath <roland@hack.frob.com>
5495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5496 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5499 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5500 Jim Blandy <jimb@codesourcery.com>
5502 * scripts/cross-test-ssh.sh: New file.
5503 * manual/install.texi (Configuring and compiling): Document use of
5505 * INSTALL: Regenerated.
5507 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5509 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5512 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5514 * Makeconfig (run-program-prefix): Fix comment.
5516 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5517 Jim Blandy <jimb@codesourcery.com>
5519 * Makeconfig (test-wrapper): New variable,
5520 (test-wrapper-env): Likewise.
5521 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5522 (run-built-tests): Define to yes.
5523 (run-program-prefix): Use $(test-wrapper).
5524 (built-program-cmd): Likewise.
5525 * Rules (make-test-out): Use $(test-wrapper-env) and
5526 $(host-built-program-cmd).
5527 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5528 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5530 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5531 $(test-wrapper-env) to tst-rtld-load-self.sh.
5532 ($(objpfx)order2.out): Use $(test-wrapper).
5533 ($(objpfx)tst-initorder.out): Likewise.
5534 ($(objpfx)tst-initorder2.out): Likewise.
5535 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5536 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5537 (test_wrapper_env): New variable. Use it to run ld.so.
5538 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5539 Use it to run ld.so.
5540 (test_wrapper_env): Likewise.
5541 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5542 $(test-wrapper) to run-iconv-test.sh.
5543 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5544 (ICONV): Use $test_wrapper.
5545 * posix/Makefile ($(objpfx)globtest.out): Pass
5546 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5547 globtest.sh, not $(run-program-prefix).
5548 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5549 (test_wrapper): Likewise.
5550 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5551 set together with run_via_rtld_prefix.
5552 (run_program_prefix): Define in terms of test_wrapper and
5553 run_via_rtld_prefix.
5555 2012-10-24 Roland McGrath <roland@hack.frob.com>
5557 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5558 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5562 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5563 Declare __clock_getres, __clock_gettime, __clock_settime,
5564 __clock_nanosleep, and __clock_getcpuclockid.
5565 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5566 Remove librt_hidden_def (clock_gettime).
5567 * sysdeps/unix/clock_gettime.c: Likewise.
5568 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5570 * rt/clock_getres.c: Define __clock_getres as an alias.
5571 * sysdeps/posix/clock_getres.c: Likewise.
5572 * rt/clock_settime.c: Define __clock_settime as an alias.
5573 * sysdeps/unix/clock_settime.c: Likewise.
5574 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5575 * sysdeps/unix/clock_nanosleep.c: Likewise.
5576 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5577 * rt/clock-compat.c: New file.
5578 * rt/Makefile (librt-routines): Add clock-compat and move
5579 $(clock-routines) to ...
5580 (routines): ... here, new variable.
5581 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5582 Don't add get_clockfreq here.
5583 * rt/Versions (libc: GLIBC_2.17): New version set.
5584 Add clock_* symbols here.
5585 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5587 (GLIBC_2.17): Add clock_* symbols.
5588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5599 * NEWS: Mention the move.
5601 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5602 Use __open, __read, __close rather than their public counterparts.
5603 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5604 (__get_clockfreq_via_cpuinfo): Likewise.
5605 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5606 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5608 * config.h.in (HAVE_IFUNC): New #undef.
5609 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5611 * configure: Regenerated.
5613 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5615 * configure.in: Move READELF check to start of file.
5616 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5617 libc_cv_asm_gnu_indirect_function in the process.
5618 * configure: Regenerated.
5620 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5622 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5623 send the output to /dev/null.
5624 (libc_cv_cc_with_libunwind): Likewise.
5625 (libc_cv_as_noexecstack): Likewise.
5626 * configure: Regenerate.
5628 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5630 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5632 * posix/globtest.sh (TMPDIR): Do not set.
5633 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5634 (testout): Likewise.
5636 2012-10-24 Andreas Jaeger <aj@suse.de>
5638 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5639 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5640 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5641 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5642 posix_fadvise64, posix_fallocate64.
5644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5645 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5646 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5648 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5650 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5653 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5654 <bits/fcntl-linux.h>.
5655 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5658 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5659 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5660 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5661 [__WORDSIZE != 64]: Likewise.
5663 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5665 * Makeconfig (run-built-tests): New variable.
5666 * Rules [$(cross-compiling) = yes]: Change condition to
5667 [$(run-built-tests) = no].
5668 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5669 to [$(run-built-tests) = yes].
5670 * elf/Makefile [$(cross-compiling) = no]: Likewise
5671 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5672 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5673 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5674 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5675 * io/Makefile [$(cross-compiling) = no]: Likewise.
5676 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5677 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5678 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5679 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5680 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5681 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5682 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5683 * string/Makefile [$(cross-compiling) = no]: Likewise.
5685 * posix/Makefile ($(objpfx)globtest.out): Pass
5686 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5687 $(rtld-installed-name).
5688 * posix/globtest.sh (elf_objpfx): Remove variable.
5689 (rtld_installed_name): Likewise.
5690 (library_path): Likewise.
5691 (run_program_prefix): New variable. Use for running globtest
5694 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5695 Joseph Myers <joseph@codesourcery.com>
5697 * Makeconfig (host-built-program-cmd): New variable.
5698 * elf/Makefile (tst-stackguard1-ARGS): Use
5699 $(host-built-program-cmd).
5700 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5701 (tst-spawn-ARGS): Likewise.
5702 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5704 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5705 Jim Blandy <jimb@codesourcery.com>
5707 * Makeconfig (run-via-rtld-prefix): New variable.
5708 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5709 (built-program-cmd): Likewise.
5711 2012-10-22 Andreas Jaeger <aj@suse.de>
5713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5714 __O_RSYNC if it exists, otherwise to O_SYNC.
5716 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5717 Joseph Myers <joseph@codesourcery.com>
5719 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5721 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5723 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5726 2012-10-22 Andreas Jaeger <aj@suse.de>
5728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5736 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5743 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5744 Joseph Myers <joseph@codesourcery.com>
5746 * config.make.in (NM): New variable.
5748 2012-10-21 Andreas Jaeger <aj@suse.de>
5750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5751 definitions and declarations that are provided by
5752 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5754 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5757 * elf/Makefile (tests-static): Add tst-leaks1-static.
5758 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5759 ($(objpfx)tst-leaks1-static): New rule.
5760 ($(objpfx)tst-leaks1-static-mem): Likewise.
5761 (tst-leaks1-static-ENV): New macro.
5762 * elf/dl-open.c (dl_open_worker): Check the main application
5763 only if SHARED is defined.
5764 * elf/tst-leaks1-static.c: New file.
5766 2012-10-20 Andreas Jaeger <aj@suse.de>
5768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5769 generic values for Linux.
5770 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5771 and declarations that are provided by <bits/fcntl-linux.h> and
5772 include <bits/fcntl-linux.h>.
5773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5776 2012-10-20 Roland McGrath <roland@hack.frob.com>
5778 * io/fcntl.h: Move include of <bits/types.h> to the top and
5779 include it unconditionally.
5781 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5783 * wcsmbs/Makefile (tests-ifunc): New variable.
5784 (tests): Add $(tests-ifunc).
5785 * wcsmbs/test-wcschr-ifunc.c: New file.
5786 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5787 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5788 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5789 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5790 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5792 * string/Makefile (tests-ifunc): New variable.
5793 (tests): Add $(tests-ifunc).
5794 * string/test-memccpy.c (TEST_NAME): New macro.
5795 * string/test-memchr.c (TEST_NAME): Likewise.
5796 * string/test-memcmp.c (TEST_NAME): Likewise.
5797 * string/test-memcpy.c (TEST_NAME): Likewise.
5798 * string/test-memmem.c (TEST_NAME): Likewise.
5799 * string/test-memmove.c (TEST_NAME): Likewise.
5800 * string/test-memset.c (TEST_NAME): Likewise.
5801 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5802 * string/test-stpcpy.c (TEST_NAME): Likewise.
5803 * string/test-stpncpy.c (TEST_NAME): Likewise.
5804 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5805 * string/test-strcasestr.c (TEST_NAME): Likewise.
5806 * string/test-strcat.c (TEST_NAME): Likewise.
5807 * string/test-strchr.c (TEST_NAME): Likewise.
5808 * string/test-strcmp.c(TEST_NAME): Likewise.
5809 * string/test-strcpy.c (TEST_NAME): Likewise.
5810 * string/test-strcspn.c (TEST_NAME): Likewise.
5811 * string/test-strlen.c (TEST_NAME): Likewise.
5812 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5813 * string/test-strncmp.c (TEST_NAME): Likewise.
5814 * string/test-strncpy.c (TEST_NAME): Likewise.
5815 * string/test-strnlen.c (TEST_NAME): Likewise.
5816 * string/test-strpbrk.c (TEST_NAME): Likewise.
5817 * string/test-strrchr.c (TEST_NAME): Likewise.
5818 * string/test-strspn.c (TEST_NAME): Likewise.
5819 * string/test-strstr.c (TEST_NAME): Likewise.
5820 * string/test-bcopy-ifunc.c: New file.
5821 * string/test-bzero-ifunc.c: Likewise.
5822 * string/test-memccpy-ifunc.c: Likewise.
5823 * string/test-memchr-ifunc.c: Likewise.
5824 * string/test-memcmp-ifunc.c: Likewise.
5825 * string/test-memcpy-ifunc.c: Likewise.
5826 * string/test-memmem-ifunc.c: Likewise.
5827 * string/test-memmove-ifunc.c: Likewise.
5828 * string/test-mempcpy-ifunc.c: Likewise.
5829 * string/test-memset-ifunc.c: Likewise.
5830 * string/test-rawmemchr-ifunc.c: Likewise.
5831 * string/test-stpcpy-ifunc.c: Likewise.
5832 * string/test-stpncpy-ifunc.c: Likewise.
5833 * string/test-strcasecmp-ifunc.c: Likewise.
5834 * string/test-strcasestr-ifunc.c: Likewise.
5835 * string/test-strcat-ifunc.c: Likewise.
5836 * string/test-strchr-ifunc.c: Likewise.
5837 * string/test-strchrnul-ifunc.c: Likewise.
5838 * string/test-strcmp-ifunc.c: Likewise.
5839 * string/test-strcpy-ifunc.c: Likewise.
5840 * string/test-strcspn-ifunc.c: Likewise.
5841 * string/test-strlen-ifunc.c: Likewise.
5842 * string/test-strncasecmp-ifunc.c: Likewise.
5843 * string/test-strncat-ifunc.c: Likewise.
5844 * string/test-strncmp-ifunc.c: Likewise.
5845 * string/test-strncpy-ifunc.c: Likewise.
5846 * string/test-strnlen-ifunc.c: Likewise.
5847 * string/test-strpbrk-ifunc.c: Likewise.
5848 * string/test-strrchr-ifunc.c: Likewise.
5849 * string/test-strspn-ifunc.c: Likewise.
5850 * string/test-strstr-ifunc.c: Likewise.
5852 * debug/Makefile (tests-ifunc): New variable.
5853 (tests): Add $(tests-ifunc).
5854 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5855 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5856 * debug/test-stpcpy_chk-ifunc.c: New file.
5857 * debug/test-strcpy_chk-ifunc.c: Likewise.
5859 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5863 header is not read in.
5865 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5867 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5868 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5869 directly. Pass built executable to script as
5870 $(built-program-cmd).
5871 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5872 $testprogram without using LD_LIBRARY_PATH and $ldso.
5874 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5875 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5876 $(rtld-installed-name).
5877 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5878 (rtld_installed_name): Likewise.
5879 (library_path): Likewise.
5880 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5881 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5882 $(run-program-prefix) to tst-tables.sh.
5883 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5884 it to run tst-table-from and tst-table-to.
5885 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5886 Pass it to tst-table.sh.
5887 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5888 $(run-program-prefix) to tst-gettext.sh.
5889 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5891 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5893 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5895 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5896 to run tst-gettext2.
5897 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5898 to run tst-translit.
5899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5900 $(run-program-prefix) to tst-mtrace.sh.
5901 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5903 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5904 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5905 $(rtld-installed-name).
5906 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5907 (rtld_installed_name): Likewise.
5908 (run_program_prefix): New variable. Use it to run wordexp-test.
5910 * Makeconfig (ARCH): Remove all definitions.
5911 (machine): Likewise.
5912 [ARCH]: Remove conditional code.
5913 [!objdir]: Give error.
5914 [!objdir] (objpfx): Remove.
5915 [!objdir] (common-objpfx): Likewise.
5916 [!objdir] (common-objdir): Likewise.
5917 * configure.in (config_makefile): Remove. Hardcode Makefile in
5918 AC_CONFIG_FILES call.
5919 * configure: Regenerated.
5922 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5924 (testout): Likewise.
5926 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5927 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5928 $(rtld-installed-name).
5929 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5930 (rtld_installed_name): Likwise.
5931 (runit): Remove function.
5932 (run_getconf): New variable, Use it for running getconf binary.
5934 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5937 * string/test-memmem.c (check_result): New function.
5938 (do_one_test): Use it.
5939 (check1): New function.
5940 (test_main): Use it.
5942 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5944 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5946 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5948 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5949 (_G_LSEEK64): Likewise.
5950 (_G_MMAP64): Likewise.
5951 (_G_FSTAT64): Likewise.
5952 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5953 (_G_LSEEK64): Likewise.
5954 (_G_MMAP64): Likewise.
5955 (_G_FSTAT64): Likewise.
5956 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5957 unconditional. Call __mmap64 directly.
5958 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5959 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5961 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5962 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5964 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5965 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5967 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5968 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5970 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5971 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5973 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5974 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5975 __fxstat64 directly.
5976 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5977 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5979 (freopen64) [!_G_OPEN64]: Remove conditional code.
5980 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5982 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5983 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5985 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5986 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5988 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5989 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5991 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5992 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5994 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5995 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5997 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5998 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6000 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6002 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6005 * manual/memory.texi (Malloc Tunable Parameters): Add note
6006 about free list pointers overwriting some perturb bytes.
6007 Wording suggested by Roland McGrath.
6009 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6011 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6012 (lgamma_test): Likewise.
6013 (tgamma_test): Likewise.
6015 2012-10-16 Florian Weimer <fweimer@redhat.com>
6018 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6019 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6021 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6023 * NEWS: Mention BZ #14716.
6024 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6025 when removing AVAILABLE1_USES_J macro.
6027 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6029 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6030 (__bswap_64): __uint64_t for unsigned 64-bit int.
6032 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6034 * include/string.h (memmem): Declare libc hidden alias.
6035 * string/memmem.c (memmem): Define libc hidden alias.
6036 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6037 __read, __close instead of open, read, close.
6039 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6041 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6042 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6044 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6045 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6046 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6048 (__rawmemchr_sse2): Likewise.
6049 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6050 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6051 (__strchr_sse2): Likewise.
6052 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6053 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6054 (__strcasecmp_sse2): Likewise.
6055 (__strncasecmp_sse2): Likewise.
6056 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6057 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6058 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6059 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6060 (__strrchr_sse2): Likewise.
6061 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6063 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6064 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6065 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6066 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6067 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6069 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6070 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6071 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6072 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6073 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6075 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6076 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6077 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6078 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6079 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6080 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6081 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6082 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6083 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6084 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6085 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6086 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6087 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6089 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6090 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6091 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6092 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6096 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6097 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6098 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6099 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6101 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6103 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6104 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6105 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6106 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6108 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6126 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6140 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6141 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6142 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6143 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6144 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6145 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6150 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6151 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6152 * include/ifunc-impl-list.h: New file.
6153 * misc/ifunc-impl-list.c: Likewise.
6154 * misc/Makefile (routines): Add ifunc-impl-list.
6155 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6156 * string/test-string.h: Include <ifunc-impl-list.h>.
6157 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6158 impl_array): New variables.
6159 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6161 (test_init): Call __libc_ifunc_impl_list to initialize
6162 func_list if TEST_IFUNC and TEST_NAME are defined.
6164 * string/Makefile (strop-tests): Add bcopy and bzero.
6165 * string/test-bcopy.c: New file.
6166 * string/test-bzero.c: Likewise.
6167 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6169 * string/test-memset.c: Support bzero test if TEST_BZERO is
6171 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6173 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6175 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6178 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6180 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6181 * configure: Regenerated.
6183 * Makeconfig (+link-static-before-libc): Don't include
6184 $(link-static-libc).
6186 * libio/libio.h (_IO_pos_t): Remove.
6188 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6190 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6193 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6195 * crypt/crypt-entry.c: Include fips-private.h.
6196 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6197 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6198 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6199 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6201 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6203 * crypt/crypt-private.h: Include stdbool.h.
6204 (_ufc_setup_salt_r): Return bool.
6205 * crypt/crypt-entry.c: Include errno.h.
6206 (__crypt_r): Return NULL with EINVAL for bad salt.
6207 * crypt/crypt_util.c (bad_for_salt): New.
6208 (_ufc_setup_salt_r): Check that salt is long enough and within
6209 the specified alphabet.
6210 * crypt/badsalttest.c: New file.
6211 * crypt/Makefile (tests): Add it.
6212 ($(objpfx)badsalttest): New.
6214 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6216 * NEWS: Add entry for BZ #14602.
6218 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6220 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6222 * math/libm-test.inc: Update comment listing what functions and
6224 (isgreater_test): New function.
6225 (isgreaterequal_test): Likewise.
6226 (isless_test): Likewise.
6227 (islessequal_test): Likewise.
6228 (islessgreater_test): Likewise.
6229 (isunordered_test): Likewise.
6230 (main): Call the new functions.
6232 2012-10-09 Roland McGrath <roland@hack.frob.com>
6234 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6235 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6236 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6237 * sysdeps/i386/configure: Regenerated.
6238 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6239 * sysdeps/mach/configure: Regenerated.
6240 * sysdeps/mach/hurd/configure: Regenerated.
6241 * sysdeps/powerpc/configure: Regenerated.
6242 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6243 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6244 * sysdeps/s390/s390-32/configure: Regenerated.
6245 * sysdeps/s390/s390-64/configure: Regenerated.
6246 * sysdeps/sh/configure: Regenerated.
6247 * sysdeps/sparc/configure: Regenerated.
6248 * sysdeps/unix/sysv/linux/configure: Regenerated.
6249 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6250 * sysdeps/x86_64/configure: Regenerated.
6252 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6253 defined. Don't check if MAP is NULL.
6255 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6257 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6258 (_G_stat64): Likewise.
6259 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6260 (_G_stat64): Likewise.
6261 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6262 instead of struct _G_stat64.
6263 * libio/fileops.c (mmap_remap_check): Likewise.
6264 (decide_maybe_mmap): Likewise.
6265 (_IO_new_file_seekoff): Likewise.
6266 (_IO_file_stat): Likewise.
6267 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6269 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6270 instead of struct _G_stat64.
6271 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6273 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6276 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6278 (CHECK_EOL): New macro.
6279 (two_way_short_needle): Check beginning of haystack for EOL. Use
6281 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6282 Replace with CHECK_EOL.
6283 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6284 Replace with CHECK_EOL.
6286 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6288 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6290 * math/libm-test.inc: Update comment listing what functions and
6292 (finite_test): New function.
6293 (isinf_test): Likewise.
6294 (isnan_test): Likewise.
6295 (fpclassify_test): Test subnormal input.
6296 (isfinite_test): Likewise.
6297 (isnormal_test): Likewise.
6298 (main): Call the new functions.
6300 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6303 * Makerules (%.dynsym): Force C locale when running
6304 $(OBJDUMP) --dynamic-syms.
6306 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6308 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6311 2012-10-06 David S. Miller <davem@davemloft.net>
6313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6314 upper 32-bits of the length value in %o2 since we use branch-on-register
6315 tests which consider the entire 64-bit register.
6317 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6319 * string/test-strstr.c (check2): Add a test for page boundary.
6321 2012-10-05 David S. Miller <davem@davemloft.net>
6323 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6324 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6326 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6328 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6329 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6330 and bzero when HWCAP_SPARC_CRYPTO is present.
6332 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6335 * string/test-strstr.c (check2): New function.
6336 (test_main): Call check2.
6338 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6340 * string/bug-strcasestr1.c (do_test): Moved to ...
6341 * string/test-strcasestr.c (check1): Here. New function.
6342 (do_one_test): Break out result checking code into ...
6343 (check_result): This. New function.
6344 (do_one_test): Call check_result.
6345 (test_main): Call check1.
6346 * string/bug-strchr1.c (do_test): Moved to ...
6347 * string/test-strchr.c (check1): Here. New function.
6348 (do_one_test): Break out result checking code into ...
6349 (check_result): This. New function.
6350 (do_one_test): Call check_result.
6351 (test_main): Call check1.
6352 * string/bug-strstr1.c (main): Moved to ...
6353 * string/test-strstr.c (check1): Here. New function.
6354 (do_one_test): Break out result checking code into ...
6355 (check_result): This. New function.
6356 (do_one_test): Call check_result.
6357 (test_main): Call check1.
6358 * string/bug-strcasestr1.c: Removed.
6359 * string/bug-strchr1.c: Likewise.
6360 * string/bug-strstr1.c: Likewise.
6362 * elf/Makefile (dl-routines): Add hwcaps.
6363 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6364 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6365 (_dl_important_hwcaps): Moved to ...
6366 * elf/dl-hwcaps.c: Here. New file.
6367 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6370 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6371 if IS_IN_rtld isn't defined.
6373 * elf/dl-support.c (_dl_sysinfo_map): New.
6374 Include "get-dynamic-info.h" and "setup-vdso.h".
6375 (_dl_non_dynamic_init): Call setup_vdso.
6376 * elf/dynamic-link.h: Don't include <assert.h>.
6377 (elf_get_dynamic_info): Moved to ...
6378 * elf/get-dynamic-info.h: Here. New file.
6379 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6380 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6381 * elf/setup-vdso.h: Here. New file.
6382 * elf/rtld.c: Include "setup-vdso.h".
6383 (dl_main): Call setup_vdso.
6385 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6387 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6388 creal in comment listing functions tested. List finite, isinf,
6389 isnan, isless, islessequal, isgreater, isgreaterequal,
6390 islessgreater, isunordered, lgamma_r and pow10 as functions and
6391 macros not tested. Mention which functions not tested are aliases
6392 for other functions. Fix typo. Note that signs of NaNs are not
6395 * scripts/config.guess: Update from config.git.
6396 * scripts/config.sub: Likewise.
6398 2012-10-04 Roland McGrath <roland@hack.frob.com>
6400 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6401 * misc/madvise.c (madvise): Renamed to __madvise.
6402 Make madvise a weak alias.
6403 * include/sys/mman.h: Declare __madvise.
6404 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6405 * sysdeps/unix/syscalls.list
6406 (madvise): Make __madvise the strong name, and madvise a weak alias.
6407 * sysdeps/unix/sysv/linux/syscalls.list
6408 (madvise, mmap): Remove redundant entries.
6409 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6410 * malloc/malloc.c (mtrim): Likewise.
6411 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6413 2012-10-03 Roland McGrath <roland@hack.frob.com>
6415 * sysdeps/mach/hurd/dl-cache.c: File removed.
6416 * config.h.in (USE_LDCONFIG): New #undef.
6417 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6418 * configure: Regenerated.
6419 * elf/Makefile (dl-routines): Add dl-cache only under
6420 [$(use-ldconfig) = yes].
6421 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6422 cache on [USE_LDCONFIG].
6423 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6425 * elf/rtld.c (dl_main): Likewise.
6427 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6429 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6430 _SC_LEVEL4_CACHE_LINESIZE.
6432 2012-10-03 Roland McGrath <roland@hack.frob.com>
6434 * sysdeps/unix/bsd/confstr.h: File removed.
6436 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6438 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6441 2012-10-02 Roland McGrath <roland@hack.frob.com>
6443 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6444 Make 'mapoff' field ElfW(Off) rather than off_t.
6446 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6448 * nscd/Makefile: Remove nscd-cflags and all its users.
6449 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6450 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6453 * malloc.c (malloc_printerr): Clarify error message.
6455 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6459 Set bit_FMA_Usable if FMA is supported.
6460 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6462 (bit_FMA4_Usable): Updated.
6463 (index_FMA_Usable): New macro.
6464 (CPUID_FMA): Likewise
6465 (HAS_FMA): Defined with bit_FMA_Usable.
6467 2012-10-01 Roland McGrath <roland@hack.frob.com>
6469 * bits/types.h (__swblk_t): Type removed.
6470 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6471 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6472 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6473 (__SWBLK_T_TYPE): Likewise.
6474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6475 (__SWBLK_T_TYPE): Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6477 (__SWBLK_T_TYPE): Likewise.
6478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6479 (__SWBLK_T_TYPE): Likewise.
6481 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6482 Honza Horak <hhorak@redhat.com>
6484 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6485 (xdr_mapname): Use YPMAXMAP as maxsize.
6486 (xdr_peername): Use YPMAXPEER as maxsize.
6487 (xdr_keydat): Use YPAXRECORD as maxsize.
6488 (xdr_valdat): Use YPMAXRECORD as maxsize.
6490 2012-10-01 Roland McGrath <roland@hack.frob.com>
6492 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6494 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6495 * csu/init-first.c: ... here.
6496 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6497 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6500 * sysdeps/i386/init-first.c: File removed.
6501 * sysdeps/sh/init-first.c: File removed.
6503 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6507 if x * y might underflow to zero and z is zero.
6508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6510 * math/libm-test.inc (min_subnorm_value): New variable.
6511 (fma_test): Add more tests.
6512 (fma_test_towardzero): Likewise.
6513 (fma_test_downward): Likewise
6514 (fma_test_upward): Likewise.
6515 (initialize): Set min_subnorm_value.
6517 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6523 mode for addition resulting in exact zero.
6524 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6527 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6529 * math/libm-test.inc (fma_test): Add more tests.
6530 (fma_test_towardzero): New function.
6531 (fma_test_downward): Likewise.
6532 (fma_test_upward): Likewise.
6533 (main): Call the new functions.
6535 2012-09-28 David S. Miller <davem@davemloft.net>
6537 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6539 2012-09-28 Roland McGrath <roland@hack.frob.com>
6541 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6544 * sysdeps/gnu/_G_config.h: Moved to ...
6545 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6546 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6547 * sysdeps/generic/_G_config.h: ... here.
6549 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6551 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6553 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6554 Conditionalize target on [libnss_test1.so-version].
6556 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6558 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6559 (elfobjdir): Move out of conditionals.
6561 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6562 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6563 (__nss_lookup_function): Conditionalize label remove_from_tree on
6564 [!DO_STATIC_NSS || SHARED], matching its only use.
6566 2012-09-28 David S. Miller <davem@davemloft.net>
6568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6571 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6575 when HWCAP_SPARC_CRYPTO is present.
6577 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6579 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6581 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6584 * stdio-common/vfprintf.c (process_string_arg): Revert
6587 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6589 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6591 * stdio-common/tst-sprintf.c: Include <locale.h>
6592 (main): Test sprintf's handling of incomplete multibyte
6595 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6597 * elf/dl-runtime.c (VERSYMIDX): Removed.
6598 * elf/dl-version.c (VERSYMIDX): Likewise.
6599 * elf/do-rel.h (VERSYMIDX): Likewise.
6601 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6602 * elf/rtld.c (VALIDX): Likewise.
6603 (ADDRIDX): Likewise.
6604 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6605 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6606 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6607 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6609 (ADDRIDX): Likewise.
6611 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6613 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6615 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6618 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6620 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6621 addresses are in the same scope as 192.0.2/24.
6622 * posix/gai.conf: Document new scope table defaults.
6624 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6628 for ftell. Compute offsets from write pointers instead.
6629 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6631 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6634 * libio/Makefile (tests): New test case tst-fseek.
6635 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6636 combination works in wide mode.
6637 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6638 state when the external buffer state changes.
6640 2012-09-27 David S. Miller <davem@davemloft.net>
6643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6644 pass reloc->r_addend in as the 'high' argument to
6645 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6649 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6651 * rt/tst-aio2.c: Include <pthread.h>.
6652 * rt/tst-aio3.c: Likewise.
6654 2012-09-27 Steve Ellcey <sellcey@mips.com>
6656 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6658 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6660 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6661 contents on [SHARED].
6663 2012-09-26 Marek Polacek <polacek@redhat.com>
6667 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6668 for C++ and GCC <4.3 as well as for non GCC compilers.
6670 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6674 2012-09-25 Roland McGrath <roland@hack.frob.com>
6676 * Makefile.in (all, install): Declare with .PHONY.
6677 Reported by Michael Hope <michael.hope@linaro.org>.
6679 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6681 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6682 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6684 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6686 (sydep_routines): Add the new and the internal functions.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6690 (GLIBC_2.17): Add the new function.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6692 (GLIBC_2.17): Likewise.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6694 (GLIBC_2.17): Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6696 (GLIBC_2.17): Likewise.
6697 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6699 2012-09-25 Alan Modra <amodra@gmail.com>
6701 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6702 Add release barrier before setting once_control to say
6703 initialisation is done. Add hints on lwarx. Use macro in
6705 (clear_once_control): Add release barrier.
6707 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6710 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6712 * math/s_clog10.c (__clog10): Likewise.
6713 * math/s_clog10f.c (__clog10f): Likewise.
6714 * math/s_clog10l.c (__clog10l): Likewise.
6715 * math/s_clogf.c (__clogf): Likewise.
6716 * math/s_clogl.c (__clogl): Likewise.
6717 * math/Makefile (libm-calls): Add x2y2m1.
6718 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6719 (__x2y2m1): Likewise.
6720 (__x2y2m1l): Likewise.
6721 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6722 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6727 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6732 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6733 int as type of variable DEPTH.
6734 (glob): Use size_t instead of int as type of variables NEWCOUNT
6737 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6739 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6741 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6742 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6743 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6744 macros for using routine as __sincosf_ia32.
6745 Use macro for function declaration and weak_alias.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6748 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6751 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6753 * math/s_cexpf.c (__cexpf): Likewise.
6754 * math/s_csinf.c (__csinf): Likewise.
6755 * math/s_csinhf.c (__csinhf): Likewise.
6756 * math/s_ctanf.c (__ctanf): Likewise.
6757 * math/s_ctanhf.c (__ctanhf): Likewise.
6758 * math/s_ccosh.c (__ccoshf): Likewise.
6759 * math/s_cexp.c (__cexpl): Likewise.
6760 * math/s_csin.c (__csin): Likewise.
6761 * math/s_csinh.c (__csinh): Likewise.
6762 * math/s_ctan.c (__ctan): Likewise.
6763 * math/s_ctanh.c (ctanh): Likewise.
6764 * math/s_ccoshl.c (__ccoshl): Likewise.
6765 * math/s_cexpl.c (__cexpl): Likewise.
6766 * math/s_csinl.c (__csinl): Likewise.
6767 * math/s_csinhl.c (__csinhl): Likewise.
6768 * math/s_ctanl.c (__ctanl): Likewise.
6769 * math/s_ctanhl.c (__ctanhl): Likewise.
6771 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6773 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6774 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6775 (_IO_off_t): Define to __off_t, not _G_off_t.
6776 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6777 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6778 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6779 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6780 type of __dummy and __dummy2 fields.
6781 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6782 (_G_ssize_t): Likewise.
6783 (_G_off_t): Likewise.
6784 (_G_pid_t): Likewise.
6785 (_G_uid_t): Likewise.
6786 (_G_wchar_t): Likewise.
6787 (_G_wint_t): Likewise.
6788 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6789 (_G_ssize_t): Likewise.
6790 (_G_off_t): Likewise.
6791 (_G_pid_t): Likewise.
6792 (_G_uid_t): Likewise.
6793 (_G_wchar_t): Likewise.
6794 (_G_wint_t): Likewise.
6795 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6796 (_G_ssize_t): Likewise.
6797 (_G_off_t): Likewise.
6798 (_G_pid_t): Likewise.
6799 (_G_uid_t): Likewise.
6800 (_G_wchar_t): Likewise.
6801 (_G_wint_t): Likewise.
6803 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6805 * malloc/arena.c: Include malloc-sysdep.h.
6806 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6807 is sufficient to shrink the heap or an unmap is needed.
6808 * sysdeps/generic/malloc-sysdep.h: New file. Define
6809 new function check_may_shrink_heap.
6810 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6811 new function check_may_shrink_heap.
6813 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6815 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6818 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6820 * catgets/test-gencat.sh: Add "set -e".
6821 * elf/tst-pathopt.sh: Likewise.
6822 * grp/tst_fgetgrent.sh: Likewise.
6823 * iconvdata/run-iconv-test.sh: Likewise.
6824 * intl/tst-gettext.sh: Likewise.
6825 * intl/tst-gettext2.sh: Likewise.
6826 * intl/tst-gettext4.sh: Likewise.
6827 * intl/tst-gettext6.sh: Likewise.
6828 * intl/tst-translit.sh: Likewise.
6829 * io/ftwtest-sh: Likewise.
6830 * libio/test-freopen.sh: Likewise.
6831 * malloc/tst-mtrace.sh: Likewise.
6832 * posix/globtest.sh: Likewise.
6833 * posix/tst-getconf.sh: Likewise.
6834 * posix/wordexp-tst.sh: Likewise.
6835 * stdio-common/tst-printf.sh: Likewise.
6836 * stdio-common/tst-unbputc.sh: Likewise.
6837 * stdlib/tst-fmtmsg.sh: Likewise.
6838 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6839 * catgets/Makefile: Do not specify -e option when running
6840 testsuite shell scripts.
6841 * elf/Makefile: Likewise.
6842 * grp/Makefile: Likewise.
6843 * iconvdata/Makefile: Likewise.
6844 * intl/Makefile: Likewise.
6845 * io/Makefile: Likewise.
6846 * libio/Makefile: Likewise.
6847 * malloc/Makefile: Likewise.
6848 * posix/Makefile: Likewise.
6849 * stdio-common/Makefile: Likewise.
6850 * stdlib/Makefile: Likewise.
6851 * sysdeps/x86_64/Makefile: Likewise.
6853 * io/ftwtest-sh: Add copyright header.
6854 * posix/globtest.sh: Likewise.
6855 * posix/tst-getconf.sh: Likewise.
6856 * posix/wordexp-tst.sh: Likewise.
6857 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6859 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6862 * Makeconfig (+link): Defined as $(+link-static) if
6863 $(build-shared) isn't yes.
6864 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6866 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6868 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6871 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6872 new chunk size with MALLOC_ALIGN_MASK.
6874 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6877 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6879 (__printf_fphex): Determine rounding using get_rounding_mode and
6881 * stdio-common/tst-printf-round.c (struct hex_test): New
6883 (hex_tests): New variable.
6884 (test_hex_in_one_mode): New function.
6885 (do_test): Also run tests for hex float output.
6887 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6889 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6890 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6891 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6892 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6893 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6894 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6895 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6898 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6900 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6901 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6902 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6903 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6905 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6908 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6910 * elf/tst-rtld-load-self.sh: New test.
6911 * elf/Makefile: Run it.
6913 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6916 (tst-writev-ENV): Remove.
6917 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6919 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6921 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6923 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6925 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6927 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6929 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6930 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6934 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6937 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6938 * config.make.in (have-cpp-asm-debuginfo): Removed.
6939 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6940 * configure: Regenerated.
6942 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6945 * stdio-common/printf_fp.c: Include <stdbool.h> and
6947 (___printf_fp): Determine rounding using get_rounding_mode and
6949 * stdio-common/tst-printf-round.c: New file.
6950 * stdio-common/Makefile (tests): Add tst-printf-round.
6951 (link-libm): New variable.
6952 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6954 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6957 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6958 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6960 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6963 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6965 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6966 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6967 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6968 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6970 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6973 * include/rounding-mode.h: New file.
6974 * sysdeps/generic/get-rounding-mode.h: Likewise.
6975 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6976 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6977 (MAX_VALUE): New macro.
6978 (MIN_VALUE): Likewise.
6979 (overflow_value): New function.
6980 (underflow_value): Likewise.
6981 (round_and_return): Use overflow_value and underflow_value to
6982 determine return values in overflow and underflow cases. Use
6983 round_away to determine rounding depending on rounding mode.
6984 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6985 determine return values in overflow and underflow cases.
6986 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6987 (struct test_results): New structure.
6988 (struct test): Use struct test_results to store expected results
6989 for all rounding modes.
6990 (TEST): Include expected results for all rounding modes.
6991 (test_in_one_mode): New function.
6992 (do_test): Use test_in_one_mode to compute and check results.
6993 Check results for all rounding modes.
6994 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6997 2012-12-09 Allan McRae <allan@archlinux.org>
6999 * sysdeps/i386/fpu/libm-test-ulps: Update
7001 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7003 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7004 (_G_int32_t): Likewise.
7005 (_G_uint16_t): Likewise.
7006 (_G_uint32_t): Likewise.
7007 (_G_HAVE_BOOL): Likewise.
7008 (_G_HAVE_ATEXIT): Likewise.
7009 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7010 (_G_HAVE_IO_FILE_OPEN): Likewise.
7011 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7012 (_G_int32_t): Likewise.
7013 (_G_uint16_t): Likewise.
7014 (_G_uint32_t): Likewise.
7015 (_G_HAVE_BOOL): Likewise.
7016 (_G_HAVE_ATEXIT): Likewise.
7017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7018 (_G_HAVE_IO_FILE_OPEN): Likewise.
7019 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7020 (_G_int32_t): Likewise.
7021 (_G_uint16_t): Likewise.
7022 (_G_uint32_t): Likewise.
7023 (_G_HAVE_BOOL): Likewise.
7024 (_G_HAVE_ATEXIT): Likewise.
7025 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7026 (_G_HAVE_IO_FILE_OPEN): Likewise.
7028 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7030 * csu/libc-tls.c: Update copyright years.
7032 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7034 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7035 [!_G_USING_THUNKS]: Remove conditional code.
7036 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7037 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7039 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7040 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7041 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7042 (_G_VTABLE_LABEL_PREFIX): Likewise.
7043 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7044 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7045 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7046 (_G_VTABLE_LABEL_PREFIX): Likewise.
7047 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7048 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7049 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7050 (_G_VTABLE_LABEL_PREFIX): Likewise.
7051 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7053 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7055 * libio/Makefile: Include ../Makeconfig before tests.
7056 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7057 only if $(build-shared) is yes.
7059 * iconv/gconv_db.c: Update copyright years.
7061 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7063 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7064 unwind info if defined PIC. Fix special cases description.
7065 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7067 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7069 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7071 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7073 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7075 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7078 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7079 (LDLIBS-tst-chk4): This.
7080 (LDFLAGS-tst-chk5): Renamed to ...
7081 (LDLIBS-tst-chk5): This.
7082 (LDFLAGS-tst-chk6): Renamed to ...
7083 (LDLIBS-tst-chk6): This.
7084 (LDFLAGS-tst-lfschk4): Renamed to ...
7085 (LDLIBS-tst-lfschk4): This.
7086 (LDFLAGS-tst-lfschk5): Renamed to ...
7087 (LDLIBS-tst-lfschk5): This.
7088 (LDFLAGS-tst-lfschk6): Renamed to ...
7089 (LDLIBS-tst-lfschk6): This.
7091 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7092 on $(common-objpfx)soversions.mk.
7094 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7097 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7100 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7102 * malloc/arena.c (arena_get_retry): New function that gets
7103 another arena for the caller to try its request on.
7104 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7105 current arena cannot fulfill the request.
7106 (__libc_memalign): Likewise.
7107 (__libc_memalign): Likewise.
7108 (__libc_pvalloc): Likewise.
7109 (__libc_calloc): Likewise.
7111 2012-09-05 John Tobey <john.tobey@gmail.com>
7114 * manual/arith.texi (Operations on Complex): Fix description
7117 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7120 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7124 * manual/memory.texi (Memory): Make order of menu items match
7127 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7129 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7130 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7131 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7133 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7135 * csu/libc-tls.c (static_dtv): Renamed to ...
7136 (_dl_static_dtv): This. Make it global.
7137 (_dl_initial_dtv): Removed.
7138 (__libc_setup_tls): Updated.
7139 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7140 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7143 2012-09-06 Petr Machata <pmachata@redhat.com>
7145 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7146 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7147 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7148 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7150 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7153 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7154 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7157 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7160 * Makeconfig (link-static-before-libc): Replace $(+prector)
7162 (link-static-after-libc): Replace $(+postctor) with
7164 (link-bounded): Replace $(+prector)/$(+postctor) with
7165 $(+prectorT)/$(+postctorT).
7166 (+prectorT): New macro.
7167 (+postctorT): Likewise.
7169 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7171 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7172 (round_str): Handle values above the maximum for IBM long double
7174 * stdlib/tst-strtod-round.c (tests): Regenerated.
7176 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7178 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7180 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7181 zarch_nohighgprs around the zarch optimized routines.
7182 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7183 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7187 2012-09-05 David S. Miller <davem@davemloft.net>
7189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7191 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7192 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7193 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7194 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7199 * malloc/arena.c: Fold copyright years.
7200 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7202 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7204 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7206 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7208 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7210 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7213 change internal state upon failure.
7215 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7217 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7218 * malloc/memusage.c (mmap): Likewise.
7219 (mmap64, mremap): Likewise. Adjust name in comment.
7221 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7223 * libio/fileops.c: Fix typos in comments.
7224 * libio/oldfileops.c: Likewise.
7225 * libio/wfileops.c: Likewise.
7227 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7230 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7231 (tst-malloc-usable-ENV): Set environment for test case.
7232 * malloc/hooks.c (malloc_check_get_size): New function to get
7234 * malloc/malloc.c (musable): Use malloc_check_get_size.
7235 * malloc/tst-malloc-usable.c: New test case.
7237 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7239 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7241 2012-09-05 Allan McRae <allan@archlinux.org>
7244 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7245 determine header location.
7246 * configure: Regenerated.
7248 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7250 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7252 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7253 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7257 2012-09-04 David S. Miller <davem@davemloft.net>
7259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7263 2012-09-04 Florian Weimer <fweimer@redhat.com>
7265 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7268 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7270 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7273 * libio/iogetdelim.c: Include <limits.h>.
7274 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7275 + len + 1 would overflow.
7277 2012-09-03 Andreas Jaeger <aj@suse.de>
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7282 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7284 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7285 Add s_sinf-sse2, s_conf-sse2.
7287 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7288 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7289 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7290 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7292 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7293 for using routine as __sinf_ia32.
7294 Use macro for function declaration and weak_alias.
7295 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7296 for using routine as __cosf_ia32.
7297 Use macro for function declaration and weak_alias.
7299 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7300 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7302 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7303 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7306 * math/libm-test.inc (cos_test): Add more test cases.
7307 (sin_test): Likewise.
7308 (sincos_test): Likewise.
7310 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7313 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7317 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7320 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7321 first element of the GOT.
7322 (elf_machine_load_address): Return the difference between
7323 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7325 2012-09-01 Allan McRae <allan@archlinux.org>
7328 * configure.in (AWK): Require gawk version 3.0 or later.
7329 * configure: Regenerated.
7331 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7333 * sysdeps/unix/sysv/linux/kernel-features.h
7334 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7336 [__NR_clock_getres]: Make code unconditional.
7337 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7338 (clock_getcpuclockid): Remove code left unreachable by removal of
7340 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7342 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7344 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7345 Make code unconditional.
7346 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7347 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7348 * sysdeps/unix/sysv/linux/clock_settime.c
7349 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7351 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7354 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7357 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7358 scripts/test-installation.pl.
7360 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7361 and $ld_so_version if it is set.
7363 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7367 failure if reading from procfs failed.
7368 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7370 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7372 * sysdeps/unix/sysv/linux/kernel-features.h
7373 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7374 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7375 Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7378 Remove conditional code.
7379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/i386/fxstat.c
7381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7383 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7386 * sysdeps/unix/sysv/linux/i386/lxstat.c
7387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7389 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7390 Remove conditional code.
7391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7392 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7393 Remove conditional code.
7394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7395 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7396 <kernel-features.h>.
7397 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7399 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7400 Remove conditional code.
7401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7402 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7405 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7408 * NEWS: Add fixed bug number.
7410 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7413 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7414 underflowing exponent in case of negative sign.
7415 * stdlib/tst-strtod-round-data: Add more tests.
7416 * stdlib/tst-strtod-round.c (tests): Regenerated.
7419 * stdlib/strtod_l.c (NDIG): Remove.
7420 (HEXNDIG): Likewise.
7421 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7422 smallest representable value.
7423 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7424 lie within an exact representation of 1/2 ulp of the result.
7425 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7427 (TENS_P9_IDX): Define unconditionally.
7428 (TENS_P9_SIZE): Likewise.
7429 (TENS_P10_IDX): Likewise.
7430 (TENS_P10_SIZE): Likewise.
7431 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7432 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7433 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7434 entries for 10^2^13 and 10^2^14.
7435 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7436 (TENS_P13_IDX): Define.
7437 (TENS_P13_SIZE): Likewise.
7438 (TENS_P14_IDX): Likewise.
7439 (TENS_P14_SIZE): Likewise.
7440 (_fpioconst_pow10): Change array size to
7441 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7443 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7444 1024]: Add entries for 10^2^13 and 10^2^14.
7445 [LAST_POW10 > _LAST_POW10]: Remove #error.
7446 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7447 (_fpioconst_pow10): Change array size to
7448 FPIOCONST_POW10_ARRAY_SIZE.
7449 * stdlib/gen-fpioconst.c: New file.
7450 * stdlib/gen-tst-strtod-round.c: Likewise.
7451 * stdlib/tst-strtod-round-data: Likewise.
7452 * stdlib/tst-strtod-round.c: Likewise.
7453 * stdlib/Makefile (tests): Add tst-strtod-round.
7456 * stdlib/strtod_l.c: Include <stdint.h>.
7457 (NDEBUG): Do not define.
7458 (round_and_return): Change EXPONENT parameter to type intmax_t.
7459 Rearrange calculations to avoid internal overflow possibilities.
7460 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7461 Rearrange calculations to avoid internal overflow possibilities.
7462 Assert that number fits inside MPNSIZE limbs.
7463 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7464 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7465 calculations and add assertions to avoid internal overflow
7466 possibilities. Add casts to avoid signed/unsigned operations.
7467 * stdlib/tst-strtod-overflow.c: New file.
7468 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7470 2012-08-25 Marek Polacek <polacek@redhat.com>
7472 * time/time.h: Fix some typos in comments.
7474 2012-08-23 Roland McGrath <roland@hack.frob.com>
7476 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7477 * posix/tst-rfc3484-2.c: Likewise.
7478 * posix/tst-rfc3484-3.c: Likewise.
7480 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7482 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7483 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7485 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7487 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7488 #include of fxstatat64.c.
7490 2012-08-22 Roland McGrath <roland@hack.frob.com>
7492 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7493 * shadow/getspent_r.c: Likewise.
7494 * shadow/getspnam.c: Likewise.
7495 * shadow/getspnam_r.c: Likewise.
7496 * gshadow/getsgent.c: Likewise.
7497 * gshadow/getsgent_r.c: Likewise.
7498 * gshadow/getsgnam.c: Likewise.
7499 * gshadow/getsgnam_r.c: Likewise.
7500 * inet/getnetbyad.c: Likewise.
7501 * inet/getnetbyad_r.c: Likewise.
7502 * inet/getnetbynm.c: Likewise.
7503 * inet/getnetbynm_r.c: Likewise.
7504 * inet/getnetent.c: Likewise.
7505 * inet/getnetent_r.c: Likewise.
7506 * inet/getproto.c: Likewise.
7507 * inet/getproto_r.c: Likewise.
7508 * inet/getprtent.c: Likewise.
7509 * inet/getprtent_r.c: Likewise.
7510 * inet/getprtname.c: Likewise.
7511 * inet/getprtname_r.c: Likewise.
7512 * inet/getrpcbyname.c: Likewise.
7513 * inet/getrpcbyname_r.c: Likewise.
7514 * inet/getrpcbynumber.c: Likewise.
7515 * inet/getrpcbynumber_r.c: Likewise.
7516 * inet/getrpcent.c: Likewise.
7517 * inet/getrpcent_r.c: Likewise.
7518 * inet/getaliasent.c: Likewise.
7519 * inet/getaliasent_r.c: Likewise.
7520 * inet/getaliasname.c: Likewise.
7521 * inet/getaliasname_r.c: Likewise.
7522 * nscd/getgrgid_r.c: Likewise.
7523 * nscd/getgrnam_r.c: Likewise.
7524 * nscd/gethstbyad_r.c: Likewise.
7525 * nscd/gethstbynm3_r.c: Likewise.
7526 * nscd/getpwnam_r.c: Likewise.
7527 * nscd/getpwuid_r.c: Likewise.
7528 * nscd/getsrvbynm_r.c: Likewise.
7529 * nscd/getsrvbypt_r.c: Likewise.
7530 * nscd/gai.c: Likewise.
7532 * configure.in (build_nscd): New substituted variable, set
7533 by --disable-build-nscd and defaults to $use_nscd.
7534 * configure: Regenerated.
7535 * config.make.in (build-nscd): New substituted variable.
7536 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7537 Change conditional to require [$(build-nscd) = yes] as well.
7538 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7541 * configure.in (use_nscd): New substituted variable, set by
7542 --disable-nscd. If enabled, define USE_NSCD.
7543 * configure: Regenerated.
7544 * config.h.in: Add USE_NSCD.
7545 * config.make.in (use-nscd): New substituted variable.
7546 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7547 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7548 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7549 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7550 (CFLAGS-getgrnam_r.c): Likewise.
7551 (CFLAGS-initgroups.c): Likewise.
7552 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7553 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7555 * inet/getnetgrent_r.c
7556 (nscd_setnetgrent): New function, broken out of ...
7557 (setnetgrent): ... here. Call it.
7558 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7559 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7560 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7561 * nscd/Makefile (routines, aux): Move definitions after include of
7562 Makeconfig. Conditionalize on [$(use-nscd) != no].
7563 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7564 Conditionalize on [USE_NSCD].
7565 (is_nscd, nscd_init_cb): Likewise.
7566 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7567 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7568 * nss/nss_db/db-init.c: Likewise.
7569 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7571 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7572 (make_request): Use it.
7573 (cache_valid_p): New function.
7574 (__check_pf): Use it.
7575 * NEWS: Add item for --disable-nscd.
7577 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7579 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7580 to support sed >= 4.2.1-20-ga9bf076.
7581 * configure: Regenerated.
7583 2012-08-22 Roland McGrath <roland@hack.frob.com>
7585 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7586 Conditionalize whole body on [IREL].
7588 2012-08-22 Jeff Law <law@redhat.com>
7591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7592 if the family is PF_UNSPEC.
7594 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7596 * Makerules (lib-version): Rename from V.
7597 (install-lib-nosubdir): Change V to lib-version.
7599 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7602 * powerpc32/power6/wcschr.c: New file.
7603 * powerpc32/power6/wcscpy.c: New file.
7604 * powerpc32/power6/wcsrchr.c: New file.
7605 * powerpc64/power6/wcschr.c: New file.
7606 * powerpc64/power6/wcscpy.c: New file.
7607 * powerpc64/power6/wcsrchr.c: New file.
7609 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7611 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7612 (two_way_short_needle): Use it.
7613 * string/strstr.c (AVAILABLE1_USES_J): Define.
7614 * string/strcasestr.c: Likewise.
7616 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7618 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7621 * NEWS: Add an entry.
7622 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7623 define their defaults.
7624 (two_way_short_needle): Detect end-of-string on-the-fly.
7625 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7626 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7627 * string/bug-strcasestr1.c: New test.
7628 * string/Makefile: Run it.
7630 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7633 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7634 the first character.
7636 2012-08-21 Roland McGrath <roland@hack.frob.com>
7638 * csu/elf-init.c (__libc_csu_irel): Function removed.
7639 * csu/libc-start.c (apply_irel): New function.
7640 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7642 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7644 * sysdeps/unix/sysv/linux/kernel-features.h
7645 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7647 <kernel-features.h>.
7648 [__NR_fadvise64_64]: Make code unconditional.
7649 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7650 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7651 !__NR_fadvise64_64)]: Likewise.
7652 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7653 !__NR_fadvise64_64))]: Likewise.
7654 [__NR_fadvise64]: Make code unconditional.
7655 [!__NR_fadvise64]: Remove conditional code.
7656 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7657 <kernel-features.h>.
7658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7663 not include <kernel-features.h>.
7664 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7666 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7668 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7669 include <kernel-features.h>.
7670 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7672 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7675 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7677 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7678 slight instruction rearrangements per scrollpipe analysis.
7679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7681 2012-08-20 Roland McGrath <roland@hack.frob.com>
7683 * manual/syslog.texi (syslog; vsyslog, closelog):
7684 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7685 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7687 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7688 DSOCAPS to match condition on defining it.
7690 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7692 * sysdeps/unix/sysv/linux/kernel-features.h
7693 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7705 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7707 * sysdeps/unix/sysv/linux/kernel-features.h
7708 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7709 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7711 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7713 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7714 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7715 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7716 Make code unconditional.
7717 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7718 (__mmap64) [!__NR_mmap2]: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7720 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7721 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7723 [__NR_mmap2]: Make code unconditional.
7724 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7725 (__mmap64) [!__NR_mmap2]: Likewise.
7727 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7729 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7731 2012-08-18 Andreas Jaeger <aj@suse.de>
7733 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7735 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7737 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7738 * include/unistd.h (__have_sock_cloexec): Likewise.
7739 (__have_pipe2): Likewise.
7740 (__have_dup3): Likewise.
7742 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7745 * include/unistd.h (__have_pipe2): Change define into an extern int.
7746 (__have_dup3): Likewise.
7747 * socket/have_sock_cloexec.c: Include fcntl.h.
7748 (__have_pipe2): New variable.
7749 (__have_dup3): Likewise.
7751 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7753 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7755 2012-08-17 Marek Polacek <polacek@redhat.com>
7757 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7758 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7760 2012-08-17 Roland McGrath <roland@hack.frob.com>
7762 * configure.in: Add AC_SUBST for sysheaders.
7763 * configure: Regenerated.
7764 * config.make.in (sysheaders): New substituted variable.
7766 * sysdeps/unix/mkfifo.c: Moved ...
7767 * sysdeps/posix/mkfifo.c: ... here.
7768 * sysdeps/unix/mkfifoat.c: Moved ...
7769 * sysdeps/posix/mkfifoat.c: ... here.
7771 * sysdeps/unix/utime.c: Moved ...
7772 * sysdeps/posix/utime.c: ... here.
7774 * sysdeps/unix/time.c: Moved ...
7775 * sysdeps/posix/time.c: ... here.
7776 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7779 * sysdeps/unix/nice.c: Moved ...
7780 * sysdeps/posix/nice.c: ... here.
7782 * sysdeps/unix/alarm.c: Moved ...
7783 * sysdeps/posix/alarm.c: ... here.
7785 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7787 2012-08-17 Jeff Law <law@redhat.com>
7789 * intl/Makefile (codeset_mo): New variable.
7790 ($(codeset_mo)): New target.
7791 (tst-codeset.out): Depend on that. Remove explicit rule.
7792 (tst-gettext3.out, tst-gettext5.out): Likewise.
7793 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7794 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7795 * intl/tst-codeset.sh: Remove.
7796 * intl/tst-gettext3.sh: Likewise.
7797 * intl/tst-gettext5.sh: Likewise.
7799 2012-08-17 Roland McGrath <roland@hack.frob.com>
7801 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7802 * sysdeps/unix/syscalls.list: ... here.
7804 * sysdeps/posix/getaddrinfo.c
7805 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7806 (gaiconf_init, gaiconf_reload): Use them.
7808 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7809 Define using time_t rather than struct timespec.
7811 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7812 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7814 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7816 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7817 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7820 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7821 __libc_cleanup_push argument.
7823 * bits/param.h: New file.
7824 * misc/sys/param.h: New file.
7825 * include/sys/param.h: New file.
7826 * misc/Makefile (headers): Add bits/param.h.
7827 * sysdeps/generic/sys/param.h: File removed.
7828 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7829 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7830 * sysdeps/mach/hurd/bits/param.h: New file.
7831 * sysdeps/mach/hurd/sys/param.h: File removed.
7833 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7836 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7838 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7839 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7842 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7843 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7844 rather than -D_IO_MTSAFE_IO conditionally.
7845 * stdio-common/Makefile (CPPFLAGS): Likewise.
7846 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7847 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7848 Use $(libio-mtsafe).
7849 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7851 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7852 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7853 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7854 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7855 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7856 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7857 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7858 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7859 (CFLAGS-fread_u_chk.c): Likewise.
7860 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7861 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7862 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7863 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7864 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7865 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7866 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7867 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7868 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7870 * libio/Makefile: Test [$(libc-reentrant) = yes]
7871 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7874 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7875 * sysdeps/pthread/configure: File removed.
7876 * sysdeps/pthread/Makeconfig: New file.
7877 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7878 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7880 2012-08-16 Gary Benson <gbenson@redhat.com>
7882 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7883 unmapping the first object in a namespace.
7885 2012-08-16 Roland McGrath <roland@hack.frob.com>
7887 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7888 (__internal_setnetgrent): ... this. Add internal_function to
7889 definition. Add libc_hidden_def.
7890 (setnetgrent): Update caller.
7891 (internal_endnetgrent): Renamed to ...
7892 (__internal_endnetgrent): ... this. Add internal_function to
7893 definition. Add libc_hidden_def.
7894 (endnetgrent): Update caller.
7895 (internal_getnetgrent_r): Renamed to ...
7896 (__internal_getnetgrent_r): ... this. Add internal_function to
7897 definition. Add libc_hidden_def.
7898 (__getnetgrent_r): Update caller.
7899 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7901 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7903 * stdlib/longlong.h: Update from GCC.
7905 2012-08-16 Roland McGrath <roland@hack.frob.com>
7907 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7908 on _QL, which is set by umul_ppmm but never used.
7909 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7910 variables, which are set by GMP macros but never used.
7911 * stdio-common/_itowa.c (_itowa): Likewise.
7912 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7913 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7915 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7917 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7918 struct La_sh_regs is not constant.
7919 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7920 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7921 and struct La_sparc64_regs are not constant.
7923 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7925 * sysdeps/unix/sysv/linux/kernel-features.h
7926 (__ASSUME_POSIX_TIMERS): Remove.
7927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7930 Make code unconditional.
7931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7932 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7933 Make code unconditional.
7934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7935 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7936 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7938 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7939 Make code unconditional.
7940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7941 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7942 (__libc_missing_posix_timers): Remove.
7944 2012-08-15 Roland McGrath <roland@hack.frob.com>
7946 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7947 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7949 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7951 * elf/dl-sym.c: Include <stdlib.h>.
7953 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7954 constants, which avoids warnings in 32-bit builds.
7956 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7957 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7959 * misc/lseek.c: File moved to ...
7960 * io/lseek.c: ... here.
7962 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7964 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7965 shifting LEN more than 31 bits at once.
7967 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7970 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7971 segmentation fault for a case of two empty input strings.
7972 * string/test-strncasecmp.c (check1): Renamed to...
7974 (bz14195): Add new testcase for two empty input strings and N > 0.
7975 (test_main): Call new testcase, adapt for renamed function.
7977 2012-08-15 Andreas Jaeger <aj@suse.de>
7980 * crypt/md5test2.c: New test, based on test supplied by Serge
7981 Belyshev <belyshev@depni.sinp.msu.ru>.
7982 * crypt/Makefile (xtests): Add md5test-giant..
7983 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7985 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7988 * crypt/md5.c (md5_process_block): Don't assume the buffer
7989 length is less than 2**32.
7990 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7991 length is less than 2**64.
7993 2012-08-15 Roland McGrath <roland@hack.frob.com>
7995 * string/str-two-way.h: Include <sys/param.h>.
7996 (MAX): Macro removed.
7998 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7999 Move #define and #undef of memmove to just before and after
8000 including <string.h>.
8002 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8003 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8004 and after including <string.h>. Move declarations of
8005 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8006 to before #include "string/memmove.c".
8008 * include/dirent.h: Declare __getdirentries.
8010 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8011 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8013 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8015 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8016 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8017 * sysdeps/i386/configure: Regenerated.
8018 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8019 STABS_CURRENT_FILE, and STABS_FUN.
8020 (END): Remove call to STABS_FUN_END.
8021 (STABS_CURRENT_FILE1): Delete.
8022 (STABS_CURRENT_FILE): Likewise.
8023 (STABS_FUN): Likewise.
8024 (STABS_FUN_END): Likewise.
8025 (STABS_FUN2): Likewise.
8026 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8027 * sysdeps/x86_64/configure: Regenerated.
8029 2012-08-14 Roland McGrath <roland@hack.frob.com>
8031 * elf/dl-open.c: Include <atomic.h>.
8032 * elf/dl-lookup.c: Likewise.
8034 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/sysv/linux/kernel-features.h
8037 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8038 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8040 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8042 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8043 condition on __ASSUME_CLONE_THREAD_FLAGS.
8045 2012-08-14 Andreas Jaeger <aj@suse.de>
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8049 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8051 * include/atomic.h (atomic_exchange_and_add): Split into ...
8052 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8055 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8059 2012-08-13 Jeff Law <law@redhat.com>
8061 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8062 null byte in the output string.
8064 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8068 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8069 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8070 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8071 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8072 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8073 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8075 2012-08-09 Jeff Law <law@redhat.com>
8078 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8079 When avoid_arena is set, don't retry in the that arena. Pick the
8080 next one, whatever it might be.
8081 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8082 (arena_lock): Pass in new parameter to arena_get2.
8083 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8085 (__libc_malloc): Unify retrying after main arena failure with
8086 __libc_memalign version.
8087 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8089 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8092 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8093 to __redirect_strstr.
8094 (__strstr_sse42): Use typeof __redirect_strstr.
8095 (__strstr_ia32): Likewise.
8096 (__libc_strstr): New prototype.
8097 (strstr): Renamed to ...
8098 (__libc_strstr): This.
8099 (strstr): New strong alias of __libc_strstr.
8100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8101 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8104 (__libc_time): New prototype.
8105 (time_ifunc): Replace time with __libc_time.
8106 (time): New strong alias and hidden definition of __libc_time.
8107 (__GI_time): Remove strong alias.
8108 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8110 (memmove): Redefined to __redirect_memmove.
8111 (__memmove_sse2): Use typeof __redirect_memmove.
8112 (__memmove_ssse3): Likewise.
8113 (__memmove_ssse3_back): Likewise.
8114 (__libc_memmove): New prototype.
8115 (memmove): Renamed to ...
8116 (__libc_memmove): This.
8117 (memmove): New strong alias of __libc_memmove.
8119 2012-08-08 Mark Salter <msalter@redhat.com>
8122 (R_MN10300_TLS_GD): Define.
8123 (R_MN10300_TLS_LD): Likewise.
8124 (R_MN10300_TLS_LDO): Likewise.
8125 (R_MN10300_TLS_GOTIE): Likewise.
8126 (R_MN10300_TLS_IE): Likewise.
8127 (R_MN10300_TLS_LE): Likewise.
8128 (R_MN10300_TLS_DTPMOD): Likewise.
8129 (R_MN10300_TLS_DTPOFF): Likewise.
8130 (R_MN10300_TLS_TPOFF): Likewise.
8131 (R_MN10300_SYM_DIFF): Likewise.
8132 (R_MN10300_ALIGN): Likewise.
8133 (R_MN10300_NUM): Update.
8135 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8140 2012-08-08 Roland McGrath <roland@hack.frob.com>
8142 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8144 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8145 sysdeps/unix -> sysdeps/posix move.
8146 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8148 2012-08-07 Allan McRae <allan@archlinux.org>
8151 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8152 (SUNOS_CPP): Likewise.
8153 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8155 (open_input): Call CPP using execvp.
8157 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8159 * sysdeps/unix/sysv/linux/kernel-features.h
8160 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8163 (__ASSUME_WAITID_SYSCALL): Likewise.
8164 * sysdeps/unix/sysv/linux/dl-execstack.c
8165 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8167 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8169 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8170 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8171 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8173 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8175 [__ASSUME_WAITID_SYSCALL]: Likewise.
8176 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8178 2012-08-07 Roland McGrath <roland@hack.frob.com>
8180 * sysdeps/unix/closedir.c: Renamed to ...
8181 * sysdeps/posix/closedir.c: ... here.
8182 * sysdeps/unix/dirfd.c: Renamed to ...
8183 * sysdeps/posix/dirfd.c: ... here.
8184 * sysdeps/unix/dirstream.h: Renamed to ...
8185 * sysdeps/posix/dirstream.h: ... here.
8186 * sysdeps/unix/fdopendir.c: Renamed to ...
8187 * sysdeps/posix/fdopendir.c: ... here.
8188 * sysdeps/unix/opendir.c: Renamed to ...
8189 * sysdeps/posix/opendir.c: ... here.
8190 * sysdeps/unix/readdir.c: Renamed to ...
8191 * sysdeps/posix/readdir.c: ... here.
8192 * sysdeps/unix/readdir_r.c: Renamed to ...
8193 * sysdeps/posix/readdir_r.c: ... here.
8194 * sysdeps/unix/rewinddir.c: Renamed to ...
8195 * sysdeps/posix/rewinddir.c: ... here.
8196 * sysdeps/unix/seekdir.c: Renamed to ...
8197 * sysdeps/posix/seekdir.c: ... here.
8198 * sysdeps/unix/telldir.c: Renamed to ...
8199 * sysdeps/posix/telldir.c: ... here.
8200 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8201 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8202 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8203 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8205 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8206 * bits/fcntl.h: ... here.
8208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8210 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8211 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8212 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8213 (struct flock): Move l_start, l_len to the beginning.
8214 Use __pid_t for l_pid.
8215 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8216 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8217 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8218 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8219 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8220 [__USE_LARGEFILE64] (struct flock64): New type.
8221 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8223 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8224 * bits/dirent.h: ... here.
8226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8227 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8229 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8232 Change from 2.6.0 to 2.6.16.
8233 * sysdeps/unix/sysv/linux/configure: Regenerated.
8234 * sysdeps/unix/sysv/linux/kernel-features.h
8235 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8236 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8238 (__ASSUME_UTIMES): Likewise.
8239 (__ASSUME_CLONE_STOPPED): Remove.
8240 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8241 architectures, not kernel version.
8242 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8243 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8244 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8245 (__ASSUME_WAITID_SYSCALL): Likewise.
8246 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8247 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8248 * README: State 2.6.16 as minimum Linux kernel version. Do not
8249 refer to older versions.
8251 2012-08-06 Roland McGrath <roland@hack.frob.com>
8253 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8254 Define alphasort64 as an alias.
8255 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8256 Define versionsort64 as an alias.
8257 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8258 Define scandir64 as an alias.
8259 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8260 Define scandirat64 as an alias.
8261 * dirent/alphasort64.c (alphasort64):
8262 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8263 * dirent/versionsort64.c: Likewise.
8264 * dirent/scandir64.c: Likewise.
8265 * dirent/scandirat64.c: Likewise.
8266 * sysdeps/wordsize-64/alphasort.c: File removed.
8267 * sysdeps/wordsize-64/alphasort64.c: File removed.
8268 * sysdeps/wordsize-64/scandir.c: File removed.
8269 * sysdeps/wordsize-64/scandir64.c: File removed.
8270 * sysdeps/wordsize-64/scandirat.c: File removed.
8271 * sysdeps/wordsize-64/scandirat64.c: File removed.
8272 * sysdeps/wordsize-64/versionsort.c: File removed.
8273 * sysdeps/wordsize-64/versionsort64.c: File removed.
8274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8277 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8279 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8283 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8285 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8287 [defined __arch64__ || defined __sparcv9]
8288 (__INO_T_MATCHES_INO64_T): New macro.
8289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8290 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8291 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8292 * sysdeps/unix/sysv/linux/bits/dirent.h
8293 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8294 (_DIRENT_MATCHES_DIRENT64): New macro.
8296 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8297 Define lockf64 as an alias.
8298 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8299 Define fseeko64 as an alias.
8300 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8301 Define ftello64 as an alias.
8302 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8303 Define _IO_fgetpos64 and fgetpos64 as aliases.
8304 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8305 Define _IO_fsetpos64 and fsetpos64 as aliases.
8306 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8307 Conditionalize body on this.
8308 * libio/fseeko64.c: Likewise.
8309 * libio/ftello64.c: Likewise.
8310 * libio/iofgetpos64.c: Likewise.
8311 * libio/iofsetpos64.c: Likewise.
8312 * sysdeps/wordsize-64/lockf.c: File removed.
8313 * sysdeps/wordsize-64/lockf64.c: File removed.
8314 * sysdeps/wordsize-64/fseeko.c: File removed.
8315 * sysdeps/wordsize-64/fseeko64.c: File removed.
8316 * sysdeps/wordsize-64/ftello.c: File removed.
8317 * sysdeps/wordsize-64/ftello64.c: File removed.
8318 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8319 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8320 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8321 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8329 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8333 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8335 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8337 [defined __arch64__ || defined __sparcv9]
8338 (__OFF_T_MATCHES_OFF64_T): New macro.
8339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8340 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8342 (__OFF_T_MATCHES_OFF64_T): New macro.
8344 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8346 * stdlib/secure-getenv.c (__secure_getenv): Replace
8347 GLIBC_2_16 with GLIBC_2_17.
8349 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8354 2012-08-03 David S. Miller <davem@davemloft.net>
8356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8358 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8362 (__ASSUME_CORRECT_SI_PID): Likewise.
8363 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8364 (__ASSUME_TMPFS_NAME): Likewise.
8365 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8366 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8367 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8368 (HAVE_AUX_SECURE): Make definition unconditional.
8369 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8370 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8372 2012-08-03 Roland McGrath <roland@hack.frob.com>
8374 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8375 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8376 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8378 __eloop_threshold instead of SYMLOOP_MAX.
8380 * sysdeps/generic/eloop-threshold.h: New file.
8381 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8383 * elf/chroot_canon.c (chroot_canon): Likewise.
8385 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8389 Change to 2.6.0 everywhere.
8390 * sysdeps/unix/sysv/linux/configure: Regenerated.
8391 * sysdeps/unix/sysv/linux/kernel-features.h
8392 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8393 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8395 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8396 (__ASSUME_FUTEX_REQUEUE): Remove.
8397 (__ASSUME_STATFS64): Define unconditionally.
8398 (__ASSUME_AT_SECURE): Likewise.
8399 (__ASSUME_CORRECT_SI_PID): Likewise.
8400 (__ASSUME_TGKILL): Define without depending on kernel version for
8402 (__ASSUME_UTIMES): Likewise.
8403 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8405 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8406 (__ASSUME_TMPFS_NAME): Likewise.
8407 * README: Update reference to Linux kernel versions.
8409 2012-08-02 Marek Polacek <polacek@redhat.com>
8412 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8413 libc_cv_asm_type_prefix with %.
8414 * configure: Regenerated.
8415 * include/libc-symbols.h: Remove comment about
8416 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8417 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8418 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8419 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8420 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8421 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8422 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8423 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8424 * elf/tst-unique2mod1.c: Likewise.
8425 * elf/tst-unique1mod2.c: Likewise.
8426 * elf/tst-unique1mod1.c: Likewise.
8427 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8428 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8429 Replace ASM_TYPE_DIRECTIVE with .type.
8430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8431 * sysdeps/i386/sysdep.h: Likewise.
8432 * sysdeps/x86_64/sysdep.h: Likewise.
8433 * sysdeps/sh/sysdep.h: Likewise.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8435 Do not define ASM_TYPE_DIRECTIVE.
8436 * sysdeps/powerpc/sysdep.h: Likewise.
8437 * sysdeps/powerpc/powerpc32/sysdep.h:
8438 Replace ASM_TYPE_DIRECTIVE with .type.
8439 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8441 * sysdeps/i386/fpu/e_powf.S: Likewise.
8442 * sysdeps/i386/fpu/e_expl.S: Likewise.
8443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8445 * sysdeps/i386/fpu/e_pow.S: Likewise.
8446 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8448 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8449 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8450 * sysdeps/i386/fpu/e_log2.S: Likewise.
8451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8453 * sysdeps/i386/fpu/e_powl.S: Likewise.
8454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8456 * sysdeps/i386/fpu/e_logl.S: Likewise.
8457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8462 * sysdeps/i386/fpu/e_log.S: Likewise.
8463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8464 * sysdeps/i386/fpu/e_logf.S: Likewise.
8465 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8466 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8467 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8468 * sysdeps/i386/fpu/e_log10.S: Likewise.
8469 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8471 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8472 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8474 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8475 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8476 * sysdeps/i386/i686/strtok.S: Likewise.
8477 * sysdeps/i386/i386-mcount.S: Likewise.
8478 * sysdeps/i386/strtok.S: Likewise.
8479 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8483 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8485 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8486 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8488 * sysdeps/x86_64/_mcount.S: Likewise.
8489 * sysdeps/x86_64/strtok.S: Likewise.
8490 * sysdeps/sh/_mcount.S: Likewise.
8492 2012-08-01 Roland McGrath <roland@hack.frob.com>
8494 * libio/iofopen.c: Include <fcntl.h>.
8495 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8496 (_IO_fopen64, fopen64): Define as aliases.
8497 * libio/iofopen64.c: Include <fcntl.h>.
8498 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8499 Conditionalize body on this.
8500 * sysdeps/wordsize-64/iofopen.c: File removed.
8501 * sysdeps/wordsize-64/iofopen64.c: File removed.
8503 2012-08-01 Marek Polacek <polacek@redhat.com>
8505 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8506 Use dlfcn directly instead of a variable.
8507 (binfmt-subdir): Do not define.
8510 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8512 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8513 Remove all definitions.
8514 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8515 <kernel-features.h>.
8516 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8517 (miss_F_GETOWN_EX): Remove all definitions.
8518 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8520 [!__ASSUME_FCNTL64]: Remove conditional code.
8521 [__ASSUME_FCNTL64]: Make code unconditional.
8522 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8523 <kernel-features.h>.
8524 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8525 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8526 (lockf64) [__NR_fcntl64]: Make code unconditional.
8527 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8529 * sysdeps/unix/sysv/linux/kernel-features.h
8530 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8531 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8532 Make code unconditional.
8533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8536 [__NR_vfork]: Make code unconditional.
8537 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8538 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8540 [__NR_vfork]: Make code unconditional.
8541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8544 2012-08-01 Roland McGrath <roland@hack.frob.com>
8546 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8547 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8549 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8550 Define mkstemp64 as an alias.
8551 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8552 Define mkstemps64 as an alias.
8553 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8554 Define mkostemp64 as an alias.
8555 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8556 Define mkostemps64 as an alias.
8557 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8558 Conditionalize body on this.
8559 * misc/mkostemp64.c: Likewise.
8560 * misc/mkostemps64.c: Likewise.
8561 * misc/mkstemps64.c: Likewise.
8562 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8563 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8564 * sysdeps/wordsize-64/mkostemp.c: File removed.
8565 * sysdeps/wordsize-64/mkstemp.c: File removed.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8572 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8573 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8574 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8575 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8577 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8578 compat_symbol macros from <shlib-compat.h> rather than the underlying
8579 default_symbol_version and symbol_version macros, so that DEFAULT
8580 lines in shlib-versions are respected.
8581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8583 2012-08-01 Florian Weimer <fweimer@redhat.com>
8585 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8586 Declare with warn_unused_result.
8587 (setgid, setregid, setegid, setresgid): Likewise.
8588 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8590 * WUR-REPORT: Remove set*id functions.
8592 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8594 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8596 2012-07-31 Roland McGrath <roland@hack.frob.com>
8598 * include/sys/socket.h (__libc_accept, __libc_accept4):
8599 Add attribute_hidden.
8600 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8602 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8604 * inet/getnetgrent_r.c (setup): Likewise.
8606 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8608 2012-07-31 David S. Miller <davem@davemloft.net>
8610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8612 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8615 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8616 value between 1.0 and 2.0 and smaller part has absolute value less
8618 * math/s_clog10.c (__clog10): Likewise.
8619 * math/s_clog10f.c (__clog10f): Likewise.
8620 * math/s_clog10l.c (__clog10l): Likewise.
8621 * math/s_clogf.c (__clogf): Likewise.
8622 * math/s_clogl.c (__clogl): Likewise.
8623 * math/libm-test.inc (clog_test): Add more tests.
8624 (clog10_test): Likewise.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628 2012-07-31 Florian Weimer <fweimer@redhat.com>
8630 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8631 Exit with zero in case no suitable GID is found, and write a
8632 message to standard error.
8634 2012-07-30 Roland McGrath <roland@hack.frob.com>
8636 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8638 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8639 (MAXPATHLEN): Removed.
8640 (NOGROUP, NODEV): New macros.
8641 (setbit, clrbit, isset, isclr): New macros.
8642 (howmany, roundup, powerof2): New macros.
8643 (DEV_BSIZE): New macro.
8645 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8646 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8648 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8649 definition on [!__NO_LONG_DOUBLE_MATH].
8651 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8652 PTR_MANGLE and PTR_DEMANGLE.
8654 * socket/accept4.c (accept4): Rename to __libc_accept4.
8655 Define accept4 as a weak alias.
8657 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8658 on [_DIRENT_HAVE_D_TYPE].
8659 * io/ftw.c (ftw_dir): Likewise.
8661 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8663 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8665 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8666 Use the BSD numbers rather than the arbitrary ones we had.
8667 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8668 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8669 (SIGXCPU, SIGXFSZ): New macros.
8672 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8673 initializer on [_LIBC_REENTRANT].
8675 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8676 definitions inside [_POSIX_MAPPED_FILES].
8678 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8680 * dirent/opendir.c: Include <fcntl.h>.
8682 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8683 (__libc_getspecific): Likewise.
8684 (__libc_key_create): Likewise.
8686 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8687 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8688 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8689 (tmpfile64): Define as alias.
8690 * sysdeps/wordsize-64/tmpfile.c: File removed.
8691 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8695 * stdio-common/vfscanf.c: Include <stdbool.h>.
8696 * nss/makedb.c: Likewise.
8697 * stdio-common/_i18n_number.h: Likewise.
8698 * argp/argp-help.c: Likewise.
8699 * posix/wordexp.c: Likewise.
8700 * sysdeps/posix/spawni.c: Likewise.
8701 * nss/nss_files/files-initgroups.c: Likewise.
8702 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8703 * nss/nss_files/files-initgroups.c: Likewise.
8704 * nss/nss_db/db-netgrp.c: Likewise.
8705 * nss/nss_db/db-initgroups.c: Likewise.
8706 * io/fchmodat.c: Include <sys/stat.h>.
8708 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8709 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8711 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8714 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8715 Add multiple inclusion protection.
8717 2012-07-27 David S. Miller <davem@davemloft.net>
8719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8721 2012-07-27 Gary Benson <gbenson@redhat.com>
8724 * elf/rtld.c: Include <stap-probe.h>.
8725 (dl_main): Added static probes "init_start" and "init_complete".
8726 * elf/dl-load.c: Include <stap-probe.h>.
8727 (lose): Take new parameter "nsid".
8728 Added static probe "map_failed".
8729 (_dl_map_object_from_fd): Pass namespace id to lose.
8730 Added static probe "map_start".
8731 (open_verify): Pass namespace id to lose.
8732 * elf/dl-open.c: Include <stap-probe.h>.
8733 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8734 and "reloc_complete".
8735 * elf/dl-close.c: Include <stap-probe.h>.
8736 (_dl_close_worker): Added static probes "unmap_start" and
8738 * elf/rtld-debugger-interface.txt: New file documenting the above.
8740 2012-07-26 Roland McGrath <roland@hack.frob.com>
8742 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8743 rather than a string variable.
8744 * sunrpc/rpc_main.c (h_output): Likewise.
8745 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8747 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8749 * inet/check_native.c: New file.
8751 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8754 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8755 if larger part has absolute value 1.0.
8756 * math/s_clog10.c (__clog10): Likewise.
8757 * math/s_clog10f.c (__clog10f): Likewise.
8758 * math/s_clog10l.c (__clog10l): Likewise.
8759 * math/s_clogf.c (__clogf): Likewise.
8760 * math/s_clogl.c (__clogl): Likewise.
8761 * math/libm-test.inc (clog_test): Add more tests.
8762 (clog10_test): Likewise.
8763 * sysdeps/i386/fpu/libm-test-ulps: Update.
8764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8767 (pltexit): Likewise.
8768 (La_regs): Likewise.
8769 (La_retval): Likewise.
8770 (int_retval): Likewise.
8771 Update #error for removed macros to refer only to definitions in
8773 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8775 (pltexit): Likewise.
8776 (La_regs): Likewise.
8777 (La_retval): Likewise.
8778 (int_retval): Likewise.
8779 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8781 (pltexit): Likewise.
8782 (La_regs): Likewise.
8783 (La_retval): Likewise.
8784 (int_retval): Likewise.
8785 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8787 (pltexit): Likewise.
8788 (La_regs): Likewise.
8789 (La_retval): Likewise.
8790 (int_retval): Likewise.
8791 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8793 (pltexit): Likewise.
8794 (La_regs): Likewise.
8795 (La_retval): Likewise.
8796 (int_retval): Likewise.
8797 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8799 (pltexit): Likewise.
8800 (La_regs): Likewise.
8801 (La_retval): Likewise.
8802 (int_retval): Likewise.
8803 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8805 (pltexit): Likewise.
8806 (La_regs): Likewise.
8807 (La_retval): Likewise.
8808 (int_retval): Likewise.
8809 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8810 macro definitions in tst-audit.h.
8811 * sysdeps/i386/tst-audit.h: New file.
8812 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8813 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8814 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8815 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8816 * sysdeps/sh/tst-audit.h: Likewise.
8817 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8818 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8819 * sysdeps/x86_64/tst-audit.h: Likewise.
8821 2012-07-26 Andreas Jaeger <aj@suse.de>
8823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8826 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8827 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8828 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8830 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8834 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8839 (si_call_addr, si_syscall, si_arch): Define new macro.
8840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8842 (si_call_addr, si_syscall, si_arch): Define new marcro.
8843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8845 (si_call_addr, si_syscall, si_arch): Define new macro.
8846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8848 (si_call_addr, si_syscall, si_arch): Define new macro.
8850 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8854 Change to 2.4.21 where previously 2.4.1.
8855 * sysdeps/unix/sysv/linux/configure: Regenerated.
8856 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8857 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8858 Linux kernel version.
8859 (__ASSUME_STD_AUXV): Remove.
8860 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8862 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8863 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8864 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8865 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8866 (__ASSUME_NETLINK_SUPPORT): Likewise.
8867 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8868 (__no_netlink_support): Remove conditional definition.
8869 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8871 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8872 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8874 (if_nameindex_ioctl): Remove.
8875 (if_nameindex_netlink): Do not handle __no_netlink_support.
8876 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8878 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8879 Remove conditional code.
8880 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8882 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8884 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8885 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8886 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8888 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8889 [!__ASSUME_STD_AUXV]: Remove conditional code.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8891 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8892 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8899 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8900 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8902 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8907 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8910 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8912 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8914 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8916 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8919 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8921 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8924 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8926 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8928 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8930 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8933 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8935 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8937 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8939 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8942 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8944 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8945 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8946 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8948 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8949 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8951 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8952 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8953 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8954 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8955 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8956 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8957 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8958 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8964 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8965 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8968 2012-07-25 Florian Weimer <fweimer@redhat.com>
8970 * Versions.def: Add GLIBC_2.17.
8971 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8972 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8973 Introduce __libc_secure_getenv.
8974 * stdlib/Versions (2.17): Add secure_getenv
8975 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8976 * stdlib/secure-getenv.c: Rename __secure_getenv to
8977 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8978 symbol __secure_getenv for GLIBC_2.0.
8979 * stdlib/tst-secure-getenv.c: New.
8980 * stdlib/Makefile (tests): Add testcase.
8981 * manual/startup.texi (Environment Access): Document
8983 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8984 __libc_secure_getenv.
8985 * inet/ruserpass.c (ruserpass): Likewise.
8986 * malloc/mtrace.c (mtrace): Likewise.
8987 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8988 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8989 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8990 * sysdeps/posix/tempname.c: Likewise. Evaluate
8992 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8993 __secure_getenv to __libc_secure_getenv.
8994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9007 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9009 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9010 (struct La_i86_retval): Likewise.
9011 (struct La_x86_64_regs): Likewise.
9012 (struct La_x86_64_retval): Likewise.
9013 (struct La_x32_regs): Likewise.
9014 (struct La_x32_retval): Likewise.
9015 (struct La_ppc32_regs): Likewise.
9016 (struct La_ppc32_retval): Likewise.
9017 (struct La_ppc64_regs): Likewise.
9018 (struct La_ppc64_retval): Likewise.
9019 (struct La_sh_regs): Likewise.
9020 (struct La_sh_retval): Likewise.
9021 (struct La_s390_32_regs): Likewise.
9022 (struct La_s390_32_retval): Likewise.
9023 (struct La_s390_64_regs): Likewise.
9024 (struct La_s390_64_retval): Likewise.
9025 (struct La_sparc32_regs): Likewise.
9026 (struct La_sparc32_retval): Likewise.
9027 (struct La_sparc64_regs): Likewise.
9028 (struct La_sparc64_retval): Likewise.
9029 (struct audit_ifaces): Remove architecture-specific pltenter and
9031 * sysdeps/i386/ldsodefs.h: New file.
9032 * sysdeps/powerpc/ldsodefs.h: Likewise.
9033 * sysdeps/s390/ldsodefs.h: Likewise.
9034 * sysdeps/sh/ldsodefs.h: Likewise.
9035 * sysdeps/sparc/ldsodefs.h: Likewise.
9036 * sysdeps/x86_64/ldsodefs.h: Likewise.
9038 2012-07-25 Marek Polacek <polacek@redhat.com>
9041 * math/libm-test.inc (yn_test): Add another test.
9042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9043 to ERANGE when the result is +-Inf.
9044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9049 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9051 * conform/data/time.h-data (NULL): Use macro-constant. Require
9053 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9055 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9057 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9059 * configure.in <sysdeps resolving>: Correct printing
9061 * configure: Regenerate.
9063 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9065 * math/w_ilogb.c: Include <limits.h>.
9066 * math/w_ilogbl.c: Likewise.
9068 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9070 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9071 va_copy. Document allowing for unavailable va_copy only as
9072 pre-C99 compatibility.
9073 * manual/string.texi (Copying and Concatenation): Use va_copy
9074 instead of __va_copy in concat example.
9076 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9078 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9079 (__sendto): Use create_address_port. Initialize APORT and deallocate
9082 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9083 with O_NOLINK passed to __file_name_lookup.
9085 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9086 with O_NOLINK passed to __file_name_lookup.
9088 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9089 negative N or less than NGIDS.
9091 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9092 type to string_t. Set ERANGE as errno and return it if NAME is not big
9093 enough. Use memcpy instead of strncpy.
9095 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9097 * elf/Makefile (check-data): Remove.
9098 (localplt.data): New vpath directive.
9099 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9100 instead of $(check-data).
9101 * scripts/data/localplt-generic.data: Move to ...
9102 * sysdeps/generic/localplt.data: ... here.
9103 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9104 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9105 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9108 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9111 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9114 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9117 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9120 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9124 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9127 PPC32 and PPC64 files.
9128 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9129 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9131 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9133 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9134 __makecontext_ret to ...
9135 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9136 ... here and call exit if uc_link is NULL. New file.
9137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9138 __makecontext_ret.S.
9139 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9140 __makecontext_ret to ...
9141 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9142 ... here and call exit if uc_link is NULL. New file.
9143 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9144 __makecontext_ret.S.
9146 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9148 * elf/elf.h (R_390_IRELATIVE): New definition.
9149 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9150 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9151 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9153 (elf_machine_lazy_rel): Likewise.
9154 * sysdeps/s390/dl-irel.h: New file.
9155 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9156 * sysdeps/s390/s390-64/memset.S: New asm code.
9157 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9158 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9160 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9161 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9162 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9164 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9165 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9166 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9167 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9168 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9169 * sysdeps/s390/s390-32/memset.S: New asm code.
9170 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9172 2012-07-17 Marek Polacek <polacek@redhat.com>
9175 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9176 * sysdeps/s390/s390-64/configure.in: Likewise.
9177 * sysdeps/sparc/configure.in: Likewise.
9178 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9179 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9180 * sysdeps/i386/configure.in: Likewise.
9181 * sysdeps/x86_64/configure.in: Likewise.
9182 * sysdeps/sh/configure.in: Likewise.
9183 * sysdeps/s390/s390-32/configure: Regenerated.
9184 * sysdeps/s390/s390-64/configure: Likewise.
9185 * sysdeps/x86_64/configure: Likewise.
9186 * sysdeps/sh/configure: Likewise.
9187 * sysdeps/powerpc/powerpc64/configure: Likewise.
9188 * sysdeps/powerpc/powerpc32/configure: Likewise.
9189 * sysdeps/sparc/configure: Likwise.
9190 * sysdeps/i386/configure: Likewise.
9192 * elf/dl-open.c: Comment fixes.
9194 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9196 * Makefile [CXX] (check-data): Remove.
9197 [CXX] (c++-types.data): New vpath directive.
9198 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9199 vpath. Do not allow for C++ type data being missing.
9200 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9201 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9202 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9203 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9204 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9205 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9206 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9209 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9212 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9215 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9218 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9221 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9224 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9227 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9230 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9231 definitions to architecture-specific files.
9235 * sysdeps/i386/tls-macros.h: New file.
9236 * sysdeps/powerpc/tls-macros.h: Likewise.
9237 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9238 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9239 * sysdeps/sh/tls-macros.h: Likewise.
9240 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9241 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9242 * sysdeps/x86_64/tls-macros.h: Likewise.
9244 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9247 zero value for regular exit case.
9249 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9250 (__start_context): Preserve zero value for regular exit case.
9252 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9253 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9255 * manual/setjmp.texi (setcontext): Clarify normal process
9256 termination when uc_link is the null pointer.
9257 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9260 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9262 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9263 preprocessor. Test for each exception mask separately.
9265 2012-07-16 Andreas Jaeger <aj@suse.de>
9267 * po/ru.po: Update from translation team.
9269 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9271 * conform/data/string.h-data (NULL): Use macro-constant. Require
9273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9275 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9276 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9279 2012-07-13 Andreas Jaeger <aj@suse.de>
9281 * po/fr.po: Update from translation team.
9283 2012-07-12 Marek Polacek <polacek@redhat.com>
9286 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9290 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9294 Change to 2.4.1 where previously 2.4.0.
9295 * sysdeps/unix/sysv/linux/configure: Regenerated.
9296 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9297 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9299 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9300 (__ASSUME_AT_CLKTCK): Remove.
9301 (__ASSUME_AT_PAGESIZE): Likewise.
9302 (__ASSUME_AT_XID): Likewise.
9303 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9304 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9305 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9307 (HAVE_AUX_PAGESIZE): Likewise.
9308 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9309 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9310 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9312 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9316 the temporary buffer used to invoke __gethostbyname2_r,
9317 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9318 host_data / struct gaih_addrtuple.
9319 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9320 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9321 header file nss/nsswitch.h.
9322 * nss/nsswitch.h (global scope): Add definition of implementation
9323 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9324 resolv/nss_dns/dns-host.c).
9326 2012-07-11 Andreas Jaeger <aj@suse.de>
9328 * po/fr.po: Update from translation team.
9330 * po/sv.po: Update from translation team
9331 * po/fr.po: Another update from translation team.
9333 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9335 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9336 for subnormals or multiply small sinh result by itself.
9337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9340 2012-07-11 David S. Miller <davem@davemloft.net>
9342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9344 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9347 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9348 (INTERNAL_MARK): Shift it here.
9350 2012-07-10 Marek Polacek <polacek@redhat.com>
9353 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9354 libc_cv_asm_global_directive with .globl.
9355 * configure: Regenerated.
9356 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9358 * sysdeps/i386/configure: Regenerated.
9359 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9361 * sysdeps/x86_64/configure: Regenerated.
9362 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9363 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9364 * elf/tst-unique2mod2.c: Likewise.
9365 * elf/tst-unique2mod1.c: Likewise.
9366 * elf/tst-unique1mod2.c: Likewise.
9367 * elf/tst-unique1mod1.c: Likewise.
9368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9369 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9372 * sysdeps/mach/sysdep.h: Likewise.
9373 * sysdeps/i386/sysdep.h: Likewise.
9374 * sysdeps/i386/i386-mcount.S: Likewise.
9375 * sysdeps/x86_64/_mcount.S: Likewise.
9376 * sysdeps/x86_64/sysdep.h: Likewise.
9377 * sysdeps/sh/_mcount.S: Likewise.
9378 * sysdeps/sh/sysdep.h: Likewise.
9379 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9380 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9381 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9383 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9384 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9385 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9386 * locale/localeinfo.h: Likewise.
9387 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9388 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9390 2012-07-09 Roland McGrath <roland@hack.frob.com>
9393 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9395 * manual/message.texi (The Uniforum approach): Likewise.
9396 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9397 (glibc iconv Implementation): Likewise.
9399 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9402 * math/s_clog.c (__clog): Avoid scaling a value down where that
9403 could result in underflow.
9404 * math/s_clog10.c (__clog10): Likewise.
9405 * math/s_clog10f.c (__clog10f): Likewise.
9406 * math/s_clog10l.c (__clog10l): Likewise.
9407 * math/s_clogf.c (__clogf): Likewise.
9408 * math/s_clogl.c (__clogl): Likewise.
9409 * math/libm-test.inc (clog_test): Add more tests.
9410 (clog10_test): Likewise.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9418 by 7 not 8 to examine high bit of fractional part.
9421 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9422 for call to __mcount_internal.
9423 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9424 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9425 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9427 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9430 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9431 approximation for values within 0x1p-13f of an odd multiple of
9433 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9434 exception. Add more tests.
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9439 inputs and return -1 for them. Do not check for +Inf in case not
9441 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9442 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9444 and return -1 for them. Do not check for +Inf in case not
9446 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9449 and return -1 for them. Do not check for +Inf in case not
9451 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9456 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9458 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9460 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9464 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9465 could result in spurious underflow. Scale down values above
9466 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9467 * math/s_csqrtf.c (__csqrtf): Likewise.
9468 * math/s_csqrtl.c (__csqrtl): Likewise.
9469 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9471 * sysdeps/i386/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9476 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9478 * catgets/xopen-msg.awk: New file.
9479 * catgets/xopen-msg.sed: Removed.
9481 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9483 * intl/po2test.awk: New file.
9484 * intl/po2test.sed: Removed.
9486 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9489 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9490 or multiply small sinh result by itself.
9491 * math/s_ctanf.c (__ctanf): Likewise.
9492 * math/s_ctanh.c (__ctanh): Likewise.
9493 * math/s_ctanhf.c (__ctanhf): Likewise.
9494 * math/s_ctanhl.c (__ctanhl): Likewise.
9495 * math/s_ctanl.c (__ctanl): Likewise.
9496 * math/libm-test.inc (ctan_test_tonearest): New function.
9497 (ctan_test_towardzero): Likewise.
9498 (ctan_test_downward): Likewise.
9499 (ctan_test_upward): Likewise.
9500 (ctanh_test_tonearest): Likewise.
9501 (ctanh_test_towardzero): Likewise.
9502 (ctanh_test_downward): Likewise.
9503 (ctanh_test_upward): Likewise.
9504 (main): Call these new functions.
9505 * sysdeps/i386/fpu/libm-test-ulps: Update.
9506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9508 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9510 * .gitignore: Delete /ports entry.
9512 2012-07-03 Andreas Jaeger <aj@suse.de>
9514 * po/bg.po: Update from translation team.
9515 * po/cs.po: Likewise.
9516 * po/de.po: Likewise.
9517 * po/hr.po: Likewise.
9518 * po/nl.pl: Likewise.
9519 * po/pl.po: Likewise.
9520 * po/vi.po: Likewise.
9522 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9524 * Makeconfig [!+link] (+link-before-libc): New variable.
9525 [!+link] (+link-after-libc): Likewise.
9526 [!+link] (+link-tests): Likewise.
9527 [!+link] (+link): Define in terms of $(+link-before-libc) and
9528 $(+link-after-libc).
9529 [!+link-static] (+link-static-before-libc): New variable.
9530 [!+link-static] (+link-static-after-libc): Likewise.
9531 [!+link-static] (+link-static-tests): Likewise.
9532 [!+link-static] (+link-static): Define in terms of
9533 $(+link-static-before-libc) and $(+link-static-after-libc).
9534 [build-shared] (link-libc-before-gnulib): New variable.
9535 [build-shared] (link-libc-tests): Likewise.
9536 [build-shared] (link-libc): Define in terms of
9537 $(link-libc-before-gnulib).
9538 [!build-shared] (link-libc-tests): New variable.
9539 (link-libc-static-tests): New variable.
9540 [!gnulib] (gnulib-arch): New variable.
9541 [!gnulib] (gnulib-tests): Likewise.
9542 [!gnulib] (static-gnulib-arch): Likewise.
9543 [!gnulib] (static-gnulib-tests): Likewise.
9544 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9545 Define with "=" instead of ":=".
9546 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9547 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9548 * Rules (binaries-all-notests): New variable.
9549 (binaries-all-tests): Likewise.
9550 (binaries-static-notests): Likewise.
9551 (binaries-static-tests): Likewise.
9552 (binaries-all): Define using $(binaries-all-notests) and
9553 $(binaries-all-tests).
9554 (binaries-static): Define using $(binaries-static-notests) and
9555 $(binaries-static-tests).
9556 (binaries-shared-tests): New variable.
9557 (binaries-shared-notests): Likewise.
9558 (binaries-shared): Remove variable.
9559 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9560 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9561 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9562 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9563 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9564 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9565 * elf/Makefile (sln-modules): New variable.
9566 (extra-objs): Add $(sln-modules:=.o).
9567 (ldconfig-modules): Add static-stubs.
9568 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9569 * elf/static-stubs.c: New file.
9572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9573 by 7 not 8 to examine high bit of fractional part. Use volatile
9574 variables when splitting into final array of floats if
9575 __FLT_EVAL_METHOD__ != 0.
9576 * math/libm-test.inc (cos_test): Add another test.
9577 (sin_test): Likewise.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9581 * math/libm-test.inc (cosh_test): Add more tests.
9583 * version.h (RELEASE): Set to "development".
9584 (VERSION): Set to "2.16.90".
9586 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9588 * NEWS: Update copyright. Remove last-updated date.
9589 Mention math library bug fixes and timezone data changes.
9590 * README: Mention GNU/Hurd, x32, and HPPA support status.
9592 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9594 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9596 2012-06-27 Andreas Jaeger <aj@suse.de>
9598 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9600 2012-06-25 Andreas Jaeger <aj@suse.de>
9602 * sysdeps/s390/fpu/libm-test-ulps: Update.
9604 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9605 Thomas Schwinge <thomas@codesourcery.com>
9607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9608 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9612 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9614 * sysdeps/mach/start.c: Remove file.
9615 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9616 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9617 * sysdeps/sh/init-first.c: Likewise.
9619 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9620 registers for frame unwinding purposes, add CFI directives.
9621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9623 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9626 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9627 __fortify_fail returning.
9628 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9631 sysdeps/sh/____longjmp_chk.S.
9632 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9633 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9634 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9635 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9637 * sysdeps/sh/abort-instr.h: New file.
9638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9639 process in case exit returns.
9641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9642 initialize the GOT register before use.
9644 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9645 calculation of ARGC > 4.
9647 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9648 meaningful names to some local labels.
9650 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9651 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9654 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9655 (__arch_compare_and_exchange_val_16_acq): Likewise.
9656 (__arch_compare_and_exchange_val_32_acq): Likewise.
9657 (atomic_exchange_and_add): Fix gUSA sequence.
9658 (atomic_add): Likewise.
9659 (atomic_add_negative): Likewise.
9660 (atomic_add_zero): Likewise.
9661 (atomic_bit_test_set): Likewise.
9663 2012-06-22 Andreas Schwab <schwab@redhat.com>
9666 * include/link.h (struct link_map): Add l_free_initfini.
9667 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9669 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9670 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9671 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9674 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9676 * configure.in: Use AC_LANG_SOURCE.
9677 * configure: Regenerate.
9679 2012-06-22 Roland McGrath <roland@hack.frob.com>
9681 * configure.in (libc_cv_localstatedir): New substituted variable.
9682 * configure: Regenerated.
9683 * config.make.in (localstatedir): New variable, substituted from
9684 libc_cv_localstatedir.
9685 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9686 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9687 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9688 * sysdeps/gnu/configure: Regenerated.
9690 2012-06-21 Jeff Law <law@redhat.com>
9693 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9694 free. Simplify list management for _LIBC case.
9696 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9700 Clear sign bit of 64-bit integer value before comparing against
9703 * sysdeps/mach/configure: Regenerated.
9705 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9708 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9710 2012-06-21 Jeff Law <law@redhat.com>
9713 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9714 uint16_t for elements in the "seen" array to avoid char overflows.
9715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9716 * elf/dl-open.c (dl_open_worker): Likewise.
9718 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9720 * scripts/list-sources.sh: Scan PORTS for translations.
9721 * po/libc.pot: Regenerated.
9723 2012-06-21 Andreas Jaeger <aj@suse.de>
9726 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9728 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9729 * bits/byteswap-16.h (__bswap_16): Likewise.
9730 * bits/byteswap.h (__bswap_constant_16): Likewise.
9732 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9735 * sysdeps/i386/fpu_control.h: Removed.
9736 * sysdeps/x86_64/fpu_control.h: Moved to ...
9737 * sysdeps/x86/fpu_control.h: Here.
9739 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9740 (_FPU_SETCW): Likewise.
9742 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9745 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9746 * sysdeps/x86/fpu/bits/mathinline.h: This.
9747 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9751 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9752 functions if __x86_64__ is defined.
9754 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9756 * string/endian.h: Add !__ASSEMBLER__ condition for including
9757 conversion interfaces.
9759 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9763 of ABS(x) in calculating zero to negative powers other than odd
9765 * math/libm-test.inc (pow_test): Add more tests.
9767 2012-06-15 Andreas Jaeger <aj@suse.de>
9769 * manual/contrib.texi (Contributors): Update entry of Liubov
9770 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9773 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9775 * string/string.h: Add __wur to GNU version of strerror_r.
9777 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9780 * string/Makefile (tests): Add tst-strtok_r.
9781 * string/tst-strtok_r.c: New file.
9782 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9783 RAX_LP/RDX_LP on SAVE_PTR.
9785 2012-06-14 Roland McGrath <roland@hack.frob.com>
9787 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9789 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9791 * libm_test.inc (csqrt_test): Allow more spurious underflow
9793 (j0_test): Likewise.
9794 (j1_test): Likewise.
9795 (y0_test): Likewise.
9796 (y1_test): Likewise.
9798 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9800 * po/Makefile (libc.pot): Use UTF-8 charset.
9802 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9805 Suppress sign-conversion warning from FD_SET.
9806 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9807 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9808 not unsigned long int.
9809 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9811 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9816 __extern_always_inline instead of __extern_inline.
9817 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9818 (__signbit): Likewise.
9819 (__signbitl): Support C++ namespace.
9820 (lrintf): New inline function.
9822 (llrintf): Likewise.
9834 (nearbyint): Likewise.
9835 (nearbyintf): Likewise.
9837 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9840 non-default versions.
9842 2012-06-11 Roland McGrath <roland@hack.frob.com>
9845 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9847 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9849 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9850 (FE_UPWARD, FE_DOWNWARD): Don't define.
9851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9856 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9857 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9859 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9864 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9866 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9869 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9870 * sysdeps/i386/fpu/Implies: New file.
9871 * sysdeps/x86_64/fpu/Implies: Likewise.
9872 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9873 * sysdeps/x86/fpu/bits/fenv.h: This.
9875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9878 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9881 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9882 character 0xffff that matches the last element of the
9885 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9890 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9893 values higher than 25.6283.
9895 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9898 subnormal exponent extraction and add some __builtin_expect.
9899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9900 Fix for subnormal mantissa calculation.
9902 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9904 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9905 cpu2 is -1 and errno is not ENOSYS.
9907 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9910 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9911 * sysdeps/x86/bits/string.h: This.
9912 * sysdeps/x86_64/bits/string.h: Removed.
9914 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9915 if not compiling for x86-64, but compiling for >= i486.
9917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9918 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9921 New macro from Linux kernel 3.4.0.
9922 (FP_XSTATE_MAGIC2): Likewise.
9923 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9924 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9925 (struct _fpx_sw_bytes): New struct.
9926 (struct _xsave_hdr): Likewise.
9927 (struct _ymmh_state): Likewise.
9928 (struct _xstate): Likewise.
9930 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9931 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9933 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9934 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9935 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9937 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9939 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9940 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9941 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9942 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9944 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9947 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9948 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9949 (sysdep_headers): Include sys/platform/ppc.h.
9950 * sysdeps/powerpc/test-gettimebase.c: Test for
9951 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9952 * manual/Makefile (appendices): Include platform.texi.
9953 * manual/contrib.texi (Contributors): Update @node pointers.
9954 * manual/maint.texi (Maintenance): Likewise.
9955 (Platform): New node.
9956 * manual/platform.texi: New file. Document the new features.
9958 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9959 Jakub Jelinek <jakub@redhat.com>
9962 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9963 where __builtin_expect is unavailable.
9965 2012-06-03 David S. Miller <davem@davemloft.net>
9967 * stdlib/longlong.h: Updated from GCC.
9969 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9972 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9973 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9976 (GLIBC_2.16): Likewise.
9978 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9982 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9985 (default-abi): New variable.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9987 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9989 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9991 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9996 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9997 definition. Document in comment.
9999 2012-06-01 David S. Miller <davem@davemloft.net>
10001 * stdlib/longlong.h: Updated from GCC.
10003 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10006 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10007 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10008 sys/debugreg.h sys/io.h here.
10009 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10010 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10012 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10013 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10015 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10017 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10020 Define only if __x86_64__ is defined.
10022 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10026 Use int64_t for variable i.
10027 * math/libm-test.inc (fmod_test): Add more tests.
10029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10030 z computation is not scheduled after fetestexcept.
10031 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10032 Use math_force_eval instead of asm to ensure calculation scheduled
10033 before exception test.
10034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10035 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10037 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10040 computation is not scheduled after fetestexcept.
10042 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10045 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10048 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10051 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10053 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10056 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10058 (__WCHAR_MIN): Support __WORDSIZE == 64.
10059 (__WCHAR_MAX): Likewise.
10061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10062 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10066 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10073 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10076 Defined to 1 if __x86_64__ isn't defined.
10077 (_STAT_VER_LINUX_OLD): New.
10078 (st_atime): Remove duplicate.
10079 (st_mtime): Likewise.
10080 (st_ctime): Likewise.
10082 2012-05-31 David S. Miller <davem@davemloft.net>
10084 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10087 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10089 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10093 * elf/dl-reloc.c: Include <_itoa.h>.
10094 (_dl_reloc_bad_type): Remove use of INTUSE.
10095 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10096 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10097 * stdio-common/psiginfo.c (psiginfo): Likewise.
10098 * stdio-common/psignal.c (psignal): Likewise.
10099 * string/strsignal.c (strsignal): Likewise.
10100 * include/signal.h (_sys_siglist): Declare hidden proto.
10101 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10102 INTVARDEF with libc_hidden_data_def.
10103 * stdio-common/itoa-udigits.c: Likewise.
10104 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10105 (_itoa_lower_digits_internal): Remove declaration.
10106 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10107 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10108 (_sys_sigabbrev_internal): Remove aliases.
10109 (_sys_siglist): Define hidden alias.
10111 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10116 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10120 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10122 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10124 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10125 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10127 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10129 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10131 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10133 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10141 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10146 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10148 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10149 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10150 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10153 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10162 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10163 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10165 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10167 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10168 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10169 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10171 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10173 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10175 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10177 * math/math.h (M_El): Use two more decimal places.
10178 (M_LOG2El): Likewise.
10179 (M_LOG10El): Likewise.
10180 (M_LN2l): Likewise.
10181 (M_LN10l): Likewise.
10183 (M_PI_2l): Likewise.
10184 (M_PI_4l): Likewise.
10185 (M_1_PIl): Likewise.
10186 (M_2_PIl): Likewise.
10187 (M_2_SQRTPIl): Likewise.
10188 (M_SQRT2l): Likewise.
10189 (M_SQRT1_2l): Likewise.
10191 2012-05-31 David S. Miller <davem@davemloft.net>
10193 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10194 values between float registers.
10195 * sysdeps/sparc/sparc64/memset.S: Likewise.
10196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10198 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10200 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10201 -D_FORTIFY_SOURCE=1.
10202 (CPPFLAGS-tst-longjmp_chk.c): Define.
10203 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10204 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10205 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10206 CFLAGS-tst-wchar-h.c.
10208 2012-05-31 Marek Polacek <polacek@redhat.com>
10211 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10212 __endmntent_internal): Remove declaration.
10213 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10214 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10215 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10217 2012-05-30 David S. Miller <davem@davemloft.net>
10219 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10220 (___Q_simulate_exceptions): Use real FP ops rather than writing
10222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10228 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10229 * sysdeps/x86/bits/xtitypes.h: This.
10231 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10232 * sysdeps/x86/bits/wordsize.h: This.
10234 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10235 * sysdeps/x86/bits/huge_vall.h: This.
10237 * sysdeps/i386/bits/select.h: Removed.
10238 * sysdeps/x86_64/bits/select.h: Renamed to ...
10239 * sysdeps/x86/bits/select.h: This.
10241 * sysdeps/i386/bits/setjmp.h: Removed.
10242 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10243 * sysdeps/x86/bits/setjmp.h: This.
10245 * sysdeps/i386/bits/mathdef.h: Removed.
10246 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10247 * sysdeps/x86/bits/mathdef.h: This.
10249 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10252 * include/sys/socket.h (__connect_internal)
10253 (__libc_sa_len_internal): Remove declaration.
10254 (__connect, __libc_sa_len): Declare hidden_proto.
10255 (SA_LEN): Remove use of INTUSE.
10256 * socket/connect.c: Add libc_hidden_def.
10257 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10258 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10259 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10261 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10263 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10264 of adding _internal alias.
10266 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/i386/bits/link.h: Removed.
10270 * sysdeps/i386/bits/linkmap.h: Likewise.
10271 * sysdeps/x86_64/bits/link.h: Renamed to ...
10272 * sysdeps/x86/bits/link.h: This.
10273 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10274 * sysdeps/x86/bits/linkmap.h: This.
10276 * sysdeps/i386/bits/endian.h: Removed.
10277 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10278 * sysdeps/x86/bits/endian.h: This.
10280 * sysdeps/i386/bits/byteswap.h: Removed.
10281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10282 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10283 * sysdeps/x86/bits/byteswap.h: This.
10284 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10285 * sysdeps/x86/bits/byteswap-16.h: This.
10286 * sysdeps/i386/Implies: Add x86.
10287 * sysdeps/x86_64/Implies: Likewise.
10289 2012-05-30 David S. Miller <davem@davemloft.net>
10291 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10292 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10294 (FP_TRAPPING_EXCEPTIONS): Define.
10295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10296 (FP_TRAPPING_EXCEPTIONS): Define.
10297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10298 subnormals only when inexact has been signalled or underflow
10299 exceptions are enabled.
10300 (_FP_PACK_CANONICAL): Likewise.
10302 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10306 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10308 2012-05-30 Richard Henderson <rth@twiddle.net>
10310 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10311 with #ifndef NOT_IN_libc.
10313 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10314 marked to avoid plt entry.
10316 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10319 * Makeconfig (default-abi): New macro.
10320 (abi-includes): Likewise.
10321 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10322 $(abi-$(default-abi)-lib-soname) for soname if defined.
10323 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10325 * Makefile (installed-stubs): Likewise.
10326 * include/stubs-biarch.h: Removed.
10327 * scripts/lib-names.awk: Only handle one library at a time.
10328 * scripts/soversions.awk: Remove WORDSIZE support.
10329 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10333 (syscall-list-default-condition): Likewise.
10334 (syscall-list-default-condition): Likewise.
10335 (syscall-list-includes): Likewise.
10336 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10337 syscall-list-* with abi-*. Handle undefined abi-variants.
10338 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10339 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10340 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10343 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10345 (syscall-list-32-options): Likewise.
10346 (syscall-list-32-condition): Likewise.
10347 (syscall-list-64-options): Likewise.
10348 (syscall-list-64-condition): Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10351 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10354 (abi-64-ld-soname): New macro.
10355 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10359 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10360 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10362 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10364 * sysdeps/unix/sysv/linux/kernel-features.h
10365 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10366 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10367 include <kernel-features.h>.
10368 [!__NR_ftruncate64]: Remove conditional code.
10369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10370 [__NR_ftruncate64]: Make code unconditional.
10371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10372 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10373 include <kernel-features.h>.
10374 [!__NR_ftruncate64]: Remove conditional code.
10375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10376 [__NR_ftruncate64]: Make code unconditional.
10377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10379 include <kernel-features.h>.
10380 [!__NR_ftruncate64]: Remove conditional code.
10381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10382 [__NR_ftruncate64]: Make code unconditional.
10383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10385 include <kernel-features.h>.
10386 [!__NR_ftruncate64]: Remove conditional code.
10387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10388 [__NR_ftruncate64]: Make code unconditional.
10389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10391 * configure.in (libc_cv_fpie): Weaken to a compile test using
10392 LIBC_TRY_CC_OPTION.
10393 * configure: Regenerated.
10395 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10410 2012-05-27 David S. Miller <davem@davemloft.net>
10412 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10414 (__Q_simulate_exceptions): Return void. Change to simulate
10415 exceptions by writing into the %fsr.
10416 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10417 (__Qp_handle_exceptions): Likewise.
10419 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10420 __Qp_handle_exceptions.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10422 __Qp_handle_exceptions.
10423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10424 as unused and give dummy FP_RND_NEAREST initializer.
10425 (FP_INHIBIT_RESULTS): Define.
10426 (___Q_simulate_exceptions): Update declaration.
10427 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10430 as unused and give dummy FP_RND_NEAREST initializer.
10431 (__Qp_handle_exceptions): Update declaration.
10432 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10435 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10438 the temporary FPU control word.
10439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10440 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10442 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10444 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10445 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10446 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10447 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10448 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10451 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10456 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10458 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10459 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10463 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10464 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10467 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10469 * po/h.po: Update from translation team.
10471 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10473 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10476 handling of denormals.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10478 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10486 2012-05-26 Marek Polacek <polacek@redhat.com>
10489 * math/libm-test.inc (fma_test): Don't always expect underflow
10492 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10495 * elf/tst-execstack.c: Include stackinfo.h.
10496 (do_test): Adjust test case to ensure that pthread_getattr_np
10497 behaviour remains the same after marking stack executable.
10499 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10501 * sysdeps/unix/sysv/linux/kernel-features.h
10502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10503 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10505 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10506 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10507 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10512 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10514 * configure.in: Define the default includes to being none.
10515 * configure: Regenerated.
10517 2012-05-25 Roland McGrath <roland@hack.frob.com>
10519 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10520 * sysdeps/x86_64/setjmp.S: Likewise.
10521 * sysdeps/i386/bsd-setjmp.S: Likewise.
10522 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10523 * sysdeps/i386/setjmp.S: Likewise.
10524 * sysdeps/i386/__longjmp.S: Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10528 * include/stap-probe.h: New file.
10529 * configure.in: Handle --enable-systemtap.
10530 * configure: Regenerated.
10531 * config.h.in (USE_STAP_PROBE): New #undef.
10532 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10533 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10534 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10536 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10540 to 2.4.0 where earlier.
10541 * sysdeps/unix/sysv/linux/configure: Regenerated.
10542 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10543 <kernel-features.h>.
10544 [__ASSUME_32BITUIDS]: Make code unconditional.
10545 [!__ASSUME_32BITUIDS]: Remove conditional code.
10546 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10547 <kernel-features.h>.
10548 [__ASSUME_32BITUIDS]: Make code unconditional.
10549 [!__ASSUME_32BITUIDS]: Remove conditional code.
10550 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10551 [__ASSUME_32BITUIDS]: Make code unconditional.
10552 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10553 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10554 <kernel-features.h>.
10555 [__ASSUME_32BITUIDS]: Make code unconditional.
10556 [!__ASSUME_32BITUIDS]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10558 <kernel-features.h>.
10559 [__ASSUME_32BITUIDS]: Make code unconditional.
10560 [!__ASSUME_32BITUIDS]: Remove conditional code.
10561 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10562 <kernel-features.h>.
10563 [__ASSUME_32BITUIDS]: Make code unconditional.
10564 [!__ASSUME_32BITUIDS]: Remove conditional code.
10565 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10566 <kernel-features.h>.
10567 [__ASSUME_32BITUIDS]: Make code unconditional.
10568 [!__ASSUME_32BITUIDS]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10570 <kernel-features.h>.
10571 [__ASSUME_32BITUIDS]: Make code unconditional.
10572 [!__ASSUME_32BITUIDS]: Remove conditional code.
10573 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10574 <kernel-features.h>.
10575 [__ASSUME_32BITUIDS]: Make code unconditional.
10576 [!__ASSUME_32BITUIDS]: Remove conditional code.
10577 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10578 <kernel-features.h>.
10579 [__ASSUME_32BITUIDS]: Make code unconditional.
10580 [!__ASSUME_32BITUIDS]: Remove conditional code.
10581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10582 <kernel-features.h>.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10594 <kernel-features.h>.
10595 [__NR_setresgid] (__setresgid): Do not declare.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10599 <kernel-features.h>.
10600 [__NR_setresuid] (__setresuid): Do not declare.
10601 [__ASSUME_32BITUIDS]: Make code unconditional.
10602 [!__ASSUME_32BITUIDS]: Remove conditional code.
10603 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10604 <kernel-features.h>.
10605 [__ASSUME_32BITUIDS]: Make code unconditional.
10606 [!__ASSUME_32BITUIDS]: Remove conditional code.
10607 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10608 <kernel-features.h>.
10609 [__ASSUME_32BITUIDS]: Make code unconditional.
10610 [!__ASSUME_32BITUIDS]: Remove conditional code.
10611 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10612 <kernel-features.h>.
10613 [__ASSUME_32BITUIDS]: Make code unconditional.
10614 [!__ASSUME_32BITUIDS]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10616 <kernel-features.h>.
10617 [__ASSUME_32BITUIDS]: Make code unconditional.
10618 [!__ASSUME_32BITUIDS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10620 <kernel-features.h>.
10621 [__ASSUME_32BITUIDS]: Make code unconditional.
10622 [!__ASSUME_32BITUIDS]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10624 <kernel-features.h>.
10625 [__ASSUME_32BITUIDS]: Make code unconditional.
10626 [!__ASSUME_32BITUIDS]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10628 <kernel-features.h>.
10629 [__ASSUME_32BITUIDS]: Make code unconditional.
10630 [!__ASSUME_32BITUIDS]: Remove conditional code.
10631 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10632 <kernel-features.h>.
10633 [__ASSUME_32BITUIDS]: Make code unconditional.
10634 [!__ASSUME_32BITUIDS]: Remove conditional code.
10635 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10636 <kernel-features.h>.
10637 [__ASSUME_32BITUIDS]: Make code unconditional.
10638 [!__ASSUME_32BITUIDS]: Remove conditional code.
10639 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10640 <kernel-features.h>.
10641 [__ASSUME_32BITUIDS]: Make code unconditional.
10642 [!__ASSUME_32BITUIDS]: Remove conditional code.
10643 * sysdeps/unix/sysv/linux/kernel-features.h
10644 (__ASSUME_SETRESUID_SYSCALL): Remove.
10645 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10646 (__ASSUME_32BITUIDS): Likewise.
10647 (__ASSUME_LDT_WORKS): Likewise.
10648 (__ASSUME_O_DIRECTORY): Likewise.
10649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10650 architecture but not kernel version.
10651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10652 (__ASSUME_MMAP2_SYSCALL): Likewise.
10653 (__ASSUME_STAT64_SYSCALL): Likewise.
10654 (__ASSUME_IPC64): Likewise.
10655 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10656 <kernel-features.h>.
10657 [__ASSUME_32BITUIDS]: Make code unconditional.
10658 [!__ASSUME_32BITUIDS]: Remove conditional code.
10659 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10660 <kernel-features.h>.
10661 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10662 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10663 132096]: Remove conditional code.
10664 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10666 <kernel-features.h>.
10667 [__ASSUME_32BITUIDS]: Make code unconditional.
10668 [!__ASSUME_32BITUIDS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10670 <kernel-features.h>.
10671 [__ASSUME_32BITUIDS]: Make code unconditional.
10672 [!__ASSUME_32BITUIDS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10674 <kernel-features.h>.
10675 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10677 (__setresgid): Do not declare.
10678 [__ASSUME_32BITUIDS]: Make code unconditional.
10679 [!__ASSUME_32BITUIDS]: Remove conditional code.
10680 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10681 <kernel-features.h>.
10682 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10684 (__setresuid): Do not declare.
10685 [__ASSUME_32BITUIDS]: Make code unconditional.
10686 [!__ASSUME_32BITUIDS]: Remove conditional code.
10687 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10688 <kernel-features.h>.
10689 [__ASSUME_32BITUIDS]: Make code unconditional.
10690 [!__ASSUME_32BITUIDS]: Remove conditional code.
10691 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10692 <kernel-features.h>.
10693 [__ASSUME_32BITUIDS]: Make code unconditional.
10694 [!__ASSUME_32BITUIDS]: Remove conditional code.
10696 2012-05-25 Richard Henderson <rth@twiddle.net>
10698 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10699 dl_hwcap to ifunc resolver.
10700 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10702 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10703 dl_hwcap to ifunc resolver.
10704 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10706 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10709 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10710 for |x| <= 2**-26, not 2**-57.
10711 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10714 2012-05-24 Jeff Law <law@redhat.com>
10716 * stdio-common/Makefile (tests): Add bug25.
10717 * stdio-common/bug25.c: New test.
10719 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10722 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10723 multiple of MALLOC_ALIGNMENT in size.
10724 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10726 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10728 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10730 (FILENAME_MAX): Use macro-int-constant.
10731 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10732 (_IOFBF): Use macro-int-constant.
10733 (_IOLBF): Likewise.
10734 (_IONBF): Likewise.
10735 (SEEK_CUR): Likewise.
10736 (SEEK_END): Likewise.
10737 (SEEK_SET): Likewise.
10738 (TMP_MAX): Likewise.
10739 (EOF): Use macro-int-constant. Require < 0.
10740 (NULL): Use macro-constant. Require == 0.
10741 (stdin): Require type to be FILE *.
10742 (stdout): Likewise.
10743 (stderr): Likewise.
10744 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10745 macro-int-constant.
10746 (EXIT_SUCCESS): Likewise.
10747 (NULL): Use macro-constant. Require == 0.
10748 (RAND_MAX): Use macro-int-constant.
10749 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10750 [C99-based standards] (strtof): Require function.
10751 [C99-based standards] (strtold): Likewise.
10752 [C99-based standards] (strtoll): Likewise.
10753 [C99-based standards] (strtoull): Likewise.
10754 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10755 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10756 [ISO || ISO99 || ISO11] (math.h): Likewise.
10757 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10761 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10764 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10765 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10766 * intl/dgettext.c (DCGETTEXT): Likewise.
10767 * intl/gettext.c (DCGETTEXT): Likewise.
10768 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10769 * posix/regex_internal.h (gettext): Likewise.
10770 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10771 Remove declaration.
10772 * include/argz.h (__argz_count_internal)
10773 (__argz_stringify_internal): Remove declaration.
10774 (__argz_count, __argz_stringify): Declare hidden proto.
10775 * intl/dcgettext.c: Remove use of INTDEF.
10776 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10777 * string/argz-stringify.c: Likewise.
10778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10780 Declare hidden proto.
10781 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10782 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10783 Declare hidden proto.
10784 * include/stdio.h (__asprintf_internal): Don't declare.
10785 (__asprintf): Don't define as macro. Declare hidden proto.
10786 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10787 (__fsetlocking): Declare hidden proto.
10788 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10789 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10791 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10792 (_IO_setlinebuf): Remove use of INTUSE.
10793 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10794 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10795 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10796 Remove declaration.
10797 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10798 (_IO_do_flush): Remove use of INTUSE.
10799 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10800 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10801 (_IO_adjust_column, _IO_least_wmarker)
10802 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10803 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10804 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10805 (_IO_default_doallocate, _IO_wdefault_doallocate)
10806 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10807 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10808 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10809 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10810 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10811 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10812 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10813 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10814 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10815 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10816 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10817 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10818 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10820 (_IO_flush_all_internal, _IO_adjust_column_internal)
10821 (_IO_default_uflow_internal, _IO_default_finish_internal)
10822 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10823 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10824 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10825 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10826 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10827 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10828 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10829 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10830 (_IO_file_close_internal, _IO_file_close_it_internal)
10831 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10832 (_IO_file_init_internal, _IO_file_attach_internal)
10833 (_IO_file_fopen_internal, _IO_file_read_internal)
10834 (_IO_file_sync_internal, _IO_file_seek_internal)
10835 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10836 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10837 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10838 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10839 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10840 (_IO_list_all_internal, _IO_link_in_internal)
10841 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10842 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10843 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10844 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10845 (_IO_do_write_internal, _IO_padn_internal)
10846 (_IO_getline_info_internal, _IO_getline_internal)
10847 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10848 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10849 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10850 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10851 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10852 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10853 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10854 with libc_hidden_ver, remove use of INTUSE.
10855 * libio/genops.c: Likewise.
10856 * libio/freopen.c: Likewise.
10857 * libio/freopen64.c: Likewise.
10858 * libio/iofclose.c: Likewise.
10859 * libio/iofdopen.c: Likewise.
10860 * libio/iofflush.c: Likewise.
10861 * libio/iofflush_u.c: Likewise.
10862 * libio/iofgets.c: Likewise.
10863 * libio/iofgets_u.c: Likewise.
10864 * libio/iofopen.c: Likewise.
10865 * libio/iofopncook.c: Likewise.
10866 * libio/iofread.c: Likewise.
10867 * libio/iofread_u.c: Likewise.
10868 * libio/ioftell.c: Likewise.
10869 * libio/iofwrite.c: Likewise.
10870 * libio/iogetline.c: Likewise.
10871 * libio/iogets.c: Likewise.
10872 * libio/iogetwline.c: Likewise.
10873 * libio/iopadn.c: Likewise.
10874 * libio/iopopen.c: Likewise.
10875 * libio/ioseekoff.c: Likewise.
10876 * libio/ioseekpos.c: Likewise.
10877 * libio/iosetbuffer.c: Likewise.
10878 * libio/iosetvbuf.c: Likewise.
10879 * libio/ioungetc.c: Likewise.
10880 * libio/ioungetwc.c: Likewise.
10881 * libio/iovdprintf.c: Likewise.
10882 * libio/iovsprintf.c: Likewise.
10883 * libio/iovsscanf.c: Likewise.
10884 * libio/memstream.c: Likewise.
10885 * libio/obprintf.c: Likewise.
10886 * libio/oldfileops.c: Likewise.
10887 * libio/oldiofclose.c: Likewise.
10888 * libio/oldiofdopen.c: Likewise.
10889 * libio/oldiofopen.c: Likewise.
10890 * libio/oldiopopen.c: Likewise.
10891 * libio/oldstdfiles.c: Likewise.
10892 * libio/putc.c: Likewise.
10893 * libio/setbuf.c: Likewise.
10894 * libio/setlinebuf.c: Likewise.
10895 * libio/stdfiles.c: Likewise.
10896 * libio/strops.c: Likewise.
10897 * libio/vasprintf.c: Likewise.
10898 * libio/vscanf.c: Likewise.
10899 * libio/vsnprintf.c: Likewise.
10900 * libio/vswprintf.c: Likewise.
10901 * libio/wfiledoalloc.c: Likewise.
10902 * libio/wfileops.c: Likewise.
10903 * libio/wgenops.c: Likewise.
10904 * libio/wmemstream.c: Likewise.
10905 * libio/wstrops.c: Likewise.
10906 * libio/__fpurge.c: Likewise.
10907 * libio/__fsetlocking.c: Likewise.
10908 * assert/assert.c: Likewise.
10909 * debug/fgets_chk.c: Likewise.
10910 * debug/fgets_u_chk.c: Likewise.
10911 * debug/fread_chk.c: Likewise.
10912 * debug/fread_u_chk.c: Likewise.
10913 * debug/gets_chk.c: Likewise.
10914 * debug/obprintf_chk.c: Likewise.
10915 * debug/vasprintf_chk.c: Likewise.
10916 * debug/vdprintf_chk.c: Likewise.
10917 * debug/vsnprintf_chk.c: Likewise.
10918 * debug/vsprintf_chk.c: Likewise.
10919 * malloc/mtrace.c: Likewise.
10920 * misc/error.c: Likewise.
10921 * misc/syslog.c: Likewise.
10922 * stdio-common/asprintf.c: Likewise.
10923 * stdio-common/fxprintf.c: Likewise.
10924 * stdio-common/getw.c: Likewise.
10925 * stdio-common/isoc99_fscanf.c: Likewise.
10926 * stdio-common/isoc99_scanf.c: Likewise.
10927 * stdio-common/isoc99_vfscanf.c: Likewise.
10928 * stdio-common/isoc99_vscanf.c: Likewise.
10929 * stdio-common/isoc99_vsscanf.c: Likewise.
10930 * stdio-common/printf-prs.c: Likewise.
10931 * stdio-common/printf_fp.c: Likewise.
10932 * stdio-common/printf_fphex.c: Likewise.
10933 * stdio-common/printf_size.c: Likewise.
10934 * stdio-common/putw.c: Likewise.
10935 * stdio-common/scanf.c: Likewise.
10936 * stdio-common/sprintf.c: Likewise.
10937 * stdio-common/tmpfile.c: Likewise.
10938 * stdio-common/vfprintf.c: Likewise.
10939 * stdio-common/vfscanf.c: Likewise.
10940 * stdlib/strfmon_l.c: Likewise.
10941 * sunrpc/openchild.c: Likewise.
10942 * sunrpc/xdr_stdio.c: Likewise.
10943 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10944 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10946 2012-05-24 Roland McGrath <roland@hack.frob.com>
10948 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10950 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10951 in the third column, to generate for the shared library an IFUNC
10952 that uses _dl_vdso_vsym.
10953 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10954 * Makeconfig (object-suffixes-noshared): New variable.
10956 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10957 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10958 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10959 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10962 * include/sys/time.h (__gettimeofday): Remove macro.
10963 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10964 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10966 (__gettimeofday): Add libc_hidden_def.
10967 (gettimeofday): Add libc_hidden_weak.
10968 * sysdeps/mach/gettimeofday.c: Likewise.
10969 * sysdeps/posix/gettimeofday.c: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10973 (__gettimeofday_internal): Remove strong_alias.
10974 (__gettimeofday): Add libc_hidden_def.
10975 (gettimeofday): Add libc_hidden_weak.
10976 * sysdeps/unix/syscalls.list (gettimeofday):
10977 Remove __gettimeofday_internal alias.
10979 2012-05-24 Daniel Jacobowitz <drow@false.org>
10980 H.J. Lu <hongjiu.lu@intel.com>
10983 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10984 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10985 (largebin_index_32_big): New.
10986 (largebin_index): Use it for 16-byte alignment.
10987 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10988 correction with front_misalign.
10990 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11018 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11019 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11021 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11025 * math/libm-test.inc (exp_test): Add test from bug 14036.
11026 (pow_test): Add test from bug 10846.
11028 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11030 (special_function): Do not include flags in test name.
11031 (parse_args): Likewise.
11032 * sysdeps/i386/fpu/libm-test-ulps: Update.
11033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11034 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11035 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11040 * math/libm-test.inc ("Philosophy"): Update comment about
11042 (UNDERFLOW_EXCEPTION): New macro.
11043 (UNDERFLOW_EXCEPTION_OK): Likewise.
11044 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11045 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11046 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11047 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11048 (INVALID_EXCEPTION_OK): Update value.
11049 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11050 (OVERFLOW_EXCEPTION_OK): Likewise.
11051 (IGNORE_ZERO_INF_SIGN): Likewise.
11052 (test_exceptions): Handle underflow exceptions.
11053 (acos_test): Update for underflow exception expectations.
11054 (cexp_test): Likewise.
11055 (clog_test): Likewise.
11056 (clog10_test): Likewise.
11057 (csqrt_test): Likewise.
11058 (ctan_test): Likewise.
11059 (ctanh_test): Likewise.
11060 (exp_test): Likewise.
11061 (exp10_test): Likewise.
11062 (exp2_test): Likewise.
11063 (expm1_test): Likewise.
11064 (fma_test): Likewise.
11065 (j0_test): Likewise.
11066 (jn_test): Likewise.
11067 (nexttoward_test): Likewise.
11068 (pow_test): Likewise.
11069 (scalbn_test): Likewise.
11070 (scalbln_test): Likewise.
11071 (tan_test): Likewise.
11072 (y1_test): Likewise.
11073 * sysdeps/i386/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11076 2012-05-23 David S. Miller <davem@davemloft.net>
11078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11079 (__libc_sigaction): Remove unused local variables.
11081 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11083 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11085 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11087 mktime: avoid signed integer overflow
11088 * time/mktime.c (__mktime_internal): Do not mishandle the case
11089 where diff == INT_MIN.
11091 mktime: simplify computation of average
11092 * time/mktime.c (ranged_convert): Use new time_t_avg function
11093 instead of rolling our own (probably-slower) code.
11095 mktime: do not assume signed right shift propagates sign bit
11096 * time/mktime.c (isdst_differ): New static function.
11097 (__mktime_internal): No need to normalize tm_isdst now.
11098 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11101 mktime: merge another wrapv change from gnulib
11102 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11103 from some compilers.
11105 mktime: remove incorrect attempt at unusual arithmetics
11106 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11107 The code didn't really work on such machines anyway.
11108 (TYPE_MINIMUM): Assume two's complement.
11109 (twos_complement_arithmetic): Verify that long_int and time_t
11110 are two's complement (or unsigned, in the latter case).
11112 mktime: check signed shifts on long_int and time_t, too
11113 * time/mktime.c (SHR): Check that shifts work as desired
11114 on the types long_int and time_t too, as SHR is used on
11117 mktime: do not assume 'long' is wide enough
11118 * time/mktime.c (verify): Move decl up.
11119 (long_int): New type.
11120 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11121 to remove assumption in the code that 'long' is wide enough to
11122 store year values. This assumption is not true on x32 and on
11123 some non-glibc platforms.
11125 mktime: merge wrapv change from gnulib
11126 * time/mktime.c (WRAPV): New macro.
11127 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11128 (guess_time_tm, __mktime_internal): Do not assume that signed
11129 integer overflow wraps around; modern compilers generate code
11130 where this assumption is no longer valid.
11132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11135 Replace "jmp L(pseudo_end)" with "ret".
11136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11139 2012-05-23 Andreas Jaeger <aj@suse.de>
11141 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11142 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11144 2012-05-23 Andreas Jaeger <aj@suse.de>
11145 Maximilian Attems <max@stro.at>
11147 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11150 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11153 code so that pseudo_end is just ret and the stack pointer is
11154 correct also for static library in error case.
11156 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11158 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11159 move to syscalls.list.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11165 * manual/install.texi (Running make install): Do not mention Linux
11166 kernel version for which pt_chown is not needed.
11167 (Linux): Do not mention problems with nscd with 2.0 kernels.
11168 * INSTALL: Regenerated.
11170 2012-05-23 Andreas Jaeger <aj@suse.de>
11172 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11173 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11175 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11177 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11179 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11185 * sysdeps/unix/sysv/linux/bits/in.h
11186 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11188 2012-05-22 Roland McGrath <roland@hack.frob.com>
11190 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11191 (PREPARE_VERSION): Just use assert instead, it will be elided
11192 under [NDEBUG] anyway.
11194 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11196 * sysdeps/unix/sysv/linux/Makefile: Include
11197 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11198 (sysdep_routines): Remove sysctl.
11199 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11200 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11201 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11203 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11205 2012-05-22 Andreas Jaeger <aj@suse.de>
11207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11208 that pseudo_end is just ret and the stack pointer is correct also
11209 for static library in error case.
11211 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11214 * nss/nsswitch.c (defconfig_entries): New variable.
11215 (__nss_database_lookup): Don't leak defconfig entries.
11216 (nss_parse_service_list): Don't leak on error paths.
11217 (free_database_entries): New function.
11218 (free_defconfig): New function.
11219 (free_mem): Move common code to free_database_entries.
11221 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11223 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11225 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11228 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11231 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11232 (INTERNAL_SYSCALL_TYPES): Likewise.
11233 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11234 (LOAD_REGS_TYPES_[1-6]): Likewise.
11235 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11236 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11238 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11241 copysignl for GLIBC_2_0.
11242 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11243 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11245 logbl for GLIBC_2_0.
11246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11247 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11249 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11257 * time/mktime.c: Update copyright years.
11259 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11261 mktime: merge comment-quoting-style change from gnulib
11262 * time/mktime.c: Quote 'like this' in comments.
11263 The GNU coding standards suggest that we no longer quote `like this',
11264 as "`" and "'" are typically rendered asymmetrically nowadays.
11265 The typical gnulib style is to quote 'like this' when quoting
11266 code, and "like this" when quoting English.
11268 * time/mktime.c (compile-command): Add "-I.".
11270 mktime: merge mktime-internal.h change from gnulib
11271 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11273 mktime: merge time_r change from gnulib
11274 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11276 mktime: merge DEBUG change from gnulib
11277 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11278 case system <time.h> has a #define.
11280 mktime: merge <sys/types.h> change from gnulib
11281 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11282 since <time.t> is now guaranteed to define time_t.
11284 mktime: merge HAVE_CONFIG_H change from gnulib
11285 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11287 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11292 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11294 (struct rusage): Use anonymous union to pad each field to
11297 2012-05-21 David S. Miller <davem@davemloft.net>
11299 * Makefules (o-iterator): Remove .s cases.
11300 (compile-command.s): Delete.
11301 (COMPILE.s): Delete.
11302 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11304 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11306 * configure.in (libc_cv_predef_stack_protector): Only consider
11307 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11308 * configure: Regenerated.
11310 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11313 New macro. Use R*LP on int and pointer.
11314 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11315 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11316 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11317 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11319 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11320 [__WORDSIZE_TIME64_COMPAT32] instead of
11321 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11322 (struct utmp): Likewise.
11323 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11324 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11326 (__WORDSIZE_TIME64_COMPAT32): This.
11327 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11328 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11329 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11331 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11332 (__WORDSIZE_TIME64_COMPAT32): New macro.
11334 2012-05-21 Andreas Jaeger <aj@suse.de>
11336 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11337 only if [SHARED]. Add prototype for __wcschr_ia32.
11339 2012-05-21 Roland McGrath <roland@hack.frob.com>
11341 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11342 of %rbp unmolested in the jmp_buf while mangling the low bits.
11343 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11344 unmolested high bits of %rbp while demangling the low bits.
11345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11347 2012-05-21 Andreas Jaeger <aj@suse.de>
11349 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11350 * sunrpc/svc_simple.c: Use it for registerrpc.
11351 * sunrpc/xcrypt.c: Use it for passwd2des.
11353 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11355 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11357 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11358 Don't define if [__SYSCALL_WORDSIZE != 32].
11359 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11362 2012-05-21 Bruno Haible <bruno@clisp.org>
11363 Andreas Jaeger <aj@suse.de>
11365 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11366 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11367 inptr and inend for must_buffer_ch.
11368 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11369 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11370 * stdio-common/Makefile (tests): Remove bug15.
11371 (bug15-ENV): Remove macro.
11372 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11375 2012-05-19 Andreas Jaeger <aj@suse.de>
11376 Roland McGrath <roland@hack.frob.com>
11378 * manual/contrib.texi: Completely rewritten. It contains now an
11379 alphabetical list of contributors and their contributions.
11381 2012-05-21 Richard Henderson <rth@twiddle.net>
11383 * misc/getauxval.c (__getauxval): Use unsigned long int.
11384 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11385 (getauxval): Use unsigned long int.
11387 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11389 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11391 2012-05-21 Roland McGrath <roland@hack.frob.com>
11393 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11394 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11395 __alignof__ (long double).
11397 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11401 2012-05-20 Richard Henderson <rth@twiddle.net>
11403 * misc/getauxval.c: New file.
11404 * misc/sys/auxv.h: New file.
11405 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11406 (routines): Add getauxval.
11407 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11409 * elf/dl-sysdep.c (_dl_auxv): Remove.
11410 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11411 * elf/dl-support.c (_dl_auxv): New variable.
11412 (_dl_aux_init): Initialize it.
11413 * manual/startup.texi (Auxiliary Vector): New node.
11414 * sysdeps/generic/bits/hwcap.h: New file.
11415 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11416 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11417 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11418 * sysdeps/sparc/sysdep.h: ... here. Include it.
11419 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11432 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11436 2012-05-19 David S. Miller <davem@davemloft.net>
11438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11440 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11443 * math/s_ccosh.c: Include <float.h>
11444 (__ccosh): Avoid internal overflow calculating sinh and cosh
11445 values before multiplying by sin and cos values.
11446 * math/s_ccoshf.c: Likewise.
11447 * math/s_ccoshl.c: Likewise.
11448 * math/s_csin.c: Likewise.
11449 * math/s_csinf.c: Likewise.
11450 * math/s_csinl.c: Likewise.
11451 * math/s_csinh.c: Likewise.
11452 * math/s_csinhf.c: Likewise.
11453 * math/s_csinhl.c: Likewise.
11454 * math/libm-test.inc (ccos_test): Add more tests.
11455 (ccosh_test): Likewise.
11456 (csin_test): Likewise.
11457 (csinh_test): Likewise.
11458 * sysdeps/i386/fpu/libm-test-ulps: Update.
11459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11461 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11463 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11464 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11466 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11468 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11470 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11471 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11472 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11483 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11484 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11485 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11486 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11487 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11488 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11489 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11490 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11491 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11492 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11493 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11494 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11495 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11496 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11497 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11498 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11499 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11500 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11502 2012-05-18 Andreas Jaeger <aj@suse.de>
11504 * csu/.gitignore: Delete.
11506 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11508 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11509 (timex): Use __syscall_slong_t.
11511 2012-05-18 Andreas Jaeger <aj@suse.de>
11512 Carlos O'Donell <carlos_odonell@mentor.com>
11514 * manual/install.texi (Configuring and compiling): Update
11515 description about files modified in the source directory.
11516 * INSTALL: Regenerated.
11518 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11520 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11521 value. Use "or" to set return value to -1.
11522 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11523 negate return value.
11525 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11527 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11528 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11529 failure if the compiler has Graphite support disabled.
11530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11532 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11533 CFLAGS-memmove.c): Likewise.
11534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11537 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11539 * sysdeps/x86_64/x32/_itoa.h: New file.
11541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11542 getdents system call only if kernel and user dirents have the
11543 same d_ino and d_off.
11545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11546 LLONG_MAX != LONG_MAX.
11547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11548 (_fitoa_word): Likewise.
11550 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11557 include <bits/wordsize.h>. Check __x86_64__ instead of
11559 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11560 if __x86_64__ is defined. Use anonymous union on fpstate.
11562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11565 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11567 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11568 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11569 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11570 Refer to _rtld_local_ro instead of _rtld_global_ro.
11571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11573 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11575 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11577 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11578 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11579 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11581 * sysdeps/powerpc/powerpc32/dl-machine.c
11582 (__elf_machine_runtime_setup) [PROF]: Don't reference
11585 2012-05-18 Andreas Jaeger <aj@suse.de>
11587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11588 function only available for GCCs before 3.4 since GCC 3.4
11589 introduced a builtin.
11591 (llrintf): Likewise.
11592 (llrint): Likewise.
11599 (nearbyint): Likewise.
11600 (nearbyintf): Likewise.
11604 (floorf): Likewise.
11606 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11609 on both fields and cast pointer to __syscall_ulong_t.
11611 * bits/types.h (__fsword_t): New type.
11612 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11613 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11615 (__FSWORD_T_TYPE): Likewise.
11616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11617 (__FSWORD_T_TYPE): Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11619 (__FSWORD_T_TYPE): Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11621 (__FSWORD_T_TYPE): Likewise.
11622 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11623 __SWORD_TYPE with __fsword_t.
11624 (statfs64): Likewise.
11626 2012-05-17 David S. Miller <davem@davemloft.net>
11628 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11630 2012-05-17 Andreas Jaeger <aj@suse.de>
11632 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11635 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11637 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11639 2012-05-17 Andreas Jaeger <aj@suse.de>
11641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11644 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11646 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11648 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11650 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11651 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11653 2012-05-17 Andreas Jaeger <aj@suse.de>
11654 Carlos O'Donell <carlos_odonell@mentor.com>
11657 * sysdeps/x86_64/multiarch/init-arch.h
11658 (bit_YMM_Usable): Rename to...
11659 (bit_AVX_Usable): ... this.
11660 (bit_FMA4_Usable): New macro.
11661 (bit_XMM_state): New macro.
11662 (bit_YMM_state): New macro.
11663 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11664 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11665 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11666 (CPUID_OSXSAVE): New macro.
11667 (CPUID_AVX): New macro.
11668 (CPUID_FMA4): New macro.
11669 (index_YMM_Usable): Rename to...
11670 (index_AVX_Usable): ... this.
11671 (HAS_AVX): Use HAS_ARCH_FEATURE.
11672 (HAS_FMA4): Likewise.
11673 (HAS_YMM_USABLE): Remove.
11674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11675 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11677 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11678 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11679 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11680 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11681 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11683 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11685 * math/libm-test.c: Support platforms without multiple rounding modes.
11686 * math/bug-nextafter.c: Support platforms without FP exceptions.
11687 * math/bug-nexttoward.c: Likewise.
11688 * math/test-fenv.c: Likewise.
11689 * math/test-misc.c: Likewise.
11690 * stdlib/bug-getcontext.c: Likewise.
11692 2012-05-17 Andreas Jaeger <aj@suse.de>
11694 * manual/examples/search.c (critter_cmp): Change signature to
11696 * manual/string.texi (Collation Functions): Likewise.
11698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11700 * bits/types.h: Fold copyright years.
11701 * bits/typesizes.h: Likewise.
11702 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11706 * time/time.h: Likewise.
11708 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11711 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11712 in instead of returning them. Return void.
11713 (__libc_mallinfo): Accumulate over all arenas.
11714 (__malloc_stats): Adjust for change in int_mallinfo interface.
11716 2012-05-16 Roland McGrath <roland@hack.frob.com>
11719 * configure.in (NM): Add AC_CHECK_TOOL for it.
11720 (libc_extra_cflags): New substituted variable.
11721 Check for -fstack-protector being used implicitly.
11722 * configure: Regenerated.
11723 * config.make.in (config-extra-cflags): New variable,
11724 gets @libc_extra_cflags@.
11725 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11728 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11729 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11730 * configure: Regenerated.
11731 * config.make.in (CPPUNDEFS): New substituted variable.
11732 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11733 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11734 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11739 (mq_attr): Use __syscall_slong_t.
11741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11743 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11744 Check __x86_64__ instead of __WORDSIZE.
11745 (_STAT_VER_LINUX): Likewise.
11746 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11747 __syscall_ulong_t and __syscall_slong_t.
11748 (stat64): Likewise.
11750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11754 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11756 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11758 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11760 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11763 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11764 include <bits/wordsize.h>. Check __x86_64__ instead of
11766 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11768 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11771 include <bits/wordsize.h>. Check __x86_64__ instead of
11773 (user_regs_struct): Use "__extension__ unsigned long long"
11774 instead of "unsigned long" if __x86_64__ is defined.
11775 (user): Likewise. Pad after pointer field if __ILP32__ is
11778 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11780 * configure.in (makeinfo): Require version 4.5 or later. Allow
11782 * configure: Regenerated.
11783 * manual/install.texi (texinfo): Increase version requirement to
11785 * INSTALL: Regenerated.
11787 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11789 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11791 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11793 * sysdeps/x86_64/x32/ffs.c: New file.
11795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11797 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11798 defined. Use __syscall_ulong_t.
11799 (shminfo): Use __syscall_ulong_t.
11800 (shm_info): Likewise.
11802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11807 (msgqnum_t): Use __syscall_ulong_t.
11808 (msglen_t): Likewise.
11809 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11813 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11815 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11817 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11818 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11820 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11823 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11824 include <bits/wordsize.h>. Check __x86_64__ instead of
11827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11828 "unsigned long long int" if __x86_64__ is defined.
11829 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11833 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11837 (GET_PC): Cast to uintptr_t first.
11838 (GET_FRAME): Likewise.
11839 (GET_STACK): Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11867 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11871 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11873 * Makerules (+depfiles): Also collect depfiles from .oS in
11875 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11876 .oS, $(libnldbl-routines)).
11878 * Makerules (native-compile-mkdep-flags): Define.
11879 * sunrpc/Makefile (extra-objs): Add $(addprefix
11880 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11881 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11882 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11883 calling $(make-target-directory).
11885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11887 * bits/types.h (__snseconds_t): Removed.
11888 * time/time.h (struct timespec): Replace __snseconds_t with
11890 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11891 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11894 (__SNSECONDS_T_TYPE): Likewise.
11895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11896 (__SNSECONDS_T_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11898 (__SNSECONDS_T_TYPE): Likewise.
11900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/mach/hurd/bits/typesizes.h
11903 (__SYSCALL_SLONG_TYPE): New macro.
11904 (__SYSCALL_ULONG_TYPE): Likewise.
11906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11908 * bits/types.h (__syscall_slong_t): New type.
11909 (__syscall_ulong_t): Likewise.
11911 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11912 (__SYSCALL_ULONG_TYPE): Likewise.
11913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11914 (__SYSCALL_SLONG_TYPE): Likewise.
11915 (__SYSCALL_ULONG_TYPE): Likewise.
11916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11917 (__SYSCALL_SLONG_TYPE): Likewise.
11918 (__SYSCALL_ULONG_TYPE): Likewise.
11919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11920 (__SYSCALL_SLONG_TYPE): Likewise.
11921 (__SYSCALL_ULONG_TYPE): Likewise.
11923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11925 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11926 Add sigaltstack-offsets.sym.
11927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11928 <sigaltstack-offsets.h>.
11929 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11930 longjmp_msg pointer.
11931 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11932 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11934 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11936 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11938 * elf/stackguard-macros.h: Remove file.
11939 * sysdeps/generic/stackguard-macros.h: New file.
11940 * sysdeps/i386/stackguard-macros.h: Likewise.
11941 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11942 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11943 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11944 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11945 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11946 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11947 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11948 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11949 <elf/stackguard-macros.h>.
11952 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11953 __aligned__ in attribute.
11954 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11955 (gregset_t): Likewise.
11957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11959 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11960 * sysdeps/x86_64/64/Implies-after: Here. New file.
11961 * sysdeps/x86_64/x32/Implies-after: New file.
11963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11965 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11966 and access return value for _dl_profile_fixup. Use R10_LP to
11969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11971 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11975 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11976 * sysdeps/x86_64/x32/sysdep.h: New file.
11978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11980 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11981 * sysdeps/x86_64/setjmp.S: Likewise.
11983 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11987 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11989 remove unused global constant.
11991 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11993 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11994 include of <not-cancel.h>.
11996 2012-05-15 Roland McGrath <roland@hack.frob.com>
11998 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12000 2012-05-15 Jeff Law <law@redhat.com>
12001 Andreas Jaeger <aj@suse.de>
12004 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12006 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12007 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12008 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12009 code changing __hst_map_handle.map.
12011 2012-05-15 Roland McGrath <roland@hack.frob.com>
12013 * configure.in (sysnames): Look for Implies-before and Implies-after
12015 * configure: Regenerated.
12017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12019 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12020 8-byte data alignment with LP_SIZE alignment.
12022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12029 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12034 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12041 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12042 (stackinfo_sub_sp): Likewise.
12044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12061 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12065 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12066 into R11_LP and load __x86_64_shared_cache_size_half into
12069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12074 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12083 powerpc32/power7/fpu/s_logb.c via #include.
12084 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12085 powerpc32/power7/fpu/s_logbf.c via #include.
12086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12087 powerpc32/power7/fpu/s_logbl.c via #include.
12089 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12091 * README.libm: Remove file.
12093 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12095 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12096 count for x32. Use R*_LP and omit operand-size suffix.
12098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12100 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12101 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12102 * sysdeps/x86_64/x32/shlib-versions: New file.
12104 2012-05-14 Roland McGrath <roland@hack.frob.com>
12106 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12107 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12108 Use _dl_fatal_printf instead.
12110 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12112 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12113 set if not set by the user. Do not allow for being unset.
12114 * sysdeps/unix/sysv/linux/configure: Regenerated.
12116 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12118 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12119 the `q' suffix from lea and replace .quad with ASM_ADDR.
12121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12124 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12126 (PTR_DEMANGLE): Likewise.
12128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12130 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12132 (ASM_ADDR): Likewise.
12133 (RAX_LP): Likewise.
12134 (RBP_LP): Likewise.
12135 (RBX_LP): Likewise.
12136 (RCX_LP): Likewise.
12137 (RDI_LP): Likewise.
12138 (RSI_LP): Likewise.
12139 (RSP_LP): Likewise.
12142 (R10_LP): Likewise.
12143 (R10_LP): Likewise.
12144 (R11_LP): Likewise.
12145 (R12_LP): Likewise.
12146 (R13_LP): Likewise.
12147 (R14_LP): Likewise.
12148 (R15_LP): Likewise.
12150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12152 * sysdeps/x86_64/x32/dl-machine.h: New file.
12154 2012-05-14 Andreas Jaeger <aj@suse.de>
12156 * manual/Makefile (subdir): Remove export of subdir.
12157 (all): Remove target.
12158 (.PHONY): Remove all from list.
12159 (mkinstalldirs): Remove.
12160 (.PHONY): Remove installdirs from list.
12161 ($(inst_infodir)/libc.info): Use make-target-directory.
12162 (installdirs): Remove.
12163 (subdir_%): Remove.
12164 (glibc-targets): Remove.
12167 ($(objpfx)stubs ../po/manual.pot): Remove.
12168 ($(objpfx)stamp%): Remove.
12169 (make-target-directory): Remove.
12170 (subdir_install): Remove.
12171 (routines): Remove.
12178 * manual/.gitignore: Remove, it's not needed anymore.
12179 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12181 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12183 (texis): Renamed to $(objpfx)texis.
12184 (texis-path): New, contains path to generated files.
12185 (chapters.%): Use texis-path for complete path, add extra argument
12187 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12188 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12189 (summary,texi, stamp-summary): Use complete path of
12190 files. Generate files in build dir.
12191 (dir-add.texi): Build in build dir.
12192 (libm-err.texi,stamp-libm-err): Likewise.
12193 (version.texi, stamp-version): Likewise.
12194 (.%c.texi): Likewise.
12195 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12196 (mostlyclean): Remove target.
12197 (realclean): Remove target.
12198 (generated): Add new variable with contents from mostlyclean and
12199 realclean, remove entries duplicated in common-mostlyclean, add
12200 stamp-libm-err and stamp-version.
12201 (generated-dirs): Add libc directory.
12202 ($(inst_infodir)/libc.info): Install files from build dir.
12204 * manual/install.texi (Configuring and compiling): Adjust since
12205 the info files are not part of the tar ball anymore.
12207 2012-05-14 Andreas Jaeger <aj@suse.de>
12209 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12212 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12216 to 2.2.0 where earlier.
12217 * sysdeps/unix/sysv/linux/configure: Regenerated.
12218 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12219 Remove conditional code.
12220 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12221 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12222 Remove conditional code.
12223 [!__NR_lchown]: Likewise.
12224 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12225 [__NR_lchown]: Likewise.
12226 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12227 comment referencing __ASSUME_LCHOWN_SYSCALL.
12228 * sysdeps/unix/sysv/linux/i386/sigaction.c
12229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12231 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12232 Remove conditional code.
12233 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12234 (__protocol_available): Remove #if 0 code.
12235 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12237 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12238 * sysdeps/unix/sysv/linux/kernel-features.h
12239 (__ASSUME_GETCWD_SYSCALL): Don't define.
12240 (__ASSUME_REALTIME_SIGNALS): Likewise.
12241 (__ASSUME_PREAD_SYSCALL): Likewise.
12242 (__ASSUME_PWRITE_SYSCALL): Likewise.
12243 (__ASSUME_POLL_SYSCALL): Likewise.
12244 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12245 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12247 (__ASSUME_SIOCGIFNAME): Don't define.
12248 (__ASSUME_MSG_NOSIGNAL): Likewise.
12249 (__ASSUME_SENDFILE): Define unconditionally.
12250 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12251 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12253 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12256 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12258 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12259 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12284 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12285 Remove conditional code.
12286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12287 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12288 Remove conditional code.
12289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12290 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12291 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12292 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12293 Remove conditional code.
12294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12296 Remove conditional code.
12297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12299 Remove conditional code.
12300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12302 Remove conditional code.
12303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12305 Remove conditional code.
12306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/sigaction.c
12311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12313 * sysdeps/unix/sysv/linux/sigpending.c
12314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12316 * sysdeps/unix/sysv/linux/sigprocmask.c
12317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12319 * sysdeps/unix/sysv/linux/sigsuspend.c
12320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12323 (__libc_missing_rt_sigs): Remove.
12324 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12325 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12326 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12327 Remove conditional code.
12328 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12329 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12332 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12334 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12336 2012-05-14 Andreas Jaeger <aj@suse.de>
12338 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12339 it's not used in glibc.
12340 (__coshm1): Likewise.
12341 (__acosh1p): Likewise.
12344 * manual/string.texi (Copying and Concatenation): Add missing
12345 variable in concat example.
12346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12351 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12352 __builtin_clzl with __builtin_clzll.
12354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12357 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12360 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12362 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12363 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12364 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12367 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12369 * NEWS: Update ia64 info.
12371 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12373 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12376 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12378 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12379 * sysdeps/unix/syscalls.list (dup3): Likewise.
12380 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12381 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12383 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12385 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12386 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12388 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12390 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12392 (TLS_IE): Use mov/add instead of movq/addq to load thread
12394 (TLS_GD_PREFIX): New.
12397 2012-05-11 David S. Miller <davem@davemloft.net>
12399 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12400 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12401 (_FPU_SETCW): Likewise.
12403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12405 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12406 is 32-byte aligned.
12408 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12411 * iconvdata/gb18030.c: Update tables.
12412 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12413 characters specially.
12414 (BODY for TO_LOOP): Add encoding of missing ranges.
12416 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12419 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12420 * sysdeps/mach/hurd/dup3.c: Likewise.
12421 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12422 * sysdeps/powerpc/memmove.c:: Likewise.
12424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12427 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12429 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12431 * elf/elf.h (R_X86_64_RELATIVE64): New.
12432 (R_X86_64_NUM): Updated.
12433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12434 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12435 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12436 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12437 tst-quad1pie tst-quad2pie
12438 (modules-names): Add tst-quadmod1 tst-quadmod2.
12439 ($(objpfx)tst-quad1): New dependency.
12440 ($(objpfx)tst-quad2): Likewise.
12441 ($(objpfx)tst-quad1pie): Likewise.
12442 ($(objpfx)tst-quad2pie): Likewise.
12443 * sysdeps/x86_64/tst-quad1.c: New file.
12444 * sysdeps/x86_64/tst-quad1pie.c: New file.
12445 * sysdeps/x86_64/tst-quad2.c: Likewise.
12446 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12447 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12448 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12449 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12450 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12454 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12455 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12456 * streams/stropts.h (t_scalar_t): Define type.
12458 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12459 (_PATH_PRESERVE): Set to "/var/lib".
12460 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12462 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12465 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12466 if __dir_mkfile succeeded.
12468 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12469 checking for _hurd_dtablesize. Unlock it right after having
12470 finished _hurd_dtable allocation.
12472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12474 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12475 * sysdeps/mach/hurd/configure: Regenerated.
12476 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12477 special-casing to...
12478 * sysdeps/gnu/configure.in: ... this new file.
12479 * sysdeps/unix/sysv/linux/configure: Regenerated.
12480 * sysdeps/gnu/configure: New generated file.
12482 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12483 for Linux: use nsec instead of usec, as well as:
12484 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12485 members of type struct timespec.
12486 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12488 (struct stat64): Likewise.
12489 (_STATBUF_ST_NSEC): New macro.
12490 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12492 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12493 __strtoul_internal rather than strtoul.
12495 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12497 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12502 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12503 which preserves existing values.
12504 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12506 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12508 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12509 TIMEOUT values. Return EINVAL for NFDS values either negative or
12510 greater than FD_SETSIZE.
12512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12514 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12515 allocated, call __vm_protect to finish enabling the existing space, and
12516 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12517 allocate the remainder.
12519 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12521 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12522 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12526 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12527 sysdeps/mach/hurd/readlink.c.
12529 * posix/tst-sysconf.c (posix_options): Only use
12530 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12531 _POSIX_SYNCHRONIZED_IO when they are defined
12532 * sysdeps/mach/hurd/bits/posix_opt.h:
12533 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12534 (_XOPEN_REALTIME): Undefine macro.
12535 (_XOPEN_REALTIME_THREADS): Undefine macro.
12536 (_XOPEN_SHM): Undefine macro.
12537 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12539 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12541 (_POSIX_ASYNC_IO): Undefine macro.
12542 (_POSIX_PRIORITIZED_IO): Undefine macro.
12543 (_POSIX_SPIN_LOCKS): Define macro to -1.
12545 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12546 SA_NODEFER, SA_RESETHAND.
12547 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12548 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12553 * elf/Makefile (pldd-modules): Define unconditionally.
12555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12557 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12561 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12562 Return ENOENT when name is empty.
12563 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12567 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12569 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12573 Fix mlock in all cases except non-readable pages.
12574 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12575 instead of VM_PROT_ALL as parameter to __vm_wire function.
12577 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12578 (__mkdir): When path is `/', just fail with EEXIST.
12579 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12583 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12584 <sys/uio.h> (for writev).
12585 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12586 and <sys/param.h> (for MIN).
12588 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12590 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12591 REQUESTED_TIME. Properly set the remaining time and return EINTR
12594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12596 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12597 Depend on against $(link-rpcuserlibs).
12599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12601 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12602 (__libc_stack_end): Do not use attribute_relro.
12603 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12604 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12605 to libthread-provided value.
12606 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12612 * bits/libc-lock.h (__libc_once_get): New macro.
12613 * sysdeps/mach/bits/libc-lock.h: Likewise.
12614 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12616 instead of using implementation details.
12618 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12619 * libio/freopen.c: Likewise.
12620 * libio/freopen64.c: Likewise.
12621 * misc/syslog.c: Likewise.
12622 * nscd/connections.c: Likewise.
12623 * nscd/netgroupcache.c: Likewise.
12624 * sysdeps/posix/getcwd.c: Likewise.
12626 2012-05-10 Roland McGrath <roland@hack.frob.com>
12628 * math/w_ilogbf.c: Add #include <limits.h>.
12630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12632 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12633 path instead of returning without unlocking.
12635 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12636 immediate-write ioctls.
12637 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12641 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12642 __builtin_frame_address instead of making assumptions about the
12643 location of the return address relative to DATA. Force early load of
12644 the return address.
12645 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12646 __builtin_frame_address.
12649 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12650 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12651 implement dup3 and do some further code clean-ups.
12652 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12657 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12659 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12660 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12661 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12662 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12663 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12666 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12667 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12668 when handler == SIG_ERR, not when handler != SIG_ERR.
12670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12672 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12673 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12676 accept4 for GNU Hurd.
12677 * include/sys/socket.h (__libc_accept4): New prototype.
12678 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12679 to implement __libc_accept4.
12680 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12682 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12684 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12685 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12686 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12687 signal-defines.sym.
12689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12691 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12695 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12696 assertion on O_CLOEXEC flag.
12697 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12698 * hurd/intern-fd.c: Likewise.
12699 * hurd/port2fd.c: Likewise.
12701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12704 * bits/in.h (IPV6_PKTINFO): Define new macro.
12705 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12707 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12714 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12718 * math/libm-test.inc (logb_test) : Additional logb tests.
12720 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12721 Andreas Jaeger <aj@suse.de>
12723 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12724 * configure: Regenerated.
12725 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12726 * config.make.in (link-obsolete-rpc): New substituted variable.
12727 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12728 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12729 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12730 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12731 so that libc.a contains the symbols.
12732 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12733 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12734 * sunrpc/auth_none.c: Likewise.
12735 * sunrpc/auth_unix.c: Likewise.
12736 * sunrpc/authdes_prot.c: Likewise.
12737 * sunrpc/authuxprot.c: Likewise.
12738 * sunrpc/clnt_gen.c: Likewise.
12739 * sunrpc/clnt_perr.c: Likewise.
12740 * sunrpc/clnt_raw.c: Likewise.
12741 * sunrpc/clnt_simp.c: Likewise.
12742 * sunrpc/clnt_tcp.c: Likewise.
12743 * sunrpc/clnt_udp.c: Likewise.
12744 * sunrpc/clnt_unix.c: Likewise.
12745 * sunrpc/des_crypt.c: Likewise.
12746 * sunrpc/des_soft.c: Likewise.
12747 * sunrpc/get_myaddr.c: Likewise.
12748 * sunrpc/key_call.c: Likewise.
12749 * sunrpc/key_prot.c: Likewise.
12750 * sunrpc/netname.c: Likewise.
12751 * sunrpc/pm_getmaps.c: Likewise.
12752 * sunrpc/pm_getport.c: Likewise.
12753 * sunrpc/pmap_clnt.c: Likewise.
12754 * sunrpc/pmap_prot.c: Likewise.
12755 * sunrpc/pmap_prot2.c: Likewise.
12756 * sunrpc/pmap_rmt.c: Likewise.
12757 * sunrpc/publickey.c: Likewise.
12758 * sunrpc/rpc_cmsg.c: Likewise.
12759 * sunrpc/rpc_common.c: Likewise.
12760 * sunrpc/rpc_dtable.c: Likewise.
12761 * sunrpc/rpc_prot.c: Likewise.
12762 * sunrpc/rpc_thread.c: Likewise.
12763 * sunrpc/rtime.c: Likewise.
12764 * sunrpc/svc.c: Likewise.
12765 * sunrpc/svc_auth.c: Likewise.
12766 * sunrpc/svc_raw.c: Likewise.
12767 * sunrpc/svc_run.c: Likewise.
12768 * sunrpc/svc_tcp.c: Likewise.
12769 * sunrpc/svc_udp.c: Likewise.
12770 * sunrpc/svc_unix.c: Likewise.
12771 * sunrpc/svcauth_des.c: Likewise.
12772 * sunrpc/xcrypt.c: Likewise.
12773 * sunrpc/xdr.c: Likewise.
12774 * sunrpc/xdr_array.c: Likewise.
12775 * sunrpc/xdr_float.c: Likewise.
12776 * sunrpc/xdr_intXX_t.c: Likewise.
12777 * sunrpc/xdr_mem.c: Likewise.
12778 * sunrpc/xdr_rec.c: Likewise.
12779 * sunrpc/xdr_ref.c: Likewise.
12780 * sunrpc/xdr_sizeof.c: Likewise.
12781 * sunrpc/xdr_stdio.c: Likewise.
12783 2012-05-10 Roland McGrath <roland@hack.frob.com>
12785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12786 change. Update copyright years.
12788 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12790 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12792 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12793 Joseph Myers <joseph@codesourcery.com>
12794 Paul Pluzhnikov <ppluzhnikov@google.com>
12797 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12799 [cross-compiling] (extra-libs): Likewise.
12800 [cross-compiling] (extra-libs-others): Likewise.
12801 [cross-compiling] (librpcsvc-routines): Likewise.
12802 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12803 [cross-compiling] (omit-deps): Likewise.
12804 (sunrpc-CPPFLAGS): New variable.
12805 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12806 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12807 (cross-rpcgen-objs): New variable.
12808 (extra-objs): Append $(cross-rpcgen-objs).
12809 ($(cross-rpcgen-objs)): New rule.
12810 ($(objpfx)cross-rpcgen): Likewise.
12811 (rpcgen-cmd): Define to use $(built-program-file). Expand
12813 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12814 ($(objpfx)x%.stmp): Likewise.
12815 * sunrpc/proto.h [IS_IN_build] (_): Define.
12816 [IS_IN_build] (_libc_intl_domainname): Likewise.
12818 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12821 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12822 and R_X86_64_TPOFF64.
12824 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12826 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12827 sysdeps/unix/sysv/syscalls.list.
12830 * sysdeps/unix/sysv/syscalls.list: Remove file.
12832 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12835 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12836 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12837 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12838 (__LC_IDENTIFICATION): Make these macros useful in #if
12839 expressions, as required by C99.
12841 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12843 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12844 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12847 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12849 * stdlib/longlong.h: Updated from GCC.
12851 2012-05-09 Andreas Jaeger <aj@suse.de>
12853 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12854 default is first entry.
12855 (run_mode): Set type.
12856 (main): Remove informal message about syslog.
12857 (options): Fix typo.
12860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12863 (llrintf): Likewise.
12864 (llrint): Likewise.
12867 (nearbyint): Likewise.
12868 (nearbyintf): Likewise.
12870 2012-05-09 Andreas Jaeger <aj@suse.de>
12871 Pedro Alves <palves@redhat.com>
12873 * nscd/nscd.c (run_mode): Use enum.
12874 (main): Cleanup coding style issue.
12876 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12877 Andreas Jaeger <aj@suse.de>
12879 * nscd/nscd.c (go_background): Replaced with...
12880 (run_mode): ... this.
12881 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12882 (options): Add -F --foreground.
12883 (main): Implement it.
12884 (parse_opt): Parse it.
12886 2012-05-09 Andreas Jaeger <aj@suse.de>
12889 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12890 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12891 -Wconversion warning.
12892 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12895 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12897 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12899 (LC_ALL): Use macro-int-constant.
12900 (LC_COLLATE): Likewise.
12901 (LC_CTYPE): Likewise.
12902 (LC_MESSAGES): Likewise.
12903 (LC_MONETARY): Likewise.
12904 (LC_NUMERIC): Likewise.
12905 (LC_TIME): Likewise.
12906 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12907 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12909 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12911 [C99-based standards] (float_t): Expect type.
12912 [C99-based standards] (double_t): Expect type.
12913 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12915 [C99-based standards] (HUGE_VALL): Likewise.
12916 [C99-based standards] (INFINITY): Likewise.
12917 [C99-based standards] (NAN): Likewise.
12918 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12919 [C99-based standards] (FP_NAN): Likewise.
12920 [C99-based standards] (FP_NORMAL): Likewise.
12921 [C99-based standards] (FP_SUBNORMAL): Likewise.
12922 [C99-based standards] (FP_ZERO): Likewise.
12923 [C99-based standards] (FP_FAST_FMA): Use
12924 optional-macro-int-constant. Specify type. Require == 1.
12925 [C99-based standards] (FP_FAST_FMAF): Likewise.
12926 [C99-based standards] (FP_FAST_FMAL): Likewise.
12927 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12928 [C99-based standards] (FP_ILOGBNAN): Likewise.
12929 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12931 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12932 [C99-based standards] (math_errhandling): Specify type.
12933 [ISO99 || ISO11] (signgam): Do not allow.
12934 [non-C99-based standards] (copysignf): Do not allow.
12935 [non-C99-based standards] (exp2f): Likewise.
12936 [non-C99-based standards] (log2f): Likewise.
12937 [non-C99-based standards] (modff): Allow.
12938 [non-C99-based standards] (erff): Do not allow.
12939 [non-C99-based standards] (erfcf): Likewise.
12940 [non-C99-based standards] (gammaf): Likewise.
12941 [non-C99-based standards] (hypotf): Likewise.
12942 [non-C99-based standards] (j0f): Likewise.
12943 [non-C99-based standards] (j1f): Likewise.
12944 [non-C99-based standards] (jnf): Likewise.
12945 [non-C99-based standards] (lgammaf): Likewise.
12946 [non-C99-based standards] (tgammaf): Likewise.
12947 [non-C99-based standards] (y0f): Likewise.
12948 [non-C99-based standards] (y1f): Likewise.
12949 [non-C99-based standards] (ynf): Likewise.
12950 [non-C99-based standards] (isnanf): Likewise.
12951 [non-C99-based standards] (acoshf): Likewise.
12952 [non-C99-based standards] (asinhf): Likewise.
12953 [non-C99-based standards] (atanhf): Likewise.
12954 [non-C99-based standards] (cbrtf): Likewise.
12955 [non-C99-based standards] (expm1f): Likewise.
12956 [non-C99-based standards] (ilogbf): Likewise.
12957 [non-C99-based standards] (log1pf): Likewise.
12958 [non-C99-based standards] (logbf): Likewise.
12959 [non-C99-based standards] (nextafterf): Likewise.
12960 [non-C99-based standards] (remainderf): Likewise.
12961 [non-C99-based standards] (rintf): Likewise.
12962 [non-C99-based standards] (scalbf): Likewise.
12963 [non-C99-based standards] (copysignl): Likewise.
12964 [non-C99-based standards] (exp2l): Likewise.
12965 [non-C99-based standards] (log2l): Likewise.
12966 [non-C99-based standards] (modfl): Allow.
12967 [non-C99-based standards] (erfl): Do not allow.
12968 [non-C99-based standards] (erfcl): Likewise.
12969 [non-C99-based standards] (gammal): Likewise.
12970 [non-C99-based standards] (hypotl): Likewise.
12971 [non-C99-based standards] (j0l): Likewise.
12972 [non-C99-based standards] (j1l): Likewise.
12973 [non-C99-based standards] (jnl): Likewise.
12974 [non-C99-based standards] (lgammal): Likewise.
12975 [non-C99-based standards] (tgammal): Likewise.
12976 [non-C99-based standards] (y0l): Likewise.
12977 [non-C99-based standards] (y1l): Likewise.
12978 [non-C99-based standards] (ynl): Likewise.
12979 [non-C99-based standards] (isnanl): Likewise.
12980 [non-C99-based standards] (acoshl): Likewise.
12981 [non-C99-based standards] (asinhl): Likewise.
12982 [non-C99-based standards] (atanhl): Likewise.
12983 [non-C99-based standards] (cbrtl): Likewise.
12984 [non-C99-based standards] (expm1l): Likewise.
12985 [non-C99-based standards] (ilogbl): Likewise.
12986 [non-C99-based standards] (log1pl): Likewise.
12987 [non-C99-based standards] (logbl): Likewise.
12988 [non-C99-based standards] (nextafterl): Likewise.
12989 [non-C99-based standards] (remainderl): Likewise.
12990 [non-C99-based standards] (rintl): Likewise.
12991 [non-C99-based standards] (scalbl): Likewise.
12992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12993 [non-C99-based standards] (FP_*): Do not allow.
12994 [C99-based standards] (FP_*): Change to
12995 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12996 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12998 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12999 (SIG_ERR): Likewise.
13000 [X/Open-based standards] (SIG_HOLD): Likewise.
13001 (SIG_IGN): Likewise.
13002 (SIGABRT): Use macro-int-constant. Specify type. Require
13004 (SIGFPE): Likewise.
13005 (SIGILL): Likewise.
13006 (SIGINT): Likewise.
13007 (SIGSEGV): Likewise.
13008 (SIGTER): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13027 [X/Open-based standards] (SIGTRAP): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13032 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13035 2012-05-08 Ian Wienand <ianw@vmware.com>
13038 * time/tzset.c (__tzset_parse_tz): Update default rules for
13039 daylight time changes in the Energy Policy Act of 2005.
13041 2012-05-09 Andreas Jaeger <aj@suse.de>
13044 * elf/ldconfig.c (parse_conf): Change string to make clear that
13045 ldconfig only issued a warning if ld.so.conf does not exist.
13047 2012-05-08 David S. Miller <davem@davemloft.net>
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13050 movxtod instead of popping the value on the stack.
13052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13054 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13056 * config.h.in: Add HAVE_ARM_PCS_VFP.
13058 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13061 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13062 checking but the checks are disabled for any reason.
13064 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13066 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13067 and ELF64_R_TYPE with ELFW(R_TYPE).
13069 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13071 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13072 (ulimit): Likewise.
13074 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13075 (settimeofday): Likewise.
13077 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13079 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13080 a struct th_u2 inside the union, and move tu_block/tu_code into
13081 a new th_u3 union of tu_block/tu_code inside of that. Move
13082 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13083 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13084 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13085 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13086 (th_stuff): Change to th_u1.tu_stuff.
13088 (th_msg): Change to th_u1.th_u2.tu_data.
13090 2012-05-07 David S. Miller <davem@davemloft.net>
13092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13095 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13096 (SETUP_PIC_REG): Use it.
13097 (SETUP_PIC_REG_LEAF): Use it.
13099 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13105 (EXPL_FINITE): Likewise.
13106 (FLDLOG): Likewise.
13107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13108 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13112 (EXPL_FINITE): Likewise.
13113 (FLDLOG): Likewise.
13114 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13115 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13117 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13118 test of -max_value argument for long double.
13119 * sysdeps/i386/fpu/libm-test-ulps: Update.
13120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13122 2012-05-06 David S. Miller <davem@davemloft.net>
13124 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13125 quad soft-float symbols whose references which are compiler
13127 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13129 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13135 (EXPL_FINITE): Likewise.
13136 (FLDLOG): Likewise.
13139 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13140 Adjust comments for base varying.
13141 (__expl_finite): Change alias to EXPL_FINITE.
13142 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13144 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13145 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13147 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13150 (EXPL_FINITE): Likewise.
13151 (FLDLOG): Likewise.
13154 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13155 Adjust comments for base varying.
13156 (__expl_finite): Change alias to EXPL_FINITE.
13157 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13162 * math/libm-test.inc (check_float_internal): Correct ulp
13163 calculation for subnormal expected results.
13165 2012-05-06 Andreas Jaeger <aj@suse.de>
13167 * Makeconfig (+math-flags): New, set to -frounding-math.
13168 (+cflags): Add +math-flags so that all of glibc gets compiled with
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13173 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13175 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13181 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13182 (__ieee754_expl): Allow for and saturate large arguments.
13183 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13184 (u_threshold): Likewise.
13185 (__exp): Call __ieee754_exp before checking for overflow and
13187 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13188 (u_threshold): Likewise.
13189 (__expf): Call __ieee754_expf before checking for overflow and
13191 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13192 (u_threshold): Likewise.
13193 (__expl): Call __ieee754_expl before checking for overflow and
13195 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13196 (__ieee754_expl): Allow for and saturate large arguments.
13197 * math/libm-test.inc (exp_test): Add another test. Do not allow
13198 missing overflow exception on overflow.
13199 (expm1_test): Do not allow missing overflow exception on overflow.
13201 * sysdeps/i386/fpu/e_expl.c: Move to ...
13202 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13203 rather than using inline asm.
13204 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13205 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13206 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13208 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13211 (signal): Likewise.
13215 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13217 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13218 sysdeps/unix/common/syscalls.list.
13219 (fchmod): Likewise.
13220 (fchown): Likewise.
13221 (ftruncate): Likewise.
13222 (getrusage): Likewise.
13223 (gettimeofday): Likewise.
13224 (setpgid): Likewise.
13225 (setregid): Likewise.
13226 (setreuid): Likewise.
13227 (sigaction): Likewise.
13228 (truncate): Likewise.
13229 (vhangup): Likewise.
13230 * sysdeps/unix/common/syscalls.list: Remove file.
13231 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13232 * sysdeps/unix/sysv/linux/Implies: Likewise.
13234 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13238 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13245 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13248 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13257 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13260 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13268 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/unix/common/bits/dirent.h: Remove file.
13282 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13284 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13285 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13286 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13287 * sysdeps/unix/bsd/isatty.c: Likewise.
13288 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13289 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13290 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13292 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13296 long double comparison inaccuracies.
13297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13300 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13302 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13305 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13309 nonzero digits before rounding a hex value.
13310 * stdlib/tst-strtod.c (tests): Add another test.
13312 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13314 * sysdeps/s390/fpu/libm-test-ulps: Update.
13316 2012-05-03 Andreas Jaeger <aj@suse.de>
13318 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13319 does not get optimized out.
13320 (malloc_opt_barrier): New.
13322 2012-05-03 Andreas Jaeger <aj@suse.de>
13323 Roland McGrath <roland@hack.frob.com>
13325 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13326 intermediate file deletion.
13327 (generated): Add .symlist files.
13329 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13332 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13333 Redirect under this condition.
13334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13335 [__USE_GNU] (__dprintf_chk): Not under this condition.
13336 [__USE_GNU] (__vdprintf_chk): Likewise.
13337 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13338 under this condition.
13339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13340 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13341 [__USE_XOPEN2K8] (vdprintf): Likewise.
13342 [__USE_GNU] (__dprintf_chk): Not under this condition.
13343 [__USE_GNU] (__vdprintf_chk): Likewise.
13344 [__USE_GNU] (dprintf): Likewise.
13345 [__USE_GNU] (vdprintf): Likewise.
13347 2012-05-03 Roland McGrath <roland@hack.frob.com>
13349 * elf/Makefile (common-generated): Set this instead of generated for
13350 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13351 $(all-built-dso)-derived lists.
13353 2012-05-03 Andreas Jaeger <aj@suse.de>
13355 * sysdeps/i386/fpu/libm-test-ulps: Update.
13358 * FAQ.in: Likewise.
13359 * scripts/gen-FAQ.pl: Likewise.
13360 * manual/install.texi (Installation): Point to online location of
13362 * Makefile (files-for-dist): Remove FAQ.
13365 2012-05-02 Allan McRae <allan@archlinux.org>
13367 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13368 (LDFLAGS-reldepmod5.so): Likewise.
13369 (LDFLAGS-reldep6mod1.so): Likewise.
13370 (LDFLAGS-reldep6mod4.so): Likewise.
13371 (LDFLAGS-reldep8mod3.so): Likewise.
13372 (LDFLAGS-unload4mod1.so): Likewise.
13373 (LDFLAGS-unload4mod2.so): Likewise.
13374 (LDFLAGS-tst-initorder): Likewise.
13375 (LDFLAGS-tst-initordera2.so): Likewise.
13376 (LDFLAGS-tst-initordera3.so): Likewise.
13377 (LDFLAGS-tst-initordera4.so): Likewise.
13378 (LDFLAGS-tst-initorderb2.so): Likewise.
13379 (LDFLAGS-noload): Likewise.
13380 (LDFLAGS-next): Likewise.
13381 (LDFLAGS-order2mod1.so): Likewise.
13382 (LDFLAGS-order2mod2.so): Likewise.
13383 (LDFLAGS-tst-initorder2): Likewise.
13384 (LDFLAGS-tst-initorder2a.so): Likewise.
13385 (LDFLAGS-tst-initorder2b.so): Likewise.
13386 (LDFLAGS-tst-initorder2c.so): Likewise.
13387 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13389 2012-05-02 David S. Miller <davem@davemloft.net>
13391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13393 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13396 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13398 2012-05-02 Andreas Jaeger <aj@suse.de>
13400 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13401 since we manipulate rounding mode.
13402 (CPPFLAGS-test-idouble.c): Likewise.
13403 (CPPFLAGS-test-ifloat.c): Likewise.
13404 (CFLAGS-test-ldouble.c): Likewise.
13405 (CFLAGS-test-double.c): Likewise.
13406 (CFLAGS-test-float.c): Likewise.
13407 (CFLAGS-test-misc.c): Likewise.
13408 (CFLAGS-test-test-fenv.c): Likewise.
13410 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13415 comparisons to determine direction to adjust input.
13417 2012-05-01 Roland McGrath <roland@hack.frob.com>
13419 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13420 output to the target.
13422 * scripts/localplt.awk: New file.
13423 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13424 (check-localplt-CFLAGS): Variable removed.
13425 ($(all-built-dso:=.jmprel)): New static pattern rule.
13426 (generated): Add those targets.
13427 (localplt-built-dso): New variable.
13428 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13430 * elf/check-localplt.c: File removed.
13432 * scripts/check-execstack.awk: New file.
13433 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13434 (check-execstack-CFLAGS): Variable removed.
13435 ($(objpfx)check-execstack.h): Target removed.
13436 ($(objpfx)execstack-default): New target.
13437 (generated): Add that instead of check-execstack.h.
13438 ($(all-built-dso:=.phdr)): New static pattern rule.
13439 (generated): Add those targets.
13440 * elf/check-execstack.c: File removed.
13442 * scripts/check-textrel.awk: New file.
13443 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13444 (check-textrel-CFLAGS): Variable removed.
13445 (all-built-dso): Use := to define.o
13446 ($(all-built-dso:=.dyn)): New static pattern rule.
13447 (generated): Add those targets.
13448 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13449 * config.make.in (READELF): New substituted variable.
13450 * elf/check-textrel.c: File removed.
13452 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13454 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13456 * conform/data/ctype.h-data [C99-based standards] (isblank):
13458 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13459 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13461 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13462 Specify type. Require positive value.
13463 (EILSEQ): Likewise.
13464 (ERANGE): Likewise.
13465 [ISO || POSIX] (EILSEQ): Do not expect.
13466 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13467 Specify type. Require positive value.
13468 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13525 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13526 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13533 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13534 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13537 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13538 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13539 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13540 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13541 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13542 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13543 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13544 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13546 (FLT_ROUNDS): Expect as macro, not constant.
13547 (FLT_MANT_DIG): Use macro-int-constant.
13548 (DBL_MANT_DIG): Likewise.
13549 (LDBL_MANT_DIG): Likewise.
13550 (FLT_DIG): Likewise.
13551 (DBL_DIG): Likewise.
13552 (LDBL_DIG): Likewise.
13553 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13554 (DBL_MIN_EXP): Likewise.
13555 (LDBL_MIN_EXP): Likewise.
13556 (FLT_MAX_EXP): Use macro-int-constant.
13557 (DBL_MAX_EXP): Likewise.
13558 (LDBL_MAX_EXP): Likewise.
13559 (FLT_MAX_10_EXP): Likewise.
13560 (DBL_MAX_10_EXP): Likewise.
13561 (LDBL_MAX_10_EXP): Likewise.
13562 (FLT_MAX): Use macro-constant.
13563 (DBL_MAX): Likewise.
13564 (LDBL_MAX): Likewise.
13565 (FLT_EPSILON): Use macro-constant. Give upper bound.
13566 (DBL_EPSILON): Likewise.
13567 (LDBL_EPSILON): Likewise.
13568 (FLT_MIN): Likewise.
13569 (DBL_MIN): Likewise.
13570 (LDBL_MIN): Likewise.
13571 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13572 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13573 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13574 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13575 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13576 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13577 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13578 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13579 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13580 [ISO11] (FLT_TRUE_MIN): Likewise.
13581 [ISO11] (LDBL_TRUE_MIN): Likewise.
13582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13583 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13584 (SCHAR_MIN): Use macro-int-constant. Specify type.
13585 (SCHAR_MAX): Likewise.
13586 (UCHAR_MAX): Likewise.
13587 (CHAR_MIN): Likewise.
13588 (CHAR_MAX): Likewise.
13589 (MB_LEN_MAX): Use macro-int-constant.
13590 (SHRT_MIN): Use macro-int-constant. Specify type.
13591 (SHRT_MAX): Likewise.
13592 (USHRT_MAX): Likewise.
13593 (INT_MAX): Likewise.
13594 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13596 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13598 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13600 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13601 bound negative. Suffix upper bound with "L".
13602 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13604 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13606 [C99-based standards] (LLONG_MAX): Likewise.
13607 [C99-based standards] (ULLONG_MAX): Likewise.
13608 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13610 [ISO11] (max_align_t): Require type.
13611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13613 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13614 from $CFLAGS, without defining away __attribute__ calls.
13615 (checknamespace): Use $CFLAGS_namespace.
13617 * conform/conformtest.pl (@keywords): Only include C99 keywords
13618 for standards based on C99 or C11.
13620 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13622 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13625 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13626 usability of symbols in #if.
13628 * conform/conformtest.pl: If macro or constant types start
13629 "promoted:", expect the symbol to be of the following type
13630 promoted by the integer promotions.
13632 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13633 in one place. Also handle "macro-constant".
13635 * conform/conformtest.pl: Only accept expected macro values with
13636 "==". Parse all "macro" lines in one place.
13637 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13639 * conform/conformtest.pl: Handle braced types on "constant" lines
13640 instead of handling "typed-constant".
13641 * conform/data/signal.h-data: Use "constant" instead of
13644 * conform/conformtest.pl: Handle "optional-" at start of lines in
13645 one place rather than duplicating several cases. Handle each
13646 format of "macro" line with initial "optional-".
13648 * conform/conformtest.pl: Only accept expected constant or
13649 optional-constant values with "==". Parse all "constant" lines in
13650 one place. Parse all "optional-constant" lines in one place.
13651 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13652 * conform/data/fmtmsg.h-data: Likewise.
13653 * conform/data/netinet/in.h-data: Likewise.
13654 * conform/data/tar.h-data: Likewise.
13655 * conform/data/limits.h-data: Use "==" form on "constant" and
13656 "optional-constant" lines.
13658 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13659 Use -std=c99 for XOPEN2K.
13660 (@knownproblems): Remove.
13661 (newtoken): Don't check %isknown.
13663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13664 Do not expect macro.
13665 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13677 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13678 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13695 [XPG3] (acosh): Likewise.
13696 [XPG3] (asinh): Likewise.
13697 [XPG3] (atanh): Likewise.
13698 [XPG3] (cbrt): Likewise.
13699 [XPG3] (expm1): Likewise.
13700 [XPG3] (ilogb): Likewise.
13701 [XPG3] (log1p): Likewise.
13702 [XPG3] (logb): Likewise.
13703 [XPG3] (nextafter): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13706 [XPG3] (remainder): Likewise.
13707 [XPG3] (rint): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13715 [UNIX98 || XOPEN2K] (scalb): Expect.
13716 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13717 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13836 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13837 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13838 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13840 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13841 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13842 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13843 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13844 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13845 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13846 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13847 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13848 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13849 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13850 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13851 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13852 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13854 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13855 _XOPEN_SOURCE_EXTENDED for XPG4.
13857 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13859 * Makeconfig (localtime): Remove variable.
13860 (inst_localtime-file): Likewise.
13862 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13883 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13887 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13888 comparisons to determine direction to adjust input.
13889 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13890 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13900 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13902 * math/libm-test.inc (nexttoward_test): Add more tests.
13904 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13908 in version GLIBC_2.1, not GLIBC_2.0.
13909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13912 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13917 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13918 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13919 * math/libm-test.inc (acos_test): Add more tests.
13920 (asin_test): Likewise.
13921 * sysdeps/i386/fpu/libm-test-ulps: Update.
13922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13927 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13928 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13929 * math/libm-test.inc (acos_test_tonearest): New function.
13930 (acos_test_towardzero): Likewise.
13931 (acos_test_downward): Likewise.
13932 (acos_test_upward): Likewise.
13933 (asin_test_tonearest): Likewise.
13934 (asin_test_towardzero): Likewise.
13935 (asin_test_downward): Likewise.
13936 (asin_test_upward): Likewise.
13937 (main): Call the new functions.
13938 * sysdeps/i386/fpu/libm-test-ulps: Update.
13939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13943 * math/e_exp10.c: Include <float.h>.
13944 (__ieee754_exp10): Handle underflow here rather than multiplying
13945 large negative argument by M_LN10.
13946 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13948 * math/e_exp10l.c: Include <float.h>.
13949 (__ieee754_exp10l): Handle underflow here rather than multiplying
13950 large negative argument by M_LN10l.
13951 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13952 spurious overflow exception on underflow.
13954 2012-04-29 Marek Polacek <polacek@redhat.com>
13956 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13957 (__fortify_function): New macro.
13958 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13959 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13960 __extern_always_inline.
13961 * libio/bits/stdio2.h: Likewise.
13962 * libio/bits/stdio.h: Likewise.
13963 * string/string.h: Likewise.
13964 * string/bits/string3.h: Likewise.
13965 * include/stdio.h: Likewise.
13966 * stdlib/bits/stdlib.h: Likewise.
13967 * stdlib/stdlib.h: Likewise.
13968 * rt/bits/mqueue2.h: Likewise.
13969 * rt/mqueue.h: Likewise.
13970 * posix/bits/unistd.h: Likewise.
13971 * posix/unistd.h: Likewise.
13972 * io/bits/poll2.h: Likewise.
13973 * io/bits/fcntl2.h: Likewise.
13974 * io/fcntl.h: Likewise.
13975 * io/sys/poll.h: Likewise.
13976 * misc/bits/syslog.h: Likewise.
13977 * misc/bits/syslog-ldbl.h: Likewise.
13978 * misc/sys/syslog.h: Likewise.
13979 * socket/bits/socket2.h: Likewise.
13980 * socket/sys/socket.h: Likewise.
13981 * debug/tst-chk1.c: Likewise.
13982 * wcsmbs/bits/wchar2.h: Likewise.
13983 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13984 * wcsmbs/wchar.h: Likewise.
13986 2012-04-29 Andreas Jaeger <aj@suse.de>
13988 * Makerules (tests): Remove enable-check-abi protection.
13989 (check-abi-warn): Remove.
13990 (check-abi-%): Remove check-abi-warn usage.
13992 * configure.in: Remove check-abi configure option.
13993 * configure: Regenerated.
13994 * config.make.in (enable-check-abi): Remove.
13996 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13999 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14000 double functions to double *_finite functions.
14003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14004 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14006 * stdio-common/Makefile (tests): Add tst-sprintf3.
14007 * stdio-common/tst-sprintf3.c: New file.
14009 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14010 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14012 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14014 * conform/conformtest.pl: Remove duplicate typed-constant
14017 2012-04-28 David S. Miller <davem@davemloft.net>
14019 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14020 (check-abi-%): Remove AWK script prerequisite and explicit
14022 (check-abi): Rewrite to just diff the symlist with the abilist.
14023 (config-tls, config-abi-config): Delete, no longer used.
14024 (update-abi-%): Remove AWK script and explicit abilist directory.
14025 (update-abi): Rewrite to simply compare and conditionally copy the
14026 symlist and the sysdep abilist file. Remove update-abi-config
14028 * abilist/ld.abilist: Remove.
14029 * abilist/libBrokenLocale.abilist: Remove.
14030 * abilist/libanl.abilist: Remove.
14031 * abilist/libcrypt.abilist: Remove.
14032 * abilist/libdl.abilist: Remove.
14033 * abilist/librt.abilist: Remove.
14034 * abilist/libthread_db.abilist: Remove.
14035 * abilist/libutil.abilist: Remove.
14036 * scripts/extract-abilist.awk: Remove.
14037 * scripts/merge-abilist.awk: Remove.
14038 * sysdeps/generic/libcidn.abilist: New file.
14039 * sysdeps/generic/libnss_compat.abilist: New file.
14040 * sysdeps/generic/libnss_db.abilist: New file.
14041 * sysdeps/generic/libnss_dns.abilist: New file.
14042 * sysdeps/generic/libnss_files.abilist: New file.
14043 * sysdeps/generic/libnss_hesiod.abilist: New file.
14044 * sysdeps/generic/libnss_nis.abilist: New file.
14045 * sysdeps/generic/libnss_nisplus.abilist: New file.
14046 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14047 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14048 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14051 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14052 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14053 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14054 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14056 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14057 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14058 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14060 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14061 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14062 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14063 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14065 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14066 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14067 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14068 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14073 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14074 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14076 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14180 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14181 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14184 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14185 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14186 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14188 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14189 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14191 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14192 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14244 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14246 * conform/conformtest.pl: Fix typo in handling typed-constant from
14249 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14251 * README: Cut down references to pre-2.6 Linux kernels and
14252 Linuxthreads. Update lists of configurations in libc and ports
14253 and sort alphabetically. Say "or newer" with Linux kernel version
14256 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14258 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14261 * math/libm-test.inc (logb_test_downward): New test to expose
14262 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14265 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14268 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14270 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14271 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14273 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14275 * sysdeps/unix/i386/brk.S: Remove file.
14276 * sysdeps/unix/i386/dl-brk.S: Likewise.
14277 * sysdeps/unix/i386/pipe.S: Likewise.
14278 * sysdeps/unix/i386/sigreturn.S: Likewise.
14279 * sysdeps/unix/i386/syscall.S: Likewise.
14280 * sysdeps/unix/i386/vfork.S: Likewise.
14281 * sysdeps/unix/i386/wait.S: Likewise.
14283 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14284 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14286 * configure.in (arm*-none*): Do not allow without
14287 --enable-hacker-mode.
14288 (netbsd*): Remove case setting base_os.
14289 (386bsd*): Likewise.
14290 (freebsd*): Likewise.
14293 (sunos*): Likewise.
14294 (ultrix*): Likewise.
14295 (newsos*): Likewise.
14296 (dynix*): Likewise.
14302 (minix*): Likewise.
14303 (irix4*): Likewise.
14304 (irix6*): Likewise.
14305 (solaris[2-9]*): Likewise.
14307 * configure: Regenerated.
14309 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14313 overflow or cancellation in calculating denominator.
14314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14316 down expression to avoid unexpected rounding in newer GCCs.
14317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14319 2012-04-26 David S. Miller <davem@davemloft.net>
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14322 long-double compat symbols.
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14337 2012-04-25 David S. Miller <davem@davemloft.net>
14339 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14340 HWCAP_* values only after the memory barriers have been defined.
14341 (atomic_full_barrier): Define.
14342 (atomic_read_barrier): Define.
14343 (atomic_write_barrier): Define.
14345 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14347 * shlib-versions: Add libgcc_s version information.
14348 * sysdeps/generic/libgcc_s.h: Remove.
14349 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14351 * sysdeps/gnu/unwind-resume.c: Likewise.
14352 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14354 2012-04-25 David S. Miller <davem@davemloft.net>
14356 * sysdeps/unix/sparc/brk.S: Delete.
14357 * sysdeps/unix/sparc/dl-brk.S: Delete.
14358 * sysdeps/unix/sparc/pipe.S: Delete.
14359 * sysdeps/unix/sparc/sysdep.S: Delete.
14360 * sysdeps/unix/sparc/sysdep.h: Delete.
14361 * sysdeps/unix/sparc/vfork.S: Delete.
14362 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14363 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14365 ret_ERRVAL, r0, r1, MOVE): Define.
14366 (JUMPTARGET): Remove.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14368 sysdeps/unix/sparc/sysdep.h
14369 (ENTRY, END): Remove.
14370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14372 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14374 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14375 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14378 * timezone/README: Update upstream location and email address for
14380 * timezone/zdump.c: Update from tzcode 2012b.
14381 * timezone/zic.c: Likewise.
14383 * configure.in (libc_cv_as_needed): Remove test.
14384 * configure: Regenerated.
14385 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14386 conditional definition.
14387 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14388 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14389 * config.make.in (have-as-needed): Remove variable.
14391 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14392 Paul Pluzhnikov <ppluzhnikov@google.com>
14394 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14397 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14399 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14400 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14401 * sysdeps/sh/strlen.S: Likewise.
14403 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14405 * sysdeps/unix/fork.S: Remove file.
14406 * sysdeps/unix/i386/fork.S: Likewise.
14407 * sysdeps/unix/sparc/fork.S: Likewise.
14409 * sysdeps/unix/system.c: Remove file.
14410 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14412 * sysdeps/unix/getegid.S: Remove file.
14413 * sysdeps/unix/geteuid.S: Likewise.
14415 2012-04-24 Roland McGrath <roland@hack.frob.com>
14417 * scripts/check-localplt.awk: New file.
14418 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14420 * scripts/data/localplt-generic.data: Add a comment.
14422 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14423 NODE when __dir_mkfile failed.
14424 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14425 Reported by Ludovic Courtès <ludo@gnu.org>.
14427 2012-04-24 Andreas Jaeger <aj@suse.de>
14429 * Makerules (common-clean): Also remove gen-as-const-headers
14432 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14434 * Makerules (native-compile): Do not change working directory for
14435 build. Use $(OUTPUT_OPTION) in command.
14436 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14438 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14441 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14442 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14443 * math/libm-test.inc (floor_test): Add more tests.
14444 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14446 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14448 * sysdeps/unix/getdents.c: Remove file.
14449 * sysdeps/unix/sysv/getdents.c: Likewise.
14450 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14452 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14453 sysdeps/unix/mman/syscalls.list.
14455 (mprotect): Likewise.
14457 (munmap): Likewise.
14458 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14459 * sysdeps/unix/mman/syscalls.list: Remove.
14460 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14462 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14463 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14464 * configure: Regenerated.
14465 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14466 $(libgcc_s_suffix).
14467 * config.make.in (libgcc_s_suffix): Remove variable.
14469 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14471 * sysdeps/unix/sysv/gethostname.c: Move to ...
14472 * sysdeps/posix/gethostname.c: ... here.
14474 * sysdeps/unix/execve.S: Remove file.
14476 * sysdeps/unix/_exit.S: Remove file.
14478 2012-04-23 Andreas Jaeger <aj@suse.de>
14481 * manual/Makefile: Remove make dist support, there's no
14482 need for a stand-alone documentation tar ball.
14483 (TEXI2DVI): Define always, it's not in Makeconfig.
14486 (edition): Removed.
14487 (glibc-doc-$(edition).tar): Removed
14491 (ETAGS): Remove, it's in Makeconfig.
14492 (move-if-change): Remove, it's in Makeconfig.
14494 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14497 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14498 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14499 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14500 (strtod_l, strtof_l, strtold_l): Remove __wur.
14501 It is not necessarily an error to ignore strtol's return value.
14502 One can reliably look at the stored endptr to decide whether
14503 the number had valid syntax.
14505 2012-04-21 Andreas Jaeger <aj@suse.de>
14508 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14510 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14513 * sysdeps/unix/sysv/Versions: Remove file.
14515 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14520 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14524 version from __vm86.
14526 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14528 * sysdeps/unix/common/lxstat.c: Remove file.
14529 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14531 * sysdeps/unix/sysv/Makefile: Remove file.
14533 * sysdeps/unix/sysv/direct.h: Remove file.
14535 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14536 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14537 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14538 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14539 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14540 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14541 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14543 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14545 * sysdeps/unix/xmknod.c: Remove file.
14546 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14548 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14550 * sysdeps/unix/sysv/i386/time.S: Remove file.
14552 * sysdeps/unix/fxstat.c: Remove file.
14553 * sysdeps/unix/xstat.c: Likewise.
14554 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14556 * sysdeps/unix/sysv/sigaction.c: Remove file.
14558 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14559 (sysdep_headers): Remove variable.
14560 [termio.h not in sysdep_headers] (generated): Likewise.
14561 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14562 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14563 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14564 * sysdeps/unix/sysv/tcflow.c: Likewise.
14565 * sysdeps/unix/sysv/tcflush.c: Likewise.
14566 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14567 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14568 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14569 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14570 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14572 * sysdeps/unix/siglist.c: Remove file.
14574 * sysdeps/unix/getppid.S: Remove file.
14576 * sysdeps/unix/mkdir.c: Remove file.
14577 * sysdeps/unix/rmdir.c: Likewise.
14579 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14581 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14583 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14584 errlist-compat value.
14586 2012-04-18 David S. Miller <davem@davemloft.net>
14588 * sysdeps/generic/memcopy.h (reg_char): Delete.
14589 * debug/strcat_chk.c: Use char, not reg_char.
14590 * debug/strcpy_chk.c: Likewise.
14591 * debug/strncat_chk.c: Likewise.
14592 * debug/strncpy_chk.c: Likewise.
14593 * string/memchr.c: Likewise.
14594 * string/memrchr.c: Likewise.
14595 * string/rawmemchr.c: Likewise.
14596 * string/strcat.c: Likewise.
14597 * string/strchr.c: Likewise.
14598 * string/strchrnul.c: Likewise.
14599 * string/strcmp.c: Likewise.
14600 * string/strcpy.c: Likewise.
14601 * string/strncat.c: Likewise.
14602 * string/strncmp.c: Likewise.
14603 * string/strncpy.c: Likewise.
14605 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14607 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14608 __builtin_memcopy is called when src and dest ranges are known to not
14611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14614 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14615 fwd_align_merge macro call.
14616 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14617 bwd_align_merge macro call.
14618 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14620 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14623 bwd_align_merge macros.
14624 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14625 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14626 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14628 2012-04-18 David S. Miller <davem@davemloft.net>
14630 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14632 2012-04-18 Andreas Jaeger <aj@suse.de>
14635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14636 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14640 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14643 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14644 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14645 Adjust for changed ldbl-128 files.
14647 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14648 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14651 2012-04-17 David S. Miller <davem@davemloft.net>
14653 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14655 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14657 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14658 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14659 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14660 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14662 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14664 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14667 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14668 * math/libm-test.inc: Add ilogb errno and exception tests.
14669 * math/w_ilogb.c: New file: ilogb wrapper.
14670 * math/w_ilogbf.c: New file: ilogbf wrapper.
14671 * math/w_ilogbl.c: New file: ilogbl wrapper.
14672 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14673 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14674 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14675 exception being thrown with 0.0 as argument.
14676 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14677 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14678 exception being thrown with 0.0 as argument.
14679 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14680 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14681 exception being thrown with 0.0 as argument.
14682 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14683 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14684 exception being thrown with 0.0 as argument.
14685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14686 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14688 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14691 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14692 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14693 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14695 2012-04-17 Petr Baudis <pasky@ucw.cz>
14697 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14700 2012-04-16 Marek Polacek <polacek@redhat.com>
14702 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14704 2012-04-16 Marek Polacek <polacek@redhat.com>
14706 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14707 operands of fdivp instruction.
14709 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14711 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14712 * elf/tst-auditmod3b.c: Likewise.
14713 * elf/tst-auditmod4b.c: Likewise.
14714 * elf/tst-auditmod5b.c: Likewise.
14715 * elf/tst-auditmod6b.c: Likewise.
14716 * elf/tst-auditmod6c.c: Likewise.
14717 * elf/tst-auditmod7b.c: Likewise.
14718 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14719 * sysdeps/x86_64/preconfigure.in: Likewise.
14720 * sysdeps/x86_64/preconfigure: Regenerated.
14722 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14724 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14727 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14730 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14732 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14735 * locale/iso-639.def: Fix gl language name. Spotted by
14738 2012-04-12 Roland McGrath <roland@hack.frob.com>
14741 * libio/libio.h (__io_write_fn): Update comment.
14743 2012-04-12 Petr Baudis <pasky@ucw.cz>
14746 * stdio.texi (Hook Functions): The user provided writer function
14747 is not allowed to return -1.
14749 2012-04-11 David S. Miller <davem@davemloft.net>
14751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14755 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14756 Add a leading slash to rtkaio.
14758 2012-04-11 Jim Meyering <meyering@redhat.com>
14761 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14762 It is not necessarily an error to ignore fwrite's return
14763 value. One can reliably use ferror to test for errors after
14766 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14768 * bits/types.h (__snseconds_t): New type.
14769 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14771 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14773 (__SNSECONDS_T_TYPE): Likewise.
14774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14775 (__SNSECONDS_T_TYPE): Likewise.
14776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14777 (__SNSECONDS_T_TYPE): Likewise.
14779 2012-04-10 Andreas Jaeger <aj@suse.de>
14782 * manual/time.texi (Processor Time): Return type of times is
14783 elapsed real time since an arbitrary point in the past.
14784 (CPU Time): Move CLK_TCK from here...
14785 (Processor Time): ...to here. Correct description.
14786 * manual/conf.texi (Constants for Sysconf): Correct description of
14789 2012-04-10 David S. Miller <davem@davemloft.net>
14792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14793 where the is a gap between DT_REL(A) and DT_JMPREL.
14795 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14797 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14798 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14799 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14801 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14803 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14804 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14805 (dl_main): Handle --inhibit-cache.
14806 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14808 * elf/dl-load.c (_dl_map_object): Use it.
14809 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14811 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14814 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14815 (__ieee754_powl): Saturate large exponents rather than testing for
14816 overflow of y*log2(x).
14817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14818 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14822 * math/s_ctan.c: Include <float.h>.
14823 (__ctan): Avoid internal overflow or cancellation in calculating
14825 * math/s_ctanf.c: Likewise.
14826 * math/s_ctanl.c: Likewise.
14827 * math/s_ctanh.c: Likewise.
14828 * math/s_ctanhf.c: Likewise.
14829 * math/s_ctanhl.c: Likewise.
14830 * math/libm-test.inc (ctan_test): Add more tests.
14831 (ctanh_test): Likewise.
14832 * sysdeps/i386/fpu/libm-test-ulps: Update.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14835 2012-04-09 Andreas Jaeger <aj@suse.de>
14838 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14839 is an optional BSD extension.
14842 * manual/stdio.texi (Opening Streams): Document additional fopen
14845 2012-04-09 Roland McGrath <roland@hack.frob.com>
14847 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14848 %eax without telling the compiler.
14850 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14853 * manual/install.texi: Use sourceware.org.
14855 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14858 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14859 (__ieee754_pow): Generate overflow and underflow using huge*huge
14860 and tiny*tiny rather than just returning constant infinity or zero
14861 for large exponents.
14862 * math/libm-test.inc (pow_test): Require overflow exceptions for
14863 applicable cases of large exponents.
14866 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14867 (__ieee754_pow): Use iterative multiplication algorithm only for
14868 integer exponents with absolute value below 1024. Check for odd
14869 integer exponents when using algorithm for real exponents.
14870 * math/libm-test.inc (pow_test): Add more tests.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14873 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14876 * math/libm-test.inc (exp_test): Do not allow overflow exception
14879 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14882 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14883 instead of __kernel_standard_f.
14885 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14887 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14888 * sysdeps/x86_64/memset_chk.S: Likewise.
14890 2012-04-08 Andreas Jaeger <aj@suse.de>
14893 * manual/startup.texi (Environment Access): Describe return value
14894 for putenv and setenv.
14897 * manual/filesys.texi (Directory Entries): Add description for
14901 * manual/filesys.texi (Directory Entries): Clarify that it's file
14902 system not operating system in the description of DT_UNKNOWN.
14905 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14907 2012-04-08 Stephen Compall <s11@member.fsf.org>
14910 * manual/llio.texi (Opening and Closing Files): Add cross
14911 reference to explain mode argument.
14913 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14915 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14916 * sysdeps/x86_64/memset_chk.S: Likewise.
14918 2012-04-07 David S. Miller <davem@davemloft.net>
14920 * elf/elf.h (R_SPARC_WDISP10): Define.
14921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14924 R_SPARC_SIZE64 and R_SPARC_H34.
14926 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14929 conditions and remove no longer applicable assertion.
14931 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14933 * bits/byteswap.h: Include <features.h>.
14934 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14935 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14937 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14939 * bits/byteswap.h (__bswap_16): Removed.
14940 Include <bits/byteswap-16.h> to get __bswap_16.
14941 * sysdeps/i386/bits/byteswap.h: Likewise.
14942 * sysdeps/s390/bits/byteswap.h: Likewise.
14943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14944 * bits/byteswap-16.h: New file.
14945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14946 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14947 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14948 * string/Makefile (headers): Add bits/byteswap-16.h.
14950 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14953 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14955 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14956 * nss/tst-nss-static.c: New.
14958 2012-04-06 Robert Millan <rmh@gnu.org>
14961 * manual/llio.texi (File Position Primitive): lseek
14962 refers to WHENCE when it really means OFFSET.
14964 2012-04-06 Andreas Jaeger <aj@suse.de>
14966 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14967 strncmp declarations.
14969 * abilist/libc.abilist: Add __poll and __ppoll.
14971 2012-04-05 David S. Miller <davem@davemloft.net>
14973 * scripts/check-local-headers.sh: Accept a host triplet in the
14974 path matched by the exclude regexp.
14976 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14978 * sysdeps/powerpc/powerpc32/dl-machine.h
14979 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14980 * sysdeps/s390/s390-32/dl-machine.h
14981 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14982 * sysdeps/sparc/sparc32/dl-machine.h
14983 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14984 * sysdeps/sparc/sparc64/dl-machine.h
14985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14987 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14989 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14990 undefined symbol errors.
14992 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14995 2012-04-05 Michael Matz <matz@suse.de>
14998 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15000 2012-04-05 Andreas Jaeger <aj@suse.de>
15003 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15006 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15009 which ROUND is no valid rounding mode.
15011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15015 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15017 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15019 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15020 an exception using FPU order intentionally.
15022 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15024 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15025 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15026 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15027 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15029 2012-04-05 Simon Josefsson <simon@josefsson.org>
15032 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15033 EINVAL when BUFLEN is too smal.
15035 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15038 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15039 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15041 2012-04-03 Andreas Jaeger <aj@suse.de>
15044 * manual/setjmp.texi (System V contexts): Fix sentence.
15047 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15048 New macro for this case.
15049 [!__GNUC__] (__bswap_64): New inline function for this case.
15050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15051 * bits/byteswap.h: Likewise.
15052 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15053 ull, guard with __GLIBC_HAVE_LONG_LONG.
15055 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15056 __GLIBC_HAVE_LONG_LONG.
15058 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15059 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15061 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15064 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15065 inptr and inend, rather than using last_ch.
15067 2012-04-02 David S. Miller <davem@davemloft.net>
15069 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15070 * stdio-common/printf-parse.h (read_int): Change return type to
15071 'int', return -1 on INT_MAX overflow.
15072 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15073 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15074 overflows INT_MAX. Check for overflow of in-format-string precision
15075 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15076 SIZE_MAX not INT_MAX for integer overflow test.
15077 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15078 skip the construct in the format string but do not record anything.
15079 * stdio-common/bug22.c: Adjust to test both width/prevision
15080 INT_MAX overflow as well as total length INT_MAX overflow. Check
15081 explicitly for proper errno values.
15083 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15085 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15087 * string/test-strcmp.c [! WIDE]: Likewise.
15088 * time/tst-mktime2.c: Likewise for INT_MAX.
15089 * string/test-string.h: #include <sys/param.h> for MIN.
15091 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15092 * sysdeps/i386/init-first.c (init): Likewise.
15093 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15094 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15095 * sysdeps/sh/init-first.c (init): Likewise.
15097 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15099 * po/ru.po: Update from translation team.
15100 * po/vi.po: Likewise.
15102 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 * resolv/nss_dns/dns-host.c: Merge copyright years.
15106 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15109 Optimize memcpy with prefetch if
15110 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15111 src, dst pointers have unequal 16 byte alignments.
15113 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15116 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15117 from a CNAME entry and return the minimum ttl for the query.
15118 (gaih_getanswer_slice): Likewise.
15120 2012-03-30 Jeff Law <law@redhat.com>
15122 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15124 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15125 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15127 * resolv/nss_dns/dns-host.c: Update copyright year.
15129 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15131 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15132 requests to save a system call. Fix check that all bytes are sent.
15134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15135 comments for sendmmsg.
15137 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15140 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15141 with only 1 character between 0x0041 and 0x01b0.
15142 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15143 * wcsmbs/tst-mbsnrtowcs.c: New file.
15145 2012-03-29 David S. Miller <davem@davemloft.net>
15147 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15148 small copies by hand.
15150 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15153 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15154 _nss_compat_initgroups_dyn): Fall back to malloc/free
15155 for large group memberships.
15157 2012-03-28 David S. Miller <davem@davemloft.net>
15159 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15160 that branches into memcpy.
15161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15164 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15167 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15168 implementation too.
15169 * sysdeps/sparc/mempcpy.S: New file.
15171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15172 the IFUNC routine in the libc case.
15173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15175 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15176 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15177 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15178 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15179 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15180 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15181 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15182 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15184 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15185 loop to 256 bytes instead of 64 bytes and fix test signedness.
15187 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15188 * sysdeps/sparc/sparc32/Makefile: rather than here...
15189 * sysdeps/sparc/sparc64/Makefile: and here.
15191 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15193 * malloc/mallocbug.c: Avoid warnings about unused variables.
15195 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15198 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15199 in the right place. Discard and retry query if response is
15200 larger than input buffer size.
15202 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15207 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15208 x for large integer exponent.
15209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15211 sign of result as needed afterwards.
15212 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15213 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15214 result for underflowing pow the same as for overflow.
15215 (__kernel_standard_l): Handle powl overflow and underflow here
15216 rather than calling __kernel_standard.
15217 * math/libm-test.inc (pow_test): Add more tests.
15232 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15233 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15234 (__kernel_standard_l): New function.
15235 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15237 * math/w_acosl.c (__acosl): Likewise.
15238 * math/w_asinl.c (__asinl): Likewise.
15239 * math/w_atan2l.c (__atan2l): Likewise.
15240 * math/w_atanhl.c (__atanhl): Likewise.
15241 * math/w_coshl.c (__coshl): Likewise.
15242 * math/w_exp10l.c (__exp10l): Likewise.
15243 * math/w_exp2l.c (__exp2l): Likewise.
15244 * math/w_fmodl.c (__fmodl): Likewise.
15245 * math/w_hypotl.c (__hypotl): Likewise.
15246 * math/w_j0l.c (__j0l, __y0l): Likewise.
15247 * math/w_j1l.c (__j1l, __y1l): Likewise.
15248 * math/w_jnl.c (__jnl, __ynl): Likewise.
15249 * math/w_lgammal.c (__lgammal): Likewise.
15250 * math/w_log10l.c (__log10l): Likewise.
15251 * math/w_log2l.c (__log2l): Likewise.
15252 * math/w_logl.c (__logl): Likewise.
15253 * math/w_powl.c (__powl): Likewise.
15254 * math/w_remainderl.c (__remainderl): Likewise.
15255 * math/w_scalbl.c (sysv_scalbl): Likewise.
15256 * math/w_sinhl.c (__sinhl): Likewise.
15257 * math/w_sqrtl.c (__sqrtl): Likewise.
15258 * math/w_tgammal.c (__tgammal): Likewise.
15259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15260 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15261 * math/libm-test.inc (acos_test): Add more tests.
15262 (acosh_test): Likewise.
15263 (asin_test): Likewise.
15264 (atanh_test): Likewise.
15265 (exp_test): Likewise.
15266 (exp10_test): Likewise.
15267 (exp2_test): Likewise.
15268 (expm1_test): Likewise.
15269 (lgamma_test): Likewise.
15270 (log_test): Likewise.
15271 (log10_test): Likewise.
15272 (log1p_test): Likewise.
15273 (log2_test): Likewise.
15274 (pow_test): Do not allow some spurious overflow exceptions.
15275 (sqrt_test): Add more tests.
15276 (tgamma_test): Likewise.
15277 (y0_test): Likewise.
15278 (y1_test): Likewise.
15279 (yn_test): Likewise.
15281 2012-03-27 Anton Blanchard <anton@samba.org>
15283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15285 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15286 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15289 2012-03-27 David S. Miller <davem@davemloft.net>
15291 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15293 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15294 have-as-vis3 check.
15296 2012-03-27 Andreas Jaeger <aj@suse.de>
15298 * sysdeps/x86_64/elf/configure.in: Moved to ...
15299 * sysdeps/x86_64/configure.in: ... here.
15300 * sysdeps/x86_64/elf/start.S: Moved to ...
15301 * sysdeps/x86_64/start.S: ... here.
15302 * sysdeps/x86_64/elf/configure: Delete.
15304 * sysdeps/x86_64/configure.in: Merge contents from
15305 sysdeps/i386/configure.in (without i686 check).
15307 * sysdeps/i386/elf/Versions: Merge into ...
15308 * sysdeps/i386/Versions: ... this.
15309 * sysdeps/i386/elf/Versions: Delete file.
15310 * sysdeps/i386/elf/start.S: Moved to ...
15311 * sysdeps/i386/start.S: ...here.
15312 * sysdeps/i386/elf/configure.in: Merge into...
15313 * sysdeps/i386/configure.in: ...here.
15314 * sysdeps/i386/elf/configure.in: Delete file.
15315 * sysdeps/i386/elf/configure: Delete file.
15317 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15318 * debug/backtracesyms.c: ... here.
15319 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15320 * debug/backtracesymsfd.c: ... here.
15321 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15322 * sysdeps/generic/ifunc-sel.h: ... here.
15324 * sysdeps/unix/i386/start.c: Delete file.
15325 * sysdeps/unix/sparc/start.c: Delete file.
15326 * sysdeps/unix/start.c: Delete file.
15328 * sysdeps/sh/elf/configure.in: Moved to ...
15329 * sysdeps/sh/configure.in: ... here.
15330 * sysdeps/sh/elf/start.S: Moved to ...
15331 * sysdeps/sh/start.S: ... here.
15332 * sysdeps/sh/elf/configure: Delete file.
15334 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15335 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15336 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15337 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15338 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15339 * sysdeps/powerpc/powerpc64/start.S: here.
15340 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15341 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15342 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15343 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15344 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15346 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15347 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15348 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15349 * sysdeps/powerpc/powerpc32/start.S: ... here.
15350 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15351 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15352 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15354 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15355 * sysdeps/powerpc/ifunc-sel.h: ... here.
15356 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15357 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15359 * sysdeps/sparc/elf/configure.in: Moved to ...
15360 * sysdeps/sparc/configure.in: ... here.
15361 * sysdeps/sparc/elf/configure: Delete file.
15362 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15363 * sysdeps/sparc/sparc32/start.S: ... here.
15364 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15365 * sysdeps/sparc/sparc64/start.S: ... here.
15366 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15367 * sysdeps/sparc/sparc32/Makefile: ... this.
15368 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15369 * sysdeps/sparc/sparc64/Makefile: ... this.
15371 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15372 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15373 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15374 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15375 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15376 * sysdeps/s390/s390-32/setjmp.S: ... here.
15377 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15378 * sysdeps/s390/s390-32/configure.in: ... here.
15379 * sysdeps/s390/s390-32/elf/configure: Delete file.
15380 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15381 * sysdeps/s390/s390-32/start.S: ... here.
15383 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15384 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15385 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15386 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15387 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15388 * sysdeps/s390/s390-64/setjmp.S: ... here.
15389 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15390 * sysdeps/s390/s390-64/configure.in: ... here
15391 * sysdeps/s390/s390-64/elf/configure: Delete file.
15392 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15393 * sysdeps/s390/s390-64/start.S: ... here.
15394 * sysdeps/s390/s390-64/elf/configure: Delete.
15396 * configure.in: Remove support for elf directories in sysdeps.
15398 * configure: Regenerated.
15399 * sysdeps/i386/configure: Regenerated.
15400 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15401 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15402 * sysdeps/s390/s390-32/configure: Regenerated.
15403 * sysdeps/s390/s390-64/configure: Regenerated.
15404 * sysdeps/sh/configure: Regenerated.
15405 * sysdeps/sparc/configure: Regenerated.
15406 * sysdeps/x86_64/configure: Regenerated.
15408 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15413 denormal result into account.
15415 2012-03-25 Roland McGrath <roland@hack.frob.com>
15417 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15418 Reported by Allan McRae <allan@archlinux.org>.
15420 2012-03-23 Jeff Law <law@redhat.com>
15422 * nss/getnssent.c (__nss_getent): Fix typo.
15424 2012-03-23 David S. Miller <davem@davemloft.net>
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15428 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15430 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15431 to pad to uint64_t for each field.
15432 (dl_tls_index): Replace unsigned long with uint64_t.
15434 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15435 Paul Pluzhnikov <ppluzhnikov@google.com>
15438 * grp/Makefile (otherlibs): Don't set it.
15439 * inet/Makefile (otherlibs): Likewise.
15440 * login/Makefile (otherlibs): Likewise.
15441 * nscd/Makefile (otherlibs): Likewise.
15442 * posix/Makefile (otherlibs): Likewise.
15443 * pwd/Makefile (otherlibs): Likewise.
15444 * rt/Makefile (otherlibs): Likewise.
15445 * sunrpc/Makefile (otherlibs): Likewise.
15446 * nss/Makefile (otherlibs): Likewise.
15447 Add libnss_files to routines and static-only-routines.
15448 ($(objpfx)getent): Remove rule.
15449 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15450 static-only-routines.
15452 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15455 * math/s_cexp.c: Include <float.h>.
15456 (__cexp): Handle exp result overflowing not necessarily
15457 overflowing both real and imaginary parts of result.
15458 * math/s_cexpf.c: Likewise.
15459 * math/s_cexpl.c: Likewise.
15460 * math/libm-test.inc (cexp_test): Add more tests.
15461 * sysdeps/i386/fpu/libm-test-ulps: Update.
15462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15466 * include/link.h (ELFW): New macro.
15467 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15468 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15472 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15475 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15477 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15479 (struct La_x32_retval): Likewise.
15481 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15483 * sysdeps/x86_64/preconfigure.in: New file.
15484 * sysdeps/x86_64/preconfigure: New generated file.
15486 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15489 * math/e_exp2l.c: Include <float.h>.
15490 (__ieee754_exp2l): Handle overflow and underflow cases
15491 separately. Only pass fractional part of argument to
15493 * math/libm-test.inc (exp2_test): Add more tests.
15495 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15496 negating x to take absolute value.
15497 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15502 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15503 computing low part if x was negated.
15504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15506 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15508 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15509 la_x32_gnu_pltexit.
15510 (pltexit): Cast int_retval to ptrdiff_t.
15511 * elf/tst-auditmod3b.c: Likewise.
15512 * elf/tst-auditmod4b.c: Likewise.
15513 * elf/tst-auditmod5b.c: Likewise.
15514 * elf/tst-auditmod6b.c: Likewise.
15515 * elf/tst-auditmod6c.c: Likewise.
15516 * elf/tst-auditmod7b.c: Likewise.
15518 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15519 and x32_gnu_pltexit.
15521 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15522 __ELF_NATIVE_CLASS.
15523 (La_x32_regs): New macro.
15524 (La_x32_retval): Likewise.
15525 (la_x32_gnu_pltenter): New function prototype.
15526 (la_x32_gnu_pltexit): Likewise.
15528 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15535 * configure.in (libc_cv_cc_nofma): Check for option to disable
15536 generation of FMA instructions.
15537 * configure: Regenerate.
15538 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15539 * sysdeps/ieee754/dbl-64/Makefile: New file.
15540 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15541 Remove brandred-fma4.
15542 (CFLAGS-brandred-fma4.c): Remove.
15543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15549 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15552 LLONG_MAX != LONG_MAX.
15553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15554 (_fitoa_word): Likewise.
15555 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15556 LLONG_MAX != LONG_MAX.
15557 * stdio-common/_itowa.h: Include <_itoa.h>.
15558 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15559 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15560 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15561 only if not defined.
15562 (_ITOA_WORD_TYPE): Likewise.
15563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15564 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15566 2012-03-21 David S. Miller <davem@davemloft.net>
15568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15572 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15573 of x86_64 when setting libc_cv_slibdir, libdir and
15575 * sysdeps/unix/sysv/linux/configure: Regenerated.
15577 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15579 * manual/lang.texi (Old Varargs): Remove section.
15580 (How Variadic): Update menu.
15581 (va_start): Do not mention varargs.h.
15583 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15584 Joseph Myers <joseph@codesourcery.com>
15586 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15588 * configure: Regenerated.
15590 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15592 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15593 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15596 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15599 * Makefile (files-for-dist): Remove NOTES.
15600 (NOTES): Remove rule.
15601 * README: Don't refer to NOTES.
15602 * manual/creature.texi: Don't include macros.texi.
15603 * manual/intro.texi (creature.texi): Remove comment referring to
15606 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15607 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15608 * configure: Regenerated.
15609 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15610 LIBC_TRY_CC_OPTION.
15611 (libc_cv_as_i686): Likewise.
15612 (libc_cv_cc_avx): Likewise.
15613 (libc_cv_cc_sse2avx): Likewise.
15614 (libc_cv_cc_fma4): Likewise.
15615 (libc_cv_cc_novzeroupper): Likewise.
15616 * sysdeps/i386/configure: Regenerated.
15619 * sysdeps/i386/fpu/s_cexp.S: Remove.
15620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15621 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15622 * math/libm-test.inc (cexp_test): Add more tests.
15623 * sysdeps/i386/fpu/libm-test-ulps: Update.
15624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15626 2012-03-21 Allan McRae <allan@archlinux.org>
15628 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15630 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15633 * math/w_exp2.c: Do not include <float.h>.
15634 (o_threshold, u_threshold): Remove.
15635 (__exp2): Calculate result before checking finiteness and calling
15637 * math/w_exp2f.c: Likewise.
15638 * math/w_exp2l.c: Likewise.
15639 * math/libm-test.inc (exp2_test): Require overflow exception for
15643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15644 range of signed 64-bit integers before using fistpll. Remove
15645 checks for whether integers fit in mantissa bits.
15646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15647 the range of signed 32-bit integers before using fistpl. Remove
15648 checks for whether integers fit in mantissa bits.
15649 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15650 (__ieee754_powl): Test for y outside the range of signed 64-bit
15651 integers before using fistpll. Reduce 64-bit values to 63-bit
15653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15654 divide-by-zero is raised for zero to large negative powers.
15655 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15656 (__ieee754_powl): Test for y outside the range of signed 64-bit
15657 integers before using fistpll. Reduce 64-bit values to 63-bit
15659 * math/libm-test.inc (pow_test): Add more tests.
15661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15663 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15664 <stdio-common/_itoa.h>.
15665 * debug/segfault.c: Likewise.
15666 * elf/dl-cache.c: Likewise.
15667 * elf/dl-minimal.c: Likewise.
15668 * elf/dl-misc.c: Likewise.
15669 * elf/dl-sysdep.c: Likewise.
15670 * elf/dl-version.c: Likewise.
15671 * elf/rtld.c: Likewise.
15672 * hurd/hurdsock.c: Likewise.
15673 * hurd/lookup-retry.c: Likewise.
15674 * malloc/malloc.c: Likewise.
15675 * malloc/mtrace.c: Likewise.
15676 * nscd/nscd_getgr_r.c: Likewise.
15677 * nscd/nscd_getpw_r.c: Likewise.
15678 * nscd/nscd_getserv_r.c: Likewise.
15679 * posix/getopt_init.c: Likewise.
15680 * posix/wordexp.c: Likewise.
15681 * stdio-common/_itoa.c: Likewise.
15682 * stdio-common/printf_fphex.c: Likewise.
15683 * stdio-common/vfprintf.c: Likewise.
15684 * string/_strerror.c: Likewise.
15685 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15686 * sysdeps/i386/i686/hp-timing.h: Likewise.
15687 * sysdeps/mach/_strerror.c: Likewise.
15688 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15689 * sysdeps/mach/hurd/sethostid.c: Likewise.
15690 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15691 * sysdeps/mach/xpg-strerror.c: Likewise.
15692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15694 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15695 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15696 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15697 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15699 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15700 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15701 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15702 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15703 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15704 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15705 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15706 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15710 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15711 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15714 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15716 * stdio-common/_itoa.h: Moved to ...
15717 * sysdeps/generic/_itoa.h: Here.
15719 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15721 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15722 instead of "_itoa.h" and "_itowa.h".
15723 * stdio-common/vfprintf.: Likewise.
15725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15727 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15729 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15730 (__signbit): Likwise.
15731 (llrintf): Likwise.
15734 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15736 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15739 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15741 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15742 OVERFLOW_EXCEPTION_OK.
15743 * math/libm-test.inc ("Philosophy"): Update comment about
15745 (OVERFLOW_EXCEPTION): Define.
15746 (OVERFLOW_EXCEPTION_OK): Likewise.
15747 (INVALID_EXCEPTION_OK): Renumber.
15748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15749 (IGNORE_ZERO_INF_SIGN): Likewise.
15750 (test_exceptions): Handle FE_OVERFLOW.
15751 (exp10_test): Expect overflow exceptions.
15752 (exp2_test): Likewise.
15753 (expm1_test): Likewise.
15754 (nextafter_test): Likewise.
15755 (pow_test): Likewise.
15756 (scalbn_test): Likewise.
15757 (scalbln_test): Likewise.
15759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15761 * sysdeps/x86_64/bits/atomic.h
15762 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15764 (atomic_exchange_acq): Likewise.
15765 (__arch_exchange_and_add_body): Likewise.
15766 (__arch_add_body): Likewise.
15767 (atomic_add_negative): Likewise.
15768 (atomic_add_zero): Likewise.
15770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15772 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15773 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15777 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15778 Check __x86_64__ instead of __WORDSIZE.
15780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15782 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15784 2012-03-19 David S. Miller <davem@davemloft.net>
15786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15788 * sysdeps/sparc/fpu/fenv_private.h: New file.
15789 * sysdeps/sparc/fpu/math_private.h: Use it.
15790 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15793 (libc_feholdexcept_setroundl): Remove.
15794 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15801 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15802 int64_t instead of long int.
15803 (INSERT_WORDS64): Likwise.
15805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15807 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15808 _Unwind_GetCFA return to _Unwind_Ptr first.
15810 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15813 * math/s_clog.c: Include <float.h>.
15814 (__clog): Scale large or subnormal inputs.
15815 * math/s_clogf.c: Likewise.
15816 * math/s_clogl.c: Likewise.
15817 * math/s_clog10.c: Include <float.h>.
15818 (M_LOG10_2): Define.
15819 (__clog10): Scale large or subnormal inputs.
15820 * math/s_clog10f.c: Likewise.
15821 * math/s_clog10l.c: Likewise.
15822 * math/libm-test.inc (clog_test): Add more tests.
15823 (clog10_test): Likewise.
15824 * sysdeps/i386/fpu/libm-test-ulps: Update.
15825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15828 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15830 * math/libm-test.inc (atan2_test): Add another test.
15832 * Makerules (common-objdir-compile): Remove.
15833 * sysdeps/unix/Makefile (config-generated): Do not add
15834 $(unix-generated) to variable.
15835 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15836 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15838 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15840 [generic bits/local_lim.h] (before-compile): Do not append to
15842 [generic bits/local_lim.h] (common-generated): Likewise.
15843 [generic sys/param.h] (before-compile): Do not append to variable.
15844 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15845 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15846 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15847 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15849 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15850 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15851 [generic sys/param.h] ($(addprefix
15852 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15853 [generic sys/param.h] (common-generated): Do not append to
15855 [generic sys/param.h] (sysdep_headers): Likewise.
15856 [generic bits/errno.h] (before-compile): Do not append to
15858 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15860 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15861 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15862 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15863 [generic bits/errno.h] (common-generated): Do not append to
15865 [generic bits/ioctls.h] (before-compile): Do not append to
15867 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15869 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15870 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15871 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15873 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15874 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15875 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15876 [generic bits/ioctls.h] (common-generated): Do not append to
15878 [generic sys/syscall.h] (syscall.h): Remove variable.
15879 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15881 [generic sys/syscall.h] (before-compile): Do not append to
15883 [generic sys/syscall.h] (common-generated): Likewise.
15884 * sysdeps/unix/errnos-tmpl.c: Remove file.
15885 * sysdeps/unix/errnos.awk: Likewise.
15886 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15887 * sysdeps/unix/ioctls.awk: Likewise.
15888 * sysdeps/unix/mk-local_lim.c: Likewise.
15889 * sysdeps/unix/snarf-ioctls: Likewise.
15891 2012-03-19 Richard Henderson <rth@twiddle.net>
15893 * sysdeps/i386/fpu/fenv_private.h: New file.
15894 * sysdeps/i386/fpu/math_private.h: Use it.
15895 (math_opt_barrier, math_force_eval): Remove.
15896 (libc_feholdexcept_setround_53bit): Remove.
15897 (libc_feupdateenv_53bit): Remove.
15898 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15899 (math_opt_barrier, math_force_eval): Remove.
15900 (libc_feholdexcept): Remove.
15901 (libc_feholdexcept_setround): Remove.
15902 (libc_fetestexcept, libc_fesetenv): Remove.
15903 (libc_feupdateenv_test): Remove.
15904 (libc_feupdateenv, libc_feholdsetround): Remove.
15905 (libc_feresetround): Remove.
15907 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15908 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15910 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15911 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15912 (libc_feupdateenv_testl): New.
15913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15914 (libc_feupdateenv_testf): New.
15915 (libc_feupdateenv): Use libc_feupdateenv_test.
15916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15919 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15920 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15921 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15922 (libc_feresetround_noex): New.
15923 (libc_feresetround_noexf): New.
15924 (libc_feresetround_noexl): New.
15925 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15926 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15927 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15933 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15935 SET_RESTORE_ROUND_NOEX.
15936 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15937 SET_RESTORE_ROUND_NOEXF.
15938 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15939 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15940 (libc_feholdsetroundf): New.
15941 (libc_feresetround, libc_feresetroundf): New.
15943 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15944 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15945 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15947 * sysdeps/generic/math_private.h: Include <fenv.h>.
15948 (default_libc_feholdexcept): New.
15949 (default_libc_feholdexcept_setround): New.
15950 (default_libc_fesetenv, default_libc_feupdateenv): New.
15951 (libc_feholdexcept): Only define if undefined.
15952 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15953 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15954 (libc_feholdexcept_setroundl): Likewise.
15955 (libc_feholdexcept_setround_53bit): Likewise.
15956 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15957 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15958 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15959 (libc_feupdateenv_53bit): Likewise.
15960 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15961 (libc_feholdexcept): Convert from macro to inline function.
15962 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15963 (libc_fesetenv, libc_feupdateenv): Likewise.
15965 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15966 not previously defined.
15967 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15968 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15969 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15971 * sysdeps/ieee754/flt-32/math_private.h: New file.
15972 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15973 math_private.h below SET_FLOAT_WORD.
15974 (__isnan, __isinf_ns, __finite): Remove.
15975 (__isnanf, __isinf_nsf, __finitef): Remove.
15977 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15981 2012-03-17 David S. Miller <davem@davemloft.net>
15984 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15987 2012-03-16 David S. Miller <davem@davemloft.net>
15989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15995 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15996 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15997 sysdep_routines when subdir is sysvipc.
15998 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15999 __getshmlba helper.
16001 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16005 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16011 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16012 (__lround): Renamed to ...
16013 (__llround): This. Replace long int with long long int.
16014 Define lround functions as aliases of llround functions.
16015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16019 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16020 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16021 adresses to uintptr_t. Replace "long int" and "unsigned long
16022 int" with "greg_t" on va_arg.
16024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16026 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16027 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16029 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16030 Move e_machine check before EI_CLASS check. Handle x32
16031 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16032 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16033 SKIP_EM_IA_64 and include
16034 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16036 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16037 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16038 (add_system_dir): New macro.
16040 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16041 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16043 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16054 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16056 * math/w_j0f.c (j0f): Likewise.
16058 * math/w_j0l.c (__j0l): Likewise.
16060 * math/w_j1.c (j1): Likewise.
16062 * math/w_j1f.c (j1f): Likewise.
16064 * math/w_j1l.c (__j1l): Likewise.
16066 * math/w_jn.c (jn): Likewise.
16068 * math/w_jnf.c (jnf): Likewise.
16070 * math/w_jnl.c (__jnl): Likewise.
16072 * math/libm-test.inc (j0_test): Add more tests.
16073 (j1_test): Likewise.
16074 (jn_test): Likewise. Add trailing semicolon to existing test.
16075 (y0_test): Likewise.
16076 (y1_test): Likewise.
16077 * sysdeps/i386/fpu/libm-test-ulps: Update.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16083 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16084 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16086 (__tanl): Set errno for infinite argument.
16087 * sysdeps/i386/fpu/mptan.c: Remove.
16088 * sysdeps/i386/fpu/s_tan.S: Likewise.
16089 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16090 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16091 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16092 * math/libm-test.inc (tan_test): Add more tests and enable more
16093 tests for double and long double.
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16099 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16100 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16102 2012-03-16 Roland McGrath <roland@hack.frob.com>
16104 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16105 * configure.in: Use it for both main tree and add-ons.
16106 * configure: Regenerated.
16108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16110 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16112 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16118 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16119 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16124 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16126 != 0 for prec == 2.
16127 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16128 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16129 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16130 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16131 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16132 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16133 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16134 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16135 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16136 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16137 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16138 * math/libm-test.inc (cos_test): Add more tests and enable more
16139 tests for long double.
16140 (sin_test): Likewise.
16141 (sincos_test): Likewise.
16142 * sysdeps/i386/fpu/libm-test-ulps: Update.
16143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16145 2012-03-16 David S. Miller <davem@davemloft.net>
16147 * sysdeps/sparc/fpu/math_private.h: New file.
16149 2012-03-15 David S. Miller <davem@davemloft.net>
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16165 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16166 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16168 * sysdeps/sparc/sparc-ifunc.h: New file.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16214 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16216 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16220 2012-03-15 Andreas Jaeger <aj@suse.de>
16223 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16224 ieee754/flt-32 implementation for sin, cos and sincos.
16225 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16226 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16227 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16228 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16229 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16230 ieee754/flt-32 implementation for tan.
16232 * math/libm-test.inc (cos_test): Enable some large input tests for
16234 (sin_test): Likewise.
16235 (sincos_test): Likewise.
16236 (tan_test): Add tests for large input.
16238 * sysdeps/i386/fpu/libm-test-ulps: Update.
16240 2012-03-15 Andreas Jaeger <aj@suse.de>
16243 * math/libm-test.inc (cos_test): Add more test cases.
16244 (sin_test): Likewise.
16245 (sincos_test): Likewise.
16247 2012-03-15 Andreas Jaeger <aj@suse.de>
16250 * math/libm-test.inc (cos_test): Add a test case for large input
16252 (sin_test): Likewise.
16253 (sincos_test): Likewise.
16255 2012-03-15 Andreas Jaeger <aj@suse.de>,
16256 Joseph Myers <joseph@codesourcery.com>
16259 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16260 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16261 * sysdeps/i386/fpu/branred.c: Likewise.
16262 * sysdeps/i386/fpu/dosincos.c: Likewise.
16263 * sysdeps/i386/fpu/mpa.c: Likewise.
16264 * sysdeps/i386/fpu/s_cos.S: Likewise.
16265 * sysdeps/i386/fpu/s_sin.S: Likewise.
16266 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16267 * sysdeps/i386/fpu/sincos32.c: Likewise.
16269 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16271 (libc_feupdateenv_53bit): Define.
16272 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16274 (libc_feupdateenv_53bit): Define.
16276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16277 53 bit (without extend i386 double precision).
16279 * math/libm-test.inc (sincos_test): Add tests for large input.
16283 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16285 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16289 2012-03-15 David S. Miller <davem@davemloft.net>
16291 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16319 fmin/fmax sysdep routines.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16322 2012-03-14 David S. Miller <davem@davemloft.net>
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16396 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16401 * sysdeps/sparc/configure.in: New file.
16402 * sysdeps/sparc/configure: Generate.
16403 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16404 * configure: Regenerate.
16405 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16406 * config.make.in (have-as-vis3): New.
16407 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16408 available use -Av9d instead of -Av9a.
16409 * sysdeps/sparc/sparc64/Makefile: Likewise.
16410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16425 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16426 fzeros/fnegs to load 0x80000000 into a float register instead of
16428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16430 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16434 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16435 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16436 ($(inst_includedir)/bits/syscall.h): Remove rule.
16437 ($(objpfx)bits/syscall.d): Include instead of
16438 $(objpfx)syscall-list.d.
16439 (generated): Change syscall-list.h and syscall-list.d to
16440 bits/syscall.h and bits/syscall.d.
16442 2012-03-14 Roland McGrath <roland@hack.frob.com>
16445 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16447 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16450 * math/s_csqrt.c: Include <float.h>.
16451 (__csqrt): Scale large or subnormal inputs.
16452 * math/s_csqrtf.c: Likewise.
16453 * math/s_csqrtl.c: Likewise.
16454 * math/libm-test.inc (csqrt_test): Add more tests.
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459 * math/libm-test.inc (hypot_test): Add more tests.
16461 2012-03-13 David S. Miller <davem@davemloft.net>
16464 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16465 double-precision for the calculation instead of scaling.
16467 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16470 manipulate bits before adding and subtracting TWO52[sx].
16471 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16476 2012-03-13 David S. Miller <davem@davemloft.net>
16478 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16479 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16481 rtld-global-offsets.h
16482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16484 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16487 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16489 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16490 'err' in the ifdef scope in which it is actually used.
16492 * nss/nss_db/db-init.c: Include string.h
16494 2012-03-12 David S. Miller <davem@davemloft.net>
16496 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16497 masking out of the most significant byte of random value used.
16498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16499 Fix coding style in previous change.
16501 * sysdeps/unix/sysv/linux/kernel-features.h
16502 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16503 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16505 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16508 2012-03-11 David S. Miller <davem@davemloft.net>
16510 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16511 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16513 for 'resultvar' otherwise things get truncated on 64-bit.
16515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16516 Fix masking out of the most significant byte of random value used.
16518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16520 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16524 2012-03-09 David S. Miller <davem@davemloft.net>
16526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16527 variables with appropriate CPP guards.
16528 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16529 frame pointer, not the stack pointer. Correct layout comments. Fix test
16530 on resulting framesize and the management of the outregs buffer for pltexit.
16531 Preserve floating point return values across _dl_call_pltexit call.
16532 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16533 framesize and the management of the outregs buffer for pltexit.
16534 Preserve floating point return values across _dl_call_pltexit
16536 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16537 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16538 (print_exit): Fix format string for return register value.
16540 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16542 * sunrpc/Makefile (others): Add rpcgen.
16543 ($(objpfx)rpcgen): Remove special build rule and dependency on
16545 * sunrpc/rpcgen.c: New file.
16547 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16550 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16551 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16552 * sysdeps/i386/crti.S: Likewise.
16553 * sysdeps/i386/crtn.S: Likewise.
16554 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16555 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16556 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16557 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16558 * sysdeps/sh/crti.S: Likewise.
16559 * sysdeps/sh/crtn.S: Likewise.
16560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16563 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16565 * locale/programs/locfile-kw.gperf: Likewise.
16566 * locale/programs/charmap-kw.h: Regenerated.
16567 * locale/programs/locfile-kw.h: Likewise.
16570 * intl/plural.y: Replace FSF snail mail address with URL.
16571 * intl/plural.c: Regenerated.
16573 2012-03-09 Richard Henderson <rth@twiddle.net>
16575 * include/math_private.h: Remove file.
16576 * math/math_private.h: Move file ...
16577 * sysdeps/generic/math_private.h: ... here.
16579 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16580 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16581 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16583 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16584 and <math_private.h>.
16585 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16586 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16587 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16588 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16589 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16682 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16685 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16686 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16687 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16690 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16720 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16722 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16723 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16725 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16727 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16728 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16729 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16730 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16731 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16732 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16733 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16734 * sysdeps/ieee754/k_standard.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16883 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16884 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16895 * sysdeps/ieee754/s_lib_version.c: Likewise.
16896 * sysdeps/ieee754/s_matherr.c: Likewise.
16897 * sysdeps/ieee754/s_signgam.c: Likewise.
16898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16900 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16901 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16902 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16903 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16904 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16905 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16906 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16907 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16908 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16909 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16910 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16912 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16913 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16914 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16915 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16920 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16922 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16923 * sunrpc/rpc_main.c: Likewise.
16924 * sunrpc/rpc_svcout.c: Likewise.
16926 2012-03-09 David S. Miller <davem@davemloft.net>
16928 * include/math_private.h: New file.
16930 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16932 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16933 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16934 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16935 from <bits/socket_type.h>.
16936 (enum __socket_type): Don't define here.
16937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16939 bits/socket_type.h.
16942 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16943 checking __USE_GNU.
16945 * Makerules ($(inst_includedir)/%.h): New rule.
16946 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16947 (install-others): Remove variable setting.
16948 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16950 2012-03-08 Richard Henderson <rth@twiddle.net>
16952 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16953 from macro to inline function; merge with the
16954 !__LIBC_INTERNAL_MATH_INLINES version.
16955 (__ieee754_sqrtf): Likewise.
16957 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16958 to inline function.
16959 (__rintf, __floor, __floorf): Likewise.
16961 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16962 macro to inline function.
16963 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16966 not <math/math_private.h>.
16968 2012-03-08 David S. Miller <davem@davemloft.net>
16970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16972 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16974 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16976 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16978 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16979 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16981 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16983 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16984 be defined individually, they must be defined as a block. Define
16985 S for printing a string instead of hidint the different by using a
16986 macro for adding the 'l'.
16987 * stdio-common/tst-fphex-wide.c: Adjust.
16989 2012-03-07 Marek Polacek <polacek@redhat.com>
16991 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16993 2012-03-08 Marek Polacek <polacek@redhat.com>
16996 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16997 * stdio-common/tst-fphex.c: Define a few macros to make the
16998 test reusable. Use them.
16999 * stdio-common/tst-fphex-wide.c: New file.
17001 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17004 * manual/macros.texi (gnusystems): New macro.
17005 (nongnusystems): Likewise.
17006 (gnulinuxhurdsystems): Likewise.
17007 (gnuhurdsystems): Likewise..
17008 (gnulinuxsystems): Likewise.
17009 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17010 variants of the GNU system, not "GNU system".
17011 * manual/conf.texi: Likewise.
17012 * manual/errno.texi: Likewise. Update example of errno macro
17014 * manual/filesys.texi: Likewise.
17015 (getumask): Document as specific to GNU/Hurd.
17016 * manual/install.texi: Likewise. Reword some references to
17018 * manual/intro.texi: Likewise.
17019 * manual/io.texi: Likewise.
17020 (File Name Portability): Detail which constraints are inapplicable
17021 to all GNU systems and which are only inapplicable to GNU/Hurd.
17022 * manual/job.texi: Likewise.
17023 * manual/llio.texi: Likewise.
17024 (O_NOCTTY): Document as present on GNU/Linux.
17025 * manual/maint.texi: Likewise.
17026 * manual/memory.texi: Likewise.
17027 * manual/pattern.texi: Likewise.
17028 * manual/pipe.texi: Likewise.
17029 * manual/process.texi: Likewise.
17030 * manual/resource.texi: Likewise.
17031 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17033 * manual/setjmp.texi: Likewise.
17034 * manual/signal.texi: Likewise.
17035 * manual/startup.texi: Likewise.
17036 * manual/stdio.texi: Likewise.
17037 * manual/terminal.texi: Likewise.
17038 (ONLCR): Document as POSIX.
17039 (OXTABS): Document availability on GNU/Linux as XTABS.
17040 (ONOEOT): Document availability separately from other bits.
17041 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17042 * manual/time.texi: Likewise.
17043 * manual/users.texi: Likewise.
17044 * INSTALL: Regenerated.
17045 * sysdeps/gnu/errlist.c: Regenerated.
17047 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17048 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17049 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17051 * configure: Regenerated.
17053 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17055 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17056 default includes instead of AC_HEADER_CHECK.
17057 * sysdeps/i386/configure: Regenerated.
17060 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17061 * math/s_cacoshf.c (__cacoshf): Likewise.
17062 * math/s_cacoshl.c (__cacoshl): Likewise.
17063 * math/s_casinh.c (__casinh): Set signs of result from argument.
17064 * math/s_casinhf.c (__casinhf): Likewise.
17065 * math/s_casinhl.c (__casinhl): Likewise.
17066 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17067 (casinh_test): Add more tests.
17068 * sysdeps/i386/fpu/libm-test-ulps: Update.
17069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17071 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17073 * po/zh_TW.po: Update from translation team.
17075 * login/Makefile (distribute): Remove variable.
17076 * catgets/Makefile: Likewise.
17077 * mach/Makefile: Likewise.
17078 * malloc/Makefile: Likewise.
17079 * misc/Makefile: Likewise.
17080 * iconv/Makefile: Likewise.
17081 * nscd/Makefile: Likewise.
17082 * hurd/Makefile: Likewise.
17083 * manual/Makefile: Likewise.
17084 * locale/Makefile: Likewise.
17085 * intl/Makefile: Likewise.
17086 * conform/Makefile: Likewise.
17087 * nss/Makefile: Likewise.
17088 * time/Makefile: Likewise.
17089 * soft-fp/Makefile: Likewise.
17090 * dirent/Makefile: Likewise.
17091 * gmon/Makefile: Likewise.
17092 * po/Makefile: Likewise.
17093 * rt/Makefile: Likewise.
17094 * socket/Makefile: Likewise.
17095 * math/Makefile: Likewise.
17096 * signal/Makefile: Likewise.
17097 * debug/Makefile: Likewise.
17098 * elf/Makefile: Likewise.
17099 * timezone/Makefile: Likewise.
17100 * stdlib/Makefile: Likewise.
17101 * iconvdata/Makefile: Likewise.
17102 * sunrpc/Makefile: Likewise.
17103 * io/Makefile: Likewise.
17104 * argp/Makefile: Likewise.
17105 * inet/Makefile: Likewise.
17106 * hesiod/Makefile: Likewise.
17107 * grp/Makefile: Likewise.
17108 * csu/Makefile: Likewise.
17109 * wctype/Makefile: Likewise.
17110 * crypt/Makefile: Likewise.
17111 * libio/Makefile: Likewise.
17112 * string/Makefile: Likewise.
17113 * nis/Makefile: Likewise.
17114 * resolv/Makefile: Likewise.
17115 * stdio-common/Makefile: Likewise.
17116 * wcsmbs/Makefile: Likewise.
17117 * dlfcn/Makefile: Likewise.
17118 * posix/Makefile: Likewise.
17121 * timezone/Makefile: Don't install timezone files, just the programs
17124 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17126 * nss/databases.def: Add missing gshadow entry.
17128 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17130 2012-03-06 Marek Polacek <polacek@redhat.com>
17133 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17134 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17135 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17136 * stdio-common/tst-long-dbl-fphex.c: New file.
17138 2012-03-06 David S. Miller <davem@davemloft.net>
17140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17141 (set_obp_int): New function.
17142 (get_obp_int): New function.
17143 (__get_clockfreq_via_dev_openprom): Likewise.
17144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17145 Avoid unused variable warnings on 'val' and use builtin_expect.
17146 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17148 (INLINE_CLONE_SYSCALL): Likewise.
17150 2012-03-05 David S. Miller <davem@davemloft.net>
17152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17154 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17159 only for |x| >= 40.
17160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17162 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17165 Replace gettimeofday with __vdso_gettimeofday.
17167 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17168 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17169 __vdso_clock_gettime and __vdso_getcpu.
17171 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17172 time with __vdso_time.
17174 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17176 * manual/lang.texi (size_t): Note types to which size_t may be
17177 equivalent with the GNU C Library, but do not describe when
17178 differences between them are significant.
17180 2012-03-05 Andreas Jaeger <aj@suse.de>
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17184 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17187 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17188 (__ieee754_pow): Save and restore rounding mode and use
17189 round-to-nearest for main computations.
17190 * math/libm-test.inc (pow_test_tonearest): New function.
17191 (pow_test_towardzero): Likewise.
17192 (pow_test_downward): Likewise.
17193 (pow_test_upward): Likewise.
17194 (main): Call the new functions.
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199 * math/libm-test.inc (cosh_test_tonearest): New function.
17200 (cosh_test_towardzero): Likewise.
17201 (cosh_test_downward): Likewise.
17202 (cosh_test_upward): Likewise.
17203 (sinh_test_tonearest): Likewise.
17204 (sinh_test_towardzero): Likewise.
17205 (sinh_test_downward): Likewise.
17206 (sinh_test_upward): Likewise.
17207 (main): Call the new functions.
17208 * sysdeps/i386/fpu/libm-test-ulps: Update.
17209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17211 2012-03-05 Tom de Vries <tom@codesourcery.com>
17213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17214 default stack guard is set in last bytes.
17215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17217 2012-03-05 Kees Cook <keescook@chromium.org>
17219 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17222 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17223 possibly allocate from heap instead of stack.
17224 * stdio-common/bug-vfprintf-nargs.c: New file.
17225 * stdio-common/Makefile (tests): Add nargs overflow test.
17227 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17231 2012-03-03 Marek Polacek <polacek@redhat.com>
17233 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17234 * math/math_private.h: Likewise.
17235 * stdlib/tst-strtod.c: Likewise.
17236 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17237 * sysdeps/x86_64/bits/atomic.h: Likewise.
17239 2012-03-02 David S. Miller <davem@davemloft.net>
17241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17245 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17246 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17247 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17248 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17250 2012-03-02 Roland McGrath <roland@hack.frob.com>
17253 * manual/examples/README: New file, says the example source files
17254 can be used under GPL>=2.
17255 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17256 line containing just "*/".
17257 * manual/examples/add.c: Add copyright header (GPL>=2).
17258 * manual/examples/argp-ex1.c: Likewise.
17259 * manual/examples/argp-ex2.c: Likewise.
17260 * manual/examples/argp-ex3.c: Likewise.
17261 * manual/examples/argp-ex4.c: Likewise.
17262 * manual/examples/atexit.c: Likewise.
17263 * manual/examples/db.c: Likewise.
17264 * manual/examples/dir.c: Likewise.
17265 * manual/examples/dir2.c: Likewise.
17266 * manual/examples/execinfo.c: Likewise.
17267 * manual/examples/filecli.c: Likewise.
17268 * manual/examples/filesrv.c: Likewise.
17269 * manual/examples/fmtmsgexpl.c: Likewise.
17270 * manual/examples/genpass.c: Likewise.
17271 * manual/examples/inetcli.c: Likewise.
17272 * manual/examples/inetsrv.c: Likewise.
17273 * manual/examples/isockad.c: Likewise.
17274 * manual/examples/longopt.c: Likewise.
17275 * manual/examples/memopen.c: Likewise.
17276 * manual/examples/memstrm.c: Likewise.
17277 * manual/examples/mkfsock.c: Likewise.
17278 * manual/examples/mkisock.c: Likewise.
17279 * manual/examples/mygetpass.c: Likewise.
17280 * manual/examples/pipe.c: Likewise.
17281 * manual/examples/popen.c: Likewise.
17282 * manual/examples/rprintf.c: Likewise.
17283 * manual/examples/search.c: Likewise.
17284 * manual/examples/select.c: Likewise.
17285 * manual/examples/setjmp.c: Likewise.
17286 * manual/examples/sigh1.c: Likewise.
17287 * manual/examples/sigusr.c: Likewise.
17288 * manual/examples/stpcpy.c: Likewise.
17289 * manual/examples/strdupa.c: Likewise.
17290 * manual/examples/strftim.c: Likewise.
17291 * manual/examples/strncat.c: Likewise.
17292 * manual/examples/subopt.c: Likewise.
17293 * manual/examples/swapcontext.c: Likewise.
17294 * manual/examples/termios.c: Likewise.
17295 * manual/examples/testopt.c: Likewise.
17296 * manual/examples/testpass.c: Likewise.
17297 * manual/examples/timeval_subtract.c: Likewise.
17300 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17302 * manual/timeval_subtract.c.texi: ... here, new file.
17304 2012-03-02 David S. Miller <davem@davemloft.net>
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17308 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17312 (__sin): Save and restore rounding mode and use round-to-nearest
17313 for all computations.
17314 (__cos): Save and restore rounding mode and use round-to-nearest
17315 for all computations.
17316 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17318 (tan): Save and restore rounding mode and use round-to-nearest for
17320 * math/libm-test.inc (cos_test_tonearest): New function.
17321 (cos_test_towardzero): Likewise.
17322 (cos_test_downward): Likewise.
17323 (cos_test_upward): Likewise.
17324 (sin_test_tonearest): Likewise.
17325 (sin_test_towardzero): Likewise.
17326 (sin_test_downward): Likewise.
17327 (sin_test_upward): Likewise.
17328 (tan_test_tonearest): Likewise.
17329 (tan_test_towardzero): Likewise.
17330 (tan_test_downward): Likewise.
17331 (tan_test_upward): Likewise.
17332 (main): Call the new functions.
17333 * sysdeps/i386/fpu/libm-test-ulps: Update.
17334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17337 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17338 small n, then large n, before computing and testing k+n.
17339 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17344 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17345 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17352 * math/libm-test.inc (scalbn_test): Add more tests.
17353 (scalbln_test): Likewise.
17355 * manual/filesys.texi (mode_t): Describe constraints on size and
17356 signedness, not exact equivalence to a particular type.
17358 (ino64_t): Likewise.
17360 (nlink_t): Likewise.
17361 (blkcnt_t): Likewise.
17362 (blkcnt64_t): Likewise.
17363 * manual/llio.texi (off_t): Likewise.
17366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17367 (__ieee754_exp): Save and restore rounding mode and use
17368 round-to-nearest for all computations.
17369 * math/libm-test.inc (exp_test_tonearest): New function.
17370 (exp_test_towardzero): Likewise.
17371 (exp_test_downward): Likewise.
17372 (exp_test_upward): Likewise.
17373 (main): Call the new functions.
17374 * sysdeps/i386/fpu/libm-test-ulps: Update.
17375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17377 2012-03-01 Chris Demetriou <cgd@google.com>
17379 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17380 have predictable order.
17382 2012-03-01 David S. Miller <davem@davemloft.net>
17384 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17386 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17391 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17392 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17393 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17395 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17396 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17397 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17398 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17399 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17404 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17405 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17407 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17408 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17409 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17414 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17416 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17417 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17423 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17424 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17425 * sysdeps/sparc/elf/configure: Regenerated.
17427 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17429 * configure.in (AS, LD): Require binutils 2.20 or later.
17430 * configure: Regenerated.
17431 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17432 as required minimum version.
17433 * INSTALL: Regenerated.
17437 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17438 before squaring exponent.
17439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17440 bottom long double and 27 bits of top long double before squaring
17442 * math/libm-test.inc (erfc_test): Add more tests.
17443 * sysdeps/i386/fpu/libm-test-ulps: Update.
17444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17447 2012-03-01 Kai Tietz <ktietz@redhat.com>
17449 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17450 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17451 containing bit-fields.
17452 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17453 * soft-fp/single.h (_FP_UNION_S): Likewise.
17454 * soft-fp/double.h (_FP_UNION_D): Likewise.
17456 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17459 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17460 not include ../strcmp.S.
17461 [USE_AS_STRNCASECMP_L]: Likewise.
17462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17463 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17464 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17465 (__strncasecmp_l_ia32): Define as alias to
17466 __strncasecmp_l_nonascii.
17469 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17470 * sysdeps/i386/fpu/libm-test-ulps: Update.
17471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17473 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17476 2012-02-29 Jeff Law <law@redhat.com>
17478 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17479 out of bounds read.
17481 2012-02-29 Marek Polacek <polacek@redhat.com>
17484 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17485 * elf/Makefile: Add rules to run tst-unused-dep.out.
17487 2012-02-28 David S. Miller <davem@davemloft.net>
17489 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17490 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17493 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17494 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17496 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17498 * math/libm-test.inc (llround_test): Move one test from
17499 lround_test. Use TEST_f_L in moved test.
17500 (lround_test): Move misplaced test to llround_test. Add testcase
17503 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17505 * sysdeps/x86_64/fpu/e_expf.S: New file.
17506 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17508 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17511 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17512 of remain_len that may cause incomplete multi-byte character and
17514 * posix/bug-regex33.c: New file.
17515 * posix/Makefile (tests): Add bug-regex33.
17517 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17519 * manual/macros.texi: New file.
17520 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17521 * manual/libc.texinfo: Include macros.texi.
17522 * manual/creatute.texi: Likewise.
17523 * manual/install.texi: Likewise.
17524 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17525 @glibcadj{} in references to the GNU C Library.
17526 * manual/charset.texi: Likewise.
17527 * manual/conf.texi: Likewise.
17528 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17529 when not using those macros.
17530 * manual/creature.texi: Likewise.
17531 * manual/crypt.texi: Likewise.
17532 * manual/errno.texi: Likewise.
17533 * manual/filesys.texi: Likewise.
17534 * manual/header.texi: Likewise.
17535 * manual/install.texi: Likewise.
17536 * manual/intro.texi: Likewise.
17537 * manual/io.texi: Likewise.
17538 * manual/job.texi: Likewise.
17539 * manual/lang.texi: Likewise.
17540 * manual/libc.texiinfo: Likewise.
17541 * manual/llio.texi: Likewise.
17542 * manual/locale.texi: Likewise.
17543 * manual/maint.texi: Likewise.
17544 * manual/math.texi: Likewise.
17545 * manual/memory.texi: Likewise.
17546 * manual/message.texi: Likewise.
17547 * manual/nss.texi: Likewise.
17548 * manual/pattern.texi: Likewise.
17549 * manual/process.texi: Likewise.
17550 * manual/resource.texi: Likewise.
17551 * manual/search.texi: Likewise.
17552 * manual/setjmp.texi: Likewise.
17553 * manual/signal.texi: Likewise.
17554 * manual/socket.texi: Likewise.
17555 * manual/startup.texi: Likewise.
17556 * manual/stdio.texi: Likewise.
17557 * manual/string.texi: Likewise.
17558 * manual/sysinfo.texi: Likewise.
17559 * manual/syslog.texi: Likewise.
17560 * manual/terminal.texi: Likewise.
17561 * manual/time.texi: Likewise.
17562 * manual/users.texi: Likewise.
17563 * INSTALL: Regenerated.
17564 * NOTES: Regenerated.
17565 * sysdeps/gnu/errlist.c: Regenerated.
17567 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17569 * include/dirent.h: Include <dirstream.h> before
17572 2012-02-28 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17575 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17576 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17579 2012-02-27 David S. Miller <davem@davemloft.net>
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17583 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17584 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17587 frame pointer instead of stack pointer relative arg slot.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17592 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17595 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17597 2012-02-27 David S. Miller <davem@davemloft.net>
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17605 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17608 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17610 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17611 later. Allow versions 5-9.
17612 * configure: Regenerated.
17613 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17614 required minimum version and 4.6 as recommended version. Do not
17615 mention bugs in GCC 2.7 and 2.8.
17616 * INSTALL: Regenerated.
17618 2012-02-27 David S. Miller <davem@davemloft.net>
17620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17626 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17630 manipulate bits before adding and subtracting TWO112[sx].
17631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17633 2012-02-27 Roland McGrath <roland@hack.frob.com>
17636 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17637 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17638 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17639 being in POSIX, because they are in 1003.1-2008.
17641 * rt/tst-aio.c: Include <fcntl.h>.
17642 * rt/tst-aio7.c: Likewise.
17643 * rt/tst-aio64.c: Likewise.
17645 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17647 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17649 * manual/install.texi (--with-headers): Describe headers as
17650 interface headers, not private headers.
17651 (Specific advice for GNU/Linux systems): Describe use of headers
17652 from "make headers_install", not private headers from older
17654 * INSTALL: Regenerated.
17655 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17657 * sysdeps/unix/sysv/linux/configure: Regenerated.
17659 * manual/llio.texi (fclean): Remove documentation.
17661 * manual/Makefile (libc-texi-generated): New variable. Include
17663 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17664 $(libc-texi-generated), not duplicated list of files.
17665 (version.texi, stamp-version): New rules.
17666 (realclean): Remove $(libc-texi-generated), not individual files
17667 from that list. Do not remove dir-add.texinfo.
17668 * manual/libc.texinfo: Comment out uses of edition numbers and
17669 references to printed manual. Remove last-updated dates.
17670 (EDITION): Comment out.
17672 (VERSION, UPDATED): Remove.
17673 (version.texi): Include.
17675 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17677 * sysdeps/posix/spawni.c: Include <signal.h>.
17678 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17679 * sysdeps/pthread/aio_fsync.c: Likewise.
17681 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17683 * conform/Makefile (tests): Run only when not cross-compiling and
17684 when fast-check is not defined.
17686 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17687 * conform/data/limits.h-data: Fixes for POSIX2008.
17688 * conform/run-conformtest.sh: Run all tests.
17689 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17691 * include/bits/dlfcn.h: Likewise.
17692 * include/langinfo.h: Likewise.
17693 * include/monetary.h: Likewise.
17694 * include/sys/poll.h: Likewise.
17696 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17698 * posix/spawn.h: Define __need_sigset_t.
17699 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17700 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17701 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17702 to get sigevent_t only.
17703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17704 only for __USE_GNU.
17705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17707 process_vm_writev only for __USE_GNU.
17708 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17710 * conform/Makefile: For now ignore errors from run-conformtest.
17711 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17712 POSIX to avoid namespace pollution. Don't prepend headers.
17713 * conform/data/aio.h-data: Fixes for POSIX testing.
17714 * conform/data/fcntl.h-data: Likewise.
17715 * conform/data/glob.h-data: Likewise.
17716 * conform/data/grp.h-data: Likewise.
17717 * conform/data/pthread.h-data: Likewise.
17718 * conform/data/pwd.h-data: Likewise.
17719 * conform/data/signal.h-data: Likewise.
17720 * conform/data/spawn.h-data: Likewise.
17721 * conform/data/stdio.h-data: Likewise.
17722 * conform/data/stdlib.h-data: Likewise.
17723 * conform/data/stropts.h-data: Likewise.
17724 * conform/data/sys/mman.h-data: Likewise.
17725 * conform/data/sys/stat.h-data: Likewise.
17726 * conform/data/sys/types.h-data: Likewise.
17727 * conform/data/sys/wait.h-data: Likewise.
17728 * conform/data/time.h-data: Likewise.
17729 * conform/data/unistd.h-data: Likewise.
17730 * conform/data/utime.h-data: Likewise.
17732 * io/sys/stat.h: fchmod was always in POSIX.
17733 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17734 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17735 * rt/aio.h: Define __need_timespec before including <time.h>.
17736 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17737 struct. Add forward declaration of pthread_attr_t and use it in
17739 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17741 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17742 always remove CLK_TCK definition.
17744 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17746 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17748 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17750 * conform/run-conformtest.sh: New file.
17751 * conform/Makefile: Run run-conformtest for tests.
17752 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17755 * conform/data/uchar.h-data: New file.
17756 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17757 * conform/data/arpa/inet.h-data: Likewise.
17758 * conform/data/assert.h-data: Likewise.
17759 * conform/data/complex.h-data: Likewise.
17760 * conform/data/cpio.h-data: Likewise.
17761 * conform/data/ctype.h-data: Likewise.
17762 * conform/data/dirent.h-data: Likewise.
17763 * conform/data/dlfcn.h-data: Likewise.
17764 * conform/data/errno.h-data: Likewise.
17765 * conform/data/fcntl.h-data: Likewise.
17766 * conform/data/float.h-data: Likewise.
17767 * conform/data/fmtmsg.h-data: Likewise.
17768 * conform/data/fnmatch.h-data: Likewise.
17769 * conform/data/ftw.h-data: Likewise.
17770 * conform/data/glob.h-data: Likewise.
17771 * conform/data/grp.h-data: Likewise.
17772 * conform/data/iconv.h-data: Likewise.
17773 * conform/data/inttypes.h-data: Likewise.
17774 * conform/data/langinfo.h-data: Likewise.
17775 * conform/data/libgen.h-data: Likewise.
17776 * conform/data/limits.h-data: Likewise.
17777 * conform/data/locale.h-data: Likewise.
17778 * conform/data/math.h-data: Likewise.
17779 * conform/data/monetary.h-data: Likewise.
17780 * conform/data/mqueue.h-data: Likewise.
17781 * conform/data/ndbm.h-data: Likewise.
17782 * conform/data/net/if.h-data: Likewise.
17783 * conform/data/netdb.h-data: Likewise.
17784 * conform/data/netinet/in.h-data: Likewise.
17785 * conform/data/nl_types.h-data: Likewise.
17786 * conform/data/poll.h-data: Likewise.
17787 * conform/data/pthread.h-data: Likewise.
17788 * conform/data/pwd.h-data: Likewise.
17789 * conform/data/regex.h-data: Likewise.
17790 * conform/data/sched.h-data: Likewise.
17791 * conform/data/search.h-data: Likewise.
17792 * conform/data/semaphore.h-data: Likewise.
17793 * conform/data/setjmp.h-data: Likewise.
17794 * conform/data/signal.h-data: Likewise.
17795 * conform/data/spawn.h-data: Likewise.
17796 * conform/data/stdarg.h-data: Likewise.
17797 * conform/data/stdio.h-data: Likewise.
17798 * conform/data/stdlib.h-data: Likewise.
17799 * conform/data/string.h-data: Likewise.
17800 * conform/data/strings.h-data: Likewise.
17801 * conform/data/stropts.h-data: Likewise.
17802 * conform/data/sys/ipc.h-data: Likewise.
17803 * conform/data/sys/mman.h-data: Likewise.
17804 * conform/data/sys/msg.h-data: Likewise.
17805 * conform/data/sys/resource.h-data: Likewise.
17806 * conform/data/sys/select.h-data: Likewise.
17807 * conform/data/sys/sem.h-data: Likewise.
17808 * conform/data/sys/shm.h-data: Likewise.
17809 * conform/data/sys/socket.h-data: Likewise.
17810 * conform/data/sys/stat.h-data: Likewise.
17811 * conform/data/sys/statvfs.h-data: Likewise.
17812 * conform/data/sys/time.h-data: Likewise.
17813 * conform/data/sys/timeb.h-data: Likewise.
17814 * conform/data/sys/times.h-data: Likewise.
17815 * conform/data/sys/types.h-data: Likewise.
17816 * conform/data/sys/uio.h-data: Likewise.
17817 * conform/data/sys/un.h-data: Likewise.
17818 * conform/data/sys/utsname.h-data: Likewise.
17819 * conform/data/sys/wait.h-data: Likewise.
17820 * conform/data/syslog.h-data: Likewise.
17821 * conform/data/tar.h-data: Likewise.
17822 * conform/data/termios.h-data: Likewise.
17823 * conform/data/utime.h-data: Likewise.
17824 * conform/data/utmpx.h-data: Likewise.
17825 * conform/data/varargs.h-data: Likewise.
17826 * conform/data/wchar.h-data: Likewise.
17827 * conform/data/wctype.h-data: Likewise.
17828 * conform/data/wordexp.h-data: Likewise.
17830 * include/stropts.h: New file.
17831 * include/uchar.h: New file.
17832 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17833 * include/assert.h: Likewise.
17834 * include/ctype.h: Likewise.
17835 * include/dirent.h: Likewise.
17836 * include/dlfcn.h: Likewise.
17837 * include/fcntl.h: Likewise.
17838 * include/fnmatch.h: Likewise.
17839 * include/glob.h: Likewise.
17840 * include/grp.h: Likewise.
17841 * include/libio.h: Likewise.
17842 * include/locale.h: Likewise.
17843 * include/math.h: Likewise.
17844 * include/net/if.h: Likewise.
17845 * include/netdb.h: Likewise.
17846 * include/netinet/in.h: Likewise.
17847 * include/pthread.h: Likewise.
17848 * include/pwd.h: Likewise.
17849 * include/regex.h: Likewise.
17850 * include/sched.h: Likewise.
17851 * include/search.h: Likewise.
17852 * include/setjmp.h: Likewise.
17853 * include/signal.h: Likewise.
17854 * include/stdio.h: Likewise.
17855 * include/stdlib.h: Likewise.
17856 * include/string.h: Likewise.
17857 * include/sys/cdefs.h: Likewise.
17858 * include/sys/mman.h: Likewise.
17859 * include/sys/msg.h: Likewise.
17860 * include/sys/resource.h: Likewise.
17861 * include/sys/select.h: Likewise.
17862 * include/sys/socket.h: Likewise.
17863 * include/sys/stat.h: Likewise.
17864 * include/sys/statvfs.h: Likewise.
17865 * include/sys/time.h: Likewise.
17866 * include/sys/times.h: Likewise.
17867 * include/sys/uio.h: Likewise.
17868 * include/sys/utsname.h: Likewise.
17869 * include/sys/wait.h: Likewise.
17870 * include/termios.h: Likewise.
17871 * include/time.h: Likewise.
17872 * include/ulimit.h: Likewise.
17873 * include/unistd.h: Likewise.
17874 * include/utime.h: Likewise.
17875 * include/wchar.h: Likewise.
17876 * include/wctype.h: Likewise.
17877 * include/wordexp.h: Likewise.
17879 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17881 * time/time.h: TIME_UTC must be a macro.
17882 Make timespec_get available for ISO C11 only as well.
17884 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17886 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17887 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17889 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17891 * configure.in: Use -o not -a in test for unsupported multi-arch.
17893 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17895 * manual/texinfo.tex: Update to version 2012-01-19.16.
17897 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17899 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17901 2012-02-24 Roland McGrath <roland@hack.frob.com>
17904 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17905 * manual/fdl-1.3.texi: New file.
17906 * manual/fdl-1.1.texi: File removed.
17909 * manual/libc.texinfo (FDL_VERSION): New @set.
17910 Use it for mention of FDL in cover text.
17911 (Documentation License): Use it in @include file name.
17913 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17914 Roland McGrath <roland@hack.frob.com>
17917 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17918 not LONG_LONG_MAX and LONG_LONG_MIN.
17919 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17920 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17922 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17924 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17928 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17929 manipulate bits before adding and subtracting TWO23[sx].
17930 * math/libm-test.inc (nearbyint_test): Add more tests.
17932 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17935 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17936 bits before adding and subtracting TWO23[sx].
17937 * math/libm-test.inc (rint_test): Add more tests.
17938 (rint_test_tonearest): Likewise.
17939 (rint_test_towardzero): Likewise.
17940 (rint_test_downward): Likewise.
17941 (rint_test_upward: Likewise.
17943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17946 * include/stdc-predef.h: New file. Extracted from features.h.
17947 * include/features.h: Include stdc-predef.h.
17948 * Makefile (headers): Add stdc-predef.h.
17949 * CONFORMANCE (Compiler limitations): Update.
17951 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17953 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17955 2012-02-21 David S. Miller <davem@davemloft.net>
17957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17960 2012-02-20 David S. Miller <davem@davemloft.net>
17962 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17963 using a normal save/restore sequence, rather than allocating a
17964 dummy stack frame just to store a frame pointer and restore.
17965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17967 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17969 * manual/install.texi: Fix stray word in line-wrapped comment.
17971 2012-02-20 David S. Miller <davem@davemloft.net>
17973 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17974 both binutils and gcc support GOTDATA.
17976 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17977 "rd %pc" in the PIC register setup sequences.
17979 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17980 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17982 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17983 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17988 (SYSCALL_ERROR_HANDLER): Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17992 (SYSCALL_ERROR_HANDLER): Likewise.
17994 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17995 (HAVE_GCC_GOTDATA): New.
17996 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17997 relocation support in both binutils and gcc.
17998 * sysdeps/sparc/elf/configure: Regenerate.
18000 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18001 * sysdeps/sparc/sparc32/elf/configure: Delete.
18002 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18003 * sysdeps/sparc/sparc64/elf/configure: Delete.
18004 * sysdeps/sparc/elf/configure.in: New file.
18005 * sysdeps/sparc/elf/configure: Generate.
18007 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18008 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18009 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18010 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18011 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18013 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18015 * manual/install.texi: Do not mention specific glibc version
18017 * manual/libc.texinfo (VERSION, UPDATED): Update.
18018 (@copying): Use @copyright{} and range of years.
18020 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18023 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18024 [crti.S not in sysdirs] (generated): Do not append.
18025 [crti.S not in sysdirs] (omit-deps): Likewise.
18026 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18027 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18028 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18029 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18030 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18032 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18033 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18034 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18035 * csu/defs.awk: Remove file.
18036 * sysdeps/generic/initfini.c: Likewise.
18037 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18039 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18042 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18044 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18049 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18051 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18052 (__EPOLL_PACKED): Define to empty if not defined by
18054 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18058 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18060 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18061 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18065 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18069 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18071 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18078 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18083 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18085 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18086 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18088 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18090 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18093 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18095 * math/w_acos.c: Use non-signaling floating-point comparisons.
18096 * math/w_acosf.c: Likewise.
18097 * math/w_acosh.c: Likewise.
18098 * math/w_acoshf.c: Likewise.
18099 * math/w_acoshl.c: Likewise.
18100 * math/w_acosl.c: Likewise.
18101 * math/w_asin.c: Likewise.
18102 * math/w_asinf.c: Likewise.
18103 * math/w_asinl.c: Likewise.
18104 * math/w_atanh.c: Likewise.
18105 * math/w_atanhf.c: Likewise.
18106 * math/w_atanhl.c: Likewise.
18107 * math/w_exp2.c: Likewise.
18108 * math/w_exp2f.c: Likewise.
18109 * math/w_exp2l.c: Likewise.
18110 * math/w_j0.c: Likewise.
18111 * math/w_j0f.c: Likewise.
18112 * math/w_j0l.c: Likewise.
18113 * math/w_j1.c: Likewise.
18114 * math/w_j1f.c: Likewise.
18115 * math/w_j1l.c: Likewise.
18116 * math/w_jn.c: Likewise.
18117 * math/w_jnf.c: Likewise.
18118 * math/w_log.c: Likewise.
18119 * math/w_log10.c: Likewise.
18120 * math/w_log10f.c: Likewise.
18121 * math/w_log10l.c: Likewise.
18122 * math/w_log2.c: Likewise.
18123 * math/w_log2f.c: Likewise.
18124 * math/w_log2l.c: Likewise.
18125 * math/w_logf.c: Likewise.
18126 * math/w_logl.c: Likewise.
18127 * math/w_sqrt.c: Likewise.
18128 * math/w_sqrtf.c: Likewise.
18129 * math/w_sqrtl.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18139 * manual/string.texi (strnlen): Use correct parameter name in
18140 equivalent expression.
18142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18145 * manual/users.texi (seteuid): Consistently use neweuid for
18148 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18151 * manual/nss.texi (Services in the NSS configuration): Correct
18152 list of services in example configuration file.
18154 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18157 * manual/arith.texi: Remove statements about negative zero
18158 behaving identically to zero.
18160 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18163 * manual/install.texi: Do not document upgrading from libc5.
18165 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18168 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18170 2012-02-18 David S. Miller <davem@davemloft.net>
18172 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18173 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18174 %o7 across the call.
18175 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18178 SETUP_PIC_REG_LEAF.
18179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18180 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18181 * sysdeps/sparc/crtn.S: Likewise.
18183 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18185 * aout/Makefile: Remove.
18187 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18190 * manual/examples/argp-ex1.c (main): Format definition in GNU
18192 * manual/examples/argp-ex2.c (main): Likewise.
18193 * manual/examples/argp-ex3.c (main): Likewise.
18194 * manual/examples/argp-ex4.c (main): Likewise.
18195 * manual/examples/longopt.c (main): Use new-style prototype
18197 * manual/examples/strncat.c (main): Specify return type and use
18198 (void) for arguments.
18199 * manual/examples/subopt.c (main): Use char **argv argument.
18201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18204 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18207 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18210 * manual/string.texi (strchr): Change when strchrnul is
18213 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18216 * manual/locale.texi (setlocale): Document LOCPATH.
18218 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18221 * manual/process.texi (execle): Move @dots{} before last argument.
18223 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18226 * manual/charset.texi (Generic Charset Conversion): Fix typo
18227 (LC_TYPE -> LC_CTYPE).
18229 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18232 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18233 (scalbnf): Likewise.
18234 (scalbnl): Likewise.
18235 (scalbln): Likewise.
18236 (scalblnf): Likewise.
18237 (scalblnl): Likewise.
18238 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18239 (vwarnx): Likewise.
18242 * manual/filesys.texi (telldir): Use braces around return type.
18243 * manual/llio.texi (mmap): Add space after comma.
18244 (mmap64): Likewise.
18245 * manual/math.texi (jn): Use @var{} on parameter names.
18251 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18253 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18255 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18256 (sched_get_priority_max): Likewise.
18257 * manual/signal.texi (sigvec): Add space after comma.
18258 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18260 (if_indextoname): Likewise.
18261 (if_freenameindex): Likewise.
18262 (sendto): Use ',' instead of '.' in prototype.
18263 * manual/startup.texi (syscall): Use @dots{} instead of literal
18265 * manual/stdio.texi (__fpending): Separate initial words of
18266 paragraph from @deftypefun line.
18267 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18269 (vsyslog): Use @var{} on parameter names.
18270 * manual/terminal.texi (stty): Use @var{} on parameter names.
18271 * manual/users.texi (getutmp): Use @var{} on parameter names.
18272 (getutmpx): Likewise.
18274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18277 * manual/stdio.texi (fopen): Fix typos in description of
18280 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18283 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18284 get clock_id definition.
18286 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18289 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18290 (madvise): Cast every argument to void on its own.
18292 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18295 * manual/startup.texi (Exit Status): Fix typo.
18297 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18300 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18301 * manual/examples/argp-ex2.c: Likewise.
18302 * manual/examples/argp-ex3.c: Likewise.
18304 2012-02-16 Richard Henderson <rth@redhat.com>
18306 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18307 * sysdeps/s390/s390-32/initfini.c: Remove.
18308 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18309 * sysdeps/s390/s390-64/initfini.c: Remove.
18311 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18313 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18314 compiler output for sysdeps/generic/initfini.c.
18315 * sysdeps/sh/elf/initfini.c: Remove file.
18317 2012-02-16 David S. Miller <davem@davemloft.net>
18320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18322 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18323 * sysdeps/sparc/crti.S: New file.
18324 * sysdeps/sparc/crtn.S: New file.
18325 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18326 * sysdeps/sparc/sparc64/Makefile: Likewise.
18328 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18331 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18333 2012-02-15 Roland McGrath <roland@hack.frob.com>
18336 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18338 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18339 (write, read, close): Likewise.
18340 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18342 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18344 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18345 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18346 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18347 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18349 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18353 2012-02-14 Marek Polacek <polacek@redhat.com>
18355 * sysdeps/x86_64/crti.S: New file.
18356 * sysdeps/x86_64/crtn.S: New file.
18357 * sysdeps/x86_64/elf/initfini.c: Remove file.
18359 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18361 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18362 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18363 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18364 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18366 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18370 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18372 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18373 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18377 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18381 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18383 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18384 __feraiseexcept instead of feraiseexcept.
18386 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18387 nanosleep invocations.
18388 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18389 strings, and add error checking for a nanosleep invocations.
18391 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18393 Replace FSF snail mail address with URLs, as per GNU coding standards.
18394 Most of the snail mail addresses were wrong anyway, and omitting
18395 them makes the source code easier to maintain. Almost all of the
18396 changes are to license notices and to locale LC_IDENTIFICATION
18397 addresses, except for this one:
18398 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18399 not its snail mail address.
18401 2012-02-09 Richard Henderson <rth@twiddle.net>
18403 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18404 of kernel-features.h.
18406 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18408 2012-02-08 Marek Polacek <polacek@redhat.com>
18410 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18411 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18412 * sysdeps/gnu/_G_config.h: Likewise.
18413 * sysdeps/generic/_G_config.h: Likewise.
18415 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18417 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18421 * sysdeps/powerpc/powerpc32/crti.S: New file.
18422 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18423 * sysdeps/powerpc/powerpc64/crti.S: New file.
18424 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18426 * Makeconfig (have-initfini): Don't set.
18427 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18428 * configure.in (nopic_initfini): Don't substitute.
18429 * config.h.in (HAVE_INITFINI): Don't #undef.
18430 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18431 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18433 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18435 Support crti.S and crtn.S provided directly by architectures.
18436 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18437 [crti.S in sysdirs] (omit-deps): Likewise.
18438 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18439 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18440 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18441 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18442 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18443 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18444 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18445 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18446 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18447 compiler output for sysdeps/generic/initfini.c.
18448 * sysdeps/i386/elf/Makefile: Remove file.
18449 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18451 2012-02-07 Marek Polacek <polacek@redhat.com>
18453 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18454 * sysdeps/gnu/_G_config.h: Likewise.
18455 * sysdeps/mach/hurd/_G_config.h: Likewise.
18457 2012-02-07 Marek Polacek <polacek@redhat.com>
18459 * math/Makefile (tests): Add tst-CMPLX2.
18460 * math/tst-CMPLX2.c: New file.
18462 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18466 * math/libm-test.inc (jn_test): Add missing L suffix.
18468 2012-02-06 Marek Polacek <polacek@redhat.com>
18470 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18471 * sysdeps/i386/fpu/e_powf.S: Likewise.
18472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18475 * sysdeps/i386/fpu/e_pow.S: Likewise.
18476 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18478 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18479 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18480 * sysdeps/i386/fpu/e_log2.S: Likewise.
18481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18483 * sysdeps/i386/fpu/e_powl.S: Likewise.
18484 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18487 * sysdeps/i386/fpu/e_logl.S: Likewise.
18488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18489 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18490 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18491 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18494 * sysdeps/i386/fpu/e_log.S: Likewise.
18495 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18497 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18498 * sysdeps/i386/fpu/e_logf.S: Likewise.
18499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18501 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18504 * sysdeps/i386/fpu/e_log10.S: Likewise.
18505 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18507 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18508 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18511 * sysdeps/i386/asm-syntax.h: Likewise.
18512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18513 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18515 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18516 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18518 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18519 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18521 * sysdeps/powerpc/sysdep.h: Likewise.
18522 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18523 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18525 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18528 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18530 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/i386/sysdep.h: Include <features.h>.
18533 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18536 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18538 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18540 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18543 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18545 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18546 (SETUP_PIC_REG): Use GET_PC_THUNK.
18547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18550 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18553 for non-PIC compilation.
18554 (SETUP_PIC_REG): Add .p2align directive.
18555 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18556 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18591 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18592 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18593 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18595 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18597 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18599 * math/tst-CMPLX.c: Include <stdio.h>.
18601 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18605 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18606 * sysdeps/sparc/bits/mathdef.h: Likewise.
18608 2012-01-31 Marek Polacek <polacek@redhat.com>
18610 * libio/libio.h: Don't define _PARAMS.
18611 * locale/programs/config.h: Don't define PARAMS.
18612 * stdlib/strtol_l.c: Likewise.
18613 (__strtol_l): Remove PARAMS from the prototype.
18615 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18617 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18618 names. Just use the correct names. Remove unnecessary wrapper
18620 * malloc/arena.c: Likewise.
18621 * malloc/hooks.c: Likewise.
18623 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18624 ARENA_TEST says not to. Simplify test for creation of a new arena.
18625 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18627 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18629 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18631 (update_get_addr): New function.
18632 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18633 GET_ADDR_MODULE parameter.
18635 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18637 * crypt/cert.c: Remove __STDC__ conditionals.
18638 * crypt/crypt-entry.c: Likewise.
18639 * crypt/crypt_util.c: Likewise.
18640 * libio/filedoalloc.c: Likewise.
18641 * libio/fileops.c: Likewise.
18642 * libio/genops.c: Likewise.
18643 * libio/iofclose.c: Likewise.
18644 * libio/iofdopen.c: Likewise.
18645 * libio/iofopen.c: Likewise.
18646 * libio/iofopen64.c: Likewise.
18647 * libio/iogetdelim.c: Likewise.
18648 * libio/iopopen.c: Likewise.
18649 * libio/obprintf.c: Likewise.
18650 * libio/oldfileops.c: Likewise.
18651 * libio/oldiofclose.c: Likewise.
18652 * libio/oldiofdopen.c: Likewise.
18653 * libio/oldiofopen.c: Likewise.
18654 * libio/oldiopopen.c: Likewise.
18655 * libio/wfiledoalloc.c: Likewise.
18656 * libio/wgenops.c: Likewise.
18657 * locale/programs/xmalloc.c: Likewise.
18658 * misc/syslog.c: Likewise.
18659 * stdio-common/xbug.c: Likewise.
18660 * string/memchr.c: Likewise.
18661 * string/memcmp.c: Likewise.
18662 * string/memrchr.c: Likewise.
18663 * string/rawmemchr.c: Likewise.
18664 * sysdeps/posix/getcwd.c: Likewise.
18665 * time/strftime_l.c: Likewise.
18667 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18669 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18670 * config.make.in (config-cflags-sse2avx): Define.
18671 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18674 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18676 * scripts/config.guess: Update from upstream config git repository.
18677 * scripts/config.sub: Likewise.
18679 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18681 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18683 (R_TILEPRO_*, R_TILEGX_*): New macros.
18685 * scripts/firstversions.awk: Fix bug in version range handling.
18687 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18689 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18691 * include/sys/epoll.h: New file.
18692 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18695 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18697 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18698 Avoid unnecessary __WORDSIZE == 64 test.
18699 (fmaxf): Use VEX format if possible.
18704 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18705 * math/math_private.h: Remove libc_fegetround* and
18707 * sysdeps/i386/configure.in: Check for -msse2avx.
18708 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18709 also if SSE2AVX is defined.
18710 Remove libc_fegetround* and libc_fesetround*.
18711 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18712 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18721 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18723 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18729 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18732 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18734 * Makeconfig (libm): Define.
18735 * elf/Makefile: Add rules to build and run tst-relsort1.
18736 * elf/tst-relsort1.c: New file.
18737 * elf/tst-relsort1mod1.c: New file.
18738 * elf/tst-relsort1mod2.c: New file.
18740 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18742 * math/s_ldexp.c: Remove __STDC__ conditionals.
18743 * math/s_ldexpf.c: Likewise.
18744 * math/s_ldexpl.c: Likewise.
18745 * math/s_nextafter.c: Likewise.
18746 * math/s_nexttowardf.c: Likewise.
18747 * math/s_significand.c: Likewise.
18748 * math/s_significandf.c: Likewise.
18749 * math/s_significandl.c: Likewise.
18750 * math/w_jnl.c: Likewise.
18751 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18752 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18753 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18754 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18755 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18781 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18782 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18783 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18785 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18786 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18787 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18788 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18789 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18790 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18791 * sysdeps/ieee754/k_standard.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18871 * sysdeps/ieee754/s_matherr.c: Likewise.
18872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18877 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18879 * crypt/md5.h: Remove __STDC__ conditionals.
18880 * libio/libioP.h: Likewise.
18881 * locale/programs/config.h: Likewise.
18882 * sysdeps/generic/sysdep.h: Likewise.
18883 * sysdeps/i386/asm-syntax.h: Likewise.
18884 * sysdeps/s390/asm-syntax.h: Likewise.
18885 * sysdeps/unix/sysdep.h: Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18889 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18891 * libio/libio.h: Remove __STDC__ conditionals.
18892 * malloc/obstack.h: Likewise.
18893 * math/complex.h: Likewise.
18894 * math/math.h: Likewise.
18895 * sysdeps/generic/_G_config.h: Likewise.
18896 * sysdeps/gnu/_G_config.h: Likewise.
18897 * sysdeps/mach/hurd/_G_config.h: Likewise.
18898 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18900 * sysdeps/sparc/bits/mathdef.h: Likewise.
18902 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18906 Clean up HAS_* macros.
18907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18908 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18918 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18920 * elf/tst-unique3.cc (gets): Remove declaration.
18921 * elf/tst-unique3lib.cc (gets): Likewise.
18922 * elf/tst-unique3lib2.cc (gets): Likewise.
18923 * elf/tst-unique4.cc (gets): Likewise.
18925 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18927 * include/stdio.h: Add C++ protection. Add gets declarations and
18929 * debug/tst-chk1.c: Don't declare gets here.
18930 * stdio-common/tst-gets.c: Likewise.
18932 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18934 * posix/glob: Remove directory.
18936 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18938 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18940 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18942 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18943 of the non-standard EPFNOSUPPORT.
18945 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18947 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18948 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18949 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18951 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18953 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18955 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18957 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18959 * nscd/grpcache.c (cache_addgr): Likewise.
18960 * nscd/hstcache.c (cache_addhst): Likewise.
18961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18962 * nscd/pwdcache.c (cache_addpw): Likewise.
18963 * nscd/servicescache.c (cache_addserv): Likewise.
18965 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18967 * malloc/malloc.c: Various cleanups.
18968 * malloc/hooks.c: Likewise.
18970 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18971 * stdlib/bug-fmtmsg1.c: New file.
18973 * stdlib/fmtmsg.c (init): Add missing unlock.
18974 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18976 2012-01-12 Marek Polacek <polacek@redhat.com>
18978 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18981 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18983 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18985 macro to ensure uniqueness of label name.
18986 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18987 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18989 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18998 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19002 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19003 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19006 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19009 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19013 * math/bits/math-finite.h: Add ldexp support.
19015 2012-01-10 Marek Polacek <polacek@redhat.com>
19017 * locale/programs/localedef.h (show_archive_content): Add noreturn
19020 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19022 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19024 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19026 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19028 * io/Makefile (headers): Add bits/poll2.h.
19030 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19033 typo #include statement.
19035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19037 * include/sys/cdefs.h: Define __attribute_alloc_size.
19038 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19039 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19040 * elf/pldd.c: Likewise.
19041 * iconv/iconv_charmap.c: Likewise.
19042 * iconv/iconvconfig.c: Likewise.
19043 * iconv/strtab.c: Likewise.
19044 * locale/programs/locale.c: Likewise.
19045 * locale/programs/localedef.h: Likewise.
19046 * locale/programs/simple-hash.c: Likewise.
19047 * nscd/nscd.h: Likewise.
19048 * nss/makedb.c: Likewise.
19049 * sysdeps/generic/ldconfig.h: Likewise.
19050 * locale/programs/localedef.c: Remove xmalloc prototype.
19051 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19053 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19058 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19060 * math/Makefile (tests): Add tst-CMPLX.
19061 * math/tst-CMPLX.c: New file.
19063 * math/complex.h (CMPLXL): Fix typo.
19065 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19066 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19068 * debug/tst-chk1.c: Add poll and ppoll tests.
19069 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19070 * include/sys/poll.h: Add hidden proto for ppoll.
19071 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19072 * sysdeps/mach/hurd/ppoll.c: Likewise.
19073 * io/ppoll.c: Likewise.
19074 * debug/poll_chk.c: New file.
19075 * debug/ppoll_chk.c: New file.
19076 * include/bits/poll2.h: New file.
19077 * io/bits/poll2.h: New file.
19080 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19082 * configure.in: static is always set to yes. Remove.
19083 * config.make.in: Don't set build-static.
19084 * Makeconfig: Remove use of build-static.
19085 * dlfcn/Makefile: Likewise.
19086 * elf/Makefile: Likewise.
19087 * math/Makefile: Likewise.
19088 * misc/Makefile: Likewise.
19089 * nptl/Makefile: Likewise.
19090 * sysdeps/mach/hurd/Makefile: Likewise.
19092 * configure.in: PWD_P is not used anymore.
19093 * config.make.in: Remove PWD_P entry.
19095 * configure.in: Remove last remnants of RANLIB.
19096 No need to check for signed size_t anymore.
19097 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19099 Remove __builtin_expect test because we require at least gcc 3.4.
19100 * aclocal.m4: Likewise.
19102 * wcsmbs/mbrtoc16.c: Implement using towc function.
19103 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19104 * wcsmbs/wcsmbsload.c: Likewise.
19105 * iconv/gconv_simple.c: Likewise.
19106 * iconv/gconv_int.h: Likewise.
19107 * iconv/gconv_builtin.h: Likewise.
19108 * iconv/iconv_prog.c: Remove CHAR16 handling.
19110 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19112 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19114 * configure.in: Remove --with-elf and --enable-bounded options.
19115 Dont set base_machine for ia64. More non-ELF conditions removed.
19116 Remove testing and setting of leading underscore information.
19117 * config.make.in (build-bounded): Set to no.
19118 * config.h.in: Remove NO_UNDERSCORES entry.
19119 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19121 * csu/start.c: Remove !NO_UNDERSCORE code.
19122 * locale/localeinfo.h: Likewise.
19123 * sysdeps/generic/machine-gmon.h: Likewise.
19124 * sysdeps/generic/sysdep.h: Likewise.
19125 * sysdeps/i386/sysdep.h: Likewise.
19126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19127 * sysdeps/mach/sysdep.h: Likewise.
19128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19130 * sysdeps/sh/sysdep.h: Likewise.
19131 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19132 * sysdeps/unix/i386/sysdep.S: Likewise.
19133 * sysdeps/unix/sparc/start.c: Likewise.
19134 * sysdeps/unix/sparc/sysdep.S: Likewise.
19135 * sysdeps/unix/sparc/sysdep.h: Likewise.
19136 * sysdeps/unix/start.c: Likewise.
19137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19138 * sysdeps/x86_64/sysdep.h: Likewise.
19140 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19143 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19145 * argp/argp-fmtstream.h: Use const instead __const.
19146 * argp/argp.h: Likewise.
19147 * assert/assert.h: Likewise.
19148 * bits/fenv.h: Likewise.
19149 * bits/sched.h: Likewise.
19150 * bits/sigset.h: Likewise.
19151 * bits/sigthread.h: Likewise.
19152 * catgets/nl_types.h: Likewise.
19153 * conform/data/pthread.h-data: Likewise.
19154 * crypt/crypt-private.h: Likewise.
19155 * crypt/crypt.h: Likewise.
19156 * crypt/crypt_util.c: Likewise.
19157 * ctype/ctype.h: Likewise.
19158 * debug/execinfo.h: Likewise.
19159 * debug/mbsnrtowcs_chk.c: Likewise.
19160 * debug/mbsrtowcs_chk.c: Likewise.
19161 * debug/wcsnrtombs_chk.c: Likewise.
19162 * debug/wcsrtombs_chk.c: Likewise.
19163 * debug/wcstombs_chk.c: Likewise.
19164 * dirent/dirent.h: Likewise.
19165 * dlfcn/dlfcn.h: Likewise.
19166 * elf/neededtest4.c: Likewise.
19167 * grp/grp.h: Likewise.
19168 * gshadow/gshadow.h: Likewise.
19169 * iconv/gconv.h: Likewise.
19170 * iconv/gconv_int.h: Likewise.
19171 * iconv/gconv_simple.c: Likewise.
19172 * iconv/iconv.h: Likewise.
19173 * iconv/loop.c: Likewise.
19174 * iconv/skeleton.c: Likewise.
19175 * include/aio.h: Likewise.
19176 * include/aliases.h: Likewise.
19177 * include/argz.h: Likewise.
19178 * include/arpa/inet.h: Likewise.
19179 * include/assert.h: Likewise.
19180 * include/dirent.h: Likewise.
19181 * include/dlfcn.h: Likewise.
19182 * include/execinfo.h: Likewise.
19183 * include/fcntl.h: Likewise.
19184 * include/fenv.h: Likewise.
19185 * include/glob.h: Likewise.
19186 * include/grp.h: Likewise.
19187 * include/libintl.h: Likewise.
19188 * include/mntent.h: Likewise.
19189 * include/netdb.h: Likewise.
19190 * include/pwd.h: Likewise.
19191 * include/rpc/netdb.h: Likewise.
19192 * include/sched.h: Likewise.
19193 * include/search.h: Likewise.
19194 * include/shadow.h: Likewise.
19195 * include/signal.h: Likewise.
19196 * include/stdio.h: Likewise.
19197 * include/stdlib.h: Likewise.
19198 * include/string.h: Likewise.
19199 * include/sys/socket.h: Likewise.
19200 * include/sys/stat.h: Likewise.
19201 * include/sys/statfs.h: Likewise.
19202 * include/sys/statvfs.h: Likewise.
19203 * include/sys/syslog.h: Likewise.
19204 * include/sys/time.h: Likewise.
19205 * include/sys/uio.h: Likewise.
19206 * include/time.h: Likewise.
19207 * include/unistd.h: Likewise.
19208 * include/utmp.h: Likewise.
19209 * include/wchar.h: Likewise.
19210 * include/wctype.h: Likewise.
19211 * inet/aliases.h: Likewise.
19212 * inet/arpa/inet.h: Likewise.
19213 * inet/netinet/ether.h: Likewise.
19214 * inet/netinet/in.h: Likewise.
19215 * intl/libintl.h: Likewise.
19216 * io/bits/fcntl2.h: Likewise.
19217 * io/fcntl.h: Likewise.
19218 * io/ftw.h: Likewise.
19219 * io/sys/poll.h: Likewise.
19220 * io/sys/stat.h: Likewise.
19221 * io/sys/statfs.h: Likewise.
19222 * io/sys/statvfs.h: Likewise.
19223 * io/utime.h: Likewise.
19224 * libio/bits/stdio.h: Likewise.
19225 * libio/bits/stdio2.h: Likewise.
19226 * libio/libio.h: Likewise.
19227 * libio/libioP.h: Likewise.
19228 * libio/stdio.h: Likewise.
19229 * locale/lc-ctype.c: Likewise.
19230 * locale/locale.h: Likewise.
19231 * login/utmp.h: Likewise.
19232 * malloc/arena.c: Likewise.
19233 * malloc/malloc.c: Likewise.
19234 * malloc/malloc.h: Likewise.
19235 * malloc/mcheck.c: Likewise.
19236 * malloc/mtrace.c: Likewise.
19237 * math/bits/mathcalls.h: Likewise.
19238 * math/fenv.h: Likewise.
19239 * math/math_private.h: Likewise.
19240 * misc/bits/error.h: Likewise.
19241 * misc/bits/syslog.h: Likewise.
19242 * misc/err.h: Likewise.
19243 * misc/error.h: Likewise.
19244 * misc/fstab.h: Likewise.
19245 * misc/mntent.h: Likewise.
19246 * misc/regexp.h: Likewise.
19247 * misc/search.h: Likewise.
19248 * misc/sgtty.h: Likewise.
19249 * misc/sys/mman.h: Likewise.
19250 * misc/sys/syslog.h: Likewise.
19251 * misc/sys/uio.h: Likewise.
19252 * misc/sys/xattr.h: Likewise.
19253 * misc/ttyent.h: Likewise.
19254 * nis/rpcsvc/ypclnt.h: Likewise.
19255 * nss/nss.h: Likewise.
19256 * posix/bits/unistd.h: Likewise.
19257 * posix/fnmatch.h: Likewise.
19258 * posix/glob.h: Likewise.
19259 * posix/sched.h: Likewise.
19260 * posix/spawn.h: Likewise.
19261 * posix/sys/wait.h: Likewise.
19262 * posix/unistd.h: Likewise.
19263 * posix/wordexp.h: Likewise.
19264 * pwd/pwd.h: Likewise.
19265 * resolv/netdb.h: Likewise.
19266 * resource/sys/resource.h: Likewise.
19267 * rt/aio.h: Likewise.
19268 * rt/bits/mqueue2.h: Likewise.
19269 * rt/mqueue.h: Likewise.
19270 * shadow/shadow.h: Likewise.
19271 * signal/signal.h: Likewise.
19272 * socket/send.c: Likewise.
19273 * socket/sendto.c: Likewise.
19274 * socket/sys/socket.h: Likewise.
19275 * stdio-common/printf.h: Likewise.
19276 * stdlib/bits/stdlib.h: Likewise.
19277 * stdlib/fmtmsg.h: Likewise.
19278 * stdlib/monetary.h: Likewise.
19279 * stdlib/stdlib.h: Likewise.
19280 * stdlib/ucontext.h: Likewise.
19281 * streams/stropts.h: Likewise.
19282 * string/argz.h: Likewise.
19283 * string/bits/string2.h: Likewise.
19284 * string/string.h: Likewise.
19285 * string/strings.h: Likewise.
19286 * sunrpc/rpc/auth.h: Likewise.
19287 * sunrpc/rpc/auth_des.h: Likewise.
19288 * sunrpc/rpc/clnt.h: Likewise.
19289 * sunrpc/rpc/netdb.h: Likewise.
19290 * sunrpc/rpc/pmap_clnt.h: Likewise.
19291 * sunrpc/rpc/xdr.h: Likewise.
19292 * sysdeps/generic/inttypes.h: Likewise.
19293 * sysdeps/generic/net/if.h: Likewise.
19294 * sysdeps/generic/sys/swap.h: Likewise.
19295 * sysdeps/gnu/net/if.h: Likewise.
19296 * sysdeps/gnu/utmpx.h: Likewise.
19297 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19298 * sysdeps/i386/i486/bits/string.h: Likewise.
19299 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19300 * sysdeps/s390/bits/string.h: Likewise.
19301 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19302 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19303 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19304 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19305 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19306 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19307 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19309 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19310 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19311 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19312 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19313 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19314 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19315 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19316 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19317 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19322 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19323 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19324 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19325 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19326 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19327 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19329 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19330 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19331 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19332 * sysvipc/sys/ipc.h: Likewise.
19333 * sysvipc/sys/msg.h: Likewise.
19334 * sysvipc/sys/sem.h: Likewise.
19335 * sysvipc/sys/shm.h: Likewise.
19336 * termios/termios.h: Likewise.
19337 * time/sys/time.h: Likewise.
19338 * time/time.h: Likewise.
19339 * wcsmbs/bits/wchar2.h: Likewise.
19340 * wcsmbs/uchar.h: Likewise.
19341 * wcsmbs/wchar.h: Likewise.
19342 * wctype/wctype.h: Likewise.
19345 * Makeconfig: Remove all but ELF support including AIX support.
19346 * Makerules: Likewise.
19347 * config.h.in: Likewise.
19348 * config.make.in: Likewise.
19349 * configure: Likewise.
19350 * configure.in: Likewise.
19351 * csu/Makefile: Likewise.
19352 * csu/version.c: Likewise.
19353 * debug/Makefile: Likewise.
19354 * dlfcn/Makefile: Likewise.
19355 * elf/Makefile: Likewise.
19356 * extra-lib.mk: Likewise.
19357 * iconv/Makefile: Likewise.
19358 * include/libc-symbols.h: Likewise.
19359 * include/shlib-compat.h: Likewise.
19360 * resolv/Makefile: Likewise.
19361 * resolv/res_libc.c: Likewise.
19362 * rt/Makefile: Likewise.
19363 * sysdeps/i386/asm-syntax.h: Likewise.
19364 * sysdeps/i386/sysdep.h: Likewise.
19365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19366 * sysdeps/mach/sysdep.h: Likewise.
19367 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19368 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19369 * sysdeps/s390/asm-syntax.h: Likewise.
19370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19372 * sysdeps/sh/sysdep.h: Likewise.
19373 * sysdeps/unix/sparc/sysdep.h: Likewise.
19374 * sysdeps/wordsize-32/divdi3.c: Likewise.
19375 * sysdeps/x86_64/sysdep.h: Likewise.
19377 * argp/Versions: Remove _argp_unlock_xxx.
19380 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19381 * abilist/libBrokenLocale.abilist: Likewise.
19382 * abilist/libanl.abilist: Likewise.
19383 * abilist/libc.abilist: Likewise.
19384 * abilist/libcrypt.abilist: Likewise.
19385 * abilist/libdl.abilist: Likewise.
19386 * abilist/libm.abilist: Likewise.
19387 * abilist/libnsl.abilist: Likewise.
19388 * abilist/libpthread.abilist: Likewise.
19389 * abilist/libresolv.abilist: Likewise.
19390 * abilist/librt.abilist: Likewise.
19391 * abilist/libthread_db.abilist: Likewise.
19392 * abilist/libutil.abilist: Likewise.
19393 * abilist/libnss_db.abilist: New file.
19395 * scripts/abilist.awk: Add support for indirect functions.
19397 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19399 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19401 * shlib-versions: Remove entries for ports architectures.
19403 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19405 * elf/stackguard-macros.h: Remove support for IA-64.
19406 * elf/tst-auditmod1.c: Likewise.
19407 * sysdeps/generic/ldsodefs.h: Likewise.
19409 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19410 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19414 * configure.in: Remove --enable-omitfp support.
19416 * config.make.in: Likewise.
19417 * Makeconfig: Likewise.
19418 * manual/install.texi: Likewise.
19420 In case anyone cares, the IA-64 architecture could move to ports.
19421 * sysdeps/ia64/*: Removed.
19422 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19423 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19426 * configure.in: Remove entries for unsupported architectures.
19429 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19430 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19432 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19433 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19434 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19435 fall back to using wcrtomb.
19436 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19437 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19439 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19440 * wcsmbs/tst-c16c32-1.c: New file.
19442 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19445 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19447 * elf/tst-unique3.cc: Add explicit declaration of gets.
19448 * elf/tst-unique3lib.cc: Likewise.
19449 * elf/tst-unique3lib2.cc: Likewise.
19450 * elf/tst-unique4.cc: Likewise.
19452 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19454 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19457 * assert/assert.h (static_assert): Don't define for C++.
19458 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19459 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19461 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19463 * iconv/loop.c (single loop): Fix assertion in storing of
19466 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19468 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19470 * posix/getconf.c: Update copyright year.
19471 * nss/getent.c: Likewise.
19472 * nss/makedb.c: Likewise.
19473 * iconv/iconvconfig.c: Likewise.
19474 * iconv/iconv_prog.c: Likewise.
19475 * elf/ldconfig.c: Likewise.
19476 * elf/pldd.c: Likewise.
19477 * elf/sotruss.ksh: Likewise.
19478 * catgets/gencat.c: Likewise.
19479 * csu/version.c: Likewise.
19480 * elf/ldd.bash.in: Likewise.
19481 * elf/sprof.c (print_version): Likewise.
19482 * locale/programs/locale.c: Likewise.
19483 * locale/programs/localedef.c: Likewise.
19484 * login/programs/pt_chown.c: Likewise.
19485 * nscd/nscd.c (print_version): Likewise.
19486 * debug/xtrace.sh: Likewise.
19487 * malloc/memusage.sh: Likewise.
19488 * malloc/mtrace.pl: Likewise.
19489 * debug/catchsegv.sh: Likewise.
19491 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19493 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19496 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19499 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19500 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19502 * iconv/gconv_int.h: Likewise.
19503 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19504 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19505 from libc for GLIBC_2.16.
19506 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19507 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19508 * wcsmbs/uchar.h: Really define mbstate_t.
19509 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19510 * wcsmbs/c16rtomb.c: New file.
19511 * wcsmbs/mbrtoc16.c: New file.
19512 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19513 for C/POSIX locale.
19514 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19515 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19517 * wcsmbs/wchar.h: Add missing __restrict.
19519 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19522 * time/Makefile (routines): Add timespec_get.
19523 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19524 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19525 timespec for ISO C11.
19526 * time/timespec_get.c: New file.
19527 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19528 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19531 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19532 * stdlib/stdlib.h: Declare aligned_alloc.
19533 * Versions.def: Add GLIBC_2.16 for libc.
19534 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19537 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19540 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19544 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19547 * assert/assert.h (static_assert): Define.
19549 * version.h: Update for 2.16 development version.
19552 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19555 * version.h (RELEASE): Bump for 2.15 release.
19556 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19558 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19559 Patch by Marek Polacek <mpolacek@redhat.com>.
19561 * bits/byteswap.h: Protect long long constants with __extension__.
19562 * sysdeps/i386/bits/byteswap.h: Likewise.
19563 * sysdeps/ia64/bits/byteswap.h: Likewise.
19564 * sysdeps/s390/bits/byteswap.h: Likewise.
19565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19567 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19571 destination buffer.
19572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19574 2011-12-23 Marek Polacek <polacek@redhat.com>
19576 * elf/dl-addr.c (determine_info): Add inline keyword.
19577 * elf/tst-auditmod4b.c (check_avx): Likewise.
19578 * elf/tst-auditmod6b.c (check_avx): Likewise.
19579 * elf/tst-auditmod6c.c (check_avx): Likewise.
19580 * elf/tst-auditmod7b.c (check_avx): Likewise.
19582 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19587 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19591 processing for last bytes.
19593 2011-08-06 Bruno Haible <bruno@clisp.org>
19596 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19597 U+0385, not to U+1FEE.
19600 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19601 entry for U+00A5 U+0301.
19603 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19606 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19607 buffer for the output is too small.
19609 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19613 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19614 SSE flags if possible.
19616 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19620 processing for last bytes.
19622 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19624 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19625 (syscall-list-default-options, syscall-list-default-condition)
19626 (syscall-list-includes): Define.
19627 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19628 list of ABIs and options and #if conditions for each ABI. Do not
19629 handle common syscalls between ABIs specially.
19630 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
19636 (syscall-list-variants, syscall-list-32bit-options)
19637 (syscall-list-32bit-condition, syscall-list-64bit-options)
19638 (syscall-list-64bit-condition): Define.
19639 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19641 (syscall-list-variants, syscall-list-32bit-options)
19642 (syscall-list-32bit-condition, syscall-list-64bit-options)
19643 (syscall-list-64bit-condition): Define.
19644 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19646 (syscall-list-variants, syscall-list-32bit-options)
19647 (syscall-list-32bit-condition, syscall-list-64bit-options)
19648 (syscall-list-64bit-condition): Define.
19650 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19652 * locale/iso-639.def: Add brx entry.
19655 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19656 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19658 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19659 __feraiseexcept_renamed.
19661 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19664 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19665 EPOLLET with unsigned values.
19666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19669 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19670 to large cancellation.
19671 * math/s_cacoshf.c: Likewise.
19672 * math/s_cacoshl.c: Likewise.
19674 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19678 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19679 * math/s_cacoshf.c: Likewise.
19680 * math/s_cacoshl.c: Likewise.
19682 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19685 * iconv/gconv.h: Define __GCONV_SWAP.
19686 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19687 * iconvdata/utf-16.c: Likewise.
19688 * iconvdata/utf-32.c: Likewise.
19690 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19694 numerator after shifting it by one limb.
19696 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19699 under [__USE_EXTERN_INLINES].
19701 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19704 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19706 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19708 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19709 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19711 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19713 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19714 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19715 for strncasecmp/strncasecmp_l compilation.
19716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19717 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19719 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19722 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19725 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19728 * time/tzfile.c (__tzfile_read): Check values from file header.
19730 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19732 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19733 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19734 * powerpc/powerpc32/dl-start.S: Likewise.
19735 * powerpc/powerpc32/elf/start.S: Likewise.
19736 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19737 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19738 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19739 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19740 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19741 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19742 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19743 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19744 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19745 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19746 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19747 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19748 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19749 * powerpc/powerpc32/memset.S: Likewise.
19750 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19751 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19752 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19753 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19754 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19755 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19756 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19757 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19758 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19759 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19760 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19761 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19762 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19764 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19766 * math/libm-test.inc: Added more nearbyint tests.
19767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19772 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19774 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19777 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19779 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19780 Add wcscpy-ssse3 wcscpy-c.
19781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19782 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19783 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19784 * sysdeps/x86_64/wcschr.S: New file.
19785 * sysdeps/x86_64/wcsrchr.S: New file.
19786 * string/test-strcmp.c: Remove checking of wcscmp function for
19788 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19789 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19790 wcsrchr-sse2 wcsrchr-c.
19791 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19792 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19793 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19794 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19795 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19796 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19797 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19800 * wcsmbc/wcschr.c (WCSCHR): New macro.
19802 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19804 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19805 * wcsmbs/test-wcsrchr.c: New file.
19806 * string/test-strrchr.c: Add wcsrchr support.
19808 * wcsmbs/test-wcscpy.c: New file.
19809 * string/test-strcpy.c: Add wcscpy support.
19812 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19817 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19820 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19822 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19825 Minor optimizations.
19827 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19828 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19829 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19831 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19833 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19834 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19835 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19836 for gcc to avoid warnings.
19837 * inet/Makefile (tests): Add tst-checks.
19838 * inet/tst-checks.c: New file.
19840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19843 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19846 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19847 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19849 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19851 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19853 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19856 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19858 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19860 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19861 conditional on GCC version.
19862 (__arch_compare_and_exchange_val_8_acq)
19863 (__arch_compare_and_exchange_val_16_acq)
19864 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19865 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19866 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19868 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19870 * sysdeps/sh/backtrace.c: New file.
19872 2011-12-02 Andreas Schwab <schwab@redhat.com>
19874 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19877 2011-12-01 Andreas Schwab <schwab@redhat.com>
19879 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19880 falling back to utime.
19882 2011-11-30 Andreas Schwab <schwab@redhat.com>
19884 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19885 expectations for float.
19887 2011-11-29 Andreas Schwab <schwab@redhat.com>
19889 * locale/weight.h (findidx): Add parameter len.
19890 * locale/weightwc.h (findidx): Likewise.
19891 * posix/fnmatch_loop.c (FCT): Adjust caller.
19892 * posix/regcomp.c (build_equiv_class): Likewise.
19893 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19894 * posix/regexec.c (check_node_accept_bytes): Likewise.
19895 * string/strcoll_l.c (STRCOLL): Likewise.
19896 * string/strxfrm_l.c (STRXFRM): Likewise.
19898 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19900 * Makefile.in: Remove CVSOPT handling.
19901 * configure.in: Remove use of AC_REVISION.
19902 * iconvdata/Makefile (distribute): No need to filter out CVS.
19903 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19906 2011-11-16 Andreas Schwab <schwab@redhat.com>
19908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19909 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19910 [USE_AS_STRNCASECMP_L]: Likewise.
19911 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19912 NO_TLS_DIRECT_SEG_REFS.
19913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19914 Fix argument offsets for non-PIC.
19915 [USE_AS_STRNCASECMP_L]: Likewise.
19916 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19917 NO_TLS_DIRECT_SEG_REFS.
19919 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19921 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19923 * locale/loadlocale.c (_nl_load_locale): Likewise.
19925 2011-11-15 Andreas Schwab <schwab@redhat.com>
19927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19928 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19930 (SYSCALL_GETTIME): Set errno on error.
19932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19933 count references to noai6ai_cached.
19935 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19937 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19939 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19940 FD_CLOEXEC for /proc/self/maps.
19942 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19943 FD_CLOEXEC for /proc/meminfo.
19945 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19948 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19949 FD_CLOEXEC for given file.
19951 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19953 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19954 FD_CLOEXEC for /etc/hosts.
19955 (_gethtent): Likewise.
19957 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19959 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19960 cancellation and set FD_CLOEXEC for /etc/netgroup.
19962 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19963 reading /etc/publickey.
19965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19966 allow cancellation when reading /etc/group.
19968 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19970 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19972 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19973 when using data file.
19975 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19977 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19978 (write_nis_obj): Use "c" and "e" in fopen.
19980 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19982 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19984 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19986 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19988 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19991 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19993 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19995 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19997 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19998 file parsing and set FD_CLOEXEC.
20000 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20002 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20004 2011-11-14 Andreas Schwab <schwab@redhat.com>
20006 * malloc/arena.c (arena_get2): Don't call reused_arena when
20007 _int_new_arena failed.
20009 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20011 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20012 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20017 to compile strcasecmp and strncasecmp.
20018 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20019 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20023 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20026 locale-defines.sym to gen-as-const-headers.
20027 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20028 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20030 to compile strcasecmp and strncasecmp.
20031 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20032 strcasecmp_l and strncasecmp_l.
20033 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20034 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20035 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20036 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20037 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20039 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20040 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20041 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20042 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20043 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20045 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20047 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20048 result of SYSDEP_GETTIME_CPU to retval.
20049 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20050 parameter list to macro. Remove trailing semicolon. Adjust users.
20052 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20059 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20060 from unused variable.
20062 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20064 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20067 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20070 * sunrpc/rpc_prot.c (rejected): Fix case value.
20072 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20073 unsigned long long int to avoid warnings in shift.
20075 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20077 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20081 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20084 * nis/nis_table.c (nis_list): Use variable of correct type for
20085 result of __follow_path call.
20087 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20090 of math functions ceil, trunc, floor, round, and sqrt, when
20091 avaliable on the platform.
20092 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20098 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20100 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20103 2011-11-11 Roland McGrath <roland@hack.frob.com>
20105 * include/unistd.h: Fix __readlink return type.
20106 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20108 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20110 * stdlib/ucontext.h: Undo last change for makecontext.
20112 2011-11-11 Andreas Schwab <schwab@redhat.com>
20114 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20116 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20117 * setjmp/setjmp.h: Mark functions as non-leaf.
20118 * setjmp/bits/setjmp2.h: Likewise.
20119 * stdlib/ucontext.h: Likewise.
20121 2011-11-10 Andreas Schwab <schwab@redhat.com>
20123 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20124 (reused_arena): Don't check arena limit.
20125 (arena_get2): Atomically check arena limit.
20127 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20129 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20130 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20135 2011-11-07 Andreas Schwab <schwab@redhat.com>
20137 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20138 handler when locking.
20140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20141 Fix size of allocated buffer.
20143 2011-11-04 Andreas Schwab <schwab@redhat.com>
20146 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20147 declarations for long double functions.
20148 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20150 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20152 2011-11-03 Andreas Schwab <schwab@redhat.com>
20154 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20157 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20160 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20162 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20164 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20166 * include/alloca.h (stackinfo_alloca_round): Define.
20167 (extend_alloca): Use it.
20168 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20169 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20172 * scripts/check-local-headers.sh: Ignore libaudit.h.
20174 * nscd/Makefile (extra-objs): Make recursively expanded.
20176 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20178 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20181 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20182 * posix/tst-rfc3484-2.c: Likewise.
20183 * posix/tst-rfc3484-3.c: Likewise.
20185 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20187 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20189 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20190 process_vm_writev from libc using GLIBC_2.15 version.
20192 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20194 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20196 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20199 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20202 * nss/getent.c (initgroups_keys): Show error message in case no group
20205 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20206 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20207 __bump_nl_timestamp.
20208 * nscd/connections (nscd_init): When host database is served open
20209 netlink socket and request notification about configuration changes.
20210 (main_loop_poll): Track netlink file descriptor and bump timestamp
20211 in case data becomes available.
20212 (main_loop_epoll): Likewise.
20213 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20214 (database_pers_head): Add extra_data fileds.
20215 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20217 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20220 in6ai data, call __free_in6ai.
20221 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20222 Add -DHAVE_NETLINK.
20223 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20224 interface information. Reuse previous data if netlink timestamp
20226 (__bump_nl_timestamp): New function.
20227 (__free_in6ai): New function.
20229 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20232 close_not_cancel_no_status here.
20233 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20235 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20238 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20241 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20242 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20243 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20245 2011-07-03 Andreas Jaeger <aj@suse.de>
20248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20249 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20250 * math/libm-test.inc (sin_test): Add test case.
20252 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20255 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20258 * elf/chroot_canon.c (chroot_canon): Cleanups.
20260 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20263 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20266 * string/test-strchr.c: Make usable for strchrnul testing.
20267 * string/test-strchrnul.c: New file.
20268 * string/Makefile (strop-tests): Add strchrnul.
20270 * po/it.po: Update from translation team.
20271 * po/es.po: Likewise.
20273 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20276 the three constants needed as parameters. Drop the others.
20277 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20278 __m128i_strloadu_tolower.
20279 Create and initialize variable zero and use it in all the places
20280 where _mm_setzero_si128 was used.
20282 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20283 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20284 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20288 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20289 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20290 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20292 __mpranred, __mptan.
20293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20301 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20303 2011-10-28 Andreas Schwab <schwab@redhat.com>
20305 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20306 redefine if SHARED.
20307 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20310 wide char related routines to wcsmbs subdir.
20312 2011-10-27 Andreas Schwab <schwab@redhat.com>
20315 * misc/sys/cdefs.h (__THROWNL): Define.
20316 * posix/unistd.h: Use __THREADNL instead of __THREAD
20317 for memory synchronization functions.
20319 2011-10-26 Roland McGrath <roland@hack.frob.com>
20322 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20324 * manual/stdio.texi (Obstack Streams): Node removed.
20326 2011-10-26 Andreas Schwab <schwab@redhat.com>
20328 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20332 * math/math_private.h (math_force_eval): Allow non-addressable
20334 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20336 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20339 file is not needed.
20341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20344 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20348 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20355 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20357 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20358 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20359 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20360 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20361 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20364 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20365 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20366 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20368 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20370 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20371 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20374 place. Use VEX encoding when compiling for AVX.
20376 2011-10-25 Andreas Schwab <schwab@redhat.com>
20378 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20379 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20381 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20383 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20385 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20386 useless if() expression.
20387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20397 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20399 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20407 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20409 2011-10-25 Andreas Schwab <schwab@redhat.com>
20411 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20415 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20417 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20418 .text section. Avoid duplicate constants.
20419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20429 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20431 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20434 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20461 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20462 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20465 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20467 * sysdeps/x86_64/dla.h: Move to ...
20468 * sysdeps/x86_64/fpu/dla.h: ...here.
20469 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20470 situations. Use __builtin_fma only for gcc 4.6 and up.
20472 * config.make.in: Add have-mfma4 entry.
20473 * configure.in: Substitute libc_cv_cc_fma4.
20474 * math/Makefile (dbl-only-routines): Add sincostab.
20475 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20476 Use __sincostab not sincos.
20477 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20484 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20485 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20486 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20487 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20490 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20492 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20493 define aliases when function name is a macro.
20494 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20495 sysdeps/ieee754/dbl-64/sincos.tbl.
20496 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20497 fma4-enabled routines.
20498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20510 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20511 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20512 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20513 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20514 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20515 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20516 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20518 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20519 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20525 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20529 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20540 2011-10-24 Andreas Schwab <schwab@redhat.com>
20542 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20544 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20548 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20552 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20553 Remove unused variable magic_bits.
20554 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20556 * string/strnlen.c: Define and use STRNLEN macro.
20557 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20558 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20560 * wcsmbs/wcslen.c: Define and use WCSLEN.
20561 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20562 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20563 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20564 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20565 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20566 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20569 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20572 strnlen-sse2-no-bsf.
20573 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20575 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20576 Add strnlen support.
20577 (USE_AS_STRNLEN): New macro.
20578 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20579 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20580 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20581 * sysdeps/x86_64/wcslen.S: New file.
20583 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20586 XMM-moves are used for copying on small sizes.
20588 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20590 * wcsmbs/Makefile (strop-tests): Add wcschr.
20591 * wcsmbs/test-wcschr.c: New file.
20592 * string/test-strchr.c: Update.
20593 Add wcschr support.
20596 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20598 * wcsmbs/Makefile (strop-tests): Add wcslen.
20599 * wcsmbs/test-wcslen.c: New file.
20600 * string/test-strlen.c: Update.
20601 Add wcslen support.
20604 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20606 * po/it.po: Update from translation team.
20608 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20610 * sysdeps/x86_64/wcscmp.S: Update.
20611 Fix wrong comparison semantics.
20612 wcscmp shall use signed comparison not unsigned.
20613 Don't use substraction to avoid overflow bug.
20614 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20615 * wcsmbc/wcscmp.c: Likewise.
20616 * string/test-strcmp.c: Likewise.
20617 Add new tests to check cases with negative values.
20619 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20621 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20622 * sysdeps/x86_64/dla.h: ...here. New file.
20623 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20633 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20636 __ynl_finite aliases.
20638 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20642 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20644 [DLA_FMA] (EMULV): Use DLA_FMA.
20645 [DLA_FMA] (MUL12): Use EMULV.
20646 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20647 that are not needed.
20648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20656 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20658 * math/s_nan.c: Undef __nan.
20659 * math/s_nanf.c: Undef __nanf.
20660 * math/s_nanl.c: Undef __nanl.
20661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20664 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20666 * math/s_catan.c: Add branch predictions.
20667 * math/s_catanf.c: Likewise.
20668 * math/s_catanh.c: Likewise.
20669 * math/s_catanhf.c: Likewise.
20670 * math/s_catanhl.c: Likewise.
20671 * math/s_catanl.c: Likewise.
20672 * math/s_cexp.c: Likewise.
20673 * math/s_cexpf.c: Likewise.
20674 * math/s_cexpl.c: Likewise.
20675 * math/s_clog.c: Likewise.
20676 * math/s_clog10.c: Likewise.
20677 * math/s_clog10f.c: Likewise.
20678 * math/s_clog10l.c: Likewise.
20679 * math/s_clogf.c: Likewise.
20680 * math/s_clogl.c: Likewise.
20681 * math/s_csqrt.c: Likewise.
20682 * math/s_csqrtf.c: Likewise.
20683 * math/s_csqrtl.c: Likewise.
20684 * math/s_ctanf.c: Likewise.
20685 * math/s_ctanh.c: Likewise.
20686 * math/s_ctanhf.c: Likewise.
20687 * math/s_ctanhl.c: Likewise.
20688 * math/s_ctanl.c: Likewise.
20690 * math/math_private.h: Define __nan, __nanf, __nanl.
20691 * math/s_cacosh.c: Include <math_private.h>.
20692 * math/s_cacoshl.c: Likewise.
20693 * math/s_casinh.c: Likewise.
20694 * math/s_casinhf.c: Likewise.
20695 * math/s_casinhl.c: Likewise.
20696 * math/s_ccos.c: Rely entire on ccosh.
20697 * math/s_ccosf.c: Rely entire on ccoshf.
20698 * math/s_ccosl.c: Rely entirely on ccoshl.
20699 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20700 Remove tests for FE_INVALID.
20701 * math/s_ccoshf.c: Likewise.
20702 * math/s_ccoshl.c: Likewise.
20703 * math/s_csin.c: Likewise.
20704 * math/s_csinf.c: Likewise.
20705 * math/s_csinh.c Likewise.
20706 * math/s_csinhf.c: Likewise.
20707 * math/s_csinhl.c: Likewise.
20708 * math/s_csinl.c: Likewise.
20709 * math/s_ctan.c: Likewise.
20710 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20711 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20714 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20717 compilation problems.
20719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20722 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20724 * sysdeps/i386/configure.in: Test for -mfma4 option.
20725 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20726 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20727 COMMON_CPUID_INDEX_80000001.
20728 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20729 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20730 use it if FMA3 is not supported.
20731 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20733 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20734 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20736 2011-10-20 Andreas Schwab <schwab@redhat.com>
20739 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20740 it would create a cycle with a link time dependency.
20742 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20744 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20746 * string/Makefile (strop-tests): Add rawmemchr.
20747 * string/test-rawmemchr.c: New file.
20749 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20751 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20752 when compiling str{,n}casecmp and when AVX is available. Hook up
20753 new optimized code in initializers.
20755 2011-10-19 Andreas Schwab <schwab@redhat.com>
20757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20758 __feraiseexcept instead of feraiseexcept.
20760 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20762 * math/math_private.h: Define defaults for libc_fetestexcept and
20764 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20765 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20766 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20769 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20770 libc_fetestexcept and libc_feupdateenv.
20772 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20773 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20774 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20775 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20776 libc_feholdexcept_setround.
20778 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20779 Add s_nearbyint-c and s_nearbyintf-c.
20780 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20781 nearbyintf inlines.
20782 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20784 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20787 * math/math_private.h: Define defaults for libc_fegetround,
20788 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20789 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20790 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20792 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20793 standard functions.
20794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20795 Remove comments and hacks for old compiler versions.
20796 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20797 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20798 libc_feholdexceptl.
20800 2011-10-18 Andreas Schwab <schwab@redhat.com>
20802 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20803 (__feraiseexcept_renamed): Add __NTH.
20804 (feraiseexcept): Add __NTH. Rename local variables to fix
20805 namespace violations.
20807 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20813 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20814 recently added interfaces.
20815 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20817 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20818 about macro parameter expansion.
20820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20821 __NO_MATH_INLINES is defined. Cleanups.
20823 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20824 and __floorf is target has SSE4.1.
20825 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20830 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20832 (floorf): Likewise.
20834 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20836 2011-10-17 Andreas Schwab <schwab@redhat.com>
20838 * misc/sys/cdefs.h: Fix last change.
20840 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20843 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20845 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20847 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20853 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20856 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20857 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20858 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20859 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20860 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20862 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20864 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20866 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20868 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20870 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20871 ceil, ceilf, floor, floorf.
20873 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20874 Perform IRELATIVE relocations last.
20876 * elf/do-rel.h: Add another parameter nrelative, replacing the
20877 local variable with the same name. Change name of the function
20878 to end in Rel or Rela (uppercase).
20879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20880 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20881 elf_dynamic_do_##reloc function.
20883 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20885 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20886 is sufficient, at least on modern CPUs.
20888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20890 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20893 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20895 * math/bits/math-finite.h: Add entries for exp.
20896 * math/e_expl.c: Add __*_finite alias.
20897 * sysdeps/i386/fpu/e_exp.S: Likewise.
20898 * sysdeps/i386/fpu/e_expf.S: Likewise.
20899 * sysdeps/i386/fpu/e_expl.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20901 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20908 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20909 is sufficient, at least on modern CPUs.
20911 * ctype/ctype-info.c (__ctype_init): Define.
20912 * include/ctype.h (__ctype_init): Declare.
20913 (__ctype_b_loc): The variable is always initialized.
20914 (__ctype_toupper_loc): Likewise.
20915 (__ctype_tolower_loc): Likewise.
20916 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20917 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20919 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20921 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20923 * configure.in: Also look in $cxxmachine/include for C++ system
20926 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20928 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20929 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20930 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20931 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20933 (USE_AS_WMEMCMP): New macro.
20935 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20936 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20937 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20938 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20940 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20941 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20942 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20943 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20944 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20946 (USE_AS_WMEMCMP): New macro.
20947 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20948 * sysdeps/string/test-memcmp.c: Update.
20949 Fix simple_wmemcmp.
20951 * wcsmbs/wmemcmp.c: Update.
20952 (WMEMCMP): New macro.
20955 2011-10-12 Andreas Jaeger <aj@suse.de>
20958 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20960 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20962 * libio/iofwide.c (do_length): Avoid warning.
20964 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20966 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20968 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20970 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20971 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20972 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20973 * sysdeps/i386/i686/fpu/e_log.S: New file.
20974 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20975 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20977 * ctype/ctype.h: Add support for inlined isXXX functions when
20978 compiling C++ code.
20980 2011-10-14 Andreas Schwab <schwab@redhat.com>
20982 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20986 2011-10-13 Roland McGrath <roland@hack.frob.com>
20989 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20991 2011-10-13 Andreas Schwab <schwab@redhat.com>
20993 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20994 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20997 * sysdeps/x86_64/memrchr.S: Check for zero size.
20999 * string/stratcliff.c: Add memrchr tests.
21001 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21004 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21005 rawmemchr-sse2 rawmemchr-sse2-bsf.
21006 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21007 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21008 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21009 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21010 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21011 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21012 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21013 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21014 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21015 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21016 * string/memrchr.c (MEMRCHR): New macro.
21018 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21020 Add integration with gcc's -ffinite-math-only and optimize wrapper
21022 * Versions.def: Define GLIBC_2.15 version for libm.
21023 * math/Makefile (headers): Add bits/math-finite.h.
21024 * math/bits/math-finite.h: New file.
21025 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21026 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21027 * math/e_acoshl.c: Add __*_finite alias.
21028 * math/e_acosl.c: Likewise.
21029 * math/e_asinl.c: Likewise.
21030 * math/e_atan2l.c: Likewise.
21031 * math/e_atanhl.c: Likewise.
21032 * math/e_coshl.c: Likewise.
21033 * math/e_exp10.c: Likewise.
21034 * math/e_exp10f.c: Likewise.
21035 * math/e_exp10l.c: Likewise.
21036 * math/e_exp2l.c: Likewise.
21037 * math/e_fmodl.c: Likewise.
21038 * math/e_gammal_r.c: Likewise.
21039 * math/e_hypotl.c: Likewise.
21040 * math/e_j0l.c: Likewise.
21041 * math/e_j1l.c: Likewise.
21042 * math/e_jnl.c: Likewise.
21043 * math/e_lgammal_r.c: Likewise.
21044 * math/e_log10l.c: Likewise.
21045 * math/e_log2l.c: Likewise.
21046 * math/e_logl.c: Likewise.
21047 * math/e_powl.c: Likewise.
21048 * math/e_sinhl.c: Likewise.
21049 * math/e_sqrtl.c: Likewise.
21050 * math/e_scalb.c: Completely rewritten and optimized.
21051 * math/e_scalbf.c: Likewise.
21052 * math/e_scalbl.c: Likewise.
21053 * math/w_acos.c: Likewise.
21054 * math/w_acosf.c: Likewise.
21055 * math/w_acosl.c: Likewise.
21056 * math/w_acosh.c: Likewise.
21057 * math/w_acoshf.c: Likewise.
21058 * math/w_acoshl.c: Likewise.
21059 * math/w_asin.c: Likewise.
21060 * math/w_asinf.c: Likewise.
21061 * math/w_asinl.c: Likewise.
21062 * math/w_atan2.c: Likewise.
21063 * math/w_atan2f.c: Likewise.
21064 * math/w_atan2l.c: Likewise.
21065 * math/w_atanh.c: Likewise.
21066 * math/w_atanhf.c: Likewise.
21067 * math/w_atanhl.c: Likewise.
21068 * math/w_exp10.c: Likewise.
21069 * math/w_exp10f.c: Likewise.
21070 * math/w_exp10l.c: Likewise.
21071 * math/w_fmod.c: Likewise.
21072 * math/w_fmodf.c: Likewise.
21073 * math/w_fmodl.c: Likewise.
21074 * math/w_j0.c: Likewise.
21075 * math/w_j0f.c: Likewise.
21076 * math/w_j0l.c: Likewise.
21077 * math/w_j1.c: Likewise.
21078 * math/w_j1f.c: Likewise.
21079 * math/w_j1l.c: Likewise.
21080 * math/w_jn.c: Likewise.
21081 * math/w_jnf.c: Likewise.
21082 * math/w_log.c: Likewise.
21083 * math/w_logf.c: Likewise.
21084 * math/w_logl.c: Likewise.
21085 * math/w_log10.c: Likewise.
21086 * math/w_log10f.c: Likewise.
21087 * math/w_log10l.c: Likewise.
21088 * math/w_log2.c: Likewise.
21089 * math/w_log2f.c: Likewise.
21090 * math/w_log2l.c: Likewise.
21091 * math/w_pow.c: Likewise.
21092 * math/w_powf.c: Likewise.
21093 * math/w_powl.c: Likewise.
21094 * math/w_remainder.c: Likewise.
21095 * math/w_remainderf.c: Likewise.
21096 * math/w_remainderl.c: Likewise.
21097 * math/w_scalb.c: Likewise.
21098 * math/w_scalbf.c: Likewise.
21099 * math/w_scalbl.c: Likewise.
21100 * math/w_sqrt.c: Likewise.
21101 * math/w_sqrtf.c: Likewise.
21102 * math/w_sqrtl.c: Likewise.
21103 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21104 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21106 * math/math_private.h: Declare __kernel_standard_f.
21107 * math/w_cosh.c: Remove cruft and optimize a bit.
21108 * math/w_coshf.c: Likewise.
21109 * math/w_coshl.c: Likewise.
21110 * math/w_exp2.c: Likewise.
21111 * math/w_exp2f.c: Likewise.
21112 * math/w_exp2l.c: Likewise.
21113 * math/w_hypot.c: Likewise.
21114 * math/w_hypotf.c: Likewise.
21115 * math/w_hypotl.c: Likewise.
21116 * math/w_lgamma.c: Likewise.
21117 * math/w_lgamma_r.c: Likewise.
21118 * math/w_lgammaf.c: Likewise.
21119 * math/w_lgammaf_r.c: Likewise.
21120 * math/w_lgammal.c: Likewise.
21121 * math/w_lgammal_r.c: Likewise.
21122 * math/w_sinh.c: Likewise.
21123 * math/w_sinhf.c: Likewise.
21124 * math/w_sinhl.c: Likewise.
21125 * math/w_tgamma.c: Likewise.
21126 * math/w_tgammaf.c: Likewise.
21127 * math/w_tgammal.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21130 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21131 Minor optimizations. Pretty printing. Remove cruft.
21132 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21136 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21137 * sysdeps/i386/fpu/e_asin.S: Likewise.
21138 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21139 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21140 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21141 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21143 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21145 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21146 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21147 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21148 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21149 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21150 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21151 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21152 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21153 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21154 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21155 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21156 * sysdeps/i386/fpu/e_log.S: Likewise.
21157 * sysdeps/i386/fpu/e_log10.S: Likewise.
21158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21160 * sysdeps/i386/fpu/e_log2.S: Likewise.
21161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21163 * sysdeps/i386/fpu/e_logf.S: Likewise.
21164 * sysdeps/i386/fpu/e_logl.S: Likewise.
21165 * sysdeps/i386/fpu/e_pow.S: Likewise.
21166 * sysdeps/i386/fpu/e_powf.S: Likewise.
21167 * sysdeps/i386/fpu/e_powl.S: Likewise.
21168 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21169 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21170 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21174 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21175 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21176 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21202 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21203 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21260 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21261 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21262 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21264 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21274 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21275 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21276 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21277 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21278 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21279 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21280 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21285 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21287 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21288 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21289 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21290 (__isnanf): Likewise.
21291 (__isinf_ns): Likewise.
21292 (__isinf_nsf): Likewise.
21293 (__finite): Likewise.
21294 (__finitef): Likewise.
21295 (__ieee754_sqrt): Define as macro.
21296 (__ieee754_sqrtf): Define as macro.
21297 (__ieee754_sqrtl): Define as macro.
21298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21300 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21301 __FINITE_MATH_ONLY__ consistent.
21302 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21304 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21306 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21311 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21313 * po/ja.po: Update from translation team.
21315 2011-10-08 Roland McGrath <roland@hack.frob.com>
21317 * locale/programs/locarchive.c (prepare_address_space): New function.
21318 (create_archive, enlarge_archive, open_archive): Use it.
21320 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21321 inside [SHARED], where it is used.
21323 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21325 * nss/getent.c (netgroup_keys): Remove unused variable.
21326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21328 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21330 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21331 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21336 * math/Makefile (libm-calls): Add s_isinf_ns.
21337 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21338 * math/multc3.c: Likewise.
21339 * math/s_casin.c: Likewise.
21340 * math/s_casinf.c: Likewise.
21341 * math/s_casinl.c: Likewise.
21342 * math/s_ccos.c: Likewise.
21343 * math/s_ccosf.c: Likewise.
21344 * math/s_ccosl.c: Likewise.
21345 * math/s_ctan.c: Likewise.
21346 * math/s_ctanf.c: Likewise.
21347 * math/s_ctanh.c: Likewise.
21348 * math/s_ctanhf.c: Likewise.
21349 * math/s_ctanhl.c: Likewise.
21350 * math/s_ctanl.c: Likewise.
21351 * math/w_fmod.c: Likewise.
21352 * math/w_fmodf.c: Likewise.
21353 * math/w_fmodl.c: Likewise.
21354 * math/w_remainder.c: Likewise.
21355 * math/w_remainderf.c: Likewise.
21356 * math/w_remainderl.c: Likewise.
21357 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21358 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21361 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21362 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21363 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21364 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21366 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21368 * stdio-common/printf_fphex.c: Likewise.
21369 * stdio-common/printf_size.c: Likewise.
21371 * math/e_exp10.c: Include math_private.h using <...> not "...".
21372 * math/e_exp10f.c: Likewise.
21373 * math/e_exp10l.c: Likewise.
21374 * math/e_exp2l.c: Likewise.
21375 * math/e_j0l.c: Likewise.
21376 * math/e_j1l.c: Likewise.
21377 * math/e_jnl.c: Likewise.
21378 * math/e_lgammal_r.c: Likewise.
21379 * math/e_rem_pio2l.c: Likewise.
21380 * math/e_scalb.c: Likewise.
21381 * math/e_scalbf.c: Likewise.
21382 * math/e_scalbl.c: Likewise.
21383 * math/k_cosl.c: Likewise.
21384 * math/k_sinl.c: Likewise.
21385 * math/k_tanl.c: Likewise.
21386 * math/s_cacoshf.c: Likewise.
21387 * math/s_catan.c: Likewise.
21388 * math/s_catanf.c: Likewise.
21389 * math/s_catanh.c: Likewise.
21390 * math/s_catanhf.c: Likewise.
21391 * math/s_catanhl.c: Likewise.
21392 * math/s_catanl.c: Likewise.
21393 * math/s_ccosh.c: Likewise.
21394 * math/s_ccoshf.c: Likewise.
21395 * math/s_ccoshl.c: Likewise.
21396 * math/s_cexp.c: Likewise.
21397 * math/s_cexpf.c: Likewise.
21398 * math/s_cexpl.c: Likewise.
21399 * math/s_clog.c: Likewise.
21400 * math/s_clog10.c: Likewise.
21401 * math/s_clog10f.c: Likewise.
21402 * math/s_clog10l.c: Likewise.
21403 * math/s_clogf.c: Likewise.
21404 * math/s_clogl.c: Likewise.
21405 * math/s_csin.c: Likewise.
21406 * math/s_csinf.c: Likewise.
21407 * math/s_csinh.c: Likewise.
21408 * math/s_csinhf.c: Likewise.
21409 * math/s_csinhl.c: Likewise.
21410 * math/s_csinl.c: Likewise.
21411 * math/s_csqrt.c: Likewise.
21412 * math/s_csqrtf.c: Likewise.
21413 * math/s_csqrtl.c: Likewise.
21414 * math/s_ctan.c: Likewise.
21415 * math/s_ctanf.c: Likewise.
21416 * math/s_ctanh.c: Likewise.
21417 * math/s_ctanhf.c: Likewise.
21418 * math/s_ctanhl.c: Likewise.
21419 * math/s_ctanl.c: Likewise.
21420 * math/s_ldexp.c: Likewise.
21421 * math/s_ldexpf.c: Likewise.
21422 * math/s_ldexpl.c: Likewise.
21423 * math/s_significand.c: Likewise.
21424 * math/s_significandf.c: Likewise.
21425 * math/s_significandl.c: Likewise.
21426 * math/w_acos.c: Likewise.
21427 * math/w_acosf.c: Likewise.
21428 * math/w_acosh.c: Likewise.
21429 * math/w_acoshf.c: Likewise.
21430 * math/w_acoshl.c: Likewise.
21431 * math/w_acosl.c: Likewise.
21432 * math/w_asin.c: Likewise.
21433 * math/w_asinf.c: Likewise.
21434 * math/w_asinl.c: Likewise.
21435 * math/w_atan2.c: Likewise.
21436 * math/w_atan2f.c: Likewise.
21437 * math/w_atan2l.c: Likewise.
21438 * math/w_atanh.c: Likewise.
21439 * math/w_atanhf.c: Likewise.
21440 * math/w_atanhl.c: Likewise.
21441 * math/w_cosh.c: Likewise.
21442 * math/w_coshf.c: Likewise.
21443 * math/w_coshl.c: Likewise.
21444 * math/w_dremf.c: Likewise.
21445 * math/w_exp10.c: Likewise.
21446 * math/w_exp10f.c: Likewise.
21447 * math/w_exp10l.c: Likewise.
21448 * math/w_exp2.c: Likewise.
21449 * math/w_exp2f.c: Likewise.
21450 * math/w_fmod.c: Likewise.
21451 * math/w_fmodf.c: Likewise.
21452 * math/w_fmodl.c: Likewise.
21453 * math/w_hypot.c: Likewise.
21454 * math/w_hypotf.c: Likewise.
21455 * math/w_hypotl.c: Likewise.
21456 * math/w_j0.c: Likewise.
21457 * math/w_j0f.c: Likewise.
21458 * math/w_j0l.c: Likewise.
21459 * math/w_j1.c: Likewise.
21460 * math/w_j1f.c: Likewise.
21461 * math/w_j1l.c: Likewise.
21462 * math/w_jn.c: Likewise.
21463 * math/w_jnf.c: Likewise.
21464 * math/w_jnl.c: Likewise.
21465 * math/w_lgamma.c: Likewise.
21466 * math/w_lgamma_r.c: Likewise.
21467 * math/w_lgammaf.c: Likewise.
21468 * math/w_lgammaf_r.c: Likewise.
21469 * math/w_lgammal.c: Likewise.
21470 * math/w_lgammal_r.c: Likewise.
21471 * math/w_log.c: Likewise.
21472 * math/w_log10.c: Likewise.
21473 * math/w_log10f.c: Likewise.
21474 * math/w_log10l.c: Likewise.
21475 * math/w_log2.c: Likewise.
21476 * math/w_log2f.c: Likewise.
21477 * math/w_log2l.c: Likewise.
21478 * math/w_logf.c: Likewise.
21479 * math/w_logl.c: Likewise.
21480 * math/w_pow.c: Likewise.
21481 * math/w_powf.c: Likewise.
21482 * math/w_powl.c: Likewise.
21483 * math/w_remainder.c: Likewise.
21484 * math/w_remainderf.c: Likewise.
21485 * math/w_remainderl.c: Likewise.
21486 * math/w_scalb.c: Likewise.
21487 * math/w_scalbf.c: Likewise.
21488 * math/w_scalbl.c: Likewise.
21489 * math/w_sinh.c: Likewise.
21490 * math/w_sinhf.c: Likewise.
21491 * math/w_sinhl.c: Likewise.
21492 * math/w_sqrt.c: Likewise.
21493 * math/w_sqrtf.c: Likewise.
21494 * math/w_sqrtl.c: Likewise.
21495 * math/w_tgamma.c: Likewise.
21496 * math/w_tgammaf.c: Likewise.
21497 * math/w_tgammal.c: Likewise.
21499 * po/ja.po: Update from translation team.
21501 2011-09-29 Andreas Jaeger <aj@suse.de>
21504 * sunrpc/netname.c (netname2host): Fix logic.
21508 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21510 * math/w_remainder.c (__remainder): Likewise.
21511 * math/w_remainderf.c (__remainderf): Likewise.
21512 * math/libm-test.inc (remainder_test): Add test cases.
21514 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21516 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21519 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21521 * string/test-memcmp.c: Avoid unncessary #defines.
21522 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21524 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21526 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21527 Use new sse2 version for core i3 - i7 as it's faster
21528 than sse42 version.
21529 (bit_Prefer_PMINUB_for_stringop): New.
21530 * sysdeps/x86_64/rawmemchr.S: Update.
21531 Replace with faster SSE2 version.
21532 * sysdeps/x86_64/memrchr.S: New file.
21533 * sysdeps/x86_64/memchr.S: Update.
21534 Replace with faster SSE2 version.
21536 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21538 * elf/dl-load.c (lose): Add cast to avoid warning.
21540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21542 * po/ca.po: Update from translation team.
21544 * inet/getnetgrent_r.c: Hook up nscd.
21545 * nscd/Makefile (routines): Add nscd_netgroup.
21546 (nscd-modules): Add netgroupcache.
21547 (CFLAGS-netgroupcache.c): Define.
21548 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21549 (cache_search): Add const to second parameter.
21550 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21552 (dbs): Add netgrdb entry.
21553 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21554 (verify_persistent_db): Handle netgrdb.
21555 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21556 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21558 (netgroup_response_header): Define.
21559 (innetgroup_response_header): Define.
21560 (datahead): Add netgroup_response_header and innetgroup_response_header
21562 * nscd/nscd.conf: Add entries for netgroup cache.
21563 * nscd/nscd.h (dbtype): Add netgrdb.
21564 (_PATH_NSCD_NETGROUP_DB): Define.
21565 (netgroup_iov_disabled): Declare.
21566 (xmalloc, xcalloc, xrealloc): Move declarations here.
21567 (cache_search): Adjust prototype.
21568 Add netgroup-related prototypes.
21569 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21570 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21571 (__nscd_innetgr): Declare.
21572 * nscd/selinux.c (perms): Use access_vector_t as element type and
21573 add netgroup-related initializers.
21574 * nscd/netgroupcache.c: New file.
21575 * nscd/nscd_netgroup.c: New file.
21576 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21577 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21578 For four parameters use innetgr.
21579 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21580 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21581 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21582 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21584 * nscd/connections.c (register_traced_file): Don't register file
21585 for disabled databases.
21587 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21589 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21591 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21592 from tree and freeing node.
21594 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21596 * nss/nsswitch.c (__nss_database_lookup): Handle
21597 nss_parse_service_list out of memory case.
21599 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21601 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21602 out of memory case.
21604 2011-10-04 Andreas Schwab <schwab@redhat.com>
21606 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21607 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21609 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21610 elf_machine_rela, elf_machine_lazy_rel.
21611 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21612 (ELF_DYNAMIC_DO_REL): Likewise.
21613 (ELF_DYNAMIC_DO_RELA): Likewise.
21614 (ELF_DYNAMIC_RELOCATE): Likewise.
21615 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21616 to ELF_DYNAMIC_DO_REL.
21617 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21618 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21619 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21622 skip_ifunc, don't call ifunc function if non-zero.
21623 (elf_machine_rela): Likewise.
21624 (elf_machine_lazy_rel): Likewise.
21625 (elf_machine_lazy_rela): Likewise.
21626 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21627 (elf_machine_lazy_rel): Likewise.
21628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21630 (elf_machine_lazy_rel): Likewise.
21631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21633 (elf_machine_lazy_rel): Likewise.
21634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21635 (elf_machine_lazy_rel): Likewise.
21636 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21637 (elf_machine_lazy_rel): Likewise.
21638 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21639 (elf_machine_lazy_rel): Likewise.
21640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21641 (elf_machine_lazy_rel): Likewise.
21642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21643 (elf_machine_lazy_rel): Likewise.
21644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21645 (elf_machine_lazy_rel): Likewise.
21647 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21649 * nss/nss_files/files-init.c (_nss_files_init): Use static
21650 initialization for all the *_traced_file variables.
21652 2011-09-28 Andreas Schwab <schwab@redhat.com>
21654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21656 2011-09-27 Roland McGrath <roland@hack.frob.com>
21659 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21661 2011-09-27 Andreas Schwab <schwab@redhat.com>
21663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21664 Reread the line before reparsing it.
21666 2011-09-26 Andreas Schwab <schwab@redhat.com>
21668 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21670 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21671 Maxim Kuvyrkov <maxim@codesourcery.com>
21672 Joseph Myers <joseph@codesourcery.com>
21674 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21675 if needed for __stack_chk_guard.
21677 2011-09-19 Roland McGrath <roland@hack.frob.com>
21679 * sysdeps/posix/spawni.c (script_execute): Always define it.
21680 It will be optimized away if unused.
21681 (maybe_script_execute): New function.
21682 (__spawni): Call it.
21684 * Makerules: Don't include tls.make.
21685 (config-tls): Always set to thread.
21686 * tls.make.c: File removed.
21688 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21690 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21691 * config.make.in (CPPFLAGS-config): New substituted variable.
21693 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21698 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21699 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21701 2011-09-15 Roland McGrath <roland@hack.frob.com>
21703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21704 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21706 (CALL_FAIL): Likewise.
21707 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21708 (CALL_FAIL): Macro removed.
21709 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21711 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21714 for __FINITE_MATH_ONLY__ == 1.
21716 2011-09-15 Andreas Schwab <schwab@redhat.com>
21718 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21719 __ieee754_sqrt instead of sqrt.
21720 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21721 __ieee754_sqrtf instead of sqrtf.
21722 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21723 __floorf instead of floorf.
21724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21725 __floorf, __truncf instead of floorf, truncf.
21727 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21729 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21731 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21732 __extern_always_inline.
21733 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21736 2011-09-14 Andreas Schwab <schwab@redhat.com>
21738 * elf/rtld.c (dl_main): Also relocate in dependency order when
21739 doing symbol dependency testing.
21741 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21744 Always define `refsym'.
21746 2011-09-13 Andreas Schwab <schwab@redhat.com>
21748 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21749 (__FD_ELT): Renamed from __FDELT.
21750 * misc/bits/select2.h (__FD_ELT): Likewise.
21751 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21752 __FD_MASK instead of __FDELT, __FDMASK.
21753 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21755 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21758 * elf/Makefile (gen-ldd): Fix pattern.
21760 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21761 (init_tls): Likewise.
21763 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21767 2011-09-12 Andreas Schwab <schwab@redhat.com>
21769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21770 `struct cmsghdr *' instead of `void *'.
21771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21774 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21776 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21778 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21779 ldd_rewrite_script.
21781 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21783 * configure.in: Remove --with-tls option.
21784 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21785 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21786 out in case it is missing.
21787 * sysdeps/ia64/elf/configure.in: Likewise.
21788 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21789 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21790 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21791 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21792 * sysdeps/sh/elf/configure.in: Likewise.
21793 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21794 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21795 * sysdeps/x86_64/elf/configure.in: Likewise.
21796 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21797 * sysdeps/mach/hurd/tls.h: Likewise.
21800 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21803 * configure.in: Fix use of AC_INIT.
21805 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21807 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21809 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21811 * malloc/hooks.c: Likewise.
21814 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21815 variables statically.
21816 (narenas): Initialize.
21817 (list_lock): Initialize.
21818 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21819 initializtion of main_arena and list_lock. Small cleanups.
21820 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21821 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21822 Add initializers to main_arena and mp_.
21823 (malloc_state): Remove pagesize member. Change all users to use
21826 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21827 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21828 is always initialized.
21830 * malloc/malloc.c: Removed unused configurations and dead code.
21831 * malloc/arena.c: Likewise.
21832 * malloc/hooks.c: Likewise.
21833 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21835 * include/tls.h: Removed. USE___THREAD must always be defined.
21836 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21837 * elf/dl-libc.c: Likewise.
21838 * elf/dl-tsd.c: Likewise.
21839 * include/errno.h: Likewise.
21840 * include/netdb.h: Likewise.
21841 * include/resolv.h: Likewise.
21842 * inet/herrno-loc.c: Likewise.
21843 * inet/herrno.c: Likewise.
21844 * malloc/arena.c: Likewise.
21845 * malloc/hooks.c: Likewise.
21846 * malloc/malloc.c: Likewise.
21847 * resolv/res-state.c: Likewise.
21848 * resolv/res_libc.c: Likewise.
21849 * sysdeps/i386/dl-machine.h: Likewise.
21850 * sysdeps/ia64/dl-machine.h: Likewise.
21851 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21852 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21853 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21854 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21855 * sysdeps/sh/dl-machine.h: Likewise.
21856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21858 * sysdeps/unix/i386/sysdep.S: Likewise.
21859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21860 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21865 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21870 * sysdeps/x86_64/dl-machine.h: Likewise.
21871 * tls.make.c: Likewise.
21873 * configure.in: Remove --with-__thread option. Make tests for
21874 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21875 tls_model attribute fail if no support is available. Remove
21877 * Makeconfig: Adjust for dropped configure option. All features are
21879 * Makerules: Likewise.
21880 * Versions.def: Likewise.
21881 * argp/argp-fmtstream.c: Likewise.
21882 * argp/argp-fmtstream.h: Likewise.
21883 * argp/argp-help.c: Likewise.
21884 * assert/assert.c: Likewise.
21885 * config.h.in: Likewise.
21886 * config.make.in: Likewise.
21887 * configure: Likewise.
21888 * configure.in: Likewise.
21889 * csu/Versions: Likewise.
21890 * csu/init.c: Likewise.
21891 * elf/tst-audit2.c: Likewise.
21892 * elf/tst-tls10.c: Likewise.
21893 * elf/tst-tls10.h: Likewise.
21894 * elf/tst-tls11.c: Likewise.
21895 * elf/tst-tls12.c: Likewise.
21896 * elf/tst-tls14.c: Likewise.
21897 * elf/tst-tlsmod11.c: Likewise.
21898 * elf/tst-tlsmod12.c: Likewise.
21899 * elf/tst-tlsmod13.c: Likewise.
21900 * elf/tst-tlsmod13a.c: Likewise.
21901 * elf/tst-tlsmod14a.c: Likewise.
21902 * elf/tst-tlsmod15b.c: Likewise.
21903 * elf/tst-tlsmod16a.c: Likewise.
21904 * elf/tst-tlsmod16b.c: Likewise.
21905 * elf/tst-tlsmod7.c: Likewise.
21906 * elf/tst-tlsmod8.c: Likewise.
21907 * elf/tst-tlsmod9.c: Likewise.
21908 * gmon/gmon.c: Likewise.
21909 * grp/fgetgrent_r.c: Likewise.
21910 * grp/putgrent.c: Likewise.
21911 * hurd/fopenport.c: Likewise.
21912 * include/libc-symbols.h: Likewise.
21913 * include/tls.h: Likewise.
21914 * intl/gettextP.h: Likewise.
21915 * intl/loadinfo.h: Likewise.
21916 * locale/global-locale.c: Likewise.
21917 * locale/localeinfo.h: Likewise.
21918 * mach/devstream.c: Likewise.
21919 * malloc/arena.c: Likewise.
21920 * malloc/set-freeres.c: Likewise.
21921 * misc/err.c: Likewise.
21922 * misc/getttyent.c: Likewise.
21923 * misc/mntent_r.c: Likewise.
21924 * posix/getopt.c: Likewise.
21925 * posix/wordexp.c: Likewise.
21926 * pwd/fgetpwent_r.c: Likewise.
21927 * resolv/Versions: Likewise.
21928 * resolv/res_hconf.c: Likewise.
21929 * shadow/fgetspent_r.c: Likewise.
21930 * shadow/putspent.c: Likewise.
21931 * stdio-common/printf_fphex.c: Likewise.
21932 * stdio-common/tmpfile.c: Likewise.
21933 * stdlib/abort.c: Likewise.
21934 * stdlib/fmtmsg.c: Likewise.
21935 * sunrpc/auth_unix.c: Likewise.
21936 * sunrpc/clnt_perr.c: Likewise.
21937 * sunrpc/clnt_tcp.c: Likewise.
21938 * sunrpc/clnt_udp.c: Likewise.
21939 * sunrpc/clnt_unix.c: Likewise.
21940 * sunrpc/openchild.c: Likewise.
21941 * sunrpc/svc_simple.c: Likewise.
21942 * sunrpc/svc_tcp.c: Likewise.
21943 * sunrpc/svc_udp.c: Likewise.
21944 * sunrpc/svc_unix.c: Likewise.
21945 * sunrpc/xdr.c: Likewise.
21946 * sunrpc/xdr_array.c: Likewise.
21947 * sunrpc/xdr_rec.c: Likewise.
21948 * sunrpc/xdr_ref.c: Likewise.
21949 * sunrpc/xdr_stdio.c: Likewise.
21951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21953 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21955 2011-07-03 Andreas Jaeger <aj@suse.de>
21957 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21958 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21959 regenerate with gen-libm-tests.pl.
21961 2010-05-12 Petr Baudis <pasky@suse.cz>
21964 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21965 around j0() zero points by switching to j1().
21966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21971 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21978 Patch in part by Pavel Roskin <proski@gnu.org>.
21981 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21983 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21984 Free memory block if necessary.
21987 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21988 be NULL. Don't lock in this case.
21990 2011-09-09 Roland McGrath <roland@hack.frob.com>
21992 * elf/elf.h (ELFOSABI_GNU): New macro.
21993 (ELFOSABI_LINUX): Define to that.
21995 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21997 * string/strncat.c (strncat): Undef the symbol in case it has been
21998 defined in bits/string.h.
22000 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22002 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22007 2011-08-17 Andreas Jaeger <aj@suse.de>
22009 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22011 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22012 Ian Lance Taylor <iant@google.com>
22014 * math/libm-test.inc (lround_test): New testcase.
22015 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22017 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22019 * Makefile: Remove support for automatic cvs check-ins.
22020 * Makerules: Likewise.
22021 * config.make.in: Likewise.
22022 * configure.in: Likewise.
22023 * intl/Makefile: Likewise.
22024 * locale/Makefile: Likewise.
22025 * po/Makefile: Likewise.
22026 * posix/Makefile: Likewise.
22027 * sysdeps/gnu/Makefile: Likewise.
22028 * sysdeps/mach/hurd/Makefile: Likewise.
22029 * sysdeps/sparc/sparc32/Makefile: Likewise.
22032 * posix/Makefile (bug-regex32-ENV): Define.
22033 Patch by John Stanley <jpsinthemix@verizon.net>.
22035 * misc/Makefile (headers): Add bits/select2.h.
22036 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22037 * misc/bits/select2.h: New file.
22038 * include/bits/select2.h: New file.
22039 * debug/Makefile (routines): Add fdelt_chk.
22040 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22041 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22043 * debug/fdelt_chk.c: New file.
22045 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22046 * wcsmbs/test-wmemcmp.c: Likewise.
22047 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22048 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22050 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22052 * string/Makefile (strop-tests): Add memcmp.
22053 * string/test-wmemcmp.c: New file.
22054 * string/test-memcmp.c: Add wmemcmp support.
22056 2011-09-08 Roland McGrath <roland@hack.frob.com>
22059 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22062 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22063 garbage value in a __mach_port_mod_refs call in the cases of the
22064 task-self and thread-self ports.
22066 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22068 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22070 2011-09-08 Andreas Schwab <schwab@redhat.com>
22072 * elf/dl-load.c (lose): Check for non-null L.
22074 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22076 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22078 * elf/dl-libc.c (dlerror_run): Pass back error code from
22082 * elf/dl-load.c (lose): Free l_origin if it is valid.
22084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22090 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22091 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22093 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22095 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22096 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22097 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22098 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22099 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22100 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22101 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22102 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22103 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22104 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22106 2011-08-15 Alan Modra <amodra@gmail.com>
22109 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22110 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22111 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22112 ppc_mcount to static-only-routines.
22113 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22115 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22116 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22118 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22120 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22121 for finite and infinity parameters.
22123 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22126 and add nop instructions for throughput optimization.
22127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22129 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22132 aligned copy for power7 with vector-scalar instructions.
22133 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22135 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22140 2011-09-07 Andreas Schwab <schwab@redhat.com>
22143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22146 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22148 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22149 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22150 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22151 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22154 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22157 Forgot to demangle the pointer.
22159 * sysdeps/i386/sysdep.h: Define atom_text_section.
22160 * sysdeps/x86_64/sysdep.h: Likewise.
22161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22162 section with atom_text_section.
22163 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22167 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22171 already be defined. Change to take two parameters and don't assign
22172 result to variable. Adjust all users.
22173 Define INTERNAL_GETTIME if not already defined.
22174 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22177 HAVE_CLOCK_GETTIME_VSYSCALL.
22178 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22181 gettimeofday vsyscall, just use time.
22183 2011-09-06 Andreas Schwab <schwab@redhat.com>
22185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22188 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22190 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22194 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22196 syscall if possible.
22198 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22200 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22201 e_ident. Don't pass to find_mapsXX.
22202 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22204 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22207 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22208 * sysdeps/x86_64/multiarch/strchr.S: Update.
22209 Check bit_slow_BSF bit.
22210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22211 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22214 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22217 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22219 (tryshell): Define.
22220 (__spawni): Change last parameter to be flag. Test
22221 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22222 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22223 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22224 * posix/spawni.c: Likewise.
22225 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22226 * posix/spawnp.c: Likewise. Change normal version to use
22227 SPAWN_XFLAGS_USE_PATH.
22228 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22229 SPAWN_XFLAGS_TRY_SHELL.
22232 * posix/glob.h: Remove gcc 1.x support.
22235 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22237 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22240 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22242 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22243 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22249 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22251 * sysdeps/x86_64/wcscmp.S: New file.
22253 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22254 wcscmp-c wcscmp-sse2
22255 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22256 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22257 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22258 * wcsmbs/wcscmp.c: Allow renaming.
22260 2011-09-05 David S. Miller <davem@davemloft.net>
22262 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22263 stack slot, rather than the struct return pointer slot.
22264 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22265 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22267 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22269 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22271 * po/ja.po: Update from translation team.
22274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22275 kernel in 64-bit binaries.
22277 2011-09-01 David S. Miller <davem@davemloft.net>
22279 * elf/elf.h (HWCAP_SPARC_*): Move to..
22280 * sysdeps/sparc/sysdep.h: this new file and add new values.
22281 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22282 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22283 _DL_HWCAP_COUNT to 24.
22284 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22286 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22287 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22288 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22290 instead of magic constants.
22291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22293 2011-08-31 David S. Miller <davem@davemloft.net>
22295 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22297 Reimplement to do errno handling inline.
22298 (SYSCALL_ERROR_HANDLER): New macro.
22299 (__SYSCALL_STRING): Do not do errno handling in asm.
22300 (__CLONE_SYSCALL_STRING): Delete.
22301 (__INTERNAL_SYSCALL_STRING): Delete.
22302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22303 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22304 (PSEUDO): Reimplement to do errno handling inline.
22305 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22306 (SYSCALL_ERROR_HANDLER): New macro.
22307 (__SYSCALL_STRING): Do not do errno handling in asm.
22308 (__CLONE_SYSCALL_STRING): Delete.
22309 (__INTERNAL_SYSCALL_STRING): Delete.
22310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22311 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22313 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22314 (inline_syscall*): Add 'err' argument.
22315 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22316 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22317 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22318 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22320 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22323 2011-08-30 Andreas Schwab <schwab@redhat.com>
22325 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22327 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22332 2011-08-24 David S. Miller <davem@davemloft.net>
22334 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22336 2011-08-24 Andreas Schwab <schwab@redhat.com>
22338 * elf/Makefile: Add rules to build and run unload8 test.
22339 * elf/unload8.c: New file.
22340 * elf/unload8mod1.c: New file.
22341 * elf/unload8mod1x.c: New file.
22342 * elf/unload8mod2.c: New file.
22343 * elf/unload8mod3.c: New file.
22345 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22348 2011-08-23 David S. Miller <davem@davemloft.net>
22350 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22351 subtract stack bias.
22352 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22353 %sp not %fp in calculations.
22354 (_JMPBUF_UNWINDS_ADJ): Likewise.
22356 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22357 (aio_suspend): Call it to force an exception region around the
22358 AIO_MISC_WAIT() invocation.
22360 2011-08-23 Andreas Schwab <schwab@redhat.com>
22362 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22365 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22367 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22369 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22370 and <dl-machine.h>.
22371 (Elf64_FuncDesc): Remove.
22373 2011-08-22 David S. Miller <davem@davemloft.net>
22375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22376 sigaltstack check, add missing cfi directives.
22377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22378 missing cfi directives, and sigaltstack handling.
22380 2011-08-16 Andreas Schwab <schwab@redhat.com>
22383 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22384 object is seen twice.
22385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22387 * elf/Makefile (distribute): Add tst-initorder2.c.
22388 (tests): Add tst-initorder2.
22389 (modules-names): Add tst-initorder2a tst-initorder2b
22390 tst-initorder2c tst-initorder2d. Add rules to build them.
22391 ($(objpfx)tst-initorder2.out): New rule.
22392 * elf/tst-initorder2.c: New file.
22393 * elf/tst-initorder2.exp: New file.
22395 2011-08-22 Andreas Schwab <schwab@redhat.com>
22397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22399 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22400 dependencies back to end of function.
22402 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22403 $(elfobjdir)/ld.so.
22405 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22408 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22410 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22411 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22412 of __vdso_gettimeofday.
22413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22414 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22416 (_libc_vdso_platform_setup): Remove initialization of
22417 __vdso_gettimeofday and __vdso_time.
22419 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22421 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22422 and fgetc_unlocked.
22423 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22426 * elf/dl-open.c (add_to_global): Report additions to the global scope
22427 for LD_DEBUG=scopes.
22428 (dl_open_worker): Also print scope of newly loaded dependencies.
22429 (_dl_show_scope): Indicate if there is no scope.
22432 * stdio-common/Makefile (tests): Add bug24.
22433 * stdio-common/bug24.c: New file.
22435 2011-08-19 Andreas Jaeger <aj@suse.de>
22438 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22439 non-existant file when using close-on-exec mode.
22441 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22444 the very first instruction.
22446 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22447 the CFI state in the end.
22448 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22449 inclusion of dl-trampoline.h.
22450 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22452 2011-08-19 Andreas Schwab <schwab@redhat.com>
22454 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22455 expectations for long double.
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22458 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22460 2011-08-14 David S. Miller <davem@davemloft.net>
22462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22463 artificual limit depends upon the system page size.
22465 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22467 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22468 * resolv/Makefile: Define CFLAGS-libresolv.
22470 2011-08-17 Andreas Schwab <schwab@redhat.com>
22472 * nss/makedb.c (compute_tables): Make variables used in nested
22475 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22477 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22478 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22479 if buffer was too small.
22481 * elf/pldd.c (main): Attach to all threads in the process.
22482 Rewrite /proc handling to use *at functions.
22484 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22486 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22487 specifies first scope to show.
22488 (dl_open_worker): Update callers. Move printing scope of new
22489 object to before the relocation.
22490 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22491 * sysdeps/generic/ldsodefs.h: Update declaration.
22493 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22494 string for the scope number.
22496 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22498 * nscd/servicescache.c (cache_addserv): Make sure written is always
22501 2011-08-14 Roland McGrath <roland@hack.frob.com>
22503 * sysdeps/i386/i486/bits/atomic.h
22504 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22505 statement expression, so as to suppress "set but not used" warning.
22506 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22508 * string/strncat.c (STRNCAT): Use prototype definition.
22510 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22511 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22513 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22514 (localedef-modules): Add localedef.
22515 (locale-modules): Add locale.
22517 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22518 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22519 to avoid a warning.
22521 2011-08-14 David S. Miller <davem@davemloft.net>
22523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22524 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22526 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22528 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22529 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22530 * elf/rtld.c (dl_main): Set l_name of vDSO.
22531 Call _dl_show_scope when DL_DEBUG_SCOPES.
22532 (process_dl_debug): Recognize scopes flag and also set it for all.
22533 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22534 Declare _dl_show_scope.
22536 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22537 (do_dlopen): Pass caller_dlopen to dl_open.
22538 (__libc_dlopen_mode): Initialize caller_dlopen.
22540 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22541 of libc. Make tolower call locale-independent. Optimize a bit by
22542 using isdigit instead of isalnum.
22543 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22545 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22547 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22548 was a dependency or dynamically loaded.
22550 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22552 * intl/l10nflist.c: Allow architecture-specific pop function.
22553 * sysdeps/x86_64/l10nflist.c: New file.
22555 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22558 2011-08-10 Andreas Schwab <schwab@redhat.com>
22560 * include/dirent.h: Add libc_hidden_proto for scandirat and
22561 scandirat64. Don't declare __scandirat64.
22562 * dirent/scandirat.c: Add libc_hidden_def.
22563 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22564 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22566 2011-08-10 David S. Miller <davem@davemloft.net>
22568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22574 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22576 * Versions.def [libc]: Add GLIBC_2.15.
22577 * dirent/Makefile (routines): Add scandirat and scandirat64.
22578 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22580 * dirent/dirent.h: Declare scandirat and scandirat64.
22581 * dirent/scandirat.c: New file.
22582 * dirent/scandirat64.c: New file.
22583 * sysdeps/wordsize-64/scandirat.c: New file.
22584 * sysdeps/wordsize-64/scandirat64.c: New file.
22585 * dirent/opendir.c: Define opendirat.
22586 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22588 * dirent/scandir64.c: Adjust for scandir.c change.
22589 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22590 __scandirat64, and __scandir_cancel_handler.
22591 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22592 additional parameter and use openat instead of open (outside of ld.so).
22593 Add new __opendir as wrapper around __opendirat.
22594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22595 here without requiring old scandirat implementation.
22597 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22599 * dirent/scandir.c (cancel_handler): Renamed to
22600 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22601 defined. Adjust users.
22602 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22605 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22607 * string/test-string.h (IMPL): Use __STRING to expand name and then
22610 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22613 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22615 * string/Makefile: Update.
22616 (strop-tests): Append strncat.
22617 * string/test-wcscmp.c: New file.
22618 New comprehensive test for wcscmp.
22619 * string/test-strcmp.c: Update.
22620 (WIDE): New define.
22622 2011-07-22 Andreas Schwab <schwab@redhat.com>
22624 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22627 2011-07-26 Andreas Schwab <schwab@redhat.com>
22629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22630 encoding to ACE if AI_IDN.
22632 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22635 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22637 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22640 Fix overflow bug in strncat.
22641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22643 * string/test-strncat.c: Update.
22644 Add new tests for checking overflow bugs.
22646 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22649 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22650 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22651 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22653 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22654 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22655 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22656 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22659 (USE_AS_STRCAT): Define.
22660 Add strcat and strncat support.
22661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22663 2011-07-25 Andreas Schwab <schwab@redhat.com>
22665 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22666 __n bigger than INT_MAX+1.
22667 (__strncmp_g): Likewise.
22669 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22671 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22672 * libio/stido.h: Likewise.
22674 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22679 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22686 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22691 (_dl_x86_64_save_sse): Likewise.
22693 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22697 (_dl_x86_64_save_sse): Likewise.
22699 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22701 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22703 2011-07-21 Andreas Schwab <schwab@redhat.com>
22705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22707 (_dl_x86_64_save_sse): Use correct AVX check.
22709 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22712 bug in strncpy/strncat.
22713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22715 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22717 * string/tester.c (test_strcat): Add tests for different alignments
22718 of source and destination.
22719 (test_strncat): Likewise.
22721 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22724 * posix/glob.c (glob): Check passed in values before using them in
22725 expressions to avoid some overflows.
22726 (glob_in_dir): Likewise.
22729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22730 check for AVX enablement so that we don't crash with old kernels and
22732 * elf/tst-audit4.c: Add same checks here.
22733 * elf/tst-audit6.c: Likewise.
22735 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22737 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22739 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22741 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22743 * po/cs.po: Update from translation team.
22744 * po/bg.po: Likewise.
22746 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22748 * misc/sys/cdefs.h: Add support for const attribute.
22749 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22750 to gnu_dev_{major,minor,makedev} functions.
22752 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22754 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22756 2011-07-20 Andreas Schwab <schwab@redhat.com>
22758 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22761 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22764 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22765 register in order to avoid conflicts with the soft frame pointer
22766 being held in r11 when necessary.
22767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22768 (INTERNAL_VSYSCALL_NCS): Likewise.
22770 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22772 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22773 * elf/dl-fini.c (_dl_fini): Adjust caller.
22774 * elf/dl-close.c (_dl_close_worker): Likewise.
22775 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22777 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22779 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22780 "aux_cache->nlibs < 0".
22782 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22783 in the reload-count case.
22785 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22788 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22789 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22790 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22791 * sysdeps/x86_64/multiarch/strcat.S: New file.
22792 * sysdeps/x86_64/multiarch/strncat.S: New file.
22793 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22795 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22796 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22798 (USE_AS_STRCAT): Define.
22799 Add strcat and strncat support.
22800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22802 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22803 * string/strncat.c: Update.
22804 (USE_AS_STRNCAT): Define.
22805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22806 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22808 * sysdeps/x86_64/multiarch/init-arch.h
22809 (bit_Prefer_PMINUB_for_stringop): New.
22810 (index_Prefer_PMINUB_for_stringop): Likewise.
22811 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22812 bit_Prefer_PMINUB_for_stringop.
22814 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22816 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22818 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22819 of casting of buffer.
22820 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22821 buffer32 and buffer64.
22822 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22823 writes instead of casting of buffer.
22824 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22826 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22829 2011-07-19 Andreas Schwab <schwab@redhat.com>
22831 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22833 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22835 * nscd/nscd.c (termination_handler): Don't do anything for a database
22836 if it has not yet been initialized.
22838 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22840 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22842 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22844 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22846 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22848 * po/nl.po: Update from translation team.
22849 * po/sv.po: Likewise.
22851 2011-07-16 Roland McGrath <roland@hack.frob.com>
22853 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22854 now disallowed by GCC.
22856 * configure.in (use-default-link): Default to yes if a test -shared
22857 link meets our qualifications.
22858 * configure: Regenerated.
22860 * config.make.in (output-format): New variable.
22861 * configure.in: Check for ld --print-output-format support.
22862 * configure: Regenerated.
22863 * Makerules ($(common-objpfx)format.lds)
22864 [$(output-format) != unknown]: Just use $(output-format),
22865 instead of the linker-script munging.
22867 2011-07-14 Roland McGrath <roland@hack.frob.com>
22869 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22870 of $(common-objpfx)shlib.lds.
22871 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22873 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22874 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22876 * configure.in (-z relro check): Adjust test code to add a large
22877 writable data section after it.
22878 * configure: Regenerated.
22880 2011-07-11 Roland McGrath <roland@hack.frob.com>
22882 * configure.in (-z relro check): Fix test code to make the variable
22884 * configure: Regenerated.
22886 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22888 * nscd/nscd.h (struct traced_file): Define.
22889 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22890 elements. Add traced_files.
22891 (inotify_fd): Declare.
22892 (register_traced_file): Declare.
22893 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22894 (inotify_fd): Export.
22895 (resolv_conf_descr): Remove.
22896 (nscd_init): Move inotify descriptor creation to main.
22897 Don't register files for notification here.
22898 (register_traced_file): New function.
22899 (invalidate_cache): Don't use reset_res to determine whether to call
22900 res_init, go through the list of registered files.
22901 (main_loop_poll): The inotify descriptors are now stored in the
22902 structures for the traced files.
22903 (main_loop_epoll): Likewise
22904 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22905 to __nss_disable_nscd.
22906 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22907 for a database anymore. Check the records for all the registered
22909 * nss/Makefile (libnss_files-routines): Add files-init.
22910 (libnss_db-routines): Add db-init.
22911 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22912 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22913 * nss/nss_db/db-init.c: New file.
22914 * nss/nss_files/files-init.c: New file.
22915 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22916 __nss_lookup_function.
22917 (__nss_lookup_function): Call nss_load_library.
22918 (nss_load_all_libraries): New function.
22919 (__nss_disable_nscd): Take parameter with callback function for files
22920 to register. Set is_nscd. Load all the DSOs for the NSS modules
22921 used for the cached services.
22922 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22923 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22924 options for features to all the files in nscd.
22926 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22928 2011-07-10 Roland McGrath <roland@hack.frob.com>
22930 * csu/elf-init.c (__libc_csu_init): Comment typo.
22932 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22934 * po/pl.po: Update from translation team.
22935 * po/ja.po: Likewise.
22936 * po/ru.po: Likewise.
22937 * po/ko.po: Likewise.
22938 * po/fr.po: Likewise.
22940 2011-07-09 Roland McGrath <roland@hack.frob.com>
22942 * configure.in (.ctors/.dtors header and trailer check):
22943 Use an empirical test on a built program.
22944 * configure: Regenerated.
22946 * configure.in (-z relro check): Use an empirical test on a built DSO.
22947 Detect, but do not require, on ia64.
22948 * configure: Regenerated.
22950 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22951 Update tests that use readelf to use $READELF instead.
22952 * configure: Regenerated.
22954 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22956 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22957 if the result is not used.
22959 2011-07-05 Andreas Jaeger <aj@suse.de>
22962 * stdlib/tst-strtod.c: Add testcase.
22964 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22966 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22967 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22968 The latter has a higher limit. Take additional parameter to pass to
22970 (__pathconf): Pass file to __statfs_link_max.
22971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22973 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22977 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22981 (__statfs_filesize_max): Likewise.
22982 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22984 2011-07-05 Andreas Jaeger <aj@suse.de>
22986 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22988 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22990 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22992 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22995 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22997 * Makefile (strop-tests): Add strncat.
22998 * string/test-strncat.c: New file.
23000 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23002 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23004 2011-06-21 Andreas Jaeger <aj@suse.de>
23006 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23007 Copy rule from iconvdata/Makefile.
23009 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23012 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23013 but no long options are defined, just return 'W'.
23015 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23018 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23020 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23022 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23024 (innetgr): Likewise.
23026 2011-07-05 Roland McGrath <roland@hack.frob.com>
23028 * config.make.in (install_root): Default to $(DESTDIR).
23030 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23034 2011-07-02 Roland McGrath <roland@hack.frob.com>
23036 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23038 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23039 containing directory rather than embedding absolute directory names.
23041 * scripts/check-local-headers.sh: Rewritten using awk.
23042 Match by word, not by line. Print error messages for matches.
23043 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23045 * Makerules [shlib-lds-flags empty]:
23046 ($(common-objpfx)libc_pic.opts): New target.
23047 ($(common-objpfx)libc_pic.os.clean): New target.
23048 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23050 * config.make.in (OBJCOPY): New variable.
23051 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23052 * configure: Regenerated.
23054 * config.make.in (use-default-link): New variable.
23055 * configure.in (use_default_link): Grok --with-default-link to set it.
23056 * configure: Regenerated.
23057 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23058 (shlib-lds, shlib-lds-flags): Define to empty.
23060 * Makerules (shlib-lds): New variable.
23061 (shlib-lds-flags): New variable.
23062 (build-shlib, build-moduile, build-module-asneeded): Use it.
23063 ($(common-objpfx)libc.so): Use $(shlib-lds).
23064 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23067 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23068 DT_FLAGS/DT_FLAGS_1 with zero flags.
23070 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23071 linker script munging.
23073 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23075 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23077 * crypt/sha512.c (sha512_process_block): Perform total addition using
23078 128-bit if possible.
23079 (__sha512_finish_ctx): Likewise.
23080 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23082 * crypt/sha256.c (SWAP64): Define.
23083 (sha256_process_block): Perform total addition using 64-bit if
23085 (__sha256_finish_ctx): Likewise.
23087 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23089 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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
23094 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23096 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23098 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23100 * nscd/hstcache.c (cache_addhst): Likewise.
23101 * nscd/grpcache.c (cache_addgr): Likewise.
23102 * nscd/aicache.c (addhstaiX): Likewise
23104 2011-07-01 Andreas Schwab <schwab@redhat.com>
23106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23107 domain only when needed.
23109 2011-06-30 Andreas Schwab <schwab@redhat.com>
23111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23112 is always restored.
23114 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23116 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23117 are re-adding the entry.
23118 * nscd/servicescache.c (cache_addserv): Likewise.
23120 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23122 * sysdeps/generic/dl-irel.h: fix protection against multiple
23124 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23126 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23129 * malloc/memusage.sh: Fix quoting in message.
23130 * debug/xtrace.sh: Likewise.
23132 * configure.in: Remove support for --experimental-malloc option, make
23134 * config.make.in: Likewise.
23135 * malloc/Makefile: Likewise.
23137 2011-06-27 Andreas Schwab <schwab@redhat.com>
23139 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23140 two-byte characters.
23142 2011-06-27 Roland McGrath <roland@hack.frob.com>
23144 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23145 AC_CACHE_CHECK invocation.
23146 * configure: Regenerated.
23148 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23150 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23153 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23154 bit from old_res_options.
23156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23158 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23159 value type for setfct.
23161 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23164 __gettimeofday instead of gettimeofday.
23166 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23168 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23170 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23177 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23180 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23181 strcpy-sse2-unaligned strncpy-sse2-unaligned
23182 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23183 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23184 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23185 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23186 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23189 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23190 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23191 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23192 (STRCPY): Support SSE2 and SSSE3 versions.
23194 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23197 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23198 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23199 kernels which artificially limit size of requests.
23201 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23204 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23205 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23206 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23207 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23208 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23209 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23210 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23213 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23214 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23215 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23216 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23217 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23219 Enable unaligned load optimization for Intel Core i3, i5 and i7
23221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23223 (index_Fast_Unaligned_Load): Define.
23224 (HAS_FAST_UNALIGNED_LOAD): Define.
23226 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23228 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23230 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23234 until it is clear that the information is realy needed.
23235 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23237 2011-06-22 Andreas Schwab <schwab@redhat.com>
23239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23241 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23244 /sys/devices/system/cpu/online if it is usable.
23246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23247 reading the information from the /proc filesystem to once a second.
23249 2011-06-21 Andreas Jaeger <aj@suse.de>
23251 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23252 NULL after inclusion of kernel headers.
23254 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23256 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23257 calls to internal_setent.
23260 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23261 addresses using gethostbyname4_r ignore IPv4 addresses.
23263 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23264 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23266 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23268 2011-06-20 David S. Miller <davem@davemloft.net>
23270 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23272 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23274 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23275 (elf_irel): Use it.
23276 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23277 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23278 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23279 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23280 * sysdeps/x86_64/dl-irel.h: Likewise.
23282 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23283 * elf/dl-sym.c: Likewise.
23285 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23287 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23288 need to dereference resplen2.
23290 2011-06-14 Andreas Schwab <schwab@redhat.com>
23292 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23294 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23296 * Makeconfig: Define vardbdir and inst_vardbdir.
23297 * nss/Makefile: Add rules to install db-Makefile.
23299 * nss/nss_db/db-XXX.c: Cleanup.
23301 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23302 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23304 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23305 * nss/makedb.c: Implement -g option to specify that value strings
23306 are generated and should not be added to table iterated over for
23308 * nss/nss_db/db-initgroups.c: New file.
23310 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23313 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23314 (internal_getgrouplist): Adjust to name change.
23315 Update use_initgroups_entry if this is not the first call.
23316 * nss/databases.def: Add initgroups entry.
23318 * nss/makedb.c (compute_tables): Check result of multiple hash table
23319 sizes to minimize maximum chain length.
23321 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23323 * Versions.def: Add entry for libnss_db.
23324 * shlib-versions: Likewise.
23325 * nss/Makefile: Add rules to build libnss_db.
23326 * nss/Versions: Add libnss_db information. Organize libnss_files
23328 * nss/db-Makefile: Add gshadow support. Change rules for the new
23329 makedb progra. Some minor improvements to generate smaller files.
23330 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23332 * nss/makedb.c: ...here.
23333 Improve database format to be smaller and require less memory at
23335 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23337 * nss/nss_db/db-netgrp.c: Likewise.
23338 * nss/nss_db/db-open.c: Likewise.
23339 * nss/nss_files/flies-XXX.x: Adjust comments.
23340 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23341 * nss/nss_files/files-grp.c: Likewise.
23342 * nss/nss_files/files-hosts.c: Likewise.
23343 * nss/nss_files/files-network.c: Likewise.
23344 * nss/nss_files/files-proto.c: Likewise.
23345 * nss/nss_files/files-pwd.c: Likewise.
23346 * nss/nss_files/files-rpc.c: Likewise.
23347 * nss/nss_files/files-service.c: Likewise.
23348 * nss/nss_files/files-sgrp.c: Likewise.
23349 * nss/nss_files/files-spwd.c: Likewise.
23350 * nss/nss_db/db-alias.c: Removed.
23351 * nss/nss_db/dummy-db.h: Removed.
23353 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23355 * nss/makedb.c: Rewritten to not use database library.
23356 * nss/Makefile: Update to build new makedb program.
23358 2011-06-14 Andreas Jaeger <aj@suse.de>
23360 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23361 memset declaration.
23363 2011-06-10 Andreas Schwab <schwab@redhat.com>
23365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23368 2011-06-10 Roland McGrath <roland@hack.frob.com>
23370 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23371 * elf/Makefile ($(objpfx)ld.so): Likewise.
23373 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23374 Don't list ld.so twice in dependencies.
23376 * posix/bug-regex31.c: Include <stdlib.h>.
23378 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23380 * nis/nss_compat/compat-spwd.c
23381 (getspent_next_nss_netgr): Remove unused variable.
23382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23384 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23385 nonmembers" output to use the right array.
23387 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23389 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23391 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23392 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23393 * catgets/gencat.c (read_input_file): Likewise.
23394 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23396 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23397 variable definition inside #if's controlling its use.
23399 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23401 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23403 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23405 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23408 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23410 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23411 * configure: Regenerated.
23413 * Makerules: Revert last change.
23414 * elf/Makefile: Likewise.
23416 2011-06-09 Roland McGrath <roland@hack.frob.com>
23418 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23419 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23420 (reloc-link): Likewise.
23422 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23424 * elf/Makefile: Add rules to build pldd.
23425 * elf/pldd.c: New file.
23426 * elf/pldd-xx.c: New file.
23428 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23430 * version.h: Update for 2.15 development version.
23432 2011-06-07 David S. Miller <davem@davemloft.net>
23434 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23437 elf_machine_lazy_rel): Likewise.
23438 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23440 elf_machine_lazy_rel): Likewise.
23441 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23442 dl_hwcap via passed in argument.
23443 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23446 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23448 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23450 2011-06-06 Roland McGrath <roland@hack.frob.com>
23453 * manual/fdl-1.1.texi: New file, verbatim from:
23454 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23455 * manual/lgpl-2.1.texi: New file, verbatim from:
23456 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23457 * manual/Makefile (licenses): New variable, list those new file names.
23459 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23461 * manual/fdl.texi: File removed.
23462 * manual/lesser.texi: File removed.
23463 * manual/libc.texinfo (Copying, Documentation License):
23464 Use new @include file names, put @appendix directive before @include.
23466 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23469 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23470 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23471 (mq_open): Add __NTH.
23473 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23476 Assume Intel Core i3/i5/i7 processor if AVX is available.
23478 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23483 2011-05-31 Andreas Schwab <schwab@redhat.com>
23485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23486 memory. Use alloca_account. Fix memory leak when retrying.
23488 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23490 * version.h (RELEASE): Bump for 2.14 release.
23491 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23493 * config.make.in (RANLIB): Remove entry.
23495 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23497 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23498 (libc.pot): Work around missing support for .ksh extension in xgettext.
23501 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23502 if both request failed.
23503 (send_dg): In case of server errors clear resplen or *resplen2.
23506 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23507 when there are multiple maps.
23508 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23509 (_dl_fini): Remove test here.
23511 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23513 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23516 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23517 bit from old_res_options.
23518 (gaih_inet): Likewise.
23521 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23524 * resolv/res_init.c (res_setoptions): Make the code more compact.
23527 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23531 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23533 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23536 * malloc/malloc.h: Declare malloc hook variables as volatile.
23538 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23542 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23543 raise in the comment.
23544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23546 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23548 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23551 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23552 grow the buffers more if it already has to be sufficient.
23553 (build_wcs_upper_buffer): Likewise.
23554 * posix/regexec.c (check_matching): Likewise.
23555 (clean_state_log_if_needed): Likewise.
23556 (extend_buffers): Don't enlarge buffers beyond size of the input
23558 Patches mostly by Emil Wojak <emil@wojak.eu>.
23559 * posix/bug-regex32.c: New file.
23560 * posix/Makefile (tests): Add bug-regex32.
23562 * locale/findlocale.c (_nl_find_locale): Return right away if
23563 _nl_explode_name failed.
23564 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23566 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23568 * debug/xtrace.sh: Unify messages.
23569 * malloc/memusage.sh: Likewise.
23572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23573 time symbol from vDSO. Substitute with vsyscall if not available.
23574 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23578 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23579 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23580 Add sendmmsg and internal_sendmmsg.
23581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23582 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23585 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23586 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23589 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23593 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23599 * iconvdata/Makefile (tests): Add bug-iconv9.
23600 * iconvdata/bug-iconv9.c: New file.
23602 2011-05-27 Andreas Schwab <schwab@redhat.com>
23605 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23607 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23610 (struct user_regs_struct): Change intcs field back to cs.
23612 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23614 * po/ja.po: Update from translation team.
23616 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23619 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23620 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23622 2011-05-20 Andreas Schwab <schwab@redhat.com>
23624 * stdlib/longlong.h: Update from GCC.
23626 2011-05-23 Andreas Schwab <schwab@redhat.com>
23628 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23630 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23631 Add parameter name.
23632 (__sysconf): Pass it down.
23634 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23637 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23640 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23641 add in in __libc_use_alloca calls. Adjust callers.
23642 (glob): Use malloc in some situations.
23644 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23645 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23648 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23650 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23651 and CLOCK_BOOTTIME_ALARM.
23654 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23657 * string/_strerror.c (__strerror_r): Print negative errors as signed
23661 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23662 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23663 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23665 * configure.in: Fix typo in redirection and correct removal of test
23666 files in two cases.
23669 * locale/setlocale.c (new_composite_name): Fix test to check for
23670 identical name of all categories.
23673 * libio/filedoalloc.c (local_isatty): New function.
23674 (_IO_file_doallocate): Use local_isatty.
23675 * stdio-common/perror.c (perror): In case a new stream is used
23676 forward the stream error.
23677 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23680 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23685 * include/alloca.h (extend_alloca_account): Define.
23688 * posix/regex.h: Fix comments with documentation of user-accessible
23689 fields after compilation and describe correct free'ing of pattern
23690 after re_compile_pattern.
23691 Patch by Reuben Thomas <rrt@sc3d.org>.
23693 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23695 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23696 and -mno-altivec to prevent the compiler from using Altivec and/or
23697 VSX instructions when the corresponding registers are not available.
23699 2011-05-19 Andreas Schwab <schwab@redhat.com>
23701 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23703 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23705 * libio/freopen.c (freopen): Use __dup2, not dup2.
23706 * libio/freopen64.c (freopen64): Likewise.
23708 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23711 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23712 * math/Makefile (tests): Add test-powl.
23713 (CFLAGS-test-powl.c): Define.
23714 * math/test-powl.c: New file.
23716 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23718 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23720 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23723 * iconvdata/gb18030.c: Update to GB18020-2005.
23725 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23727 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23728 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23729 Patch by Aharon Robbins <arnold@skeeve.com>.
23732 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23736 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23737 through underflows.
23740 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23741 point to strings before performing equality test for error_one_per_line
23745 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23749 (struct user_fpregs_struct): Avoid __uint*_t types.
23752 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23753 symbol info. Use it instead of calling _dl_addr locally.
23754 (lock_and_info): New function.
23755 (tr_freehook): Call lock_and_info and pass symbol info as additional
23756 parameter to tr_where.
23757 (tr_mallochook): Likewise.
23758 (tr_reallochook): Likewise.
23759 (tr_memalignhook): Likewise.
23761 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23762 used and couldn't be at all thread-safe.
23764 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23766 * libio/freopen.c (freopen): Don't close old file descriptor
23767 before the new one is opened. Instead dup the new file descriptor
23768 to the old one after the new stream is created.
23769 * libio/freopen64.c (freopen64): Likewise.
23770 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23771 * libio/fileops.c (_IO_new_file_close_it): Handle new
23772 _IO_FLAGS2_NOCLOSE flag.
23773 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23774 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23775 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23776 _IO_FLAGS2_NOCLOSE flag.
23777 * include/unistd.h: Add hidden_proto for dup3.
23778 Define __have_dup3.
23779 * io/dup3.c: Define hidden symbol.
23780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23783 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23784 when an incomplete long option is used.
23785 * posix/tst-getopt_long1.c: New file.
23786 * posix/Makefile (tests): Add tst-getopt_long1.
23789 * scripts/config.guess: Update from autoconf-2.68.
23790 * scripts/config.sub: Likewise.
23793 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23795 (has_cpuclock): ...this. New function.
23796 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23797 macro here based on has_cpuclock code.
23800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23801 First byte (not low byte) is now always NUL.
23802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23805 Use non-cancelable interfaces.
23808 * locale/iso-639.def: Add entry for Sorani.
23811 * include/stdlib.h: Move include protection to the right place.
23812 Define abort_msg_s. Declare __abort_msg with it.
23813 * stdlib/abort.c (__abort_msg): Adjust type.
23814 * assert/assert.c (__assert_fail_base): New function. Majority
23815 of code from __assert_fail. Allocate memory for __abort_msg with
23817 (__assert_fail): Now call __assert_fail_base.
23818 * assert/assert-perr.c: Remove bulk of implementation. Use
23819 __assert_fail_base.
23820 * include/assert.hL Declare __assert_fail_base.
23821 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23823 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23825 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23829 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23830 until all modules are registered in the DTV.
23831 * elf/Makefile: Add rules to build and run tst-tls19.
23832 * elf/tst-tls19.c: New file.
23833 * elf/tst-tls19mod1.c: New file.
23834 * elf/tst-tls19mod2.c: New file.
23835 * elf/tst-tls19mod3.c: New file.
23836 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23839 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23843 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23844 two-byte sequence errors.
23845 * iconvdata/Makefile (tests): Add bug-iconv8.
23846 * iconvdata/bug-iconv8.c: New file.
23849 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23852 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23855 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23856 (dummy_getcfa): New function.
23857 (init): Get _Unwind_GetCFA address, use dummy if not found.
23858 (backtrace_helper): In recursion check, also check whether CFA changes.
23859 (__backtrace): Completely initialize arg.
23861 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23862 storing incomplete byte sequence in state object. Avoid testing for
23863 guaranteed too small input if we know there is enough data available.
23865 2011-05-11 Andreas Schwab <schwab@redhat.com>
23867 * Makeconfig (+link-pie): Indent.
23868 * Rules (binaries-pie): Define if $(have-fpie) and
23870 (binaries-shared): Also filter out $(binaries-pie).
23871 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23872 * nscd/Makefile (others-pie): Add nscd.
23873 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23874 ($(objpfx)nscd): Remove command override.
23875 * login/Makefile (others-pie): Add pt_chown.
23876 ($(objpfx)pt_chown): Remove command override.
23877 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23878 remove command overrides.
23880 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23882 * libio/tst_putwc.c: Fix error messages.
23885 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23886 currently writing and seek to current position when not.
23887 * libio/Makefile (tests): Add bug-fclose1.
23888 * libio/bug-fclose1.c: New file.
23890 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23893 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23894 don't set DF_1_NODELETE here.
23895 (do_lookup_x): When entering new entry test for copy relocation
23896 and if necessary set DF_1_NODELETE flag.
23897 * elf/tst-unique4.cc: New file.
23898 * elf/tst-unique4.h: New file.
23899 * elf/tst-unique4lib.cc: New file.
23900 * elf/Makefile: Add rules to build and run tst-unique4.
23901 Patch by Piotr Bury <pbury@goahead.com>.
23903 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23906 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23909 * misc/mntent_r.c (addmntent): Flush the stream after the output
23912 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23913 (is_trusted_path_normalize): Skip initial colon. Append slash
23914 to empty buffer. Duplicate is_trusted_path code but allow
23915 constructed patch to be prefix.
23916 (is_dst): Allow $ORIGIN followed by /.
23917 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23918 Correct testing of result of is_trusted_path_normalize
23919 (decompose_rpath): Fix warning.
23921 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23924 * grp/initgroups.c (internal_getgrouplist): When we found the service
23925 list through the initgroups entry in nsswitch.conf do not always
23926 continue on a successful lookup. Don't always use the
23927 __nss_group_database value if it is set.
23928 * nss/nsswitch.conf (initgroups): Change action for successful db
23929 lookup to continue for compatibility.
23931 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23934 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23936 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23938 * iconvdata/tst-tables.sh: Likewise.
23939 * iconvdata/cp770.c: New file.
23940 * iconvdata/cp771.c: New file.
23941 * iconvdata/cp772.c: New file.
23942 * iconvdata/cp773.c: New file.
23943 * iconvdata/cp774.c: New file.
23944 * iconvdata/testdata/CP770: New file.
23945 * iconvdata/testdata/CP770..UTF8: New file.
23946 * iconvdata/testdata/CP771: New file.
23947 * iconvdata/testdata/CP771..UTF8: New file.
23948 * iconvdata/testdata/CP772: New file.
23949 * iconvdata/testdata/CP772..UTF8: New file.
23950 * iconvdata/testdata/CP773: New file.
23951 * iconvdata/testdata/CP773..UTF8: New file.
23952 * iconvdata/testdata/CP774: New file.
23953 * iconvdata/testdata/CP774..UTF8: New file.
23955 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23957 * iconvdata/gen-8bit-gap.sh: Likewise.
23958 * iconvdata/gen-8bit.sh: Likewise.
23960 * locale/iso-639.def: Add ary entry.
23963 * locale/C-translit.h.in: Add U20A1 transliteration.
23966 * locale/iso-639.def: Add wae entry.
23967 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23970 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23974 * locale/C-translit.h.in: Add entry for U20B9.
23975 Patch by pravin.d.s@gmail.com.
23977 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23980 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23981 ENAMETOOLONG use generic getcwd.
23982 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23983 in rtld. Use *stat64.
23984 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23985 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23986 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23987 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23988 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23989 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23990 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23991 __fstatat64 macros.
23992 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23993 * dirent/rewinddir.c: Add libc_hidden_def.
23994 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23995 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23997 * include/dirent.h (__alloc_dir): Add flags parameter.
23998 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23999 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24001 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24002 from fdopendir if O_CLOEXEC is already set.
24004 2011-03-15 Alan Modra <amodra@gmail.com>
24006 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24007 l_tls_firstbyte_offset non-zero. Save padding offset in
24008 l_tls_firstbyte_offset for later use.
24009 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24010 freeing static tls block.
24012 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24014 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24015 where #ifdef was intended. The intent is to prevent ARG_MAX from
24016 being defined by the kernel headers.
24018 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24021 * resolv/resolv.h: Define RES_NOTLDQUERY.
24022 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24023 no-tld-query and set RES_NOTLDQUERY.
24024 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24025 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24026 modern BIND to search name as TLD unless forbidden.
24028 2011-05-07 Petr Baudis <pasky@suse.cz>
24029 Ulrich Drepper <drepper@gmail.com>
24032 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24033 (is_trusted_path): ...to here.
24034 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24035 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24036 using is_trusted_path_normalize() in setuid scripts.
24038 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24041 __BEGIN/__END_DECLS.
24043 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24046 NSS_STATUS_NOTFOUND if no record was found.
24048 2011-05-05 Andreas Schwab <schwab@redhat.com>
24050 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24051 (headers-not-in-tirpc): Remove rpc/netdb.h
24052 * resolv/netdb.h: Revert last change.
24054 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24056 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24057 circular dependency between libgcc.a and libc.a.
24059 2011-05-05 Andreas Schwab <schwab@redhat.com>
24061 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24062 * nis/Makefile: Don't install rpcsvc/*.
24063 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24064 instead of <rpc/types.h>.
24065 (MAXHOSTNAMELEN): Define.
24067 2011-05-03 Andreas Schwab <schwab@redhat.com>
24069 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24071 2011-04-28 Maciej Babinski <mbabinski@google.com>
24074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24075 gethostbyname4_r when IPv6 results are possible.
24077 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24080 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24081 _PC_PIPE_BUF handling.
24083 2011-04-30 Bruno Haible <bruno@clisp.org>
24086 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24087 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24089 * inet/getnameinfo.c (getnameinfo): Likewise.
24091 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24093 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24094 to groups setting in database lookup.
24095 * nss/nsswitch.conf: Add initgroups entry.
24097 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24100 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24102 Patch by Eric Blake <eblake@redhat.com>.
24104 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24106 * sunrpc/Makefile (need-export-routines): Add svc_run.
24107 (routines): Remove svc_run.
24108 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24109 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24110 * sunrpc/svc_run.c (svc_run): Likewise.
24111 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24113 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24116 problem in reallocation in last patch.
24118 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24120 * sunrpc/Makefile: Move inclusion of Rules.
24122 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24124 * nss/nss_files/files-initgroups.c: New file.
24125 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24126 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24127 _nss_files_initgroups_dyn.
24129 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24131 * elf/elf.h (R_ARM_IRELATIVE): Define.
24133 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24135 * po/ru.po: Update from translation team.
24137 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24139 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24142 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24146 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24151 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24159 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24164 * stdlib/bug-getcontext.c: New file.
24165 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24167 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24169 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24170 instructions into .machine "z9-109".
24171 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24172 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24174 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24176 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24177 between environment variables and auxiliary vector.
24179 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24181 * Makefile: Add rules to build linkobj/libc.so.
24182 * include/libc-symbols.h: Define libc_hidden_nolink.
24183 * include/rpc/auth.h: Mark functions which are to be hidden.
24184 * include/rpc/auth_des.h: Likewise.
24185 * include/rpc/auth_unix.h: Likewise.
24186 * include/rpc/clnt.h: Likewise.
24187 * include/rpc/des_crypt.h: Likewise.
24188 * include/rpc/key_prot.h: Likewise.
24189 * include/rpc/pmap_clnt.h: Likewise.
24190 * include/rpc/pmap_prot.h: Likewise.
24191 * include/rpc/pmap_rmt.h: Likewise.
24192 * include/rpc/rpc_msg.h: Likewise.
24193 * include/rpc/svc.h: Likewise.
24194 * include/rpc/svc_auth.h: Likewise.
24195 * include/rpc/xdr.h: Likewise.
24196 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24197 * nss/Makefile: Likewise.
24198 * sunrpc/Makefile: Don't install headers. Build library with normal
24199 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24200 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24201 for the compat linking library. Remove use of INTDEF/INTUSE.
24202 * sunrpc/auth_none.c: Likewise.
24203 * sunrpc/auth_unix.c: Likewise.
24204 * sunrpc/authdes_prot.c: Likewise.
24205 * sunrpc/authuxprot.c: Likewise.
24206 * sunrpc/clnt_gen.c: Likewise.
24207 * sunrpc/clnt_perr.c: Likewise.
24208 * sunrpc/clnt_raw.c: Likewise.
24209 * sunrpc/clnt_simp.c: Likewise.
24210 * sunrpc/clnt_tcp.c: Likewise.
24211 * sunrpc/clnt_udp.c: Likewise.
24212 * sunrpc/clnt_unix.c: Likewise.
24213 * sunrpc/des_crypt.c: Likewise.
24214 * sunrpc/des_soft.c: Likewise.
24215 * sunrpc/get_myaddr.c: Likewise.
24216 * sunrpc/key_call.c: Likewise.
24217 * sunrpc/key_prot.c: Likewise.
24218 * sunrpc/netname.c: Likewise.
24219 * sunrpc/pm_getmaps.c: Likewise.
24220 * sunrpc/pm_getport.c: Likewise.
24221 * sunrpc/pmap_clnt.c: Likewise.
24222 * sunrpc/pmap_prot.c: Likewise.
24223 * sunrpc/pmap_prot2.c: Likewise.
24224 * sunrpc/pmap_rmt.c: Likewise.
24225 * sunrpc/publickey.c: Likewise.
24226 * sunrpc/rpc_cmsg.c: Likewise.
24227 * sunrpc/rpc_common.c: Likewise.
24228 * sunrpc/rpc_dtable.c: Likewise.
24229 * sunrpc/rpc_prot.c: Likewise.
24230 * sunrpc/rpc_thread.c: Likewise.
24231 * sunrpc/rtime.c: Likewise.
24232 * sunrpc/svc.c: Likewise.
24233 * sunrpc/svc_auth.c: Likewise.
24234 * sunrpc/svc_authux.c: Likewise.
24235 * sunrpc/svc_raw.c: Likewise.
24236 * sunrpc/svc_run.c: Likewise.
24237 * sunrpc/svc_simple.c: Likewise.
24238 * sunrpc/svc_tcp.c: Likewise.
24239 * sunrpc/svc_udp.c: Likewise.
24240 * sunrpc/svc_unix.c: Likewise.
24241 * sunrpc/svcauth_des.c: Likewise.
24242 * sunrpc/xcrypt.c: Likewise.
24243 * sunrpc/xdr.c: Likewise.
24244 * sunrpc/xdr_array.c: Likewise.
24245 * sunrpc/xdr_float.c: Likewise.
24246 * sunrpc/xdr_intXX_t.c: Likewise.
24247 * sunrpc/xdr_mem.c: Likewise.
24248 * sunrpc/xdr_rec.c: Likewise.
24249 * sunrpc/xdr_ref.c: Likewise.
24250 * sunrpc/xdr_sizeof.c: Likewise.
24251 * sunrpc/xdr_stdio.c: Likewise.
24253 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24256 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24257 * sysdeps/ia64/dl-tls.h: Likewise.
24258 * sysdeps/powerpc/dl-tls.h: Likewise.
24259 * sysdeps/s390/dl-tls.h: Likewise.
24260 * sysdeps/sh/dl-tls.h: Likewise.
24261 * sysdeps/sparc/dl-tls.h: Likewise.
24262 * sysdeps/x86_64/dl-tls.h: Likewise.
24263 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24265 2011-03-14 Andreas Schwab <schwab@redhat.com>
24267 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24268 rpath element also skip the following colon.
24269 (expand_dynamic_string_token): Add is_path parameter and pass
24270 down to DL_DST_REQUIRED and _dl_dst_substitute.
24271 (decompose_rpath): Call expand_dynamic_string_token with
24272 non-zero is_path. Ignore empty rpaths.
24273 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24276 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24281 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24284 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24285 Patch by Filipe David Manana <fdmanana@apache.org>.
24287 2011-04-07 Andreas Schwab <schwab@redhat.com>
24289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24290 Maintain aligned stack.
24291 (CHECK_RSP): Remove unused macro.
24293 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24295 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24298 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24300 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24302 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24304 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24307 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24308 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24309 * sysdeps/x86_64/memmove.c: New file.
24310 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24311 (memcpy): Renamed to ...
24312 (__new_memcpy): This.
24313 (memcpy): Provide GLIBC_2_14 memcpy.
24314 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24315 (memcpy): Provide GLIBC_2_2_5 memcpy.
24317 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24320 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24322 2011-03-30 Andreas Schwab <schwab@redhat.com>
24324 * misc/syncfs.c: New file.
24325 * misc/Makefile (routines): Add syncfs.
24326 * posix/unistd.h: Declare syncfs.
24327 * sysdeps/unix/syscalls.list: Add syncfs.
24329 2011-04-01 Andreas Schwab <schwab@redhat.com>
24331 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24341 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24351 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24352 sync_file_range.c with -fexceptions.
24353 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24354 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24355 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24356 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24357 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24358 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24360 sync_file_range as cancellation point
24361 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24362 now a wrapper around __call_sync_file_range with cancellation handling.
24363 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24364 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24365 function name to __call_sync_file_range.
24366 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24367 Add call_sync_file_range.
24369 2011-04-01 Andreas Schwab <schwab@redhat.com>
24371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24374 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24376 * iconv/iconv.h: Fix typo in comment.
24377 * io/fcntl.h: Likewise.
24378 * libio/stdio.h: Likewise.
24379 * posix/spawn.h: Likewise.
24380 * posix/unistd.h: Likewise.
24381 * stdlib/stdlib.h: Likewise.
24382 * time/time.h: Likewise.
24383 * wcsmbs/wchar.h: Likewise.
24385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24386 open_by_handle): Add.
24387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24388 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24389 Augment a few comments.
24390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24395 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24398 * io/fcntl.h (AT_EMPTY_PATH): Define.
24400 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24402 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24403 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24404 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24406 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24407 * Versions.def: Add GLIBC_2.14.
24408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24411 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24417 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24420 * string/test-strncmp.c (do_page_test): New function.
24421 (check2): Likewise.
24422 (test_main): Call check2.
24423 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24425 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24428 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24429 Handle cache information in CPU leaf 4.
24430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24432 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24435 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24436 character representation.
24437 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24439 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24441 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24442 END(__isnan) to END(__isnanf) to match function entry point/label
24443 EALIGN(__isnanf,...).
24445 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24447 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24449 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24452 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24453 copy from the symbol referenced in the relocation to initialize the
24455 Patch by Piotr Bury <pbury@goahead.com>.
24456 * elf/Makefile: Add rules to build and tst-unique3.
24457 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24458 * elf/tst-unique3.cc: New file.
24459 * elf/tst-unique3.h: New file.
24460 * elf/tst-unique3lib.cc: New file.
24461 * elf/tst-unique3lib2.cc: New file.
24463 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24465 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24467 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24468 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24471 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24473 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24474 to-be-loaded object along a path to loader is ld.so.
24476 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24477 Ulrich Drepper <drepper@gmail.com>
24479 * sysdeps/x86_64/memset.S: After aligning destination, code
24480 branches to different locations depending on the value of
24481 misalignment, when multiarch is enabled. Fix this.
24483 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24485 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24486 Set _x86_64_preferred_memory_instruction for AMD processsors.
24487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24488 Set bit_Prefer_SSE_for_memop for AMD processors.
24490 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24492 * libio/fmemopen.c (fmemopen): Optimize a bit.
24494 2011-03-03 Andreas Schwab <schwab@redhat.com>
24496 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24498 2011-03-03 Roland McGrath <roland@redhat.com>
24500 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24502 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24504 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24505 __bzero_ultra1 instead of __memset_ultra1.
24507 2011-02-23 Andreas Schwab <schwab@redhat.com>
24508 Ulrich Drepper <drepper@gmail.com>
24511 * include/link.h (struct link_map): Add l_orig_initfini.
24512 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24513 returning unsuccessfully.
24514 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24515 close of a file loaded at startup, restore the original l_initfini
24517 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24518 list, store the pointer.
24519 * elf/Makefile ($(objpfx)noload-mem): New rule.
24520 (noload-ENV): Define.
24521 (tests): Add $(objpfx)noload-mem.
24522 * elf/noload.c: Include <memcheck.h>.
24523 (main): Call mtrace. Close all opened handles.
24525 2011-02-17 Andreas Schwab <schwab@redhat.com>
24528 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24529 dependencies are missing.
24531 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24533 Fix __if_freereq crash: Unlike the generic version which uses free,
24535 * sysdeps/mach/hurd/ifreq.h: New file.
24537 2011-01-27 Petr Baudis <pasky@suse.cz>
24538 Ulrich Drepper <drepper@gmail.com>
24541 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24542 to extend_alloca().
24543 * stdio-common/bug23.c: New file.
24544 * stdio-common/Makefile (tests): Add bug23.
24546 2010-09-28 Andreas Schwab <schwab@redhat.com>
24547 Ulrich Drepper <drepper@gmail.com>
24550 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24551 before performing relro protection. At old place add assertion
24552 to make sure nothing changed.
24554 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24555 Glauber de Oliveira Costa <glommer@gmail.com>
24557 * elf/elf.h: Add new ARM TLS relocs.
24559 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24562 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24564 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24566 * sysdeps/wordsize-64/tst-writev.c: New file.
24568 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24570 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24571 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24572 insns in _dl_start to prevent a TOC reference before relocs are
24575 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24578 * Makeconfig: Remove RANLIB definition.
24579 * Makerules: Don't use RANLIB.
24580 * aclocal.m4: Remove ranlib test.
24581 * configure.in: No need to check for ranlib.
24582 * elf/rtld-Rules: Don't use RANLIB.
24584 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24586 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24588 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24589 inclusion protection macro.
24591 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24592 SIGRTMIN and SIGRTMAX and print information in that case only when
24593 SIGRTMIN is defined.
24595 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24597 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24598 arginfo fn returning -1.
24600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24601 and thousands string is zero terminated.
24603 2011-02-03 Andreas Schwab <schwab@redhat.com>
24605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24606 sysdeps/unix/sysv/linux/bits/socket.h.
24608 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24610 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24611 (__CPU_COUNT): Remove old macros.
24612 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24613 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24614 (__CPU_ALLOC, __CPU_FREE): Add macros.
24615 (__sched_cpualloc, __sched_cpufree): Add declarations.
24617 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24619 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24620 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24621 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24622 (readdhstai): Return value of addhstaiX call.
24623 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24624 (addgrbyX): Return value returned by cache_addgr.
24625 (readdgrbyname): Return value returned by addgrbyX.
24626 (readdgrbygid): Likewise.
24627 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24628 (addpwbyX): Return value returned by cache_addpw.
24629 (readdpwbyname): Return value returned by addhstbyX.
24630 (readdpwbyuid): Likewise.
24631 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24632 (addservbyX): Return value returned by cache_addserv.
24633 (readdservbyname): Return value returned by addservbyX:
24634 (readdservbyport): Likewise.
24635 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24636 (addhstbyX): Return value returned by cache_addhst.
24637 (readdhstbyname): Return value returned by addhstbyX.
24638 (readdhstbyaddr): Likewise.
24639 (readdhstbynamev6): Likewise.
24640 (readdhstbyaddrv6): Likewise.
24641 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24642 (readdinitgroups): Return value returned by addinitgroupsX.
24643 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24644 (prune_cache): Keep track of timeout value of re-added entries.
24645 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24646 * nscd/nscd.h: Adjust prototypes of readd* functions.
24648 2011-02-04 Roland McGrath <roland@redhat.com>
24650 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24651 (nis_stats): Likewise.
24652 * nis/nis_modify.c (nis_modify): Likewise.
24653 * nis/nis_remove.c (nis_remove): Likewise.
24654 * nis/nis_add.c (nis_add): Likewise.
24656 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24658 * posix/fnmatch_loop.c: Add some consts.
24660 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24662 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24665 * config.make.in (config-cflags-novzeroupper): Define.
24666 * configure.in: Substitute libc_cv_cc_novzeroupper.
24667 * elf/Makefile (AVX-CFLAGS): Define.
24668 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24669 (CFLAGS-tst-auditmod4a.c): Likewise.
24670 (CFLAGS-tst-auditmod4b.c): Likewise.
24671 (CFLAGS-tst-auditmod6b.c): Likewise.
24672 (CFLAGS-tst-auditmod6c.c): Likewise.
24673 (CFLAGS-tst-auditmod7b.c): Likewise.
24674 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24676 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24678 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24679 function to the callback.
24680 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24682 2011-02-02 Andreas Schwab <schwab@redhat.com>
24684 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24687 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24690 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24692 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24694 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24697 * elf/Makefile: Add rules to build and run new test.
24698 * elf/tst-initorder.c: New file.
24699 * elf/tst-initorder.exp: New file.
24700 * elf/tst-initordera1.c: New file.
24701 * elf/tst-initordera2.c: New file.
24702 * elf/tst-initordera3.c: New file.
24703 * elf/tst-initordera4.c: New file.
24704 * elf/tst-initorderb1.c: New file.
24705 * elf/tst-initorderb2.c: New file.
24706 * elf/tst-order-a1.c: New file.
24707 * elf/tst-order-a2.c: New file.
24708 * elf/tst-order-a3.c: New file.
24709 * elf/tst-order-a4.c: New file.
24710 * elf/tst-order-b1.c: New file.
24711 * elf/tst-order-b2.c: New file.
24712 * elf/tst-order-main.c: New file.
24713 New test case by George Gensure <werkt0@gmail.com>.
24715 2010-10-01 Andreas Schwab <schwab@redhat.com>
24717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24718 decoding ACE if AI_CANONIDN.
24720 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24722 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24724 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24726 * version.h (RELEASE): Bump for 2.13 release.
24727 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24729 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24733 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24740 * posix/getconf.c: Update copyright year.
24741 * catgets/gencat.c: Likewise.
24742 * csu/version.c: Likewise.
24743 * debug/catchsegv.sh: Likewise.
24744 * debug/xtrace.sh: Likewise.
24745 * elf/ldconfig.c: Likewise.
24746 * elf/ldd.bash.in: Likewise.
24747 * elf/sprof.c (print_version): Likewise.
24748 * iconv/iconv_prog.c: Likewise.
24749 * iconv/iconvconfig.c: Likewise.
24750 * locale/programs/locale.c: Likewise.
24751 * locale/programs/localedef.c: Likewise.
24752 * malloc/memusage.sh: Likewise.
24753 * malloc/mtrace.pl: Likewise.
24754 * nscd/nscd.c (print_version): Likewise.
24755 * nss/getent.c: Likewise.
24757 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24758 PF_CAIF, and PF_ALG.
24759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24761 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24763 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24764 (modules-names): Use them.
24765 (ifunc-test-modules, ifunc-pie-tests): Define.
24766 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24767 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24768 (test-extras): Likewise.
24769 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24770 $(compile-command.c).
24771 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24772 (all-built-dso): Define.
24773 (check-textrel.out, check-execstack.out): Depend on it.
24775 * configure.in: Don't override --enable-multi-arch.
24777 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24780 * nscd/hstcache.c (tryagain): Define.
24781 (cache_addhst): Return tryagain not notfound for temporary errors.
24782 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24785 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24789 to make the syscall.
24790 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24793 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24794 and fall back to matching as normal character if the string ends before
24795 the matching ']' is found. This is what POSIX requires.
24796 * posix/testfnm.c: Adjust test result.
24797 * posix/globtest.sh: Adjust test result. Add new test.
24798 * posix/tst-fnmatch.input: Likewise.
24799 * posix/tst-fnmatch2.c: Add new test.
24801 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24803 * elf/Makefile (check-execstack): Revert last change. Depend on
24805 (check-execstack.h): New target.
24806 (generated): Add check-execstack.h.
24807 * elf/check-execstack.c: Include "check-execstack.h".
24808 (main): Revert last change.
24809 (handle_file): Return zero if GNU_STACK is absent and
24810 DEFAULT_STACK_PERMS doesn't include PF_X.
24812 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24814 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24815 in child fails because the descriptor is already closed.
24816 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24817 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24818 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24821 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24825 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24826 temporary buffer used to handle multi lookups locally.
24827 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24829 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24831 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24834 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24836 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24837 alignment for SSE2.
24839 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24842 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24843 characters. When rounding increased number of integer digits recompute
24845 * stdio-common/tst-grouping.c: New file.
24846 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24848 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24850 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24851 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24853 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24855 * bits/select.h: Likewise.
24857 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24859 * po/ja.po: Update from translation team.
24861 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24864 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24865 implementation just like for lxstat, fxstatat, et al.
24867 2010-12-27 Jim Meyering <meyering@redhat.com>
24870 * posix/regexec.c (build_trtable): Return failure indication upon
24871 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24873 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24876 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24877 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24882 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24885 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24886 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24888 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24890 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24891 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24892 script has SORT_BY_INIT_PRIORITY.
24893 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24894 NO_CTORS_DTORS_SECTIONS is defined.
24895 * elf/soinit.c: Likewise.
24896 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24897 NO_CTORS_DTORS_SECTIONS is defined.
24898 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24899 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24900 * sysdeps/sh/init-first.c: Likewise.
24901 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24903 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24905 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24906 always use the slow path.
24908 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24910 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24911 similar rule which adds the sysdep directories to the header search in
24912 order to pick up the correct platform stackinfo.h.
24913 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24914 perform test if it is, otherwise return successfully without testing.
24915 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24916 DEFAULT_STACK_PERMS define in stackinfo.h.
24917 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24918 defined in stackinfo.h.
24919 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24920 DEFAULT_STACK_PERMS defined in stackinfo.h.
24921 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24922 * sysdeps/ia64/stackinfo.h: Likewise.
24923 * sysdeps/s390/stackinfo.h: Likewise.
24924 * sysdeps/sh/stackinfo.h: Likewise.
24925 * sysdeps/sparc/stackinfo.h: Likewise.
24926 * sysdeps/x86_64/stackinfo.h: Likewise.
24927 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24928 PF_X for powerpc64. Retain PF_X for powerpc32.
24930 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24932 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24934 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24935 GETDENTS_64BIT_ALIGNED.
24937 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24939 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24941 2010-12-10 Andreas Schwab <schwab@redhat.com>
24943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24947 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24949 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24950 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24952 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24955 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24958 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24960 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24962 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24964 * po/it.po: Update from translation team.
24966 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24971 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24973 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24975 2010-11-24 Andreas Schwab <schwab@redhat.com>
24977 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24979 (gaih_getanswer_slice): Likewise.
24981 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24985 2010-05-31 Petr Baudis <pasky@suse.cz>
24988 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24989 silently even in the chroot mode.
24991 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24994 last patch a bit. Pretty printing
24996 2010-05-31 Petr Baudis <pasky@suse.cz>
24999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25000 initialization of skip_initgroups_dyn.
25002 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25007 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25009 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25011 2010-11-11 Andreas Schwab <schwab@redhat.com>
25013 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25014 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25015 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25016 ($(objpfx)tst-fnmatch-mem): New rule.
25017 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25018 * posix/tst-fnmatch.c (main): Call mtrace.
25020 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25023 Support Intel processor model 6 and model 0x2c.
25025 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25030 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25033 * string/test-strncasecmp.c (check_result): New function.
25034 (do_one_test): Use it.
25035 (check1): New function.
25036 (test_main): Use it.
25037 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25038 Support strcasecmp and strncasecmp.
25040 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25043 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25046 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25048 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25052 * sysdeps/x86_64/multiarch/bzero.S: New file.
25053 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25054 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25055 * sysdeps/x86_64/multiarch/memset.S: New file.
25056 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25058 Set bit_Prefer_SSE_for_memop for Intel processors.
25059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25061 (index_Prefer_SSE_for_memop): Define.
25062 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25064 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25069 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25072 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25073 (__x86_64_raw_data_cache_size_half): Likewise.
25074 (__x86_64_raw_shared_cache_size): Likewise.
25075 (__x86_64_raw_shared_cache_size_half): Likewise.
25077 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25078 (__x86_64_raw_data_cache_size_half): Likewise.
25079 (__x86_64_raw_shared_cache_size): Likewise.
25080 (__x86_64_raw_shared_cache_size_half): Likewise.
25081 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25082 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25083 and __x86_64_raw_shared_cache_size_half. Round
25084 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25085 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25086 to multiple of 256 bytes.
25088 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25092 of inacessible symlinks. Verify result of symlink before returning it.
25093 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25094 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25096 2010-10-28 Erich Ritz <erichritz@gmail.com>
25098 * math/math.h (isinf): Fix typo in comment.
25100 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25102 * po/da.po: Update from translation team.
25104 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25106 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25107 is added to the list.
25109 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25110 Ulrich Drepper <drepper@gmail.com>
25112 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25113 the global list here. Move code to...
25114 (_dl_add_to_namespace_list): ...here. New function.
25115 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25116 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25117 * elf/dl-load.c (lose): Don't remove the element from the list.
25118 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25119 (_dl_map_object): Likewise.
25121 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25124 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25125 into all bytes of SSE register.
25126 Patch by Richard Li <richardpku@gmail.com>.
25128 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25131 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25134 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25136 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25137 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25138 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25144 2010-10-22 Andreas Schwab <schwab@redhat.com>
25146 * include/dlfcn.h (__RTLD_SECURE): Define.
25147 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25148 mode & __RTLD_SECURE instead.
25149 (open_path): Rename preloaded parameter to secure.
25150 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25151 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25152 * elf/dl-deps.c (openaux): Likewise.
25153 * elf/rtld.c (struct map_args): Remove is_preloaded.
25154 (map_doit): Don't use it.
25155 (dl_main): Likewise.
25156 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25157 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25159 2010-09-09 Andreas Schwab <schwab@redhat.com>
25161 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25162 (sysd-rules-targets): Remove duplicates.
25163 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25164 rtld-%.$o dependency.
25166 2010-10-18 Andreas Schwab <schwab@redhat.com>
25168 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25169 _dl_map_object do it.
25171 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25173 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25174 fast fma builtins, define the macros in the C99 standard.
25175 (FP_FAST_FMAF): Likewise.
25176 (FP_FAST_FMAL): Likewise.
25177 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25179 * bits/mathdef.h: Update copyright year.
25180 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25182 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25184 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25185 builtins, define the macros in the C99 standard.
25186 (FP_FAST_FMAF): Likewise.
25187 (FP_FAST_FMAL): Likewise.
25188 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25190 (FP_FAST_FMAF): Likewise.
25192 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25195 * math/libm-test.inc (fma_test): Some new testcases.
25196 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25198 y and infinite z. Do multiplication by C already in long double.
25199 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25201 y and infinite z. Do bitwise or of inexact bit into u.d.
25202 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25203 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25204 * sysdeps/i386/fpu/s_fma.S: Removed.
25205 * sysdeps/i386/fpu/s_fmal.S: Removed.
25207 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25210 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25212 computation is not scheduled after fetestexcept. Fix value
25213 of minimum denormal long double.
25215 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25218 * math/libm-test.inc (fma_test): Add some more tests.
25219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25222 2010-10-15 Andreas Schwab <schwab@redhat.com>
25224 * scripts/data/localplt-s390-linux-gnu.data: New file.
25225 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25227 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25230 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25231 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25233 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25235 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25237 if one of x and y is very large and the other is subnormal.
25238 * sysdeps/s390/fpu/s_fmaf.c: New file.
25239 * sysdeps/s390/fpu/s_fma.c: New file.
25240 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25241 * sysdeps/powerpc/fpu/s_fma.S: New file.
25242 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25243 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25244 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25246 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25249 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25252 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25253 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25254 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25255 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25256 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25257 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25259 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25262 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25263 * posix/bug-regex31.input: Add test case.
25265 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25267 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25268 * posix/bug-regex31.input: New file.
25271 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25272 (parse_sub_exp): Fix last change, use postorder.
25274 * posix/bug-regex31.c: New file.
25275 * posix/Makefile: Add rules to build and run bug-regex31.
25277 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25280 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25283 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25284 to have entries in sys_siglist.
25287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25290 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25293 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25294 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25295 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25296 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25297 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25298 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25299 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25300 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25301 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25302 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25303 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25304 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25305 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25306 * math/ftestexcept.c (fetestexcept): Likewise.
25307 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25308 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25309 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25310 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25311 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25312 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25315 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25318 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25321 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25323 * string/bug-strstr1.c: New file.
25324 * string/Makefile: Add rules to build and run bug-strstr1.
25326 2010-10-05 Eric Blake <eblake@redhat.com>
25329 * string/str-two-way.h (two_way_long_needle): Always clear memory
25330 when skipping input due to the shift table.
25332 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25335 * malloc/mcheck.c: Handle large requests.
25338 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25339 for strncmp and strncasecmp.
25340 * string/stratcliff.c: Add tests for strcmp and strncmp.
25341 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25343 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25345 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25348 2010-09-30 Andreas Jaeger <aj@suse.de>
25350 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25351 (CGROUP_SUPER_MAGIC): Define.
25352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25353 Handle btrfs and cgroup file systems.
25354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25357 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25359 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25360 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25362 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25365 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25366 trying to locate the ELF header.
25368 2010-09-27 Andreas Schwab <schwab@redhat.com>
25371 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25372 Mask out sign-bit copies when constructing f_fsid.
25374 2010-09-24 Petr Baudis <pasky@suse.cz>
25376 * debug/stack_chk_fail_local.c: Add missing licence exception.
25377 * debug/warning-nop.c: Likewise.
25379 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25382 implementing getdents64 using getdents syscall, set d_type if
25383 __ASSUME_GETDENTS32_D_TYPE.
25385 2010-09-16 Andreas Schwab <schwab@redhat.com>
25387 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25388 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25390 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25393 * posix/unistd.h: Undo change of feature selection for ftruncate from
25396 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25398 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25401 2010-09-20 Andreas Schwab <schwab@redhat.com>
25403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25407 2010-09-14 Andreas Schwab <schwab@redhat.com>
25409 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25410 variables after CHECK_SP call.
25411 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25413 2010-09-13 Andreas Schwab <schwab@redhat.com>
25414 Ulrich Drepper <drepper@redhat.com>
25416 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25417 re-relocationg ld.so.
25418 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25419 _dl_init_paths call.
25420 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25423 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25425 * resolv/res_init.c (__res_vinit): Count the default server we added.
25427 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25428 Ulrich Drepper <drepper@redhat.com>
25431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25432 (____longjmp_chk): Use %ebx for saving value across system call.
25435 2010-09-06 Andreas Schwab <schwab@redhat.com>
25437 * manual/Makefile: Don't mix pattern rules with normal rules.
25439 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25441 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25443 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25444 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25445 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25446 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25450 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25453 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25454 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25456 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25458 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25459 * sysdeps/x86_64/addmul_1.S: Likewise.
25460 * sysdeps/x86_64/lshift.S: Likewise.
25461 * sysdeps/x86_64/mul_1.S: Likewise.
25462 * sysdeps/x86_64/rshift.S: Likewise.
25463 * sysdeps/x86_64/sub_n.S: Likewise.
25464 * sysdeps/x86_64/submul_1.S: Likewise.
25466 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25468 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25469 Define __sched_param instead of SCHED_* and sched_param when
25470 <bits/sched.h> is included with __need_schedparam defined.
25471 * bits/sched.h [__need_schedparam]
25472 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25473 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25474 (__defined_schedparam): Define to 1.
25475 (__sched_param): New structure, identical to sched_param.
25476 (__need_schedparam): Undefine.
25478 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25481 (epoll_create1): Declare.
25483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25485 2010-08-31 Andreas Schwab <schwab@redhat.com>
25488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25489 shifting retval into place.
25491 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25493 * nis/rpcsvc/nis.h: Update copyright notice.
25494 * nis/rpcsvc/nis.x: Likewise.
25495 * nis/rpcsvc/nis_callback.h: Likewise.
25496 * nis/rpcsvc/nis_callback.x: Likewise.
25497 * nis/rpcsvc/nis_object.x: Likewise.
25498 * nis/rpcsvc/nis_tags.h: Likewise.
25499 * nis/rpcsvc/yp.h: Likewise.
25500 * nis/rpcsvc/yp.x: Likewise.
25501 * nis/rpcsvc/ypupd.h: Likewise.
25502 * nis/yp_xdr.c: Likewise.
25503 * nis/ypupdate_xdr.c: Likewise.
25505 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25506 mainly the body of pmap_getport. Add parameters to specify timeouts.
25507 (pmap_getport): Use __libc_rpc_getport.
25508 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25509 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25510 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25512 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25517 2010-08-27 Roland McGrath <roland@redhat.com>
25519 * sysdeps/i386/i686/multiarch/Makefile
25520 (CFLAGS-varshift.c): New variable.
25522 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25524 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25525 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25529 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25531 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25533 * sysdeps/x86_64/strlen.S: Unroll the loop.
25534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25535 strlen-sse2 strlen-sse2-bsf.
25536 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25537 __strlen_no_bsf if bit_Slow_BSF is set.
25538 (__strlen_sse42): Removed.
25539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25540 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25542 2010-08-25 Roland McGrath <roland@redhat.com>
25544 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25545 * sysdeps/x86_64/multiarch/varshift.c: New file.
25546 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25547 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25548 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25551 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25554 strlen-sse2 strlen-sse2-bsf.
25555 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25556 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25557 (__strlen_sse2): Removed.
25558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25561 bit_Slow_BSF for Atom.
25562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25563 (index_Slow_BSF): Define.
25564 (HAS_SLOW_BSF): Define.
25566 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25569 * resolv/res_init.c (__res_vinit): When no server address at all
25570 is given default to loopback.
25572 2010-08-24 Roland McGrath <roland@redhat.com>
25574 * configure.in: Remove config-name.h generation.
25575 * configure: Regenerated.
25576 * config-name.in: File removed.
25577 * scripts/config-uname.sh: New file.
25578 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25579 ($(objdir)config-name.h): New target.
25581 * sunrpc/rpc_parse.h: Avoid nested comment.
25583 2010-08-24 Richard Henderson <rth@redhat.com>
25584 Ulrich Drepper <drepper@redhat.com>
25585 H.J. Lu <hongjiu.lu@intel.com>
25587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25589 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25590 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25591 _mm_alignr_epi8 with _mm_loadu_si128.
25592 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25593 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25594 (__m128i_shift_right): Removed.
25595 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25596 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25597 * sysdeps/x86_64/multiarch/varshift.h: New file.
25598 * sysdeps/x86_64/multiarch/varshift.S: New file.
25600 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25602 * configure.in: Move assembler checks to before sysdep dir checking.
25604 2010-08-20 Petr Baudis <pasky@suse.cz>
25606 * LICENSES: Sync the sunrpc license.
25608 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25610 * sunrpc/auth_des.c: Update copyright notice once again.
25611 * sunrpc/auth_none.c: Likewise.
25612 * sunrpc/auth_unix.c: Likewise.
25613 * sunrpc/authdes_prot.c: Likewise.
25614 * sunrpc/authuxprot.c: Likewise.
25615 * sunrpc/bindrsvprt.c: Likewise.
25616 * sunrpc/clnt_gen.c: Likewise.
25617 * sunrpc/clnt_perr.c: Likewise.
25618 * sunrpc/clnt_raw.c: Likewise.
25619 * sunrpc/clnt_simp.c: Likewise.
25620 * sunrpc/clnt_tcp.c: Likewise.
25621 * sunrpc/clnt_udp.c: Likewise.
25622 * sunrpc/clnt_unix.c: Likewise.
25623 * sunrpc/des_crypt.c: Likewise.
25624 * sunrpc/des_soft.c: Likewise.
25625 * sunrpc/get_myaddr.c: Likewise.
25626 * sunrpc/getrpcport.c: Likewise.
25627 * sunrpc/key_call.c: Likewise.
25628 * sunrpc/key_prot.c: Likewise.
25629 * sunrpc/openchild.c: Likewise.
25630 * sunrpc/pm_getmaps.c: Likewise.
25631 * sunrpc/pm_getport.c: Likewise.
25632 * sunrpc/pmap_clnt.c: Likewise.
25633 * sunrpc/pmap_prot.c: Likewise.
25634 * sunrpc/pmap_prot2.c: Likewise.
25635 * sunrpc/pmap_rmt.c: Likewise.
25636 * sunrpc/rpc/auth.h: Likewise.
25637 * sunrpc/rpc/auth_unix.h: Likewise.
25638 * sunrpc/rpc/clnt.h: Likewise.
25639 * sunrpc/rpc/des_crypt.h: Likewise.
25640 * sunrpc/rpc/key_prot.h: Likewise.
25641 * sunrpc/rpc/netdb.h: Likewise.
25642 * sunrpc/rpc/pmap_clnt.h: Likewise.
25643 * sunrpc/rpc/pmap_prot.h: Likewise.
25644 * sunrpc/rpc/pmap_rmt.h: Likewise.
25645 * sunrpc/rpc/rpc.h: Likewise.
25646 * sunrpc/rpc/rpc_des.h: Likewise.
25647 * sunrpc/rpc/rpc_msg.h: Likewise.
25648 * sunrpc/rpc/svc.h: Likewise.
25649 * sunrpc/rpc/svc_auth.h: Likewise.
25650 * sunrpc/rpc/types.h: Likewise.
25651 * sunrpc/rpc/xdr.h: Likewise.
25652 * sunrpc/rpc_clntout.c: Likewise.
25653 * sunrpc/rpc_cmsg.c: Likewise.
25654 * sunrpc/rpc_common.c: Likewise.
25655 * sunrpc/rpc_cout.c: Likewise.
25656 * sunrpc/rpc_dtable.c: Likewise.
25657 * sunrpc/rpc_hout.c: Likewise.
25658 * sunrpc/rpc_main.c: Likewise.
25659 * sunrpc/rpc_parse.c: Likewise.
25660 * sunrpc/rpc_parse.h: Likewise.
25661 * sunrpc/rpc_prot.c: Likewise.
25662 * sunrpc/rpc_sample.c: Likewise.
25663 * sunrpc/rpc_scan.c: Likewise.
25664 * sunrpc/rpc_scan.h: Likewise.
25665 * sunrpc/rpc_svcout.c: Likewise.
25666 * sunrpc/rpc_tblout.c: Likewise.
25667 * sunrpc/rpc_util.c: Likewise.
25668 * sunrpc/rpc_util.h: Likewise.
25669 * sunrpc/rpcinfo.c: Likewise.
25670 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25671 * sunrpc/rpcsvc/key_prot.x: Likewise.
25672 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25673 * sunrpc/rpcsvc/mount.x: Likewise.
25674 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25675 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25676 * sunrpc/rpcsvc/rex.x: Likewise.
25677 * sunrpc/rpcsvc/rstat.x: Likewise.
25678 * sunrpc/rpcsvc/rusers.x: Likewise.
25679 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25680 * sunrpc/rpcsvc/spray.x: Likewise.
25681 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25682 * sunrpc/rtime.c: Likewise.
25683 * sunrpc/svc.c: Likewise.
25684 * sunrpc/svc_auth.c: Likewise.
25685 * sunrpc/svc_authux.c: Likewise.
25686 * sunrpc/svc_raw.c: Likewise.
25687 * sunrpc/svc_run.c: Likewise.
25688 * sunrpc/svc_simple.c: Likewise.
25689 * sunrpc/svc_tcp.c: Likewise.
25690 * sunrpc/svc_udp.c: Likewise.
25691 * sunrpc/svc_unix.c: Likewise.
25692 * sunrpc/svcauth_des.c: Likewise.
25693 * sunrpc/xcrypt.c: Likewise.
25694 * sunrpc/xdr.c: Likewise.
25695 * sunrpc/xdr_array.c: Likewise.
25696 * sunrpc/xdr_float.c: Likewise.
25697 * sunrpc/xdr_mem.c: Likewise.
25698 * sunrpc/xdr_rec.c: Likewise.
25699 * sunrpc/xdr_ref.c: Likewise.
25700 * sunrpc/xdr_sizeof.c: Likewise.
25701 * sunrpc/xdr_stdio.c: Likewise.
25703 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25706 2010-08-19 Andreas Schwab <schwab@redhat.com>
25708 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25710 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25712 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25714 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25715 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25716 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25717 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25718 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25719 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25722 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25724 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25725 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25727 2010-07-26 Anton Blanchard <anton@samba.org>
25729 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25730 * malloc/arena.c (heap_trim): Likewise.
25732 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25734 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25737 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25739 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25741 * sysdeps/i386/elf/Makefile: New file.
25743 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25745 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25746 from fanotify_init.
25747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25750 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25752 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25754 * sysdeps/multiarch/strcmp.S: Likewise.
25756 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25758 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25759 strncase_l-nonascii.
25760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25761 Add strncase_l-ssse3.
25762 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25763 * sysdeps/x86_64/strcmp.S: Likewise.
25764 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25765 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25766 * sysdeps/x86_64/strncase.S: New file.
25767 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25768 * sysdeps/x86_64/strncase_l.S: New file.
25769 * string/Makefile (strop-tests): Add strncasecmp.
25770 * string/test-strncasecmp.c: New file.
25772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25775 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25778 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25780 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25782 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25784 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25788 2010-05-01 Alan Modra <amodra@gmail.com>
25790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25791 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25792 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25793 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25794 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25795 tidying. Don't tail-call __sigjmp_save for static lib.
25796 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25798 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25799 (CALL_MCOUNT): Add eh info, and nop after bl.
25800 (TAIL_CALL_SYSCALL_ERROR): New macro.
25801 (PSEUDO_RET): Use it.
25802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25803 Correct save location of integer regs and cr.
25804 (_dl_profile_resolve): Correct cr save location. Delete nops
25805 after bl when SHARED. Reduce cfi size a little by better
25806 placement of cfi directives.
25807 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25808 make a stack frame. Instead use parm save area as a temp.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25810 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25812 Don't make a stack frame for parent, use parm save area.
25813 Increase child stack frame to 112 bytes. Don't save unused reg,
25814 and adjust reg usage. Set up cfi on error recovery and
25815 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25817 (__makecontext): Add dummy nop after jump to exit.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25819 Use correct parm save area and cr save, reduce stack frame.
25820 Correct cfi for possible PSEUDO_RET frame setup.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25822 Branch to local label emitted by PSEUDO_RET rather than
25825 2010-08-12 Andreas Schwab <schwab@redhat.com>
25828 * locale/programs/locale.c (print_assignment): New function.
25829 (show_locale_vars): Use it.
25831 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25833 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25835 (struct statfs64): Likewise.
25836 (_STATFS_F_FLAGS): Define.
25837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25839 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25840 (ST_VALID): Define locally.
25841 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25842 __statvfs_getflags, use the provided value.
25843 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25844 __ASSUME_STATFS_F_FLAGS.
25846 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25849 Add sys/fanotify.h.
25850 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25851 fanotify_mask for GLIBC_2.13.
25852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25853 fanotify_init and fanotify_mark.
25854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25855 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25857 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25859 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25860 prlimit64 for GLIBC_2.13.
25861 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25871 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25874 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25875 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25877 * nss/Makefile: Add rules to build and run tst-nss-test1.
25878 * shlib-versions: Add entry for libnss_test1.
25879 * nss/nss_test1.c: New file.
25880 * nss/tst-nss-test1.c: New file.
25882 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25883 (__nss_configure_lookup): Set appropriate entry in
25884 __nss_configure_lookup to true.
25885 * nss/nsswitch.h: Define enum with indeces of databases in
25886 databases and __nss_database_custom arrays. Declare
25887 __nss_database_custom.
25888 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25889 to avoid using nscd when custom rules are installed.
25890 * nss/getXXbyYY_r.c: Likewise.
25891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25893 * nss/nss_files/files-parse.c: Whitespace fixes.
25895 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25898 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25899 * posix/fnmatch_loop.c: Likewise.
25901 2010-07-17 Andi Kleen <ak@linux.intel.com>
25903 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25904 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25905 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25906 * Versions.def [GLIBC_2.13]: Add.
25908 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25911 Also fail if tpwd after pwuid call is NULL.
25913 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25915 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25916 when converting to ms.
25918 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25920 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25921 EOPNOTSUPP errors with ENOTTY.
25922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25923 EOPNOTSUPP errors with ENOTTY.
25925 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25928 Add strcasecmp_l-ssse3.
25929 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25931 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25932 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25933 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25935 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25937 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25939 * string/Makefile (strop-tests): Add strcasecmp.
25940 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25941 strcasecmp_l-nonascii.
25942 (gen-as-const-headers): Add locale-defines.sym.
25943 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25944 * sysdeps/x86_64/strcasecmp.S: New file.
25945 * sysdeps/x86_64/strcasecmp_l.S: New file.
25946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25947 * sysdeps/x86_64/locale-defines.sym: New file.
25948 * string/test-strcasecmp.c: New file.
25950 * string/test-strcasestr.c: Test both ends of the range of characters.
25951 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25953 2010-07-29 Roland McGrath <roland@redhat.com>
25956 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25958 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25960 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25963 2010-07-27 Andreas Schwab <schwab@redhat.com>
25965 * manual/memory.texi (Malloc Tunable Parameters): Document
25968 2010-07-26 Roland McGrath <roland@redhat.com>
25971 * configure.in (-fgnu89-inline check): Set and substitute
25972 gnu89_inline, not libc_cv_gnu89_inline.
25973 * configure: Regenerated.
25974 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25976 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25978 * string/test-strnlen.c: New file.
25979 * string/Makefile (strop-tests): Add strnlen.
25980 * string/tester.c (test_strnlen): Add a few more test cases.
25981 * string/tst-strlen.c: Better error reporting.
25983 * sysdeps/x86_64/strnlen.S: New file.
25985 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25988 lower-latency instructions.
25990 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25992 * string/test-strcasestr.c: New file.
25993 * string/test-strstr.c: New file.
25994 * string/Makefile (strop-tests): Add strstr and strcasestr.
25995 * string/str-two-way.h: Don't undefine MAX.
25996 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25998 2010-07-21 Andreas Schwab <schwab@redhat.com>
26000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26001 strcasestr-nonascii.
26002 (CFLAGS-strcasestr-nonascii.c): Define.
26003 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26005 Remove unused attribute.
26007 2010-07-20 Roland McGrath <roland@redhat.com>
26009 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26010 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26011 ld.so.cache was broken. With it, there is no way to disable dsocaps
26012 like LD_HWCAP_MASK can disable hwcaps.
26014 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26016 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26018 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26020 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26021 call in strcasestr.
26022 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26023 __strcasestr_sse42_nonascii.
26024 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26025 strcasestr-nonascii.c.
26026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26028 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26030 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26035 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26040 2010-07-06 Andreas Schwab <schwab@redhat.com>
26043 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26046 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26049 _PC_PIPE_BUF using F_GETPIPE_SZ.
26051 2010-07-05 Roland McGrath <roland@redhat.com>
26053 * manual/arith.texi (Rounding Functions): Fix rint description
26054 implicit in round description.
26056 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26058 * elf/Makefile: Fix linking for a few tests to make recent linker
26061 2010-06-30 Andreas Schwab <schwab@redhat.com>
26063 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26064 $(common-objpfx)libc_nonshared.a.
26066 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26068 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26069 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26070 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26071 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26072 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26074 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26075 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26090 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26091 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26092 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26093 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26094 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26095 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26096 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26097 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26098 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26099 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26100 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26101 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26117 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26119 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26120 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26121 * string/memmove.c (memmove): Renamed to ...
26122 (MEMMOVE): ...this. Default to memmove.
26123 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26124 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26127 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26128 mempcpy-ssse3-back memmove-ssse3-back.
26129 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26132 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26133 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26134 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26135 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26136 * sysdeps/x86_64/multiarch/memmove.c: New file.
26137 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26138 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26139 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26140 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26141 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26144 (index_Fast_Copy_Backward): Define.
26145 (HAS_ARCH_FEATURE): Define.
26146 (HAS_FAST_REP_STRING): Define.
26147 (HAS_FAST_COPY_BACKWARD): Define.
26149 2010-06-21 Andreas Schwab <schwab@redhat.com>
26151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26152 Restore proper fallback handling.
26154 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26157 * posix/group_member.c (__group_member): Correct checking loop.
26159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26160 OOM in getpwuid_r correctly. Return error number when the caller
26161 should return, otherwise -1.
26162 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26163 call returning > 0 value.
26164 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26166 2010-06-07 Andreas Schwab <schwab@redhat.com>
26168 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26169 libc_nonshared.a from targets in modules-names.
26171 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26173 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26176 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26183 2010-06-02 Andreas Schwab <schwab@redhat.com>
26185 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26187 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26189 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26198 2010-06-14 Roland McGrath <roland@redhat.com>
26200 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26202 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26204 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26205 __REDIRECT followed by __THROW.
26206 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26207 * posix/getopt.h (getopt): Likewise.
26209 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26211 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26212 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26213 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26215 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26216 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26218 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26222 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26226 Properly check family and model.
26228 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26230 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26232 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26234 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26236 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26238 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26241 2010-05-19 Andreas Schwab <schwab@redhat.com>
26243 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26246 2010-05-21 Andreas Schwab <schwab@redhat.com>
26248 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26249 and internal_recvmmsg.
26250 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26251 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26252 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26253 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26255 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26256 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26257 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26259 2010-05-20 Andreas Schwab <schwab@redhat.com>
26261 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26263 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26265 POWER7 optimizations.
26266 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26267 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26269 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26271 * version.h: Update for 2.13 development version.
26273 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26276 exceptions. Return 0.
26278 2010-05-07 Roland McGrath <roland@redhat.com>
26280 * elf/ldconfig.c (main): Add a const.
26282 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26284 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26285 (args_options): Add no-idn option.
26286 (ahosts_keys_int): Add idn_flags to ai_flags.
26287 (parse_option): Handle 'i' option to clear idn_flags.
26289 * malloc/malloc.c (_int_free): Possible race in the most recently
26290 added check. Only act on the data if no current modification
26293 See ChangeLog.17 for earlier changes.