1 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4 * sysdeps/powerpc/fpu_control.h: ... here.
5 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8 * sysdeps/powerpc/bits/mathinline.h: ... here.
10 2013-03-01 Roland McGrath <roland@hack.frob.com>
12 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14 to just [NEED_DL_SYSINFO_DSO].
15 * elf/dl-support.c: Likewise.
16 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17 * elf/rtld.c (dl_main): Likewise.
18 * elf/setup-vdso.h (setup_vdso): Likewise.
19 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20 * sysdeps/unix/sysv/linux/dl-sysdep.c
21 (_dl_discover_osversion): Likewise.
23 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * NEWS: Mention libm performance improvements and non-x86 PI
33 * csu/libc-start.c (__pthread_initialize_minimal): Change
35 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
41 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42 <bp-sym.h> and <bp-asm.h>.
43 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46 (memcpy): Don't use BP_SYM.
47 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49 (__mpn_add_n): Don't use BP_SYM.
50 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53 (__mpn_addmul_1): Don't use BP_SYM.
54 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57 (_setjmp): Don't use BP_SYM.
58 (__novmx_setjmp): Likewise.
59 (__GI__setjmp): Likewise.
60 (__vmx_setjmp): Likewise.
61 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64 (__bzero): Don't use BP_SYM.
65 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68 <bp-sym.h> and <bp-asm.h>.
69 (memcpy): Don't use BP_SYM.
70 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
71 <bp-sym.h> and <bp-asm.h>.
72 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
73 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
74 <bp-sym.h> and <bp-asm.h>.
75 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
76 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
78 (__mpn_lshift): Don't use BP_SYM.
79 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
80 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
82 (memset): Don't use BP_SYM.
83 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
84 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
85 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
87 (__mpn_mul_1): Don't use BP_SYM.
88 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
89 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
90 <bp-sym.h> and <bp-asm.h>.
91 (memcmp): Don't use BP_SYM.
92 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
93 <bp-sym.h> and <bp-asm.h>.
94 (memcpy): Don't use BP_SYM.
95 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
96 <bp-sym.h> and <bp-asm.h>.
97 (memset): Don't use BP_SYM.
98 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
99 <bp-sym.h> and <bp-asm.h>.
100 (strncmp): Don't use BP_SYM.
101 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
102 <bp-sym.h> and <bp-asm.h>.
103 (memcpy): Don't use BP_SYM.
104 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
105 <bp-sym.h> and <bp-asm.h>.
106 (memset): Don't use BP_SYM.
107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
108 <bp-sym.h> and <bp-asm.h>.
109 (__memchr): Don't use BP_SYM.
110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
111 <bp-sym.h> and <bp-asm.h>.
112 (memcmp): Don't use BP_SYM.
113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
114 <bp-sym.h> and <bp-asm.h>.
115 (memcpy): Don't use BP_SYM.
116 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
117 <bp-sym.h> and <bp-asm.h>.
118 (__mempcpy): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
120 <bp-sym.h> and <bp-asm.h>.
121 (__memrchr): Don't use BP_SYM.
122 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
123 <bp-sym.h> and <bp-asm.h>.
124 (memset): Don't use BP_SYM.
125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (__rawmemchr): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (__STRCMP): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (strchr): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (__strchrnul): Don't use BP_SYM.
137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
138 <bp-sym.h> and <bp-asm.h>.
139 (strlen): Don't use BP_SYM.
140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
141 <bp-sym.h> and <bp-asm.h>.
142 (strncmp): Don't use BP_SYM.
143 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
144 <bp-sym.h> and <bp-asm.h>.
145 (__strnlen): Don't use BP_SYM.
146 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
148 (__mpn_rshift): Don't use BP_SYM.
149 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
150 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
151 <bp-sym.h> and <bp-asm.h>.
152 (__sigsetjmp): Don't use BP_SYM.
153 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
154 (L(start_addresses)): Don't use BP_SYM.
156 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
158 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
159 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
160 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
161 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
163 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
164 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
165 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
166 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
168 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
170 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
171 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
173 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
175 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
176 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
177 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
179 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
181 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
183 (strncmp): Don't use BP_SYM,
184 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
186 (__mpn_sub_n): Don't use BP_SYM.
187 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
188 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
190 (__mpn_submul_1): Don't use BP_SYM.
191 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
193 <bp-sym.h> and <bp-asm.h>.
194 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
196 <bp-sym.h> and <bp-asm.h>.
197 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
200 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
203 Use ZK to minimize writes to Z.
204 (sub_magnitudes): Simplify code a bit.
205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
206 Use ZK to minimize writes to Z.
207 (sub_magnitudes): Simplify code a bit.
209 2013-02-27 Roland McGrath <roland@hack.frob.com>
211 * csu/gmon-start.c: Add special exception to license text.
213 2013-02-27 Richard Henderson <rth@redhat.com>
215 * scripts/config.guess: Update from config.git.
216 * scripts/config.sub: Likewise.
218 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
222 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
224 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
226 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
228 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
230 2013-02-26 Roland McGrath <roland@hack.frob.com>
232 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
233 [$(build-shared = yes].
235 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
237 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
238 (__mul): Reduce iterations for calculating mantissa.
240 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
242 (__mpranred): Likewise.
245 * malloc/memusagestat.c (main): Draw graphs for heap and stack
246 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
248 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
250 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
251 Define __attribute__.
253 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
255 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
257 * posix/regex_internal.h (__attribute): Remove.
258 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
259 (re_string_context_at): Likewise.
260 (bitset_not): Use __attribute__ and mark function as possibly
262 (bitset_merge): Likewise.
263 (bitset_mask): Likewise.
264 (re_string_char_size_at): Likewise.
265 (re_string_wchar_at): Likewise.
266 (re_string_elem_size_at): Likewise.
268 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
274 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
279 (__dbl_mp): Likewise.
280 (add_magnitudes): Likewise.
281 (sub_magnitudes): Likewise.
285 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
288 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
291 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
295 up changes with default code.
296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
299 2013-02-24 Allan McRae <allan@archlinux.org>
301 * manual/socket.texi (The Internet Namespace): Order menu items
302 to match that in the file.
304 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
305 node listing of the info page menu.
307 2013-02-21 Joseph Myers <joseph@codesourcery.com>
310 * sysdeps/i386/bp-asm.h: Remove file.
311 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
312 (PARMS): Do not use macros from bp-asm.h.
316 (__mpn_add_n): Do not use BP_SYM
317 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
319 (PARMS): Do not use macros from bp-asm.h.
322 (__mpn_addmul_1): Do not use BP_SYM
323 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
325 (PARMS): Do not use macros from bp-asm.h.
327 (_setjmp): Likewise. Do not use BP_SYM.
328 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
330 (PARMS): Do not use macros from bp-asm.h.
332 (setjmp): Likewise. Do not use BP_SYM.
333 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
335 (PARMS): Do not use macros from bp-asm.h.
336 (__frexp): Do not use BP_SYM.
338 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
340 (PARMS): Do not use macros from bp-asm.h.
341 (__frexpf): Do not use BP_SYM.
343 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
345 (PARMS): Do not use macros from bp-asm.h.
346 (__frexpl): Do not use BP_SYM.
348 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
350 (PARMS): Do not use macros from bp-asm.h.
351 (__remquo): Do not use BP_SYM.
353 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
355 (PARMS): Do not use macros from bp-asm.h.
356 (__remquof): Do not use BP_SYM.
358 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
360 (PARMS): Do not use macros from bp-asm.h.
361 (__remquol): Do not use BP_SYM.
363 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
365 (PARMS): Do not use macros from bp-asm.h.
368 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
369 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
371 (PARMS): Do not use macros from bp-asm.h.
372 (strlen): Do not use BP_SYM.
373 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
375 (PARMS): Do not use macros from bp-asm.h.
379 (__mpn_add_n): Do not use BP_SYM.
380 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
382 (PARMS): Do not use macros from bp-asm.h.
385 (__mpn_addmul_1): Do not use BP_SYM.
386 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
389 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
391 (PARMS): Do not use macros from bp-asm.h.
394 (__mpn_lshift): Do not use BP_SYM.
395 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
397 (PARMS): Do not use macros from bp-asm.h.
401 (memcpy): Likewise. Do not use BP_SYM.
402 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
403 libc_hidden_def and weak_alias.
404 (mempcpy): Do not use BP_SYM in weak_alias.
405 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
407 (PARMS): Do not use macros from bp-asm.h.
410 [!BZERO_P] (CHR): Likewise.
411 (memset): Likewise. Do not use BP_SYM.
412 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
414 (PARMS): Do not use macros from bp-asm.h.
417 (__mpn_mul_1): Do not use BP_SYM.
418 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
420 (PARMS): Do not use macros from bp-asm.h.
423 (__mpn_rshift): Do not use BP_SYM.
424 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
426 (PARMS): Do not use macros from bp-asm.h.
429 (strchr): Likewise. Do not use BP_SYM.
430 (index): Do not use BP_SYM in weak_alias.
431 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
433 (PARMS): Do not use macros from bp-asm.h.
436 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
437 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
439 (PARMS): Do not use macros from bp-asm.h.
440 (strlen): Do not use BP_SYM.
441 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
443 (PARMS): Do not use macros from bp-asm.h.
447 (__mpn_sub_n): Do not use BP_SYM.
448 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
450 (PARMS): Do not use macros from bp-asm.h.
453 (__mpn_submul_1): Do not use BP_SYM.
454 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
456 (PARMS): Do not use macros from bp-asm.h.
460 (__mpn_add_n): Do not use BP_SYM.
461 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
464 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
466 (PARMS): Do not use macros from bp-asm.h.
469 (memcmp): Do not use BP_SYM.
470 (bcmp): Do not use BP_SYM in weak_alias.
471 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
473 (PARMS): Do not use macros from bp-asm.h.
477 (memcpy): Likewise. Do not use BP_SYM.
478 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
480 (PARMS): Do not use macros from bp-asm.h.
484 (memmove): Likewise. Do not use BP_SYM.
485 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
487 (PARMS): Do not use macros from bp-asm.h.
491 (__mempcpy): Likewise. Do not use BP_SYM.
492 (mempcpy): Do not use BP_SYM in weak_alias.
493 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
495 (PARMS): Do not use macros from bp-asm.h.
498 [!BZERO_P] (CHR): Likewise.
499 (memset): Likewise. Do not use BP_SYM.
500 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
502 (PARMS): Do not use macros from bp-asm.h.
504 (strcmp): Do not use BP_SYM.
505 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
507 (PARMS): Do not use macros from bp-asm.h.
510 [USE_AS_STRTOK_R] (SAVE): Likewise.
511 (FUNCTION): Likewise. Do not use BP_SYM.
512 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
514 (strtok_r): Likewise.
515 (__GI___strtok_r): Likewise.
516 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
517 (PARMS): Do not use macros from bp-asm.h.
520 (__mpn_lshift): Do not use BP_SYM.
521 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
522 (PARMS): Do not use macros from bp-asm.h.
525 (__memchr): Do not use BP_SYM.
526 (memchr): Do not use BP_SYM in weak_alias.
527 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
528 (PARMS): Do not use macros from bp-asm.h.
531 (memcmp): Do not use BP_SYM.
532 (bcmp): Do not use BP_SYM in weak_alias.
533 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
534 (PARMS): Do not use macros from bp-asm.h.
537 (__mpn_mul_1): Do not use BP_SYM.
538 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
540 (PARMS): Do not use macros from bp-asm.h.
543 (__rawmemchr): Do not use BP_SYM.
544 (rawmemchr): Do not use BP_SYM in weak_alias.
545 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
546 (PARMS): Do not use macros from bp-asm.h.
549 (__mpn_rshift): Do not use BP_SYM.
550 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
551 (PARMS): Do not use macros from bp-asm.h.
553 (__sigsetjmp): Likewise. Do not use BP_SYM.
554 * sysdeps/i386/start.S: Do not include "bp-sym.h".
555 (_start): Do not use BP_SYM.
556 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
557 (PARMS): Do not use macros from bp-asm.h.
560 (__stpcpy): Likewise. Do not use BP_SYM.
561 (stpcpy): Do not use BP_SYM in weak_alias.
562 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
564 (PARMS): Do not use macros from bp-asm.h.
568 (__stpncpy): Likewise. Do not use BP_SYM.
569 (stpncpy): Do not use BP_SYM in weak_alias.
570 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
571 (PARMS): Do not use macros from bp-asm.h.
574 (strchr): Likewise. Do not use BP_SYM.
575 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
577 (PARMS): Do not use macros from bp-asm.h.
580 (__strchrnul): Likewise. Do not use BP_SYM.
581 (strchrnul): Do not use BP_SYM in weak_alias.
582 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
584 (PARMS): Do not use macros from bp-asm.h.
586 (strcspn): Do not use BP_SYM.
587 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
589 (PARMS): Do not use macros from bp-asm.h.
592 (strpbrk): Likewise. Do not use BP_SYM.
593 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
595 (PARMS): Do not use macros from bp-asm.h.
598 (strrchr): Likewise. Do not use BP_SYM.
599 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
600 (PARMS): Do not use macros from bp-asm.h.
602 (strspn): Do not use BP_SYM.
603 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
604 (PARMS): Do not use macros from bp-asm.h.
608 (FUNCTION): Likewise. Do not use BP_SYM.
609 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
611 (strtok_r): Likewise.
612 (__GI___strtok_r): Likewise.
613 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
614 (PARMS): Do not use macros from bp-asm.h.
618 (__mpn_sub_n): Do not use BP_SYM.
619 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
621 (PARMS): Do not use macros from bp-asm.h.
624 (__mpn_submul_1): Do not use BP_SYM.
625 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
627 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
629 (PARMS): Do not use macros from bp-asm.h.
634 (__clone): Do not use BP_SYM.
635 (clone): Do not use BP_SYM in weak_alias.
636 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
638 (PARMS): Do not use macros from bp-asm.h.
640 (__mmap64): Do not use BP_SYM.
641 (mmap64): Do not use BP_SYM in weak_alias.
642 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
643 <bp-sym.h> and <bp-asm.h>.
644 (PARMS): Do not use macros from bp-asm.h.
645 (__posix_fadvise64_l64): Do not use BP_SYM.
646 * sysdeps/unix/sysv/linux/i386/semtimedop.S
647 (PARMS): Do not use macros from bp-asm.h.
649 (semtimedop): Do not use BP_SYM.
650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
653 2013-02-21 Allan McRae <allan@archlinux.org>
655 * manual/message.texi (Charset conversion in gettext):
656 Move @end statement to beginning of line.
658 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
670 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
672 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
673 tail-call to the resolved function if pltexit isn't needed.
675 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
678 or Y being zero as being unlikely.
679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
682 2013-02-20 Carlos O'Donell <carlos@redhat.com>
684 * manual/nss.texi (System Databases and Name Service Switch):
685 Remove frobnicate @pxref.
687 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
690 __attribute__ ((unused)) to __attribute__ ((__unused__)).
692 2013-02-20 Petr Machata <pmachata@redhat.com>
694 * elf/elf.h (R_ARM_TARGET1): New macro.
695 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
696 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
697 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
698 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
699 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
700 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
701 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
702 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
703 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
704 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
705 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
706 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
707 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
708 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
709 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
710 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
711 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
712 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
713 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
714 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
715 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
716 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
717 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
718 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
719 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
720 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
721 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
722 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
723 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
724 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
725 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
726 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
727 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
728 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
729 (R_ARM_THM_GOT_BREL12): Likewise.
730 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
731 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
732 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
733 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
734 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
735 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
736 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
737 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
738 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
740 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
742 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
743 __attribute_used__ to __attribute__ ((unused)).
745 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
747 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
753 2013-02-19 Joseph Myers <joseph@codesourcery.com>
756 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
758 (ENTER): Remove both macro definitions.
760 (CHECK_BOUNDS_LOW): Likewise.
761 (CHECK_BOUNDS_HIGH): Likewise.
762 (CHECK_BOUNDS_BOTH): Likewise.
763 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
764 (RETURN_BOUNDED_POINTER): Likewise.
765 (RETURN_NULL_BOUNDED_POINTER): Likewise.
766 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
767 (POP_ERRNO_LOCATION_RETURN): Likewise.
768 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
769 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
770 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
773 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
774 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
775 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
776 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
777 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
778 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
779 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
780 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
781 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
782 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
783 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
784 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
785 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
787 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
788 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
790 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
791 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
792 * sysdeps/i386/i586/memset.S (memset): Likewise.
793 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
794 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
795 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
797 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
798 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
799 Change uses of L(2) to L(out).
800 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
801 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
802 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
803 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
804 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
806 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
807 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
810 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
811 (RETURN): Do not use macro LEAVE.
812 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
813 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
814 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
815 * sysdeps/i386/i686/memset.S (memset): Likewise.
816 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
817 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
819 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
821 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
822 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
823 L(1_2) and L(1_3) into L(1).
824 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
825 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
827 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
828 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
829 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
830 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
831 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
832 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
834 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
836 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
837 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
838 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
839 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
840 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
841 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
842 * sysdeps/i386/strcspn.S (strcspn): Likewise.
843 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
844 * sysdeps/i386/strrchr.S (strrchr): Likewise.
845 * sysdeps/i386/strspn.S (strspn): Likewise.
846 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
848 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
849 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
850 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
851 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
853 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
855 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
859 2013-02-19 Jakub Jelinek <jakub@redhat.com>
861 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
864 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
866 * math/atest-exp.c (exp_mpn): Remove ROUND.
867 * math/atest-exp2.c (exp_mpn): Likewise.
868 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
870 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
871 * stdlib/tst-tls-atexit-lib.c: Likewise.
872 * stdlib/tst-tls-atexit.c: Likewise.
874 2013-02-18 Mike Frysinger <vapier@gentoo.org>
876 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
877 and __attribute_alloc_size__.
879 2013-02-18 Mike Frysinger <vapier@gentoo.org>
881 * include/programs/xmalloc.h: Change __attribute_alloc_size to
882 __attribute_alloc_size__.
883 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
884 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
886 2013-02-18 Mike Frysinger <vapier@gentoo.org>
888 * include/programs/xmalloc.h: New file.
889 * catgets/gencat.c: Include it.
890 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
891 * elf/pldd.c: Likewise.
892 * iconv/iconv_charmap.c: Likewise.
893 * iconv/iconvconfig.c: Likewise.
894 * iconv/strtab.c: Likewise.
895 * locale/programs/locale.c: Likewise.
896 * locale/programs/localedef.h: Likewise.
897 * locale/programs/simple-hash.c: Likewise.
898 * nscd/nscd.h: Likewise.
899 * nss/makedb.c: Likewise.
900 * sysdeps/generic/ldconfig.h: Likewise.
902 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
904 * Versions.def: Add GLIBC_2.18.
905 * include/link.h (struct link_map): New member l_tls_dtor_count.
906 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
907 (__call_tls_dtors): Likewise.
908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
909 __cxa_thread_atexit_impl.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
926 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
927 (tests): Add test case tst-tls-atexit.
928 (modules-names): Add shared library for tst-tls-atexit.
929 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
930 (GLIBC_PRIVATE): Add __call_tls_dtors.
931 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
933 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
934 * stdlib/tst-tls-atexit.c: New test case.
935 * stdlib/tst-tls-atexit-lib.c: New test case.
937 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
939 * elf/Versions (ld): Add _dl_find_dso_for_object.
940 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
941 * elf/dl-open.c (_dl_find_dso_for_object): New function.
942 (dl_open_worker): Use _dl_find_dso_for_object.
943 * elf/dl-sym.c (do_sym): Likewise.
944 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
946 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
948 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
949 Syntactic changes only.
950 (_dl_runtime_profile): Do a tail-call to the resolved function.
952 2013-02-17 Joseph Myers <joseph@codesourcery.com>
955 * sysdeps/x86_64/bp-asm.h: Remove file.
956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
957 <bp-sym.h> and <bp-asm.h>.
958 (__clone): Do not use BP_SYM.
959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
960 <bp-sym.h> and <bp-asm.h>.
961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
962 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
964 (_setjmp): Do not use BP_SYM.
965 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
967 (setjmp): Do not use BP_SYM.
968 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
970 (mempcpy): Do not use BP_SYM in weak_alias.
971 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
973 (strchr): Do not use BP_SYM.
974 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
976 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
977 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
978 (_start): Do not use BP_SYM.
979 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
981 (strcat): Do not use BP_SYM.
982 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
984 (STRCMP): Do not use BP_SYM.
985 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
987 (STRCPY): Do not use BP_SYM.
988 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
990 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
992 (FUNCTION): Do not use BP_SYM.
993 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
995 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
997 2013-02-17 Andreas Jaeger <aj@suse.de>
999 * time/Versions: Sort entries.
1000 * string/Versions: Likewise.
1001 * resolv/Versions: Likewise.
1002 * posix/Versions: Likewise.
1003 * iconv/Versions: Likewise.
1004 * elf/Versions: Likewise.
1005 * wcsmbs/Versions: Likewise.
1007 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1009 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1010 loop termination condition.
1012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1013 variable to calculate EZ.
1016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1017 the lower precision input.
1019 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1022 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1023 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1024 (run-via-rtld-prefix): Do not handle %-bp tests.
1025 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1026 (all-object-suffixes): Remove .ob.
1027 (bppfx): Remove variable.
1028 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1029 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1030 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1031 [$(build-bounded) = yes] (libtype.ob): Likewise.
1032 * Makerules (elide-routines.ob): Remove variable.
1033 (do-tests-clean): Do not handle *-bp.out.
1034 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1035 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1036 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1037 (tests): Do not include $(tests-bp.out).
1038 (xtests): Do not include $(xtests-bp.out).
1039 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1040 [$(build-bounded) = yes] ($(addprefix
1041 $(objpfx),$(binaries-bounded))): Remove rule.
1042 ($(objpfx)%-bp.out): Remove rule.
1043 * config.make.in (build-bounded): Remove variable.
1044 * crypt/Makefile [$(build-bounded) = yes]
1045 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1046 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1048 [$(build-bounded) = yes] (install-lib): Likewise.
1049 [$(build-bounded) = yes] (generated): Likewise.
1050 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1052 * intl/Makefile [$(build-bounded) = yes]
1053 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1054 * math/Makefile [$(build-bounded) = yes]
1055 ($(tests:%=$(objpfx)%-bp): Likewise.
1056 * misc/Makefile [$(build-bounded) = yes]
1057 ($(objpfx)tst-tsearch-bp): Likewise.
1058 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1059 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1061 * string/Makefile (o-objects.ob): Remove variable.
1062 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1063 (CFLAGS-.ob): Remove variable.
1064 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1066 both definitions of variable.
1067 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1068 (ASFLAGS-.ob): Remove variable.
1070 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1073 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1074 Remove __BOUNDED_POINTERS__ from condition.
1075 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1076 * string/bits/string2.h [!__NO_STRING_INLINES &&
1077 !__BOUNDED_POINTERS__]: Likewise.
1078 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1080 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1081 Remove conditional code.
1082 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1083 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1084 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1088 * csu/libc-start.c: Do not include <bp-sym.h>.
1089 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1090 * elf/dl-open.c: Do not include <bp-sym.h>.
1091 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1092 * math/fegetenv.c: Do not include <bp-sym.h>.
1093 (fegetenv): Do not use BP_SYM in versioned symbols.
1094 * nptl/sysdeps/pthread/bits/libc-lockP.h
1095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1098 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1100 (__pthread_mutex_destroy): Likewise.
1101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1102 (__pthread_mutex_lock): Likewise.
1103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1104 (__pthread_mutex_trylock): Likewise.
1105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1106 (__pthread_mutex_unlock): Likewise.
1107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1108 (__pthread_mutexattr_init): Likewise.
1109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1110 (__pthread_mutexattr_destroy): Likewise.
1111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1112 (__pthread_mutexattr_settype): Likewise.
1113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1114 (__pthread_rwlock_init): Likewise.
1115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1116 (__pthread_rwlock_destroy): Likewise.
1117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1118 (__pthread_rwlock_rdlock): Likewise.
1119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1120 (__pthread_rwlock_tryrdlock): Likewise.
1121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1122 (__pthread_rwlock_wrlock): Likewise.
1123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1124 (__pthread_rwlock_trywrlock): Likewise.
1125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1126 (__pthread_rwlock_unlock): Likewise.
1127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1128 (__pthread_key_create): Likewise.
1129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1130 (__pthread_setspecific): Likewise.
1131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1132 (__pthread_getspecific): Likewise.
1133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1136 (_pthread_cleanup_push_defer): Likewise.
1137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1138 (_pthread_cleanup_pop_restore): Likewise.
1139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1140 (pthread_setcancelstate): Likewise.
1141 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1143 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1144 (memchr): Do not use BP_SYM in weak_alias.
1145 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1146 (fegetenv): Do not use BP_SYM in versioned symbols.
1147 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1148 (fesetenv): Do not use BP_SYM in versioned symbols.
1149 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1150 (feupdateenv): Do not use BP_SYM in versioned symbols.
1151 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1152 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1153 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1154 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1155 (open64): Do not use BP_SYM in weak_alias.
1156 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1157 (fegetenv): Do not use BP_SYM in versioned symbols.
1158 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1159 (fesetenv): Do not use BP_SYM in versioned symbols.
1160 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1161 (feupdateenv): Do not use BP_SYM in versioned symbols.
1162 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1163 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1164 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1165 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1166 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1167 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1168 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1170 (__libc_start_main): Do not use BP_SYM.
1172 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1175 redundant return line.
1179 (sub_magnitudes): Likewise.
1185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1189 (sub_magnitudes): Likewise.
1196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1198 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1199 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1202 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1203 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1205 of __mul for squares.
1206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1211 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1213 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1216 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1218 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1219 prototype or function definition. Rename ubp_* variables and
1220 parameters. Remove argv definitions conditional on
1221 [__BOUNDED_POINTERS__].
1222 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1223 * elf/dl-runtime.c (_dl_fixup): Likewise.
1224 * include/set-hooks.h (RUN_HOOK): Likewise.
1225 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1227 * string/strcpy.c (strcpy): Do not use __unbounded.
1228 * sysdeps/generic/frame.h (struct layout): Likewise.
1229 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1230 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1231 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1232 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1233 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1234 (__backtrace): Likewise.
1235 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1237 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1239 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1241 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1242 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1243 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1244 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1245 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1246 Do not use __unbounded.
1247 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1248 Rename __unboundedrlimits parameter to rlimits in prototype.
1249 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1250 Do not use __unbounded.
1251 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1253 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1254 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1255 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1256 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1257 __ptrvalue or __unbounded.
1258 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1259 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1261 (__new_msgctl): Do not use __ptrvalue.
1262 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1264 (__libc_msgrcv): Do not use __ptrvalue.
1265 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1266 startup_info): Do not use __unbounded.
1267 (__libc_start_main): Likewise. Rename ubp_* variables and
1268 parameters. Remove argv definitions conditional on
1269 [__BOUNDED_POINTERS__].
1270 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1272 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1276 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1278 (__new_shmctl): Do not use __ptrvalue.
1279 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1280 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1282 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1284 (__libc_sigaction): Likewise.
1285 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1288 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1290 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1292 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1294 * string/mempcpy.c: Implement by calling memcpy.
1296 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1303 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1304 values in the mantissa.
1306 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1307 minimize writes to Z.
1308 (sub_magnitudes): Simplify code a bit.
1310 2013-02-12 Roland McGrath <roland@hack.frob.com>
1312 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1313 from the message. The linker prefixes all warnings with that already.
1315 2013-02-12 Andreas Schwab <schwab@suse.de>
1318 * posix/regexec.c (extend_buffers): Add parameter min_len.
1319 (check_matching): Pass minimum needed length.
1320 (clean_state_log_if_needed): Likewise.
1321 (get_subexp): Likewise.
1322 * posix/Makefile (tests): Add bug-regex34.
1323 (bug-regex34-ENV): Define.
1324 * posix/bug-regex34.c: New file.
1327 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1328 elements compare against the byte sequence of it, not its name.
1329 * posix/Makefile (tests): Add bug-regex35.
1330 (bug-regex35-ENV): Define.
1331 * posix/bug-regex35.c: New file.
1333 2013-02-11 Tom de Vries <tom@codesourcery.com>
1335 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1337 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1338 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1339 (CHECK_EOL): Add undef.
1341 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1343 * bits/stdlib-bsearch.h: New file.
1344 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1345 * stdlib/stdlib.h: Likewise.
1347 2013-02-11 Roland McGrath <roland@hack.frob.com>
1349 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1350 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1352 * manual/search.texi (Array Search Function): Add missing const in
1354 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1355 declaration to use rlim_t.
1356 (Basic Scheduling Functions): Remove erroneous const from
1357 sched_getparam prototype. Remove erroneous * from
1358 sched_get_priority_max and sched_get_priority_min prototypes.
1359 (Resource Usage): Fix summary @comment on vtimes to refer to
1360 sys/vtimes.h rather than vtimes.h.
1361 Add missing *s in vtimes prototype.
1362 (Limits on Resources): Fix ulimit prototype to return long int.
1363 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1364 prototypes to use long int rather than double.
1365 (BSD Random): Fix initstate and setstate to use char *, not void *.
1366 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1367 prototype to make second argument 'struct aiocb64 *const[]'.
1368 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1369 (Status of AIO Operations): Remove erroneous const in aio_return and
1370 aio_return64 prototypes.
1371 (Synchronizing I/O): Fix sync prototype to return void.
1372 * manual/startup.texi (Suboptions): Remove an erroneous const in
1373 getsubopt prototype.
1374 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1375 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1376 use size_t rather than int.
1377 (Scanning All Users): Likewise for getpwent_r.
1378 (Setting Groups): Add missing const to setgroups prototype.
1379 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1380 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1381 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1382 'const void *' rather than 'const char *'.
1383 (Host Address Functions): Likewise for inet_ntop.
1384 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1385 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1386 ssize_t for return value.
1387 (Sending Data): Likewise for send, sendto, sendmsg.
1388 (Socket Option Functions): Add a missing const in setsockopt prototype.
1389 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1390 use wchar_t for the argument.
1391 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1392 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1394 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1395 double/float/long double for second argument.
1396 Fix return types of significand, significandf, significandl.
1397 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1398 argument in fchmod prototype.
1399 (File Owner): Use uid_t and gid_t in fchown prototype.
1400 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1401 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1402 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1403 use 'const struct dirent **' as argument types to CMP function pointer
1405 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1406 (File Times): Fix summary magic @comment for struct utimbuf and utime
1407 to refer to utime.h, not time.h.
1408 * manual/string.texi (Argz Functions): Add missing const in
1409 argz_extract and argz_next prototypes.
1410 (Finding Tokens in a String): Likewise for basename.
1411 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1412 (Copying and Concatenation): Fix typo in wmemmove prototype.
1413 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1414 (Signal Stack): Remove erroneous const in sigstack prototype.
1415 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1417 (Simple Calendar Time): Likewise for stime.
1418 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1420 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1421 say sys/sysctl.h instead.
1422 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1423 and vsyslog prototypes.
1425 2013-02-11 Tom de Vries <tom@codesourcery.com>
1427 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1430 2013-02-11 Roland McGrath <roland@hack.frob.com>
1432 * misc/sys/mman.h: Fix typo in mremap comment.
1434 2013-02-08 Roland McGrath <roland@hack.frob.com>
1436 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1437 the '\0' terminator.
1439 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1442 * debug/segfault.c: Don't include <bp-checks.h>.
1443 * sysdeps/generic/bp-checks.h: Remove file.
1444 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1445 (__GETDENTS): Don't use CHECK_N.
1446 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1447 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1448 (__getgroups): Don't use CHECK_N.
1449 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1450 (setgroups): Don't use CHECK_N.
1451 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1452 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1453 (__libc_msgrcv): Don't use CHECK_N.
1454 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1455 (__libc_msgsnd): Don't use CHECK_N.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1458 (__libc_pread): Don't use CHECK_N.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1460 include <bp-checks.h>.
1461 (__libc_pread64): Don't use CHECK_N.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1463 include <bp-checks.h>.
1464 (__libc_pwrite): Don't use CHECK_N.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1466 include <bp-checks.h>.
1467 (__libc_pwrite64): Don't use CHECK_N.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1470 (__libc_pread): Don't use CHECK_N.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1472 include <bp-checks.h>.
1473 (__libc_pread64): Don't use CHECK_N.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1475 include <bp-checks.h>.
1476 (__libc_pwrite): Don't use CHECK_N.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1478 include <bp-checks.h>.
1479 (__libc_pwrite64): Don't use CHECK_N.
1480 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1481 (do_pread): Don't use CHECK_N.
1482 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1483 (do_pread64): Don't use CHECK_N.
1484 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1485 (do_pwrite): Don't use CHECK_N.
1486 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1487 (do_pwrite64): Don't use CHECK_N.
1488 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1489 (__libc_readv): Don't use CHECK_N.
1490 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1491 (semop): Don't use CHECK_N.
1492 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1494 (semtimedop): Don't use CHECK_N.
1495 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1496 (__libc_pread): Don't use CHECK_N.
1497 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1499 (__libc_pread64): Don't use CHECK_N.
1500 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1502 (__libc_pwrite): Don't use CHECK_N.
1503 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1505 (__libc_pwrite64): Don't use CHECK_N.
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1508 (__libc_msgrcv): Don't use CHECK_N.
1509 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1510 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1511 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1512 (__libc_writev): Don't use CHECK_N.
1514 2013-02-08 Roland McGrath <roland@hack.frob.com>
1516 * string/strcpy.c: Removed unused variable.
1518 * Makeconfig (+sysdep-includes): Define with := rather than =.
1519 Use an existing include/ subdir of each sysdeps dir before it.
1521 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1523 * nscd/connection.c (register_traced_file): Comment function.
1524 [HAVE_INOTIFY] (union __inev): Define.
1525 [HAVE_INOTIFY] (inotify_check_files): New function.
1526 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1527 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1529 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1531 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1533 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1534 loaded if not already and that a failure is permanent.
1536 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1539 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1540 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1542 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1545 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1546 (CHECK_1_NULL_OK): Likewise.
1547 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1548 (__fxstat): Do not use CHECK_1.
1549 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1551 (___fxstat64): Do not use CHECK_1.
1552 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1554 (__fxstatat): Do not use CHECK_1.
1555 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1557 (__fxstatat64): Do not use CHECK_1.
1558 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1560 (__fxstat): Do not use CHECK_1.
1561 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1563 (__fxstatat): Do not use CHECK_1.
1564 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1566 (__getresgid): Do not use CHECK_1.
1567 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1569 (__getresuid): Do not use CHECK_1.
1570 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1572 (__lxstat): Do not use CHECK_1.
1573 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1575 (__old_msgctl): Do not use CHECK_1.
1576 (__new_msgctl): Likewise.
1577 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1579 (__new_setrlimit): Do not use CHECK_1.
1580 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1582 (__old_shmctl): Do not use CHECK_1.
1583 (__new_shmctl): Likewise.
1584 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1586 (__xstat): Do not use CHECK_1.
1587 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1588 (__lxstat): Do not use CHECK_1.
1589 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1591 (___lxstat64): Do not use CHECK_1.
1592 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1593 (__old_msgctl): Do not use CHECK_1.
1594 (__new_msgctl): Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1597 (__gettimeofday): Do not use CHECK_1.
1598 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1599 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1600 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1602 (__gettimeofday): Do not use CHECK_1.
1603 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1604 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1605 (__new_shmctl): Do not use CHECK_1.
1606 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1608 (do_sigtimedwait): Do not use CHECK_1.
1609 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1611 (do_sigwaitinfo): Do not use CHECK_1.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1614 (msgctl): Do not use CHECK_1.
1615 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1617 (shmctl): Do not use CHECK_1.
1618 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1619 (ustat): Do not use CHECK_1.
1620 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1622 (__fxstat): Do not use CHECK_1.
1623 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1625 (__fxstatat): Do not use CHECK_1.
1626 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1628 (__lxstat): Do not use CHECK_1.
1629 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1631 (__xstat): Do not use CHECK_1.
1632 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1633 (__xstat): Do not use CHECK_1.
1634 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1635 (___xstat64): Do not use CHECK_1.
1638 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1640 (CHECK_BOUNDS_HIGH): Likewise.
1641 * string/strcpy.c: Do not include <bp-checks.h>.
1642 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1644 2013-02-07 Roland McGrath <roland@hack.frob.com>
1646 * nscd/nscd-client.h (__nscd_drop_map_ref):
1647 Add __attribute__ ((unused)).
1648 * nis/nss-nisplus.h (niserr2nss): Likewise.
1650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1651 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1653 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1654 Remove inline keyword.
1655 * include/rounding-mode.h (round_away): Likewise.
1656 * libio/wfileops.c (adjust_wide_data): Likewise.
1657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1658 (__m128i_strloadu_tolower): Likewise.
1659 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1660 (__m128i_strloadu_tolower): Likewise.
1661 * time/mktime.c (ydhms_diff): Likewise.
1662 * locale/elem-hash.h (elem_hash): Likewise.
1663 * locale/setlocale.c (setdata): Likewise.
1664 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1665 (re_string_wchar_at): Likewise.
1666 (bitset_not, bitset_merge, bitset_mask): Likewise.
1667 [!(__GNUC__ > 3)] (inline): Remove macro.
1668 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1669 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1670 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1671 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1672 * string/memcmp.c (memcmp_bytes): Likewise.
1673 * locale/programs/locarchive.c (compute_hashval): Likewise.
1674 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1675 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1676 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1677 * nss/getent.c (print_rpc, print_protocols): Likewise.
1678 (print_passwd, print_group, print_aliases): Likewise.
1679 * nis/nss-nisplus.h (niserr2nss): Likewise.
1680 * nscd/connections.c (restart_p): Likewise.
1681 Change return type to bool.
1683 2013-02-05 Roland McGrath <roland@hack.frob.com>
1685 * Makeconfig (all-Depend-files): Add existing
1686 $(sorted-subdirs:=/Depend) files.
1687 (all-subdirs): Remove nss.
1688 * sysdeps/unix/inet/Subdirs: Add it here instead.
1689 * hesiod/Depend: New file.
1691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1692 instead of calling alloca.
1694 * io/lseek.c (__lseek): Rename to __libc_lseek.
1695 Define __lseek as an alias.
1697 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1699 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1701 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1702 else clause and remove check for non-standard endianness.
1704 2013-02-04 David S. Miller <davem@davemloft.net>
1706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1708 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1711 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1712 (__ubp_memchr): Remove prototype.
1713 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1714 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1715 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1716 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1717 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1719 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1720 (__ubp_memchr): Likewise.
1721 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1722 (__ubp_memchr): Likewise.
1723 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1724 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1725 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1726 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1728 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1729 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1730 (__getcwd): Do not use CHECK_STRING.
1731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1733 (__real_chown): Do not use CHECK_STRING.
1734 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1736 (fchownat): Do not use CHECK_STRING.
1737 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1739 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1741 (__lchown): Do not use CHECK_STRING.
1742 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1743 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1744 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1745 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1747 include <bp-checks.h>.
1748 (truncate64): Do not use CHECK_STRING.
1749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1751 (__real_chown): Do not use CHECK_STRING.
1752 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1754 (__lchown): Do not use CHECK_STRING.
1755 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1757 (__chown): Do not use CHECK_STRING.
1758 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1760 (truncate64): Do not use CHECK_STRING.
1761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1763 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1764 (__xmknod): Do not use CHECK_STRING.
1765 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1767 (__xmknodat): Do not use CHECK_STRING.
1768 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1769 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1771 2013-02-04 Andreas Schwab <schwab@suse.de>
1774 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1775 * include/netdb.h: Likewise for h_errno.
1776 * elf/tst-stackguard1.c: Include <tls.h>.
1778 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1780 * elf/link.h (struct link_map): Extend the l_addr comment.
1781 * include/link.h (struct link_map): Likewise.
1783 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1786 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1787 (BOUNDED_1): Remove macro.
1788 * debug/backtrace.c: Don't include <bp-checks.h>.
1789 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1790 (__backtrace): Likewise.
1791 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1793 (__backtrace): Don't use BOUNDED_1.
1794 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1796 (__backtrace): Don't use BOUNDED_1.
1797 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1798 (__backtrace): Don't use BOUNDED_1.
1799 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1800 (shmat): Don't use BOUNDED_N.
1802 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1805 * sysdeps/generic/bp-start.h: Remove file.
1806 * csu/libc-start.c: Don't include <bp-start.h>.
1807 (LIBC_START_MAIN): Set up __environ directly instead of using
1808 INIT_ARGV_and_ENVIRON.
1809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1813 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1815 (CHECK_FCNTL): Likewise.
1816 (CHECK_N_PAGES): Likewise.
1819 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1821 (CHECK_SIGSET_NULL_OK): Likewise.
1822 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1824 (sigpending): Don't use CHECK_SIGSET.
1825 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1828 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1830 (do_sigsuspend): Don't use CHECK_SIGSET.
1831 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1833 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1834 (do_sigwait): Don't use CHECK_SIGSET.
1835 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1838 include <bp-checks.h>.
1839 (sigpending): Don't use CHECK_SIGSET.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1841 include <bp-checks.h>.
1842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1843 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1845 (sigpending): Don't use CHECK_SIGSET.
1846 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1851 * sysdeps/generic/bp-semctl.h: Remove file.
1852 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1853 <bp-checks.h> and <bp-semctl.h>.
1854 (__old_semctl): Don't use CHECK_SEMCTL.
1855 (__new_semctl): Likewise.
1856 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1858 (__old_semctl): Don't use CHECK_SEMCTL.
1859 (__new_semctl): Likewise.
1860 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1861 <bp-checks.h> and <bp-semctl.h>.
1862 (__old_semctl): Don't use CHECK_SEMCTL.
1863 (__new_semctl): Likewise.
1864 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1865 <bp-checks.h> and <bp-semctl.h>.
1866 (semctl): Don't use CHECK_SEMCTL.
1869 * Makerules (elide-bp-thunks): Remove variable.
1870 (elide-routines.oS): Don't use $(elide-bp-thunks).
1871 (elide-routines.os): Likewise.
1872 (elide-routines.o): Likewise.
1873 (elide-routines.op): Likewise.
1874 (elide-routines.og): Likewise.
1875 (objects): Don't use $(bp-thunks).
1876 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1878 (common-generated): Do not add s-proto-bp.d.
1879 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1882 Do not generate makefile rules for bounded-pointer thunks.
1883 * sysdeps/generic/bp-thunks.h: Remove file.
1884 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1885 * sysdeps/unix/s-proto-bp.S: Likewise.
1888 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1889 parts of result separately when argument is not close to line from
1890 -i to i and one part of argument is small.
1891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1893 * math/libm-test.inc (cacos_test): Add more tests.
1894 (casin_test): Likewise.
1895 (casinh_test): Likewise.
1896 * sysdeps/i386/fpu/libm-test-ulps: Update.
1897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1899 2013-01-31 David S. Miller <davem@davemloft.net>
1901 * po/de.po: Update from translation team.
1903 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1905 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1907 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1909 * configure.in (_AC_PROG_CC_C89): New definition.
1910 * configure: Regenerate.
1912 * configure.in (AC_PROG_CPP): New definition.
1913 * configure: Regenerate.
1915 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1917 * debug/tst-backtrace.h: New file.
1918 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1919 (ret): Remove variable.
1921 (FAIL): Remove macro.
1922 (NO_INLINE): Likewise.
1923 (fn1): Use match function instead of strstr.
1924 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1925 (ret): Remove variable.
1927 (FAIL): Remove macro.
1928 (NO_INLINE): Likewise.
1929 (fn): Use match function instead of strstr.
1930 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1931 (ret): Remove variable.
1933 (FAIL): Remove macro.
1934 (NO_INLINE): Likewise.
1935 (handle_signal): Use match function instead of strstr.
1936 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1937 (ret): Remove variable.
1939 (FAIL): Remove macro.
1940 (NO_INLINE): Likewise.
1941 (handle_signal): Use match function instead of strstr.
1943 2013-01-23 Roland McGrath <roland@hack.frob.com>
1945 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1947 2013-01-23 David S. Miller <davem@davemloft.net>
1949 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1950 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1951 argument of CAS if possible.
1952 * sysdeps/sparc/sparc64/bits/atomic.h
1953 (__arch_compare_and_exchange_val_32_acq): Likewise.
1954 (__arch_compare_and_exchange_val_64_acq): Likewise.
1956 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1958 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1959 * sysdeps/posix/ulimit.c: ... this.
1961 * sysdeps/unix/bsd/ulimit.c: Remove file.
1963 2013-01-23 Adam Conrad <adconrad@0c3.net>
1965 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1966 (LDFLAGS-tst-array5): Likewise.
1968 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1971 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1972 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1973 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1974 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1976 2013-01-21 David S. Miller <davem@davemloft.net>
1978 * sysdeps/sparc/backtrace.c: New file.
1979 * sysdeps/sparc/sparc32/backtrace.h: New file.
1980 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1981 * sysdeps/sparc/sparc64/backtrace.h: New file.
1982 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1983 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1986 2013-01-21 Andreas Schwab <schwab@suse.de>
1989 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1992 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1998 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1999 Mark Mitchell <mark@codesourcery.com>
2000 Tom de Vries <tom@codesourcery.com>
2001 Paul Pluzhnikov <ppluzhnikov@google.com>
2003 * debug/tst-backtrace2.c: New file.
2004 * debug/tst-backtrace3.c: Likewise.
2005 * debug/tst-backtrace4.c: Likewise.
2006 * debug/tst-backtrace5.c: Likewise.
2007 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2008 (CFLAGS-tst-backtrace3.c): Likewise.
2009 (CFLAGS-tst-backtrace4.c): Likewise.
2010 (CFLAGS-tst-backtrace5.c): Likewise.
2011 (LDFLAGS-tst-backtrace2): Likewise.
2012 (LDFLAGS-tst-backtrace3): Likewise.
2013 (LDFLAGS-tst-backtrace4): Likewise.
2014 (LDFLAGS-tst-backtrace5): Likewise.
2015 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2016 tst-backtrace4 and tst-backtrace5.
2018 2013-01-18 Anton Blanchard <anton@samba.org>
2019 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2021 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2022 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2024 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2026 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2027 "+r" and remove output regs list as redundant. Add explicit inline
2028 asm to specify register of return val to work around compiler codegen
2029 bug. Remove (int) cast on return value. Add return type parameter to
2030 use in macro so that this macro does not truncate return value for
2032 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2033 pass to INTERNAL_VSYSCALL_NCS.
2034 (INLINE_VSYSCALL): Add 'long int' as return type to
2035 INTERNAL_VSYSCALL_NCS macro invocation.
2036 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2037 INTERNAL_VSYSCALL_NCS macro invocation.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2040 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2043 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2044 Fix application of SIMD FP exception mask.
2046 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2047 mp_no from a power of two.
2048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2049 __mpexp_twomm1. Use __pow_mp.
2051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2054 2013-01-17 David S. Miller <davem@davemloft.net>
2056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2058 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2061 * include/complex.h: Condition contents on [!_COMPLEX_H].
2062 (__kernel_casinhf): New prototype.
2063 (__kernel_casinh): Likewise.
2064 (__kernel_casinhl): Likewise.
2065 * math/Makefile (libm_calls): Add k_casinh.
2066 * math/k_casinh.c: New file.
2067 * math/k_casinhf.c: Likewise.
2068 * math/k_casinhl.c: Likewise.
2069 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2070 finite nonzero arguments.
2071 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2072 finite nonzero arguments.
2073 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2074 finite nonzero arguments.
2075 * math/s_casinh.c: Do not include <float.h>.
2076 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2077 * math/s_casinhf.c: Do not include <float.h>.
2078 (__casinhf): Move code for finite nonzero arguments to
2080 * math/s_casinhl.c: Do not include <float.h>.
2081 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2083 (__casinhl): Move code for finite nonzero arguments to
2085 * math/libm-test.inc (cacos_test): Add more tests.
2086 * sysdeps/i386/fpu/libm-test-ulps: Update.
2087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2089 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2091 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2092 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2093 [!HAVE_MREMAP]: Remove [defined linux] case.
2094 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2096 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2098 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2100 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2102 * elf/elf.h (R_386_SIZE32): New relocation.
2103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2105 (elf_machine_rela): Likewise.
2106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2107 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2109 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2111 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2112 (FP_FAST_FMA): Do not define.
2113 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2114 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2115 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2116 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2117 !_SOFT_FLOAT]: Likewise.
2118 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2121 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2122 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2125 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2126 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2129 2013-01-16 Andreas Schwab <schwab@suse.de>
2132 * include/stdlib.h (__mktemp): Add declaration.
2133 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2134 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2136 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2138 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2140 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2141 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2142 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2144 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2145 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2149 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2150 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2151 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2153 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2154 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2156 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2158 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2160 2013-01-15 David S. Miller <davem@davemloft.net>
2162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2163 trunc{,f} to libm-sysdep_routes.
2164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2174 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2177 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2178 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2179 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2182 nearbyint{,f} to libm-sysdep_routes.
2183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2200 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2201 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2203 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2204 libc_feholdexcept and libc_fesetenv.
2206 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2208 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2210 2013-01-14 David S. Miller <davem@davemloft.net>
2212 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2213 (SPARC_ASM_VIS2_IFUNC): Likewise.
2214 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2216 use of 'siam' instruction.
2217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2250 routines to libm-sysdep_routines.
2251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2254 fdim/fdimf to libm-sysdep_routines.
2255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2263 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2264 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2265 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2266 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2268 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2273 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2278 local variable MPTWO.
2279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2284 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2287 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2289 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2293 * manual/pattern.texi (glob_t): Document gl_flags.
2294 (glob64_t): Likewise.
2296 2013-01-11 David S. Miller <davem@davemloft.net>
2298 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2299 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2300 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2301 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2302 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2303 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2304 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2305 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2306 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2307 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2308 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2309 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2310 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2313 sparc V9 rather than using V8 code.
2314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2317 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2319 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2322 2013-01-11 Roland McGrath <roland@hack.frob.com>
2324 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2325 not in the main loop.
2326 * configure: Regenerated.
2328 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2330 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2331 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2333 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2334 [!__GLIBC_HAVE_LONG_LONG] case.
2335 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2336 condition to just #else.
2337 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2338 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2339 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2340 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2342 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2343 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2344 #elif condition to just #else.
2345 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2346 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2347 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2348 #elif condition to just #else.
2350 2013-01-11 Steve Ellcey <sellcey@mips.com>
2352 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2353 (EF_MIPS_ARCH_64): Fix value.
2354 (EF_MIPS_ARCH_32R2): New.
2355 (EF_MIPS_ARCH_64R2): New.
2357 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2359 * Makeconfig (+link-pie-before-libc): New.
2360 (+link-pie-after-libc): Likewise.
2361 (+link-pie-tests): Likewise.
2362 (+link-pie): Rewritten.
2363 (link-before-libc): Remove $(config-LDFLAGS).
2364 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2365 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2366 (config-LDFLAGS): Renamed to ...
2367 (rtld-LDFLAGS): This.
2368 (rtld-tests-LDFLAGS): New macro.
2369 (link-libc-rpath-link): Likewise.
2370 (link-libc-tests-rpath-link): Likewise.
2371 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2372 (link-libc): Prepand $(link-libc-rpath-link).
2373 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2374 (test-program-prefix): New macro.
2375 (test-via-rtld-prefix): Likewise.
2376 (test-program-cmd): Likewise.
2377 (host-test-program-cmd): Likewise.
2378 * Makefile ($(common-objpfx)testrun.sh): Replace
2379 $(run-program-prefix) with $(test-program-prefix).
2380 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2382 ($(common-objpfx)shlib.lds): Likewise.
2383 (build-module-helper): Likewise.
2384 ($(common-objpfx)format.lds): Likewise.
2385 * Rules (binaries-pie-tests): New.
2386 (binaries-pie-notests): Likewise.
2387 (binaries-pie): Rewritten.
2388 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2389 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2390 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2391 (make-test-out): Replace $(host-built-program-cmd) with
2392 $(host-test-program-cmd).
2393 * config.make.in (build-hardcoded-path-in-tests): New variable.
2394 * configure.in (--enable-hardcoded-path-in-tests): New configure
2396 (hardcoded_path_in_tests): New AC_SUBST.
2397 * configure: Regenerated.
2398 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2399 $(built-program-cmd) with $(test-program-cmd).
2400 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2401 (test_program_cmd): This.
2402 * elf/Makefile ($(objpfx)order.out): Run test with
2403 $(test-program-prefix).
2404 ($(objpfx)order2.out): Likewise.
2405 ($(objpfx)tst-initorder.out): Likewise.
2406 ($(objpfx)tst-initorder2.out): Likewise.
2407 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2408 $(test-program-cmd).
2409 ($(objpfx)tst-array1-static.out): Likewise.
2410 ($(objpfx)tst-array2.out): Likewise.
2411 ($(objpfx)tst-array3.out): Likewise.
2412 ($(objpfx)tst-array4.out): Likewise.
2413 ($(objpfx)tst-array5.out): Likewise.
2414 ($(objpfx)tst-array5-static.out): Likewise.
2415 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2416 $(test-program-cmd).
2417 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2418 $(run-program-prefix) with $(test-program-prefix).
2419 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2420 (test_program_prefix): This.
2421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2422 $(run-program-prefix) with $(test-program-prefix).
2423 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2424 (test_program_prefix): This.
2425 * iconvdata/tst-tables.sh: Likewise.
2426 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2427 $(run-program-prefix) with $(test-program-prefix).
2428 ($(objpfx)tst-translit.out): Likewise.
2429 ($(objpfx)tst-gettext2.out): Likewise.
2430 ($(objpfx)tst-gettext4.out): Likewise.
2431 ($(objpfx)tst-gettext6.out): Likewise.
2432 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2433 (test_program_prefix): This.
2434 * intl/tst-gettext2.sh: Likewise.
2435 * intl/tst-gettext4.sh Likewise.
2436 * intl/tst-gettext6.sh: Likewise.
2437 * intl/tst-translit.sh: Likewise.
2438 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2439 with $(test-program-cmd).
2440 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2441 $(run-program-prefix) with $(test-program-prefix).
2442 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2443 (test_program_prefix): This.
2444 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2445 $(run-program-prefix) with $(test-program-prefix).
2446 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2447 (test_program_prefix): This.
2448 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2449 * posix/Makefile ($(objpfx)globtest.out): Replace
2450 $(run-via-rtld-prefix) and $(test-wrapper) with
2451 $(test-program-prefix) and $(test-via-rtld-prefix).
2452 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2453 $(test-program-prefix).
2454 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2455 $(host-test-program-cmd).
2456 (tst-spawn-ARGS): Likewise.
2457 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2458 $(test-program-prefix).
2459 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2460 (test_via_rtld_prefix): This.
2461 (test_wrapper): Renamed to ...
2462 (test_program_prefix): This.
2463 (run_program_prefix): Replaced by test_program_prefix.
2464 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2465 (test_program_prefix): This.
2466 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2467 with $(host-test-program-cmd).
2468 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2469 $(run-program-prefix) with $(test-program-prefix).
2470 ($(objpfx)tst-printf.out): Likewise.
2471 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2472 $(test-program-cmd).
2473 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2474 (test_program_prefix): This.
2475 * stdio-common/tst-unbputc.sh: Likewise.
2476 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2477 $(run-program-prefix) with $(test-program-prefix).
2478 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2479 (test_program_prefix): This.
2480 * string/Makefile ($(objpfx)tst-svc.out): Replace
2481 $(built-program-cmd) with $(test-program-cmd).
2483 2013-01-11 Andreas Jaeger <aj@suse.de>
2486 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2487 value. Sync with Linux 3.7.
2489 2013-01-10 David S. Miller <davem@davemloft.net>
2491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2495 2013-01-10 Roland McGrath <roland@hack.frob.com>
2497 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2499 * configure: Regenerated.
2501 2013-01-10 David S. Miller <davem@davemloft.net>
2503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2504 sparc V9 rather than using V8 code.
2505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2508 2013-01-10 Roland McGrath <roland@hack.frob.com>
2510 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2511 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2512 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2513 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2514 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2515 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2516 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2517 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2518 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2519 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2520 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2521 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2522 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2523 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2524 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2525 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2526 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2527 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2528 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2529 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2530 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2531 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2532 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2533 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2534 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2535 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2536 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2538 2013-01-10 David S. Miller <davem@davemloft.net>
2540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2542 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2544 * posix/Makefile (tests-static): New variable.
2545 (tests): Add $(tests-static).
2546 (tst-exec-static-ARGS): New variable.
2547 (tst-spawn-static-ARGS): Likewise.
2548 * posix/tst-exec-static.c: New file.
2549 * posix/tst-spawn-static.c: Likewise.
2550 * posix/tst-exec.c: Support run directly.
2551 * posix/tst-spawn.c: Likewise.
2553 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2555 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2557 * math/bits/mathcalls.h (llrint): Likewise.
2558 (llround): Likewise.
2559 * stdlib/stdlib.h (struct drand48_data): Likewise.
2560 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2561 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2564 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2566 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2567 (elf_greg_t): Likewise.
2568 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2569 (__jmp_buf): Likewise.
2570 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2572 (llrint): Likewise, for all definitions.
2573 (llrintl): Likewise.
2575 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2576 Remove [__GNUC__] condition.
2577 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2578 condition to just [__USE_ISOC99].
2579 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2581 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2585 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2587 (_POSIX_V6_ILP32_OFF32): Likewise.
2588 (_XBS5_ILP32_OFF32): Likewise.
2589 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2590 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2592 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2594 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2597 doubles __mpexp_twomm1. Adjust usage.
2598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2601 2013-01-10 Andreas Schwab <schwab@suse.de>
2604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2605 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2607 2013-01-09 David S. Miller <davem@davemloft.net>
2610 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2611 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2612 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2613 TCP_FASTOPEN): Define.
2614 (tcp_repair_opt): New structure.
2615 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2617 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2618 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2619 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2620 (tcp_cookie_transactions): New structure.
2622 2013-01-09 Anton Blanchard <anton@samba.org>
2624 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2629 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2631 * include/features.h (__USE_ANSI): Remove.
2633 2013-01-09 Roland McGrath <roland@hack.frob.com>
2635 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2637 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2639 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2641 * sysdeps/s390/fpu/libm-test-ulps: Update.
2643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2650 (__mp_dbl): Likewise.
2651 (__dbl_mp): Likewise.
2652 (add_magnitudes): Likewise.
2653 (sub_magnitudes): Likewise.
2659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2664 (__mp_dbl): Likewise.
2665 (__dbl_mp): Likewise.
2666 (add_magnitudes): Likewise.
2667 (sub_magnitudes): Likewise.
2673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2678 (__mp_dbl): Likewise.
2679 (__dbl_mp): Likewise.
2680 (add_magnitudes): Likewise.
2681 (sub_magnitudes): Likewise.
2688 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2690 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2691 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2692 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2693 2 && __USE_EXTERN_INLINES]: Likewise.
2695 2013-01-08 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2700 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2701 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2703 2013-01-07 Anton Blanchard <anton@samba.org>
2705 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2706 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2707 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2708 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2709 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2710 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2711 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2712 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2722 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2723 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2725 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2728 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2730 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2732 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2737 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2738 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2749 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2751 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2752 (__MALLOC_PMT): Likewise.
2753 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2754 [__GNUC__], only on [_LIBC].
2755 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2756 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2757 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2758 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2759 forward declaration.
2760 (realloc_hook_ini): Likewise.
2761 (memalign_hook_ini): Likewise.
2762 (__libc_memalign): Do not use __MALLOC_PMT in variable
2764 (__libc_valloc): Likewise.
2765 (__libc_pvalloc): Likewise.
2766 (__libc_calloc): Likewise.
2767 (__posix_memalign): Likewise.
2770 * math/s_casinh.c: Include <float.h>.
2771 (__casinh): Do not do computation with squaring and square root
2772 for large arguments.
2773 * math/s_casinhf.c: Include <float.h>.
2774 (__casinhf): Do not do computation with squaring and square root
2775 for large arguments.
2776 * math/s_casinhl.c: Include <float.h>.
2777 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2778 (__casinhl): Do not do computation with squaring and square root
2779 for large arguments.
2780 * math/libm-test.inc (casin_test): Add more tests.
2781 (casinh_test): Likewise.
2782 * sysdeps/i386/fpu/libm-test-ulps: Update.
2783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2785 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2787 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2788 (__x86_64_raw_data_cache_size): Likewise.
2789 (__x86_64_data_cache_size_half): Likewise.
2790 (__x86_64_raw_data_cache_size_half): Likewise.
2791 (__x86_64_shared_cache_size): Likewise.
2792 (__x86_64_raw_shared_cache_size): Likewise.
2793 (__x86_64_shared_cache_size_half): Likewise.
2794 (__x86_64_raw_shared_cache_size_half): Likewise.
2795 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2797 (__x86_data_cache_size): This.
2798 (__x86_64_raw_data_cache_size): Renamed to ...
2799 (__x86_raw_data_cache_size): This.
2800 (__x86_64_data_cache_size_half): Renamed to ...
2801 (__x86_data_cache_size_half): This.
2802 (__x86_64_raw_data_cache_size_half): Renamed to ...
2803 (__x86_raw_data_cache_size_half): This.
2804 (__x86_64_shared_cache_size): Renamed to ...
2805 (__x86_shared_cache_size): This.
2806 (__x86_64_raw_shared_cache_size): Renamed to ...
2807 (__x86_raw_shared_cache_size): This.
2808 (__x86_64_shared_cache_size_half): Renamed to ...
2809 (__x86_shared_cache_size_half): This.
2810 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2811 (__x86_raw_shared_cache_size_half): This.
2812 * sysdeps/x86_64/memcpy.S: Updated.
2813 * sysdeps/x86_64/memset.S: Likewise.
2814 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2818 2013-01-04 David S. Miller <davem@davemloft.net>
2820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2822 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2825 1 to avoid redefinition warning.
2826 (__USE_GNU): Don't define.
2827 (init_signaling_nan): Protoize.
2829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2831 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2833 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2835 (__cpymn): Likewise.
2836 (norm): Remove commented code.
2838 (__mp_dbl): Likewise.
2840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2841 (__cpymn): Likewise.
2842 (norm): Remove commented code.
2844 (__mp_dbl): Likewise.
2847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2848 mp_no value for 1.0 and 2.0.
2849 (norm): Use RADIXI instead of radixi.d.
2851 (__mul): Use 0.0 instead of zero.d.
2852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2853 mp_no value for 1.0 and 2.0.
2854 (norm): Use RADIXI instead of radixi.d.
2856 (__mul): Use 0.0 instead of zero.d.
2858 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2861 * math/s_casinh.c (__casinh): Reduce finite argument to first
2862 quadrant then set signs of results at the end.
2863 * math/s_casinhf.c (__casinhf): Likewise.
2864 * math/s_casinhl.c (__casinhl): Likewise.
2865 * math/libm-test.inc (casin_test): Add more tests.
2866 (casinh_test): Likewise.
2867 * sysdeps/i386/fpu/libm-test-ulps: Update.
2868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2872 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2874 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2876 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2879 (__mp_dbl): Likewise.
2882 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2883 and adjust the header comment.
2885 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2886 variable name from declaration.
2888 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2891 Initialize COMMON_CPUID_INDEX_7 element.
2892 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2893 (CPUID_RTM): Likewise.
2894 (HAS_RTM): Likewise.
2895 (COMMON_CPUID_INDEX_7): New enum.
2897 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2900 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2901 size is zero, record memory as freed.
2903 2013-01-03 Andreas Jaeger <aj@suse.de>
2905 * po/ia.po: Add new Interlingua translation.
2907 2012-01-03 Allan McRae <allan@archlinux.org>
2909 * locale/programs/localedef.c: Fix description of '--posix' flag.
2911 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2913 * NEWS: Update dates in second copyright notice.
2914 * README: Update copyright dates in example.
2915 * manual/libc.texinfo: Update copyright dates.
2916 * scripts/test-installation.pl: Update copyright date in --version
2919 * hurd/ctty-input.c: Fix copyright notice formatting.
2920 * hurd/ctty-output.c: Likewise.
2921 * hurd/dtable.c: Likewise.
2922 * hurd/hurd-raise.c: Likewise.
2923 * hurd/hurdprio.c: Likewise.
2924 * hurd/msgportdemux.c: Likewise.
2925 * misc/sys/file.h: Likewise.
2926 * misc/sys/ioctl.h: Likewise.
2927 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2928 * sysdeps/mach/hurd/chdir.c: Likewise.
2929 * sysdeps/mach/hurd/fchdir.c: Likewise.
2930 * sysdeps/mach/hurd/rename.c: Likewise.
2931 * sysdeps/mach/hurd/rmdir.c: Likewise.
2932 * sysdeps/mach/hurd/seekdir.c: Likewise.
2933 * sysdeps/mach/hurd/setsid.c: Likewise.
2934 * sysdeps/posix/wait3.c: Likewise.
2936 * All files with FSF copyright notices: Update copyright dates
2937 using scripts/update-copyrights.
2938 * intl/plural.c: Regenerated.
2939 * locale/programs/charmap-kw.h: Likewise.
2940 * locale/programs/locfile-kw.h: Likewise.
2942 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2944 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2947 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2948 calculation loop and add branch prediction.
2950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2951 check access beyond bounds of m1np.
2953 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2955 (__inv): Remove local variable MPTWO to use the global
2957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2960 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2961 MP3HALFS static const.
2963 2013-01-01 David S. Miller <davem@davemloft.net>
2965 * po/ca.po: Update from translation team.
2967 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2969 * scripts/update-copyrights: New file.
2970 * Makeconfig: Reformat copyright notice.
2971 * ctype/ctype.h: Likewise.
2972 * debug/swprintf_chk.c: Likewise.
2973 * elf/dl-cache.c: Likewise.
2974 * elf/dl-debug.c: Likewise.
2975 * elf/dl-object.c: Likewise.
2976 * grp/initgroups.c: Likewise.
2977 * hurd/Makefile: Likewise.
2978 * hurd/hurd/signal.h: Likewise.
2979 * hurd/hurdfault.c: Likewise.
2980 * hurd/hurdioctl.c: Likewise.
2981 * hurd/hurdlookup.c: Likewise.
2982 * hurd/intr-msg.c: Likewise.
2983 * iconv/gconv_open.c: Likewise.
2984 * libio/swprintf.c: Likewise.
2985 * locale/lc-ctype.c: Likewise.
2986 * locale/nl_langinfo.c: Likewise.
2987 * mach/Machrules: Likewise.
2988 * mach/Makefile: Likewise.
2989 * malloc/obstack.h: Likewise.
2990 * manual/Makefile: Likewise.
2991 * manual/tsort.awk: Likewise.
2992 * misc/bits/stab.def: Likewise.
2993 * nis/nis_print_group_entry.c: Likewise.
2994 * nis/nis_table.c: Likewise.
2995 * nis/nss_compat/compat-pwd.c: Likewise.
2996 * nis/nss_compat/compat-spwd.c: Likewise.
2997 * po/Makefile: Likewise.
2998 * posix/fnmatch.c: Likewise.
2999 * posix/regex.h: Likewise.
3000 * resolv/Makefile: Likewise.
3001 * resolv/nss_dns/dns-network.c: Likewise.
3002 * resolv/res_hconf.c: Likewise.
3003 * scripts/gen-sorted.awk: Likewise.
3004 * soft-fp/soft-fp.h: Likewise.
3005 * stdio-common/printf.h: Likewise.
3006 * stdlib/monetary.h: Likewise.
3007 * stdlib/random.c: Likewise.
3008 * stdlib/random_r.c: Likewise.
3009 * sysdeps/generic/Makefile: Likewise.
3010 * sysdeps/gnu/Makefile: Likewise.
3011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3034 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3035 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3037 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3039 * sysdeps/mach/hurd/errnos.awk: Likewise.
3040 * sysdeps/mach/hurd/fork.c: Likewise.
3041 * sysdeps/mach/hurd/getcwd.c: Likewise.
3042 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3043 * sysdeps/mach/hurd/mmap.c: Likewise.
3044 * sysdeps/mach/hurd/utimes.c: Likewise.
3045 * sysdeps/mach/hurd/xmknod.c: Likewise.
3046 * sysdeps/posix/profil.c: Likewise.
3047 * sysdeps/posix/readdir_r.c: Likewise.
3048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3049 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3055 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3059 * sysdeps/pthread/lio_listio.c: Likewise.
3060 * sysdeps/sparc/dl-procinfo.h: Likewise.
3061 * sysdeps/unix/i386/sysdep.S: Likewise.
3062 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3063 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3064 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3065 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3067 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3068 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3069 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3070 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3071 * sysdeps/wordsize-32/divdi3.c: Likewise.
3072 * time/sys/time.h: Likewise.
3073 * wcsmbs/Makefile: Likewise.
3075 2013-01-01 David S. Miller <davem@davemloft.net>
3077 * po/fr.po: Update from translation team.
3079 * catgets/gencat.c: Update copyright year.
3080 * csu/version.c: Likewise.
3081 * debug/catchsegv.sh: Likewise.
3082 * debug/pcprofiledump.c: Likewise.
3083 * debug/xtrace.sh: Likewise.
3084 * elf/ldconfig.c: Likewise.
3085 * elf/ldd.bash.in: Likewise.
3086 * elf/pldd.c: Likewise.
3087 * elf/sotruss.ksh: Likewise.
3088 * elf/sprof.c: Likewise.
3089 * iconv/iconv_prog.c: Likewise.
3090 * iconv/iconvconfig.c: Likewise.
3091 * locale/programs/locale.c: Likewise.
3092 * locale/programs/localedef.c: Likewise.
3093 * login/programs/pt_chown.c: Likewise.
3094 * malloc/memusage.sh: Likewise.
3095 * malloc/memusagestat.c: Likewise.
3096 * malloc/mtrace.pl: Likewise.
3097 * nscd/nscd.c: Likewise.
3098 * nss/getent.c: Likewise.
3099 * nss/makedb.c: Likewise.
3100 * posix/getconf.c: Likewise.
3102 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3104 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3107 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3109 * math/bits/mathcalls.h (modf): Use __nonnull.
3111 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3113 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3114 (split): Use macro CN instead of the bare value.
3115 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3118 instead of the bare value.
3121 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3125 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3127 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3131 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3132 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3134 2012-12-28 Andreas Jaeger <aj@suse.de>
3136 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3137 values are from Linux 3.7.
3139 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3140 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3142 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3144 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3149 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3150 variables with preprocessor constants.
3151 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3152 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3153 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3155 2012-12-27 Bruno Haible <bruno@clisp.org>
3158 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3161 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3164 and use variable directly.
3165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3167 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3174 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3175 include directive. Remove local variable MPONE.
3176 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3177 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3180 2012-12-25 David S. Miller <davem@davemloft.net>
3182 * version.h (RELEASE): Set to "development".
3183 (VERSION): Set to "2.17.90".
3184 * NEWS: Add 2.18 section.
3186 2012-12-21 David S. Miller <davem@davemloft.net>
3188 * po/hr.po: Update from translation team.
3190 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3192 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3194 2012-12-19 Steve Ellcey <sellcey@mips.com>
3196 * NEWS: Mention new memcpy for MIPS.
3198 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3200 * manual/contrib.texi (Contributors): Spelling correction.
3202 2012-12-15 David S. Miller <davem@davemloft.net>
3204 * po/ru.po: Update from translation team.
3206 2012-12-13 David S. Miller <davem@davemloft.net>
3208 * NEWS: Mention IFUNC testsuite enhancements.
3210 * po/pl.po: Update from translation team.
3211 * po/bg.po: Likewise.
3213 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3214 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3216 2012-12-11 David S. Miller <davem@davemloft.net>
3218 * po/sv.po: Update from translation team.
3220 * po/vi.po: Update from translation team.
3222 * po/cs.po: Update from translation team.
3224 * po/de.po: Update from translation team.
3225 * po/eo.po: Likewise.
3226 * po/nl.po: Likewise.
3228 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3231 * manual/argp.texi (Argp Helper Functions): Move node to follow
3235 * manual/conf.texi (Limits on File System Capacity): Mention if
3236 terminating null is included in the max size.
3238 2012-12-10 Andreas Jaeger <aj@suse.de>
3240 * po/cs.po: Update from translation team.
3242 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3244 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3245 void pointer and cast to uintptr_t.
3246 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3248 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3249 * sysdeps/s390/s390-64/memset.S: Likewise.
3251 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3254 * menual/message.texi (Message Translation): Fix typos.
3255 (Helper programs for gettext): Likewise.
3257 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3260 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3263 2012-12-07 David S. Miller <davem@davemloft.net>
3265 * po/libc.pot: Update.
3267 2012-12-07 Richard Henderson <rth@redhat.com>
3270 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3271 normal/normal case to before the switch.
3272 (_FP_DIV): Likewise.
3274 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3275 Mike Frysinger <vapier@gentoo.org>
3277 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3278 check for __NR_fadvise64_64.
3280 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3282 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3283 0, not just to plain "0" as a statement.
3284 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3287 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3289 * NEWS: Use sourceware.org in Bugzilla URL.
3291 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3294 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3296 * stdio-common/tst-put-error.c (do_test): Add newline to the
3297 padded test to ensure flush.
3299 2012-12-05 Jeff Law <law@redhat.com>
3301 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3303 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3305 * README: Don't refer to ports add-on as distributed separately.
3306 Mention AArch64 in list of systems supported in the ports add-on.
3308 * LICENSES: Add more non-FSF copyright and license notices.
3310 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3315 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3316 10000 as width of padded output.
3318 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3323 variable LX with __attribute__ ((unused)).
3324 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3326 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3329 with __attribute__ ((unused)).
3331 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3333 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3335 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3337 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3338 (CFLAGS-nldbl-acos.c): New variable.
3339 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3340 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3341 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3342 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3343 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3344 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3345 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3346 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3347 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3348 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3349 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3350 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3351 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3352 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3353 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3354 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3355 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3356 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3357 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3358 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3359 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3360 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3361 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3362 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3363 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3364 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3365 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3366 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3367 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3368 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3369 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3370 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3371 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3372 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3373 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3374 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3375 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3376 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3377 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3378 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3379 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3380 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3381 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3382 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3383 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3384 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3385 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3386 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3387 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3388 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3389 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3390 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3391 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3392 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3393 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3394 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3395 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3396 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3397 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3398 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3399 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3400 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3401 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3402 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3403 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3404 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3405 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3406 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3407 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3408 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3409 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3410 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3411 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3412 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3413 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3414 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3415 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3416 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3417 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3418 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3419 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3420 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3421 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3422 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3423 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3424 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3425 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3426 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3427 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3428 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3429 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3430 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3431 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3432 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3433 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3434 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3435 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3438 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3442 whole low double instead of just low 47 bits when splitting values
3445 2012-12-03 Allan McRae <allan@archlinux.org>
3447 * manual/stdio.texi (Predefined Printf Handlers): Remove
3448 @hsep and @vsep usage.
3450 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3452 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3453 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3455 2012-12-03 Jeff Law <law@redhat.com>
3457 * time/sys/time.h (settimeofday): Do not mark TV argument
3460 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3462 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3463 when currently writing and seek to current position when not.
3464 * libio/Makefile (tests): Remove bug-fclose1.
3465 * libio/bug-fclose1.c: Delete.
3467 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3469 * manual/arith.texi (feenableexcept): Fix typo.
3470 (fedisableexcept): Likewise.
3472 2012-11-30 Roland McGrath <roland@hack.frob.com>
3474 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3475 second, differently-typed declaration, rather than a cast.
3477 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3479 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3480 * include/rpc/svc.h: ... here.
3482 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3485 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3486 depending n and resplen2 to catch cases where answer
3489 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3491 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3492 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3494 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3498 2012-11-29 Roland McGrath <roland@hack.frob.com>
3500 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3502 2012-11-28 Jeff Law <law@redhat.com>
3505 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3506 dataset_temporary. Track alloca usage into alloca_used.
3507 If dataset is large allocate and release it via malloc/free.
3509 2012-06-04 Florian Weimer <fweimer@redhat.com>
3512 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3514 2012-11-28 David S. Miller <davem@davemloft.net>
3516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3518 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3521 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3522 of pi/2 rounded to nearest to 64 bits.
3523 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3525 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3528 2012-11-28 Jeff Law <law@redhat.com>
3529 Martin Osvald <mosvald@redhat.com>
3532 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3533 * sunrpc/svc.c: Include time.h.
3534 (__svc_accept_failed): New function.
3535 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3536 any reason other than EINTR, call __svc_accept_failed.
3537 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3538 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3540 2012-11-28 Andreas Schwab <schwab@suse.de>
3542 * scripts/abilist.awk: Also handle indirect functions in .opd
3545 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3548 * sysdeps/x86/fpu/powl_helper.c: New file.
3549 * sysdeps/x86/fpu/Makefile: Likewise.
3550 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3552 (__ieee754_powl): Use __powl_helper for finite arguments except
3553 integer exponents below 8.
3554 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3556 (__ieee754_powl): Use __powl_helper for finite arguments except
3557 integer exponents below 8.
3558 * math/libm-test.inc (pow_test): Add more tests and enable some
3559 previously disabled tests.
3560 * sysdeps/i386/fpu/libm-test-ulps: Update.
3561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3564 Carlos O'Donell <carlos_odonell@mentor.com>
3566 * nss/makedb.c (is_prime): Assert that input is odd and greater
3567 than 4. Note that fact in a comment too.
3568 (next_prime): Add 4 to input.
3570 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3573 * libio/Makefile (tests): Add test case tst-fwrite-error.
3574 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3575 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3576 * libio/tst-fwrite-error.c: New test case.
3578 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3580 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3581 before casting to void *.
3582 * include/libc-internal.h (__pointer_type): New macro.
3583 (__integer_if_pointer_type_sub): Likewise.
3584 (__integer_if_pointer_type): Likewise.
3585 (cast_to_integer): Likewise.
3586 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3587 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3588 before casting to atomic64_t.
3589 (atomic_exchange_acq): Likewise.
3590 (__arch_exchange_and_add_body): Likewise.
3591 (__arch_add_body): Likewise.
3592 (atomic_add_negative): Likewise.
3593 (atomic_add_zero): Likewise.
3595 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3598 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3599 (add_fdes): Likewise.
3600 (linear_search_fdes): Likewise.
3601 (binary_search_unencoded_fdes): Likewise.
3603 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3605 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3607 2012-11-24 Adam Conrad <adconrad@0c3.net>
3609 * configure.in: Autodetect C++ header directories.
3610 * configure: Regenerated.
3612 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3614 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3616 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3620 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3622 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3623 LDBL_MANT_DIG == 106]: Disable some tests.
3624 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3626 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3631 input for small inputs. Return +/- pi/2 for large inputs.
3632 * math/libm-test.inc (atan_test): Add more tests.
3634 * sysdeps/generic/unwind-dw2-fde-glibc.c
3635 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3636 __attribute__ ((unused)).
3639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3640 x * y if x and y are nonzero and z is zero.
3643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3644 nonzero exponents with absolute value below 0x1p-117 to +/-
3648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3649 up arguments below 2**-450, not just those below 2**-500.
3650 * math/libm-test.inc (hypot_test): Add another test.
3653 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3654 Return a+b for ratio over 2**120, not 2**60.
3655 * math/libm-test.inc (hypot_test): Add another test.
3657 * math/libm-test.inc (clog_test): Use
3658 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3659 (clog10_test): Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3664 2012-11-22 Andreas Schwab <schwab@suse.de>
3666 * sysdeps/i386/fpu/libm-test-ulps: Update.
3668 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3670 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3671 printf output with newline.
3673 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3676 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3677 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3678 -z nodlopen, -z initfirst and -z execstack support.
3679 * configure: Regenerated.
3681 * elf/elf.h (DF_1_NODIRECT): New macro.
3682 (DF_1_IGNMULDEF): Likewise.
3683 (DF_1_NOKSYMS): Likewise.
3684 (DF_1_NOHDR): Likewise.
3685 (DF_1_EDITED): Likewise.
3686 (DF_1_NORELOC): Likewise.
3687 (DF_1_SYMINTPOSE): Likewise.
3688 (DF_1_GLOBAUDIT): Likewise.
3689 (DF_1_SINGLETON): Likewise.
3690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3691 DT_1_SUPPORTED_MASK bits.
3692 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3694 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3696 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3698 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3700 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3704 (sendmmsg): Move declarations...
3705 * socket/sys/socket.h: ... here.
3706 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3707 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3709 * socket/recvmmsg.c: ... this new file.
3710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3711 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3712 definition of __sendmmsg hidden.
3713 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3714 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3715 Move ENOSYS stub into and include it from...
3716 * socket/sendmmsg.c: ... this new file.
3717 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3718 (sysdep_routines): Move recvmmsg and sendmmsg...
3719 * socket/Makefile (routines): ... here.
3720 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3721 (GLIBC_PRIVATE): Add __sendmmsg.
3722 * include/sys/socket.h (__sendmmsg): Add declarations.
3723 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3726 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3729 variable I1 with __attribute__ ((unused)).
3730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3732 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3734 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3735 DUMMY variables with __attribute__ ((unused)).
3737 * bits/byteswap.h: Include <bits/types.h>.
3738 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3740 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3742 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3743 string_t. Do not manually set errno.
3744 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3745 length with __strnlen. Make sure to both set errno and return it on
3748 2012-11-19 David S. Miller <davem@davemloft.net>
3750 With help from Joseph Myers.
3751 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3752 very large arguments properly.
3753 * math/libm-test.inc (atan_test): New tests.
3754 (atan2_test): New tests.
3755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3758 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3761 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3764 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3765 [POSIX] (EADDRNOTAVAIL): Likewise.
3766 [POSIX] (EAFNOSUPPORT): Likewise.
3767 [POSIX] (EALREADY): Likewise.
3768 [POSIX] (ECONNABORTED): Likewise.
3769 [POSIX] (ECONNREFUSED): Likewise.
3770 [POSIX] (ECONNRESET): Likewise.
3771 [POSIX] (EDESTADDRREQ): Likewise.
3772 [POSIX] (EDQUOT): Likewise.
3773 [POSIX] (EHOSTUNREACH): Likewise.
3774 [POSIX] (EIDRM): Likewise.
3775 [POSIX] (EISCONN): Likewise.
3776 [POSIX] (ELOOP): Likewise.
3777 [POSIX] (EMULTIHOP): Likewise.
3778 [POSIX] (ENETDOWN): Likewise.
3779 [POSIX] (ENETUNREACH): Likewise.
3780 [POSIX] (ENOBUFS): Likewise.
3781 [POSIX] (ENODATA): Likewise.
3782 [POSIX] (ENOLINK): Likewise.
3783 [POSIX] (ENOMSG): Likewise.
3784 [POSIX] (ENOPROTOOPT): Likewise.
3785 [POSIX] (ENOSR): Likewise.
3786 [POSIX] (ENOSTR): Likewise.
3787 [POSIX] (ENOTCONN): Likewise.
3788 [POSIX] (ENOTSOCK): Likewise.
3789 [POSIX] (EOPNOTSUPP): Likewise.
3790 [POSIX] (EOVERFLOW): Likewise.
3791 [POSIX] (EPROTO): Likewise.
3792 [POSIX] (EPROTONOSUPPORT): Likewise.
3793 [POSIX] (EPROTOTYPE): Likewise.
3794 [POSIX] (ESTALE): Likewise.
3795 [POSIX] (ETIME): Likewise.
3796 [POSIX] (ETXTBSY): Likewise.
3797 [POSIX] (EWOULDBLOCK): Likewise.
3798 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3799 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3800 [POSIX] (SEEK_CUR): Likewise.
3801 [POSIX] (SEEK_END): Likewise.
3802 [POSIX || UNIX98] (mode_t): Do not require.
3803 [POSIX] (off_t): Likewise.
3804 [POSIX] (pid_t): Likewise.
3805 [POSIX] (sys/stat.h): Do not allow header.
3806 [POSIX] (unistd.h): Likewise.
3807 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3808 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3809 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3810 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3812 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3813 sigevent): Specify elements.
3814 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3816 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3817 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3819 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3820 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3821 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3822 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3823 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3824 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3825 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3826 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3828 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3829 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3830 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3831 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3834 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3840 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3841 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3843 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3845 Specify lower bound on value.
3846 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3852 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3853 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3855 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3857 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3861 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3863 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3864 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3874 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3876 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3883 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3888 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3891 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3895 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3896 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3897 specify as optional.
3898 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3901 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3902 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3903 [XPG3] (NL_LANGMAX): Likewise.
3904 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3905 [POSIX || XPG3] (NL_NMAX): Likewise.
3906 [POSIX || XPG3] (NL_SETMAX): Likewise.
3907 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3908 [XPG3] (NZERO): Likewise.
3909 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3910 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3911 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3912 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3913 (REG_ERANGE): Expect.
3914 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3916 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3917 Use (void) in prototype.
3918 [POSIX] (*_t): Allow.
3919 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3920 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3921 (WRDE_BADVAL): Expect.
3923 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3925 [XPG3 || XPG4] (O_RSYNC): Likewise.
3926 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3928 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3929 [XPG3 || XPG4] (sigqueue): Likewise.
3930 [XPG3 || XPG4] (sigtimedwait): Likewise.
3931 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3932 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3933 [XPG3 || XPG4] (vsnprintf): Likewise.
3934 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3936 [XPG3 || XPG4] (blksize_t): Likewise.
3937 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3939 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3940 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3941 [XPG3 || XPG4] (struct itimerspec): Likewise.
3942 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3943 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3944 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3945 [XPG3 || XPG4] (clockid_t): Likewise.
3946 [XPG3 || XPG4] (timer_t): Likewise.
3947 [XPG3 || XPG4] (clock_getres): Likewise.
3948 [XPG3 || XPG4] (clock_gettime): Likewise.
3949 [XPG3 || XPG4] (clock_settime): Likewise.
3950 [XPG3 || XPG4] (nanosleep): Likewise.
3951 [XPG3 || XPG4] (timer_create): Likewise.
3952 [XPG3 || XPG4] (timer_delete): Likewise.
3953 [XPG3 || XPG4] (timer_gettime): Likewise.
3954 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3955 [XPG3 || XPG4] (timer_settime): Likewise.
3956 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3957 [XPG3 || XPG4] (getlogin_r): Likewise.
3958 [XPG3 || XPG4] (pread): Likewise.
3959 [XPG3 || XPG4] (pthread_atfork): Likewise.
3960 [XPG3 || XPG4] (pwrite): Likewise.
3963 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3966 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3968 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3969 finalizing MALLSTREAM.
3971 * sysdeps/mach/hurd/syncfs.c: New file.
3973 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3976 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3977 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3979 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3980 (_nss_dns_gethostbyname4_r): Likewise.
3981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3982 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3984 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3987 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3989 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3991 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3992 * elf/cache.c (print_entry): Print ",AArch64" for
3995 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3996 * elf/cache.c (print_entry): Print ",hard-float" for
3999 2012-11-18 David S. Miller <davem@davemloft.net>
4001 With help from Joseph Myers.
4002 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4004 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4006 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4007 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4010 * math/libm-test.inc (y0_test): New tests.
4011 (y1_test): New tests.
4012 * sysdeps/i386/fpu/libm-test-ulps: Update.
4013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4016 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4018 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4020 * configure: Regenerated.
4022 2012-11-17 David S. Miller <davem@davemloft.net>
4025 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4026 nonzero exponents with absolute value below 0x1p-128 to +/-
4029 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4031 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4033 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4035 * posix/getconf-speclist.c: New file.
4036 * posix/posix-envs.def: Likewise.
4037 * posix/confstr.c (START_ENV_GROUP): New macro.
4038 (END_ENV_GROUP): Likewise.
4039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4040 (KNOWN_PRESENT_ENV_STRING): Likewise.
4041 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4042 (UNKNOWN_ENVIRONMENT): Likewise.
4043 (confstr): Include posix-envs.def instead of handling
4044 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4045 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4046 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4047 (END_ENV_GROUP): Likewise.
4048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4049 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4050 (UNKNOWN_ENVIRONMENT): Likewise.
4051 (__sysconf): Include posix-envs.def instead of handling associated
4052 cases directly here.
4053 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4054 preprocessing getconf-speclist.c rather than running getconf or
4055 generating empty file.
4057 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4059 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4061 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4064 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4066 2012-11-16 David S. Miller <davem@davemloft.net>
4068 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4069 smaller than LDBL_EPSILON/2.0L, just return xm1.
4071 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4073 * elf/tst-array1.c (init): Set constructor priority to 1000.
4074 (fini): Set destructor priority to 1000.
4075 * elf/tst-array2dep.c: Likewise.
4077 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4080 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4081 (_IO_new_file_xsputn): Also return EOF if none of the input
4082 data was written when overflow failed.
4083 * libio/iopadn.c (_IO_padn): Likewise.
4084 * libio/iowpadn.c (_IO_wpadn): Likewise.
4085 * stdio-common/tst-put-error.c: Add copyright notice.
4086 (do_test): Add case for printing padded string.
4087 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4088 _IO_padn returned error.
4089 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4090 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4093 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4095 * libio/libioP.h: Add comment note that the references to C++
4096 bits are now obsolete.
4098 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4100 * math/libm-test.inc (check_complex): Use asprintf.
4102 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4104 * debug/pcprofiledump.c (print_version): Update copyright year.
4105 * malloc/memusagestat.c (print_version): Likewise.
4107 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4110 * elf/Makefile (tests): Add tst-audit8.
4111 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4112 ($(objpfx)tst-audit8.out): New target.
4113 (tst-audit8-ENV): New variable.
4114 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4115 audit if l_reloc_result is NULL.
4116 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4117 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4118 * elf/tst-audit8.c: New file.
4120 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4122 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4123 * misc/Makefile (CFLAGS-select.c): Define.
4124 * posix/Makefile (CFLAGS-pause.c): Define.
4126 2012-11-13 David S. Miller <davem@davemloft.net>
4128 * crypt/Makefile: Move test targets after toplevel Rules
4129 inclusion. Grab any necessary sysdep routines when linking.
4130 * crypt/md5.c (md5_process_block): Remove define, we will always
4131 name it __md5_process_block.
4132 (md5_finish_ctx): Update md5_process_block call.
4133 (md5_stream): Likewise.
4134 (md5_process_bytes): Likewise.
4135 (md5_process_block): Rename to __md5_process_block and move to ...
4136 * crypt/md5-block.c: ... here.
4137 * crypt/sha256.c (sha256_process_block): Move to ...
4138 * crypt/sha256-block.c: ... here.
4139 * crypt/sha512.c (sha512_process_block): Move to ...
4140 * crypt/sha512-block.c: ... here.
4141 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4143 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4144 * sysdeps/sparc/sparc64/multiarch/Makefile
4145 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4147 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4148 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4150 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4151 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4152 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4153 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4154 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4155 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4156 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4157 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4163 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4165 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4167 * timezone/tzselect.ksh: Update from tzcode git revision
4168 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4169 * timezone/zdump.c: Likewise.
4170 * timezone/zic.c: Likewise.
4171 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4172 in TZVERSION setting, not $(PKGVERSION).
4173 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4174 REPORT_BUGS_TO settings.
4177 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4180 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4183 detection to immediately after _FP_ROUND().
4184 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4187 2012-11-11 David S. Miller <davem@davemloft.net>
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4191 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4192 __close rather than their public counterparts.
4194 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4196 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4198 [UNIX98] (sem_timedwait): Do not expect.
4199 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4200 [XPG4 || UNIX98] (sockatmark): Do not expect.
4201 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4202 (clock_getcpuclockid): Do not expect.
4203 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4204 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4206 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4207 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4208 [UNIX98] (vwscanf): Likewise.
4209 [UNIX98] (vswscanf): Likewise.
4211 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4213 * timezone/version.h: Remove file.
4214 * timezone/README: Do not refer to version.h.
4215 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4217 ($(objpfx)zdump.o): Likewise.
4218 ($(objpfx)version.h): New target.
4220 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4222 * timezone/README: Don't mention modification to tzselect.ksh.
4223 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4224 work on unmodified tzselect.ksh. Substitute version numbers in
4227 * Makefile (format-me): Remove.
4228 (INSTALL): Adjust indentation. Use commands directly instead of
4231 * aclocal.m4 (ACX_PKGVERSION): New macro.
4232 (ACX_BUGURL): Likewise.
4233 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4234 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4235 (REPORT_BUGS_TO): Likewise.
4236 * configure: Regenerated.
4237 * config.h.in (PKGVERSION): New macro.
4238 (REPORT_BUGS_TO): Likewise.
4239 * config.make.in (PKGVERSION): New variable.
4240 (PKGVERSION_TEXI): Likewise.
4241 (REPORT_BUGS_TO): Likewise.
4242 (REPORT_BUGS_TEXI): Likewise.
4243 * Makefile (format-me): Use -I$(common-objpfx)manual.
4244 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4245 ($(common-objpfx)manual/%): New target.
4246 (manual/%): Remove target.
4247 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4248 (print_version): Use PKGVERSION.
4249 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4250 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4252 ($(objpfx)xtrace): Likewise.
4253 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4254 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4255 (print_version): Use PKGVERSION.
4256 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4257 (do_version): Use PKGVERSION.
4258 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4260 (common-ldd-rewrite): Likewise.
4261 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4262 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4263 (print_version): Use PKGVERSION.
4264 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4265 * elf/pldd.c (argp_program_bug_address): Remove variable.
4266 (more_help): New function.
4267 (argp): Use more_help.
4268 (print_version): Use PKGVERSION.
4269 * elf/sln.c (main): Use PKGVERSION.
4270 (usage): Use REPORT_BUGS_TO.
4271 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4272 (top level): Use PKGVERSION.
4273 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4274 (print_version): Use PKGVERSION.
4275 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4276 (print_version): Use PKGVERSION.
4277 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4278 (print_version): Use PKGVERSION.
4279 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4280 (print_version): Use PKGVERSION.
4281 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4282 (print_version): Use PKGVERSION.
4283 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4284 (print_version): Use PKGVERSION.
4285 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4287 ($(objpfx)memusage): Likewise.
4288 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4289 (do_version): Use PKGVERSION.
4290 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4291 (print_version): Use PKGVERSION.
4292 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4293 ($PKGVERSION): New variable.
4294 ($REPORT_BUGS_TO): Likewise.
4295 (usage): Use $REPORT_BUGS_TO.
4296 (top level): Use $PKGVERSION.
4297 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4298 ($(objpfx)pkgvers.texi): New rule.
4299 ($(objpfx)stamp-pkgvers): Likewise.
4300 * manual/install.texi: Include pkgvers.texi.
4301 (--with-pkgversion): Document new configure option.
4302 (--with-bugurl): Likewise.
4303 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4304 than necessarily for this particular distribution. Use
4305 REPORT_BUGS_TO for where to report bugs.
4306 * INSTALL: Regenerated.
4307 * manual/libc.texinfo: Include pkgvers.texi.
4308 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4309 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4310 (print_version): Use PKGVERSION.
4311 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4312 (print_version): Use PKGVERSION.
4313 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4314 (print_version): Use PKGVERSION.
4315 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4316 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4318 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4319 (print_version): Use PKGVERSION.
4320 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4321 (print_version): Use PKGVERSION.
4322 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4325 * timezone/checktab.awk: Update from tzcode 2012i.
4326 * timezone/ialloc.c: Likewise.
4327 * timezone/private.h: Likewise.
4328 * timezone/scheck.c: Likewise.
4329 * timezone/tzfile.h: Likewise.
4330 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4331 (TZVERSION): Hardcode tzcode version number.
4332 * timezone/zdump.c: Update from tzcode 2012i.
4333 * timezone/zic.c: Likewise.
4334 * timezone/version.h: New file.
4335 * timezone/README: Describe version.h. Update upstream location.
4338 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4339 (mktemp): Enable declaration.
4340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4357 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4358 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4359 for copies of such integer values.
4360 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4361 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4363 2012-11-09 Andreas Jaeger <aj@suse.de>
4365 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4366 definitions and declarations that are provided by
4367 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4369 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4371 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4372 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4373 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4376 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4378 * elf/elf.h: Update comment before AArch64 relocations.
4380 2012-11-07 David S. Miller <davem@davemloft.net>
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4384 (__start_context): Declare.
4385 (__makecontext_ret): Delete.
4386 (__makecontext): Hook up __start_context instead of
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4389 (sysdep_routines): Add __start_context when in stdlib.
4391 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4393 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4394 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4395 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4397 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4398 (READELF): New variable. Use it instead of hardcoded "readelf".
4400 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4402 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4403 * sysdeps/x86/Makefile: Here.
4404 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4405 * sysdeps/x86/tst-xmmymm.sh: This.
4407 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4409 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4411 [UNIX98] (pthread_barrier_t): Do not expect.
4412 [UNIX98] (pthread_barrierattr_t): Likewise.
4413 [UNIX98] (pthread_spinlock_t): Likewise.
4414 [UNIX98] (pthread_barrier_destroy): Likewise.
4415 [UNIX98] (pthread_barrier_init): Likewise.
4416 [UNIX98] (pthread_barrier_wait): Likewise.
4417 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4418 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4419 [UNIX98] (pthread_barrierattr_init): Likewise.
4420 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4421 [UNIX98] (pthread_getcpuclockid): Likewise.
4422 [UNIX98] (pthread_mutex_timedlock): Likewise.
4423 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4424 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4425 [UNIX98] (pthread_sigmask): Likewise.
4426 [UNIX98] (pthread_spin_destroy): Likewise.
4427 [UNIX98] (pthread_spin_init): Likewise.
4428 [UNIX98] (pthread_spin_lock): Likewise.
4429 [UNIX98] (pthread_spin_trylock): Likewise.
4430 [UNIX98] (pthread_spin_unlock): Likewise.
4431 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4433 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4434 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4435 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4436 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4437 [XPG3 || XPG4] (pthread_key_t): Likewise.
4438 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4439 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4440 [XPG3 || XPG4] (pthread_once_t): Likewise.
4441 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4442 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4444 [XPG3 || XPG4] (pthread_t): Likewise.
4446 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4448 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4450 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4451 Change function return type to int.
4453 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4454 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4455 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4456 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4457 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4458 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4459 [!POSIX] (posix_madvise): Likewise.
4460 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4462 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4463 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4465 (posix_mem_offset): Likewise.
4466 (posix_typed_mem_get_info): Likewise.
4467 (posix_typed_mem_open): Likewise.
4469 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4470 Change condition to [XOPEN2K8].
4472 * conform/conformtest.pl: Preprocess allow-header data with -x c
4473 instead of from stdin.
4474 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4475 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4476 [C99-based standards] (cerfc): Likewise.
4477 [C99-based standards] (cexp2): Likewise.
4478 [C99-based standards] (cexpm1): Likewise.
4479 [C99-based standards] (clog10): Likewise.
4480 [C99-based standards] (clog1p): Likewise.
4481 [C99-based standards] (clog2): Likewise.
4482 [C99-based standards] (clgamma): Likewise.
4483 [C99-based standards] (ctgamma): Likewise.
4484 [C99-based standards] (cerff): Likewise.
4485 [C99-based standards] (cerfcf): Likewise.
4486 [C99-based standards] (cexp2f): Likewise.
4487 [C99-based standards] (cexpm1f): Likewise.
4488 [C99-based standards] (clog10f): Likewise.
4489 [C99-based standards] (clog1pf): Likewise.
4490 [C99-based standards] (clog2f): Likewise.
4491 [C99-based standards] (clgammaf): Likewise.
4492 [C99-based standards] (ctgammaf): Likewise.
4493 [C99-based standards] (cerfl): Likewise.
4494 [C99-based standards] (cerfcl): Likewise.
4495 [C99-based standards] (cexp2l): Likewise.
4496 [C99-based standards] (cexpm1l): Likewise.
4497 [C99-based standards] (clog10l): Likewise.
4498 [C99-based standards] (clog1pl): Likewise.
4499 [C99-based standards] (clog2l): Likewise.
4500 [C99-based standards] (clgammal): Likewise.
4501 [C99-based standards] (ctgammal): Likewise.
4502 * conform/data/inttypes.h-data [C99-based standards]: Include
4503 stdint.h-data. Remove all expectations for stdint.h contents.
4504 [C99-based standards] (PRI*): Do not allow.
4505 [C99-based standards] (SCN*): Likewise.
4506 [C99-based standards] (*_t): Likewise.
4507 [C99-based-standards] (PRId8): Expect macro.
4508 [C99-based-standards] (PRIi8): Likewise.
4509 [C99-based-standards] (PRIo8): Likewise.
4510 [C99-based-standards] (PRIu8): Likewise.
4511 [C99-based-standards] (PRIx8): Likewise.
4512 [C99-based-standards] (PRIX8): Likewise.
4513 [C99-based-standards] (SCNd8): Likewise.
4514 [C99-based-standards] (SCNi8): Likewise.
4515 [C99-based-standards] (SCNo8): Likewise.
4516 [C99-based-standards] (SCNu8): Likewise.
4517 [C99-based-standards] (SCNx8): Likewise.
4518 [C99-based-standards] (PRIdLEAST8): Likewise.
4519 [C99-based-standards] (PRIiLEAST8): Likewise.
4520 [C99-based-standards] (PRIoLEAST8): Likewise.
4521 [C99-based-standards] (PRIuLEAST8): Likewise.
4522 [C99-based-standards] (PRIxLEAST8): Likewise.
4523 [C99-based-standards] (PRIXLEAST8): Likewise.
4524 [C99-based-standards] (SCNdLEAST8): Likewise.
4525 [C99-based-standards] (SCNiLEAST8): Likewise.
4526 [C99-based-standards] (SCNoLEAST8): Likewise.
4527 [C99-based-standards] (SCNuLEAST8): Likewise.
4528 [C99-based-standards] (SCNxLEAST8): Likewise.
4529 [C99-based-standards] (PRIdFAST8): Likewise.
4530 [C99-based-standards] (PRIiFAST8): Likewise.
4531 [C99-based-standards] (PRIoFAST8): Likewise.
4532 [C99-based-standards] (PRIuFAST8): Likewise.
4533 [C99-based-standards] (PRIxFAST8): Likewise.
4534 [C99-based-standards] (PRIXFAST8): Likewise.
4535 [C99-based-standards] (SCNdFAST8): Likewise.
4536 [C99-based-standards] (SCNiFAST8): Likewise.
4537 [C99-based-standards] (SCNoFAST8): Likewise.
4538 [C99-based-standards] (SCNuFAST8): Likewise.
4539 [C99-based-standards] (SCNxFAST8): Likewise.
4540 [C99-based-standards] (PRId16): Likewise.
4541 [C99-based-standards] (PRIi16): Likewise.
4542 [C99-based-standards] (PRIo16): Likewise.
4543 [C99-based-standards] (PRIu16): Likewise.
4544 [C99-based-standards] (PRIx16): Likewise.
4545 [C99-based-standards] (PRIX16): Likewise.
4546 [C99-based-standards] (SCNd16): Likewise.
4547 [C99-based-standards] (SCNi16): Likewise.
4548 [C99-based-standards] (SCNo16): Likewise.
4549 [C99-based-standards] (SCNu16): Likewise.
4550 [C99-based-standards] (SCNx16): Likewise.
4551 [C99-based-standards] (PRIdLEAST16): Likewise.
4552 [C99-based-standards] (PRIiLEAST16): Likewise.
4553 [C99-based-standards] (PRIoLEAST16): Likewise.
4554 [C99-based-standards] (PRIuLEAST16): Likewise.
4555 [C99-based-standards] (PRIxLEAST16): Likewise.
4556 [C99-based-standards] (PRIXLEAST16): Likewise.
4557 [C99-based-standards] (SCNdLEAST16): Likewise.
4558 [C99-based-standards] (SCNiLEAST16): Likewise.
4559 [C99-based-standards] (SCNoLEAST16): Likewise.
4560 [C99-based-standards] (SCNuLEAST16): Likewise.
4561 [C99-based-standards] (SCNxLEAST16): Likewise.
4562 [C99-based-standards] (PRIdFAST16): Likewise.
4563 [C99-based-standards] (PRIiFAST16): Likewise.
4564 [C99-based-standards] (PRIoFAST16): Likewise.
4565 [C99-based-standards] (PRIuFAST16): Likewise.
4566 [C99-based-standards] (PRIxFAST16): Likewise.
4567 [C99-based-standards] (PRIXFAST16): Likewise.
4568 [C99-based-standards] (SCNdFAST16): Likewise.
4569 [C99-based-standards] (SCNiFAST16): Likewise.
4570 [C99-based-standards] (SCNoFAST16): Likewise.
4571 [C99-based-standards] (SCNuFAST16): Likewise.
4572 [C99-based-standards] (SCNxFAST16): Likewise.
4573 [C99-based-standards] (PRId32): Likewise.
4574 [C99-based-standards] (PRIi32): Likewise.
4575 [C99-based-standards] (PRIo32): Likewise.
4576 [C99-based-standards] (PRIu32): Likewise.
4577 [C99-based-standards] (PRIx32): Likewise.
4578 [C99-based-standards] (PRIX32): Likewise.
4579 [C99-based-standards] (SCNd32): Likewise.
4580 [C99-based-standards] (SCNi32): Likewise.
4581 [C99-based-standards] (SCNo32): Likewise.
4582 [C99-based-standards] (SCNu32): Likewise.
4583 [C99-based-standards] (SCNx32): Likewise.
4584 [C99-based-standards] (PRIdLEAST32): Likewise.
4585 [C99-based-standards] (PRIiLEAST32): Likewise.
4586 [C99-based-standards] (PRIoLEAST32): Likewise.
4587 [C99-based-standards] (PRIuLEAST32): Likewise.
4588 [C99-based-standards] (PRIxLEAST32): Likewise.
4589 [C99-based-standards] (PRIXLEAST32): Likewise.
4590 [C99-based-standards] (SCNdLEAST32): Likewise.
4591 [C99-based-standards] (SCNiLEAST32): Likewise.
4592 [C99-based-standards] (SCNoLEAST32): Likewise.
4593 [C99-based-standards] (SCNuLEAST32): Likewise.
4594 [C99-based-standards] (SCNxLEAST32): Likewise.
4595 [C99-based-standards] (PRIdFAST32): Likewise.
4596 [C99-based-standards] (PRIiFAST32): Likewise.
4597 [C99-based-standards] (PRIoFAST32): Likewise.
4598 [C99-based-standards] (PRIuFAST32): Likewise.
4599 [C99-based-standards] (PRIxFAST32): Likewise.
4600 [C99-based-standards] (PRIXFAST32): Likewise.
4601 [C99-based-standards] (SCNdFAST32): Likewise.
4602 [C99-based-standards] (SCNiFAST32): Likewise.
4603 [C99-based-standards] (SCNoFAST32): Likewise.
4604 [C99-based-standards] (SCNuFAST32): Likewise.
4605 [C99-based-standards] (SCNxFAST32): Likewise.
4606 [C99-based-standards] (PRId64): Likewise.
4607 [C99-based-standards] (PRIi64): Likewise.
4608 [C99-based-standards] (PRIo64): Likewise.
4609 [C99-based-standards] (PRIu64): Likewise.
4610 [C99-based-standards] (PRIx64): Likewise.
4611 [C99-based-standards] (PRIX64): Likewise.
4612 [C99-based-standards] (SCNd64): Likewise.
4613 [C99-based-standards] (SCNi64): Likewise.
4614 [C99-based-standards] (SCNo64): Likewise.
4615 [C99-based-standards] (SCNu64): Likewise.
4616 [C99-based-standards] (SCNx64): Likewise.
4617 [C99-based-standards] (PRIdLEAST64): Likewise.
4618 [C99-based-standards] (PRIiLEAST64): Likewise.
4619 [C99-based-standards] (PRIoLEAST64): Likewise.
4620 [C99-based-standards] (PRIuLEAST64): Likewise.
4621 [C99-based-standards] (PRIxLEAST64): Likewise.
4622 [C99-based-standards] (PRIXLEAST64): Likewise.
4623 [C99-based-standards] (SCNdLEAST64): Likewise.
4624 [C99-based-standards] (SCNiLEAST64): Likewise.
4625 [C99-based-standards] (SCNoLEAST64): Likewise.
4626 [C99-based-standards] (SCNuLEAST64): Likewise.
4627 [C99-based-standards] (SCNxLEAST64): Likewise.
4628 [C99-based-standards] (PRIdFAST64): Likewise.
4629 [C99-based-standards] (PRIiFAST64): Likewise.
4630 [C99-based-standards] (PRIoFAST64): Likewise.
4631 [C99-based-standards] (PRIuFAST64): Likewise.
4632 [C99-based-standards] (PRIxFAST64): Likewise.
4633 [C99-based-standards] (PRIXFAST64): Likewise.
4634 [C99-based-standards] (SCNdFAST64): Likewise.
4635 [C99-based-standards] (SCNiFAST64): Likewise.
4636 [C99-based-standards] (SCNoFAST64): Likewise.
4637 [C99-based-standards] (SCNuFAST64): Likewise.
4638 [C99-based-standards] (SCNxFAST64): Likewise.
4639 [C99-based-standards] (PRIdMAX): Likewise.
4640 [C99-based-standards] (PRIiMAX): Likewise.
4641 [C99-based-standards] (PRIoMAX): Likewise.
4642 [C99-based-standards] (PRIuMAX): Likewise.
4643 [C99-based-standards] (PRIxMAX): Likewise.
4644 [C99-based-standards] (PRIXMAX): Likewise.
4645 [C99-based-standards] (SCNdMAX): Likewise.
4646 [C99-based-standards] (SCNiMAX): Likewise.
4647 [C99-based-standards] (SCNoMAX): Likewise.
4648 [C99-based-standards] (SCNuMAX): Likewise.
4649 [C99-based-standards] (SCNxMAX): Likewise.
4650 [C99-based-standards] (PRIdPTR): Likewise.
4651 [C99-based-standards] (PRIiPTR): Likewise.
4652 [C99-based-standards] (PRIoPTR): Likewise.
4653 [C99-based-standards] (PRIuPTR): Likewise.
4654 [C99-based-standards] (PRIxPTR): Likewise.
4655 [C99-based-standards] (PRIXPTR): Likewise.
4656 [C99-based-standards] (SCNdPTR): Likewise.
4657 [C99-based-standards] (SCNiPTR): Likewise.
4658 [C99-based-standards] (SCNoPTR): Likewise.
4659 [C99-based-standards] (SCNuPTR): Likewise.
4660 [C99-based-standards] (SCNxPTR): Likewise.
4661 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4663 * conform/data/stdint.h-data: Update comments to clarify
4665 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4667 [C99-based standards] (INT8_MAX): Likewise.
4668 [C99-based standards] (INT16_MIN): Likewise.
4669 [C99-based standards] (INT16_MAX): Likewise.
4670 [C99-based standards] (INT32_MIN): Likewise.
4671 [C99-based standards] (INT32_MAX): Likewise.
4672 [C99-based standards] (INT64_MIN): Likewise.
4673 [C99-based standards] (INT64_MAX): Likewise.
4674 [C99-based standards] (UINT8_MAX): Likewise.
4675 [C99-based standards] (UINT16_MAX): Likewise.
4676 [C99-based standards] (UINT32_MAX): Likewise.
4677 [C99-based standards] (UINT64_MAX): Likewise.
4678 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4679 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4680 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4681 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4682 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4683 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4684 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4685 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4686 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4687 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4688 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4689 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4690 [C99-based standards] (INT_FAST8_MIN): Likewise.
4691 [C99-based standards] (INT_FAST8_MAX): Likewise.
4692 [C99-based standards] (INT_FAST16_MIN): Likewise.
4693 [C99-based standards] (INT_FAST16_MAX): Likewise.
4694 [C99-based standards] (INT_FAST32_MIN): Likewise.
4695 [C99-based standards] (INT_FAST32_MAX): Likewise.
4696 [C99-based standards] (INT_FAST64_MIN): Likewise.
4697 [C99-based standards] (INT_FAST64_MAX): Likewise.
4698 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4699 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4700 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4701 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4702 [C99-based standards] (INTPTR_MIN): Likewise.
4703 [C99-based standards] (INTPTR_MAX): Likewise.
4704 [C99-based standards] (UINTPTR_MAX): Likewise.
4705 [C99-based standards] (INTMAX_MIN): Likewise.
4706 [C99-based standards] (INTMAX_MAX): Likewise.
4707 [C99-based standards] (UINTMAX_MAX): Likewise.
4708 [C99-based standards] (PTRDIFF_MIN): Likewise.
4709 [C99-based standards] (PTRDIFF_MAX): Likewise.
4710 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4711 [C99-based standards] (SIZE_MAX): Likewise.
4712 [C99-based standards] (WCHAR_MAX): Likewise.
4713 [C99-based standards] (WINT_MAX): Likewise.
4714 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4715 constraint on value.
4716 [C99-based standards] (WCHAR_MIN): Likewise.
4717 [C99-based standards] (WINT_MIN): Likewise.
4718 [C99-based standards] (*_t): Allow.
4719 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4720 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4721 Include math.h-data and complex.h-data. Remove all expectations
4722 of math.h and complex.h contents.
4723 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4725 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4726 (struct tm): Expect tag.
4727 [C99-based-standards] (wcstof): Expect function.
4728 [C99-based-standards] (wcstold): Likewise.
4729 [C99-based-standards] (wcstoll): Likewise.
4730 [C99-based-standards] (wcstoull): Likewise.
4731 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4732 macro-int-constant. Specify type.
4733 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4734 constraint on value.
4735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4737 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4739 [ISO C standards]: Do not allow headers.
4740 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4741 wcs[abcdefghijklmnopqrstuvwxyz]*.
4742 [ISO C standards] (*_t): Do not allow.
4743 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4745 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4746 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4748 [ISO C standards]: Do not allow headers.
4749 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4750 is[abcdefghijklmnopqrstuvwxyz]*.
4751 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4752 to[abcdefghijklmnopqrstuvwxyz]*.
4753 [ISO C standards] (*_t): Do not allow.
4754 * conform/data/stdalign.h-data: New file.
4755 * conform/data/stdbool.h-data: Likewise.
4756 * conform/data/stdnoreturn.h-data: Likewise.
4758 2012-11-07 Roland McGrath <roland@hack.frob.com>
4761 * manual/filesys.texi (Directory Entries): Typo fix.
4762 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4764 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4766 * elf/elf.h (EM_AARCH64): New macro.
4767 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4768 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4769 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4770 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4771 (R_AARCH64_TLSDESC): Likewise.
4772 (NT_ARM_TLS): Likewise.
4773 (NT_ARM_HW_BREAK): Likewise.
4774 (NT_ARM_HW_WATCH): Likewise.
4776 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4779 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4780 (__ieee754_powl): Saturate nonzero exponents with absolute value
4781 below 0x1p-79 to +/- 0x1p-79.
4782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4783 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4784 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4785 nonzero exponents with absolute value below 0x1p-32 to +/-
4787 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4788 (__ieee754_powl): Saturate nonzero exponents with absolute value
4789 below 0x1p-79 to +/- 0x1p-79.
4790 * math/libm-test.inc (pow_test): Add more tests.
4792 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4794 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4795 _dl_s390_cap_flags with kernel. Increase string length.
4796 (_dl_s390_platforms): Add z196 and zEC12.
4798 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4800 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4801 Change XOPEN21K to XOPEN2K.
4803 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4805 * string/memmove.c: Use memcpy when possible.
4807 2012-11-06 Andreas Jaeger <aj@suse.de>
4809 * po/eo.po: Update from translation team.
4811 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4815 exponent and small x and y exponents, scale x or y up. Increase
4816 by 2 the exponent used in scaling up.
4817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4819 * math/libm-test.inc (fma_test): Add more tests.
4820 (fma_test_towardzero): Likewise.
4821 (fma_test_downward): Likewise.
4822 (fma_test_upward): Likewise.
4824 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4827 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4831 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4832 namespace for names of struct fields.
4833 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4835 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4836 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4838 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4841 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4843 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4845 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4849 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4852 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4856 definitely overflow as x * y not x * y + z.
4857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4859 * math/libm-test.inc (fma_test): Add more tests.
4860 (fma_test_towardzero): Likewise.
4861 (fma_test_downward): Likewise.
4862 (fma_test_upward): Likewise.
4864 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4868 * include/stub-tag.h: Remove file.
4869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4871 * manual/maint.texi (Porting): Don't reference it.
4872 * Makerules ($(objpfx)stubs): Likewise.
4873 * dirent/closedir.c: Don't include <stub-tag.h>.
4874 * dirent/dirfd.c: Likewise.
4875 * dirent/fdopendir.c: Likewise.
4876 * dirent/getdents.c: Likewise.
4877 * dirent/getdents64.c: Likewise.
4878 * dirent/opendir.c: Likewise.
4879 * dirent/readdir.c: Likewise.
4880 * dirent/readdir64.c: Likewise.
4881 * dirent/readdir64_r.c: Likewise.
4882 * dirent/readdir_r.c: Likewise.
4883 * dirent/rewinddir.c: Likewise.
4884 * dirent/seekdir.c: Likewise.
4885 * dirent/telldir.c: Likewise.
4886 * gmon/profil.c: Likewise.
4887 * grp/setgroups.c: Likewise.
4888 * inet/if_index.c: Likewise.
4889 * io/access.c: Likewise.
4890 * io/chdir.c: Likewise.
4891 * io/chmod.c: Likewise.
4892 * io/chown.c: Likewise.
4893 * io/close.c: Likewise.
4894 * io/dup.c: Likewise.
4895 * io/dup2.c: Likewise.
4896 * io/dup3.c: Likewise.
4897 * io/euidaccess.c: Likewise.
4898 * io/faccessat.c: Likewise.
4899 * io/fchdir.c: Likewise.
4900 * io/fchmod.c: Likewise.
4901 * io/fchmodat.c: Likewise.
4902 * io/fchown.c: Likewise.
4903 * io/fchownat.c: Likewise.
4904 * io/fcntl.c: Likewise.
4905 * io/flock.c: Likewise.
4906 * io/fstatfs.c: Likewise.
4907 * io/fstatfs64.c: Likewise.
4908 * io/fstatvfs.c: Likewise.
4909 * io/fstatvfs64.c: Likewise.
4910 * io/futimens.c: Likewise.
4911 * io/fxstat.c: Likewise.
4912 * io/fxstat64.c: Likewise.
4913 * io/fxstatat.c: Likewise.
4914 * io/fxstatat64.c: Likewise.
4915 * io/getcwd.c: Likewise.
4916 * io/isatty.c: Likewise.
4917 * io/lchmod.c: Likewise.
4918 * io/lchown.c: Likewise.
4919 * io/link.c: Likewise.
4920 * io/linkat.c: Likewise.
4921 * io/lseek.c: Likewise.
4922 * io/lseek64.c: Likewise.
4923 * io/lxstat64.c: Likewise.
4924 * io/mkdir.c: Likewise.
4925 * io/mkdirat.c: Likewise.
4926 * io/mkfifo.c: Likewise.
4927 * io/mkfifoat.c: Likewise.
4928 * io/open.c: Likewise.
4929 * io/open64.c: Likewise.
4930 * io/openat.c: Likewise.
4931 * io/openat64.c: Likewise.
4932 * io/pipe.c: Likewise.
4933 * io/pipe2.c: Likewise.
4934 * io/poll.c: Likewise.
4935 * io/posix_fadvise.c: Likewise.
4936 * io/posix_fadvise64.c: Likewise.
4937 * io/posix_fallocate.c: Likewise.
4938 * io/posix_fallocate64.c: Likewise.
4939 * io/read.c: Likewise.
4940 * io/readlink.c: Likewise.
4941 * io/readlinkat.c: Likewise.
4942 * io/rmdir.c: Likewise.
4943 * io/sendfile.c: Likewise.
4944 * io/sendfile64.c: Likewise.
4945 * io/statfs.c: Likewise.
4946 * io/statfs64.c: Likewise.
4947 * io/statvfs.c: Likewise.
4948 * io/statvfs64.c: Likewise.
4949 * io/symlink.c: Likewise.
4950 * io/symlinkat.c: Likewise.
4951 * io/ttyname.c: Likewise.
4952 * io/ttyname_r.c: Likewise.
4953 * io/umask.c: Likewise.
4954 * io/unlink.c: Likewise.
4955 * io/unlinkat.c: Likewise.
4956 * io/utime.c: Likewise.
4957 * io/utimensat.c: Likewise.
4958 * io/write.c: Likewise.
4959 * io/xmknod.c: Likewise.
4960 * io/xmknodat.c: Likewise.
4961 * io/xstat.c: Likewise.
4962 * io/xstat64.c: Likewise.
4963 * login/getpt.c: Likewise.
4964 * login/grantpt.c: Likewise.
4965 * login/unlockpt.c: Likewise.
4966 * math/e_acoshl.c: Likewise.
4967 * math/e_acosl.c: Likewise.
4968 * math/e_asinl.c: Likewise.
4969 * math/e_atan2l.c: Likewise.
4970 * math/e_atanhl.c: Likewise.
4971 * math/e_coshl.c: Likewise.
4972 * math/e_expl.c: Likewise.
4973 * math/e_fmodl.c: Likewise.
4974 * math/e_gammal_r.c: Likewise.
4975 * math/e_hypotl.c: Likewise.
4976 * math/e_j0l.c: Likewise.
4977 * math/e_j1l.c: Likewise.
4978 * math/e_jnl.c: Likewise.
4979 * math/e_lgammal_r.c: Likewise.
4980 * math/e_log10l.c: Likewise.
4981 * math/e_log2l.c: Likewise.
4982 * math/e_logl.c: Likewise.
4983 * math/e_powl.c: Likewise.
4984 * math/e_rem_pio2l.c: Likewise.
4985 * math/e_sinhl.c: Likewise.
4986 * math/e_sqrtl.c: Likewise.
4987 * math/fclrexcpt.c: Likewise.
4988 * math/fedisblxcpt.c: Likewise.
4989 * math/feenablxcpt.c: Likewise.
4990 * math/fegetenv.c: Likewise.
4991 * math/fegetexcept.c: Likewise.
4992 * math/fegetround.c: Likewise.
4993 * math/feholdexcpt.c: Likewise.
4994 * math/fesetenv.c: Likewise.
4995 * math/fesetround.c: Likewise.
4996 * math/feupdateenv.c: Likewise.
4997 * math/fgetexcptflg.c: Likewise.
4998 * math/fraiseexcpt.c: Likewise.
4999 * math/fsetexcptflg.c: Likewise.
5000 * math/ftestexcept.c: Likewise.
5001 * math/k_cosl.c: Likewise.
5002 * math/k_rem_pio2l.c: Likewise.
5003 * math/k_sinl.c: Likewise.
5004 * math/k_tanl.c: Likewise.
5005 * math/s_asinhl.c: Likewise.
5006 * math/s_atanl.c: Likewise.
5007 * math/s_cbrtl.c: Likewise.
5008 * math/s_erfl.c: Likewise.
5009 * math/s_expm1l.c: Likewise.
5010 * math/s_log1pl.c: Likewise.
5011 * math/s_tanhl.c: Likewise.
5012 * misc/acct.c: Likewise.
5013 * misc/brk.c: Likewise.
5014 * misc/chflags.c: Likewise.
5015 * misc/chroot.c: Likewise.
5016 * misc/fchflags.c: Likewise.
5017 * misc/fgetxattr.c: Likewise.
5018 * misc/flistxattr.c: Likewise.
5019 * misc/fremovexattr.c: Likewise.
5020 * misc/fsetxattr.c: Likewise.
5021 * misc/fsync.c: Likewise.
5022 * misc/ftruncate.c: Likewise.
5023 * misc/futimes.c: Likewise.
5024 * misc/futimesat.c: Likewise.
5025 * misc/getdomain.c: Likewise.
5026 * misc/getdtsz.c: Likewise.
5027 * misc/gethostid.c: Likewise.
5028 * misc/gethostname.c: Likewise.
5029 * misc/getloadavg.c: Likewise.
5030 * misc/getpagesize.c: Likewise.
5031 * misc/getsysstats.c: Likewise.
5032 * misc/getxattr.c: Likewise.
5033 * misc/gtty.c: Likewise.
5034 * misc/ioctl.c: Likewise.
5035 * misc/lgetxattr.c: Likewise.
5036 * misc/listxattr.c: Likewise.
5037 * misc/llistxattr.c: Likewise.
5038 * misc/lremovexattr.c: Likewise.
5039 * misc/lsetxattr.c: Likewise.
5040 * misc/lutimes.c: Likewise.
5041 * misc/madvise.c: Likewise.
5042 * misc/mincore.c: Likewise.
5043 * misc/mlock.c: Likewise.
5044 * misc/mlockall.c: Likewise.
5045 * misc/mmap.c: Likewise.
5046 * misc/mprotect.c: Likewise.
5047 * misc/msync.c: Likewise.
5048 * misc/munlock.c: Likewise.
5049 * misc/munlockall.c: Likewise.
5050 * misc/munmap.c: Likewise.
5051 * misc/preadv.c: Likewise.
5052 * misc/preadv64.c: Likewise.
5053 * misc/ptrace.c: Likewise.
5054 * misc/pwritev.c: Likewise.
5055 * misc/pwritev64.c: Likewise.
5056 * misc/readv.c: Likewise.
5057 * misc/reboot.c: Likewise.
5058 * misc/remap_file_pages.c: Likewise.
5059 * misc/removexattr.c: Likewise.
5060 * misc/revoke.c: Likewise.
5061 * misc/select.c: Likewise.
5062 * misc/setdomain.c: Likewise.
5063 * misc/setegid.c: Likewise.
5064 * misc/seteuid.c: Likewise.
5065 * misc/sethostid.c: Likewise.
5066 * misc/sethostname.c: Likewise.
5067 * misc/setregid.c: Likewise.
5068 * misc/setreuid.c: Likewise.
5069 * misc/setxattr.c: Likewise.
5070 * misc/sstk.c: Likewise.
5071 * misc/stty.c: Likewise.
5072 * misc/swapoff.c: Likewise.
5073 * misc/swapon.c: Likewise.
5074 * misc/sync.c: Likewise.
5075 * misc/syncfs.c: Likewise.
5076 * misc/syscall.c: Likewise.
5077 * misc/truncate.c: Likewise.
5078 * misc/ualarm.c: Likewise.
5079 * misc/usleep.c: Likewise.
5080 * misc/ustat.c: Likewise.
5081 * misc/utimes.c: Likewise.
5082 * misc/vhangup.c: Likewise.
5083 * misc/writev.c: Likewise.
5084 * posix/_exit.c: Likewise.
5085 * posix/alarm.c: Likewise.
5086 * posix/execve.c: Likewise.
5087 * posix/fexecve.c: Likewise.
5088 * posix/fork.c: Likewise.
5089 * posix/fpathconf.c: Likewise.
5090 * posix/getaddrinfo.c: Likewise.
5091 * posix/getegid.c: Likewise.
5092 * posix/geteuid.c: Likewise.
5093 * posix/getgid.c: Likewise.
5094 * posix/getgroups.c: Likewise.
5095 * posix/getlogin.c: Likewise.
5096 * posix/getlogin_r.c: Likewise.
5097 * posix/getpgid.c: Likewise.
5098 * posix/getpid.c: Likewise.
5099 * posix/getppid.c: Likewise.
5100 * posix/getresgid.c: Likewise.
5101 * posix/getresuid.c: Likewise.
5102 * posix/getsid.c: Likewise.
5103 * posix/getuid.c: Likewise.
5104 * posix/glob64.c: Likewise.
5105 * posix/nanosleep.c: Likewise.
5106 * posix/pathconf.c: Likewise.
5107 * posix/pause.c: Likewise.
5108 * posix/posix_madvise.c: Likewise.
5109 * posix/pread.c: Likewise.
5110 * posix/pread64.c: Likewise.
5111 * posix/pwrite.c: Likewise.
5112 * posix/pwrite64.c: Likewise.
5113 * posix/sched_getaffinity.c: Likewise.
5114 * posix/sched_getp.c: Likewise.
5115 * posix/sched_gets.c: Likewise.
5116 * posix/sched_primax.c: Likewise.
5117 * posix/sched_primin.c: Likewise.
5118 * posix/sched_rr_gi.c: Likewise.
5119 * posix/sched_setaffinity.c: Likewise.
5120 * posix/sched_setp.c: Likewise.
5121 * posix/sched_sets.c: Likewise.
5122 * posix/sched_yield.c: Likewise.
5123 * posix/setgid.c: Likewise.
5124 * posix/setlogin.c: Likewise.
5125 * posix/setpgid.c: Likewise.
5126 * posix/setresgid.c: Likewise.
5127 * posix/setresuid.c: Likewise.
5128 * posix/setsid.c: Likewise.
5129 * posix/setuid.c: Likewise.
5130 * posix/sleep.c: Likewise.
5131 * posix/spawni.c: Likewise.
5132 * posix/sysconf.c: Likewise.
5133 * posix/times.c: Likewise.
5134 * posix/wait.c: Likewise.
5135 * posix/wait3.c: Likewise.
5136 * posix/wait4.c: Likewise.
5137 * posix/waitpid.c: Likewise.
5138 * resolv/gai_sigqueue.c: Likewise.
5139 * resource/getpriority.c: Likewise.
5140 * resource/getrlimit.c: Likewise.
5141 * resource/getrusage.c: Likewise.
5142 * resource/nice.c: Likewise.
5143 * resource/setpriority.c: Likewise.
5144 * resource/setrlimit.c: Likewise.
5145 * resource/ulimit.c: Likewise.
5146 * rt/aio_cancel.c: Likewise.
5147 * rt/aio_fsync.c: Likewise.
5148 * rt/aio_read.c: Likewise.
5149 * rt/aio_sigqueue.c: Likewise.
5150 * rt/aio_suspend.c: Likewise.
5151 * rt/aio_write.c: Likewise.
5152 * rt/clock_getres.c: Likewise.
5153 * rt/clock_gettime.c: Likewise.
5154 * rt/clock_nanosleep.c: Likewise.
5155 * rt/clock_settime.c: Likewise.
5156 * rt/lio_listio.c: Likewise.
5157 * rt/mq_close.c: Likewise.
5158 * rt/mq_getattr.c: Likewise.
5159 * rt/mq_notify.c: Likewise.
5160 * rt/mq_open.c: Likewise.
5161 * rt/mq_receive.c: Likewise.
5162 * rt/mq_send.c: Likewise.
5163 * rt/mq_setattr.c: Likewise.
5164 * rt/mq_timedreceive.c: Likewise.
5165 * rt/mq_timedsend.c: Likewise.
5166 * rt/mq_unlink.c: Likewise.
5167 * rt/shm_open.c: Likewise.
5168 * rt/shm_unlink.c: Likewise.
5169 * rt/timer_create.c: Likewise.
5170 * rt/timer_delete.c: Likewise.
5171 * rt/timer_getoverr.c: Likewise.
5172 * rt/timer_gettime.c: Likewise.
5173 * rt/timer_settime.c: Likewise.
5174 * setjmp/__longjmp.c: Likewise.
5175 * setjmp/setjmp.c: Likewise.
5176 * signal/kill.c: Likewise.
5177 * signal/killpg.c: Likewise.
5178 * signal/raise.c: Likewise.
5179 * signal/sigaction.c: Likewise.
5180 * signal/sigaltstack.c: Likewise.
5181 * signal/sigblock.c: Likewise.
5182 * signal/sigignore.c: Likewise.
5183 * signal/sigintr.c: Likewise.
5184 * signal/signal.c: Likewise.
5185 * signal/sigpause.c: Likewise.
5186 * signal/sigpending.c: Likewise.
5187 * signal/sigqueue.c: Likewise.
5188 * signal/sigreturn.c: Likewise.
5189 * signal/sigset.c: Likewise.
5190 * signal/sigsetmask.c: Likewise.
5191 * signal/sigstack.c: Likewise.
5192 * signal/sigsuspend.c: Likewise.
5193 * signal/sigtimedwait.c: Likewise.
5194 * signal/sigvec.c: Likewise.
5195 * signal/sigwait.c: Likewise.
5196 * signal/sigwaitinfo.c: Likewise.
5197 * signal/sysv_signal.c: Likewise.
5198 * socket/accept.c: Likewise.
5199 * socket/accept4.c: Likewise.
5200 * socket/bind.c: Likewise.
5201 * socket/connect.c: Likewise.
5202 * socket/getpeername.c: Likewise.
5203 * socket/getsockname.c: Likewise.
5204 * socket/getsockopt.c: Likewise.
5205 * socket/isfdtype.c: Likewise.
5206 * socket/listen.c: Likewise.
5207 * socket/recv.c: Likewise.
5208 * socket/recvfrom.c: Likewise.
5209 * socket/recvmsg.c: Likewise.
5210 * socket/send.c: Likewise.
5211 * socket/sendmsg.c: Likewise.
5212 * socket/sendto.c: Likewise.
5213 * socket/setsockopt.c: Likewise.
5214 * socket/shutdown.c: Likewise.
5215 * socket/sockatmark.c: Likewise.
5216 * socket/socket.c: Likewise.
5217 * socket/socketpair.c: Likewise.
5218 * stdio-common/ctermid.c: Likewise.
5219 * stdio-common/cuserid.c: Likewise.
5220 * stdio-common/remove.c: Likewise.
5221 * stdio-common/rename.c: Likewise.
5222 * stdio-common/renameat.c: Likewise.
5223 * stdio-common/tempname.c: Likewise.
5224 * stdlib/getcontext.c: Likewise.
5225 * stdlib/makecontext.c: Likewise.
5226 * stdlib/setcontext.c: Likewise.
5227 * stdlib/swapcontext.c: Likewise.
5228 * stdlib/system.c: Likewise.
5229 * streams/fattach.c: Likewise.
5230 * streams/fdetach.c: Likewise.
5231 * streams/getmsg.c: Likewise.
5232 * streams/getpmsg.c: Likewise.
5233 * streams/putmsg.c: Likewise.
5234 * streams/putpmsg.c: Likewise.
5235 * sysdeps/unix/bsd/getpt.c: Likewise.
5236 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5237 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5238 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5241 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5242 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5243 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5244 * sysvipc/msgctl.c: Likewise.
5245 * sysvipc/msgget.c: Likewise.
5246 * sysvipc/msgrcv.c: Likewise.
5247 * sysvipc/msgsnd.c: Likewise.
5248 * sysvipc/semctl.c: Likewise.
5249 * sysvipc/semget.c: Likewise.
5250 * sysvipc/semop.c: Likewise.
5251 * sysvipc/semtimedop.c: Likewise.
5252 * sysvipc/shmat.c: Likewise.
5253 * sysvipc/shmctl.c: Likewise.
5254 * sysvipc/shmdt.c: Likewise.
5255 * sysvipc/shmget.c: Likewise.
5256 * termios/tcdrain.c: Likewise.
5257 * termios/tcflow.c: Likewise.
5258 * termios/tcflush.c: Likewise.
5259 * termios/tcgetattr.c: Likewise.
5260 * termios/tcgetpgrp.c: Likewise.
5261 * termios/tcsendbrk.c: Likewise.
5262 * termios/tcsetattr.c: Likewise.
5263 * termios/tcsetpgrp.c: Likewise.
5264 * time/adjtime.c: Likewise.
5265 * time/clock.c: Likewise.
5266 * time/getitimer.c: Likewise.
5267 * time/gettimeofday.c: Likewise.
5268 * time/setitimer.c: Likewise.
5269 * time/settimeofday.c: Likewise.
5270 * time/stime.c: Likewise.
5271 * time/time.c: Likewise.
5273 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5275 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5278 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5280 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5282 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5286 FE_TONEAREST before applying Dekker multiplication and Knuth
5287 addition. Clear inexact exceptions and check for exact zero
5289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5292 * math/libm-test.inc (fma_test): Add more tests.
5293 (fma_test_towardzero): Likewise.
5294 (fma_test_downward): Likewise.
5295 (fma_test_upward): Likewise.
5296 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5298 (libc_fesetround): New macro.
5299 (libc_fesetroundf): Likewise.
5300 (libc_fesetroundl): Likewise.
5301 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5303 (libc_fesetround_387): Likewise.
5304 (libc_fesetroundf): New macro.
5305 (libc_fesetround): Likewise.
5306 (libc_fesetroundl): Likewise.
5307 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5309 (libc_fesetroundf): New macro.
5310 (libc_fesetround): Likewise.
5311 (libc_fesetroundl): Likewise.
5312 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5313 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5314 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5316 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5317 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5319 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5320 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5322 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5326 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5327 integer constant usable in #if and use that to give value to enum
5329 (FE_DIVBYZERO): Likewise.
5330 (FE_UNDERFLOW): Likewise.
5331 (FE_OVERFLOW): Likewise.
5332 (FE_INVALID): Likewise.
5333 (FE_INVALID_SNAN): Likewise.
5334 (FE_INVALID_ISI): Likewise.
5335 (FE_INVALID_IDI): Likewise.
5336 (FE_INVALID_ZDZ): Likewise.
5337 (FE_INVALID_IMZ): Likewise.
5338 (FE_INVALID_COMPARE): Likewise.
5339 (FE_INVALID_SOFTWARE): Likewise.
5340 (FE_INVALID_SQRT): Likewise.
5341 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5342 (FE_TONEAREST): Likewise.
5343 (FE_TOWARDZERO): Likewise.
5344 (FE_UPWARD): Likewise.
5345 (FE_DOWNWARD): Likewise.
5346 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5347 (FE_DIVBYZERO): Likewise.
5348 (FE_OVERFLOW): Likewise.
5349 (FE_UNDERFLOW): Likewise.
5350 (FE_INEXACT): Likewise.
5351 (FE_TONEAREST): Likewise.
5352 (FE_DOWNWARD): Likewise.
5353 (FE_UPWARD): Likewise.
5354 (FE_TOWARDZERO): Likewise.
5355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5356 (FE_UNDERFLOW): Likewise.
5357 (FE_OVERFLOW): Likewise.
5358 (FE_DIVBYZERO): Likewise.
5359 (FE_INVALID): Likewise.
5360 (FE_TONEAREST): Likewise.
5361 (FE_TOWARDZERO): Likewise.
5362 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5363 (FE_OVERFLOW): Likewise.
5364 (FE_UNDERFLOW): Likewise.
5365 (FE_DIVBYZERO): Likewise.
5366 (FE_INEXACT): Likewise.
5367 (FE_TONEAREST): Likewise.
5368 (FE_TOWARDZERO): Likewise.
5369 (FE_UPWARD): Likewise.
5370 (FE_DOWNWARD): Likewise.
5371 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5372 (FE_DIVBYZERO): Likewise.
5373 (FE_OVERFLOW): Likewise.
5374 (FE_UNDERFLOW): Likewise.
5375 (FE_INEXACT): Likewise.
5376 (FE_TONEAREST): Likewise.
5377 (FE_DOWNWARD): Likewise.
5378 (FE_UPWARD): Likewise.
5379 (FE_TOWARDZERO): Likewise.
5381 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5383 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5385 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5387 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5388 commands. Quote $PWD.
5389 (blacklist_exports): Don't use remove_newlines. Replace "declare
5391 (remove_newlines): Remove.
5393 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5395 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5396 * stdlib/stdlib.h (atof): Moved to ...
5397 * include/bits/stdlib-float.h: Here. New file.
5398 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5399 * stdlib/bits/stdlib-float.h: New file.
5400 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5405 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5407 * conform/conformtest.pl (@headers): Add fenv.h.
5408 * conform/data/fenv.h-data: New file.
5409 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5410 include of <math/fenv.h>.
5412 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5413 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5414 && !UNIX98]. Enables tests for XOPEN2K8.
5415 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5416 POSIX2008]: Likewise.
5418 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5419 (struct rusage): Do not expect type or its members.
5422 * math/math.h (FP_NAN): Define macro to integer constant usable in
5423 #if and use that to give value to enum constant.
5424 (FP_INFINITE): Likewise.
5425 (FP_ZERO): Likewise.
5426 (FP_SUBNORMAL): Likewise.
5427 (FP_NORMAL): Likewise.
5429 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5431 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5432 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5435 2012-11-02 Roland McGrath <roland@hack.frob.com>
5437 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5438 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5439 autoconf-time if not.
5440 * configure.in: Remove AC_PREREQ.
5442 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5444 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5445 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5446 of the internal implementation.
5448 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5450 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5451 except include of <misc/sys/syslog.h>.
5453 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5456 function returns with a NULL context exit with zero.
5458 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5460 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5462 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5464 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5465 (run_program_cmd): This.
5466 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5467 (tst_langinfo): New variable. Use it.
5469 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5471 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5472 floating point opcodes.
5474 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5476 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5479 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5481 * sysdeps/mach/hurd/powerpc: Remove directory.
5482 * sysdeps/mach/powerpc: Likewise.
5484 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5486 * scripts/check-local-headers.sh: Ignore c++ headers.
5488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5490 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5491 __libc_cleanup_region_start argument.
5493 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5498 x * y using scaling, not as x * y + z.
5499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5501 * math/libm-test.inc (fma_test): Add more tests.
5502 (fma_test_towardzero): Likewise.
5503 (fma_test_downward): Likewise.
5504 (fma_test_upward): Likewise.
5506 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5508 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5510 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5512 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5515 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5517 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5519 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5526 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5529 Fix the order of the list for glibc 2.17.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5533 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5537 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5540 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5541 for low part of x being zero before using __atanl (y).
5542 * math/libm-test.inc (atan2_test): Add another test.
5544 * manual/install.texi (Configuring and compiling): Document
5545 general use of test-wrapper and test-wrapper-env.
5546 * INSTALL: Regenerated.
5548 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5549 (__fma): Do not extract and scale down low bits on after-rounding
5550 systems when result rounded to normal precision would have normal
5552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5553 (__fmal): Do not extract and scale down low bits on after-rounding
5554 systems when result rounded to normal precision would have normal
5556 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5557 (__fmal): Do not extract and scale down low bits on after-rounding
5558 systems when result rounded to normal precision would have normal
5560 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5562 (fma_test): Add more tests.
5563 (fma_test_towardzero): Likewise.
5564 (fma_test_downward): Likewise.
5565 (fma_test_upward): Likewise.
5567 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5569 * sysdeps/i386/tininess.h: Renamed to ...
5570 * sysdeps/x86/tininess.h: This.
5571 * sysdeps/x86_64/tininess.h: Removed.
5573 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5575 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5576 input. Use $(build-program-cmd).
5577 ($(objpfx)tst-array1-static.out): Likewise.
5578 ($(objpfx)tst-array2.out): Likewise.
5579 ($(objpfx)tst-array3.out): Likewise.
5580 ($(objpfx)tst-array4.out): Likewise.
5581 ($(objpfx)tst-array5.out): Likewise.
5582 ($(objpfx)tst-array5-static.out): Likewise.
5584 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5586 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5589 * nss/nsswitch.h (nss_interface_function): Provide new
5590 macro for use with NSS functions.
5591 * grp/initgroups.c: Use new macro.
5592 * nss/getXXbyYY.c: Likewise.
5593 * nss/getXXbyYY_r.c: Likewise.
5594 * nss/getXXent.c: Likewise.
5595 * nss/getXXent_r.c: Likewise.
5596 * sysdeps/posix/getaddrinfo.c: Likewise.
5598 2012-10-30 Andreas Jaeger <aj@suse.de>
5600 * po/ru.po: Update Russion translation from translation project.
5602 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5607 result and shift together with sticky bit instead of replicating
5608 round-to-nearest rounding.
5609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5611 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5612 missing underflow exceptions.
5613 (fma_test_towardzero): Add more tests.
5614 (fma_test_downward): Likewise.
5615 (fma_test_upward): Likewise.
5618 * sysdeps/generic/tininess.h: New file.
5619 * sysdeps/i386/tininess.h: Likewise.
5620 * sysdeps/sh/tininess.h: Likewise.
5621 * sysdeps/x86_64/tininess.h: Likewise.
5622 * stdlib/tst-strtod-underflow.c: Likewise.
5623 * stdlib/tst-tininess.c: Likewise.
5624 * stdlib/strtod_l.c: Include <tininess.h>.
5625 (round_and_return): Do not set errno for exact underflow cases.
5626 Force an underflow exception when setting errno for underflow.
5627 Determine underflow based on rounding to normal precision if
5628 TININESS_AFTER_ROUNDING.
5629 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5630 ERANGE for exact underflow cases.
5631 * stdlib/Makefile (tests): Add tst-tininess and
5632 tst-strtod-underflow.
5633 ($(objpfx)tst-tininess): Use $(link-libm).
5634 ($(objpfx)tst-strtod-underflow): Likewise.
5636 2012-10-30 Andreas Jaeger <aj@suse.de>
5639 * elf/Makefile (tests): Remove conditional for have-initfini-array
5640 since this is now always required and the variable does not exist
5642 (tests-static): Likewise.
5643 (modules-names): Likewise.
5645 * po/eo.po: Add Esperanto translation from translation project.
5647 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5648 merged with constructor/destructor.
5649 (init_array): Likewise.
5650 * elf/tst-array2dep.c (fini_array): Likewise.
5651 (init_array): Likewise.
5653 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5655 * manual/message.texi: Delete @cartouche tags.
5657 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5659 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5661 * sysdeps/mach/hurd/fsync.c: Likewise.
5663 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5664 [_POSIX_REALTIME_SIGNALS]: Change condition to
5665 [_POSIX_REALTIME_SIGNALS > 0].
5667 2012-10-27 Andreas Jaeger <aj@suse.de>
5669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5670 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5672 [__WORDSIZE != 64]: Likewise.
5674 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5676 * iconvdata/tst-table.sh: Remove ${SHELL}.
5677 * iconvdata/tst-tables.sh: Likewise.
5679 2012-10-25 David S. Miller <davem@davemloft.net>
5681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5682 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5687 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5688 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5689 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5692 2012-10-25 Roland McGrath <roland@hack.frob.com>
5694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5695 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5698 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5699 Jim Blandy <jimb@codesourcery.com>
5701 * scripts/cross-test-ssh.sh: New file.
5702 * manual/install.texi (Configuring and compiling): Document use of
5704 * INSTALL: Regenerated.
5706 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5708 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5711 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5713 * Makeconfig (run-program-prefix): Fix comment.
5715 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5716 Jim Blandy <jimb@codesourcery.com>
5718 * Makeconfig (test-wrapper): New variable,
5719 (test-wrapper-env): Likewise.
5720 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5721 (run-built-tests): Define to yes.
5722 (run-program-prefix): Use $(test-wrapper).
5723 (built-program-cmd): Likewise.
5724 * Rules (make-test-out): Use $(test-wrapper-env) and
5725 $(host-built-program-cmd).
5726 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5727 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5729 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5730 $(test-wrapper-env) to tst-rtld-load-self.sh.
5731 ($(objpfx)order2.out): Use $(test-wrapper).
5732 ($(objpfx)tst-initorder.out): Likewise.
5733 ($(objpfx)tst-initorder2.out): Likewise.
5734 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5735 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5736 (test_wrapper_env): New variable. Use it to run ld.so.
5737 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5738 Use it to run ld.so.
5739 (test_wrapper_env): Likewise.
5740 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5741 $(test-wrapper) to run-iconv-test.sh.
5742 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5743 (ICONV): Use $test_wrapper.
5744 * posix/Makefile ($(objpfx)globtest.out): Pass
5745 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5746 globtest.sh, not $(run-program-prefix).
5747 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5748 (test_wrapper): Likewise.
5749 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5750 set together with run_via_rtld_prefix.
5751 (run_program_prefix): Define in terms of test_wrapper and
5752 run_via_rtld_prefix.
5754 2012-10-24 Roland McGrath <roland@hack.frob.com>
5756 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5757 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5761 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5762 Declare __clock_getres, __clock_gettime, __clock_settime,
5763 __clock_nanosleep, and __clock_getcpuclockid.
5764 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5765 Remove librt_hidden_def (clock_gettime).
5766 * sysdeps/unix/clock_gettime.c: Likewise.
5767 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5769 * rt/clock_getres.c: Define __clock_getres as an alias.
5770 * sysdeps/posix/clock_getres.c: Likewise.
5771 * rt/clock_settime.c: Define __clock_settime as an alias.
5772 * sysdeps/unix/clock_settime.c: Likewise.
5773 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5774 * sysdeps/unix/clock_nanosleep.c: Likewise.
5775 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5776 * rt/clock-compat.c: New file.
5777 * rt/Makefile (librt-routines): Add clock-compat and move
5778 $(clock-routines) to ...
5779 (routines): ... here, new variable.
5780 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5781 Don't add get_clockfreq here.
5782 * rt/Versions (libc: GLIBC_2.17): New version set.
5783 Add clock_* symbols here.
5784 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5786 (GLIBC_2.17): Add clock_* symbols.
5787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5798 * NEWS: Mention the move.
5800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5801 Use __open, __read, __close rather than their public counterparts.
5802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5803 (__get_clockfreq_via_cpuinfo): Likewise.
5804 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5805 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5807 * config.h.in (HAVE_IFUNC): New #undef.
5808 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5810 * configure: Regenerated.
5812 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5814 * configure.in: Move READELF check to start of file.
5815 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5816 libc_cv_asm_gnu_indirect_function in the process.
5817 * configure: Regenerated.
5819 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5821 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5822 send the output to /dev/null.
5823 (libc_cv_cc_with_libunwind): Likewise.
5824 (libc_cv_as_noexecstack): Likewise.
5825 * configure: Regenerate.
5827 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5829 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5831 * posix/globtest.sh (TMPDIR): Do not set.
5832 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5833 (testout): Likewise.
5835 2012-10-24 Andreas Jaeger <aj@suse.de>
5837 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5838 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5839 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5840 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5841 posix_fadvise64, posix_fallocate64.
5843 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5844 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5845 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5847 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5849 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5852 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5853 <bits/fcntl-linux.h>.
5854 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5857 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5858 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5859 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5860 [__WORDSIZE != 64]: Likewise.
5862 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5864 * Makeconfig (run-built-tests): New variable.
5865 * Rules [$(cross-compiling) = yes]: Change condition to
5866 [$(run-built-tests) = no].
5867 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5868 to [$(run-built-tests) = yes].
5869 * elf/Makefile [$(cross-compiling) = no]: Likewise
5870 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5871 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5872 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5873 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5874 * io/Makefile [$(cross-compiling) = no]: Likewise.
5875 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5876 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5877 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5878 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5879 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5880 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5881 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5882 * string/Makefile [$(cross-compiling) = no]: Likewise.
5884 * posix/Makefile ($(objpfx)globtest.out): Pass
5885 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5886 $(rtld-installed-name).
5887 * posix/globtest.sh (elf_objpfx): Remove variable.
5888 (rtld_installed_name): Likewise.
5889 (library_path): Likewise.
5890 (run_program_prefix): New variable. Use for running globtest
5893 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5894 Joseph Myers <joseph@codesourcery.com>
5896 * Makeconfig (host-built-program-cmd): New variable.
5897 * elf/Makefile (tst-stackguard1-ARGS): Use
5898 $(host-built-program-cmd).
5899 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5900 (tst-spawn-ARGS): Likewise.
5901 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5903 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5904 Jim Blandy <jimb@codesourcery.com>
5906 * Makeconfig (run-via-rtld-prefix): New variable.
5907 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5908 (built-program-cmd): Likewise.
5910 2012-10-22 Andreas Jaeger <aj@suse.de>
5912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5913 __O_RSYNC if it exists, otherwise to O_SYNC.
5915 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5916 Joseph Myers <joseph@codesourcery.com>
5918 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5920 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5922 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5925 2012-10-22 Andreas Jaeger <aj@suse.de>
5927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5935 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5942 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5943 Joseph Myers <joseph@codesourcery.com>
5945 * config.make.in (NM): New variable.
5947 2012-10-21 Andreas Jaeger <aj@suse.de>
5949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5950 definitions and declarations that are provided by
5951 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5953 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5956 * elf/Makefile (tests-static): Add tst-leaks1-static.
5957 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5958 ($(objpfx)tst-leaks1-static): New rule.
5959 ($(objpfx)tst-leaks1-static-mem): Likewise.
5960 (tst-leaks1-static-ENV): New macro.
5961 * elf/dl-open.c (dl_open_worker): Check the main application
5962 only if SHARED is defined.
5963 * elf/tst-leaks1-static.c: New file.
5965 2012-10-20 Andreas Jaeger <aj@suse.de>
5967 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5968 generic values for Linux.
5969 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5970 and declarations that are provided by <bits/fcntl-linux.h> and
5971 include <bits/fcntl-linux.h>.
5972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5975 2012-10-20 Roland McGrath <roland@hack.frob.com>
5977 * io/fcntl.h: Move include of <bits/types.h> to the top and
5978 include it unconditionally.
5980 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5982 * wcsmbs/Makefile (tests-ifunc): New variable.
5983 (tests): Add $(tests-ifunc).
5984 * wcsmbs/test-wcschr-ifunc.c: New file.
5985 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5986 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5987 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5988 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5989 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5991 * string/Makefile (tests-ifunc): New variable.
5992 (tests): Add $(tests-ifunc).
5993 * string/test-memccpy.c (TEST_NAME): New macro.
5994 * string/test-memchr.c (TEST_NAME): Likewise.
5995 * string/test-memcmp.c (TEST_NAME): Likewise.
5996 * string/test-memcpy.c (TEST_NAME): Likewise.
5997 * string/test-memmem.c (TEST_NAME): Likewise.
5998 * string/test-memmove.c (TEST_NAME): Likewise.
5999 * string/test-memset.c (TEST_NAME): Likewise.
6000 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6001 * string/test-stpcpy.c (TEST_NAME): Likewise.
6002 * string/test-stpncpy.c (TEST_NAME): Likewise.
6003 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6004 * string/test-strcasestr.c (TEST_NAME): Likewise.
6005 * string/test-strcat.c (TEST_NAME): Likewise.
6006 * string/test-strchr.c (TEST_NAME): Likewise.
6007 * string/test-strcmp.c(TEST_NAME): Likewise.
6008 * string/test-strcpy.c (TEST_NAME): Likewise.
6009 * string/test-strcspn.c (TEST_NAME): Likewise.
6010 * string/test-strlen.c (TEST_NAME): Likewise.
6011 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6012 * string/test-strncmp.c (TEST_NAME): Likewise.
6013 * string/test-strncpy.c (TEST_NAME): Likewise.
6014 * string/test-strnlen.c (TEST_NAME): Likewise.
6015 * string/test-strpbrk.c (TEST_NAME): Likewise.
6016 * string/test-strrchr.c (TEST_NAME): Likewise.
6017 * string/test-strspn.c (TEST_NAME): Likewise.
6018 * string/test-strstr.c (TEST_NAME): Likewise.
6019 * string/test-bcopy-ifunc.c: New file.
6020 * string/test-bzero-ifunc.c: Likewise.
6021 * string/test-memccpy-ifunc.c: Likewise.
6022 * string/test-memchr-ifunc.c: Likewise.
6023 * string/test-memcmp-ifunc.c: Likewise.
6024 * string/test-memcpy-ifunc.c: Likewise.
6025 * string/test-memmem-ifunc.c: Likewise.
6026 * string/test-memmove-ifunc.c: Likewise.
6027 * string/test-mempcpy-ifunc.c: Likewise.
6028 * string/test-memset-ifunc.c: Likewise.
6029 * string/test-rawmemchr-ifunc.c: Likewise.
6030 * string/test-stpcpy-ifunc.c: Likewise.
6031 * string/test-stpncpy-ifunc.c: Likewise.
6032 * string/test-strcasecmp-ifunc.c: Likewise.
6033 * string/test-strcasestr-ifunc.c: Likewise.
6034 * string/test-strcat-ifunc.c: Likewise.
6035 * string/test-strchr-ifunc.c: Likewise.
6036 * string/test-strchrnul-ifunc.c: Likewise.
6037 * string/test-strcmp-ifunc.c: Likewise.
6038 * string/test-strcpy-ifunc.c: Likewise.
6039 * string/test-strcspn-ifunc.c: Likewise.
6040 * string/test-strlen-ifunc.c: Likewise.
6041 * string/test-strncasecmp-ifunc.c: Likewise.
6042 * string/test-strncat-ifunc.c: Likewise.
6043 * string/test-strncmp-ifunc.c: Likewise.
6044 * string/test-strncpy-ifunc.c: Likewise.
6045 * string/test-strnlen-ifunc.c: Likewise.
6046 * string/test-strpbrk-ifunc.c: Likewise.
6047 * string/test-strrchr-ifunc.c: Likewise.
6048 * string/test-strspn-ifunc.c: Likewise.
6049 * string/test-strstr-ifunc.c: Likewise.
6051 * debug/Makefile (tests-ifunc): New variable.
6052 (tests): Add $(tests-ifunc).
6053 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6054 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6055 * debug/test-stpcpy_chk-ifunc.c: New file.
6056 * debug/test-strcpy_chk-ifunc.c: Likewise.
6058 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6061 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6062 header is not read in.
6064 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6066 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6067 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6068 directly. Pass built executable to script as
6069 $(built-program-cmd).
6070 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6071 $testprogram without using LD_LIBRARY_PATH and $ldso.
6073 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6074 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6075 $(rtld-installed-name).
6076 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6077 (rtld_installed_name): Likewise.
6078 (library_path): Likewise.
6079 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6080 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6081 $(run-program-prefix) to tst-tables.sh.
6082 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6083 it to run tst-table-from and tst-table-to.
6084 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6085 Pass it to tst-table.sh.
6086 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6087 $(run-program-prefix) to tst-gettext.sh.
6088 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6090 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6092 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6094 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6095 to run tst-gettext2.
6096 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6097 to run tst-translit.
6098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6099 $(run-program-prefix) to tst-mtrace.sh.
6100 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6102 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6103 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6104 $(rtld-installed-name).
6105 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6106 (rtld_installed_name): Likewise.
6107 (run_program_prefix): New variable. Use it to run wordexp-test.
6109 * Makeconfig (ARCH): Remove all definitions.
6110 (machine): Likewise.
6111 [ARCH]: Remove conditional code.
6112 [!objdir]: Give error.
6113 [!objdir] (objpfx): Remove.
6114 [!objdir] (common-objpfx): Likewise.
6115 [!objdir] (common-objdir): Likewise.
6116 * configure.in (config_makefile): Remove. Hardcode Makefile in
6117 AC_CONFIG_FILES call.
6118 * configure: Regenerated.
6121 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6123 (testout): Likewise.
6125 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6126 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6127 $(rtld-installed-name).
6128 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6129 (rtld_installed_name): Likwise.
6130 (runit): Remove function.
6131 (run_getconf): New variable, Use it for running getconf binary.
6133 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6136 * string/test-memmem.c (check_result): New function.
6137 (do_one_test): Use it.
6138 (check1): New function.
6139 (test_main): Use it.
6141 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6143 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6145 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6147 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6148 (_G_LSEEK64): Likewise.
6149 (_G_MMAP64): Likewise.
6150 (_G_FSTAT64): Likewise.
6151 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6152 (_G_LSEEK64): Likewise.
6153 (_G_MMAP64): Likewise.
6154 (_G_FSTAT64): Likewise.
6155 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6156 unconditional. Call __mmap64 directly.
6157 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6158 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6160 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6161 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6163 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6164 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6166 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6167 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6169 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6170 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6172 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6173 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6174 __fxstat64 directly.
6175 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6176 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6178 (freopen64) [!_G_OPEN64]: Remove conditional code.
6179 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6181 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6182 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6184 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6185 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6187 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6188 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6190 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6191 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6193 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6194 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6196 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6197 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6199 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6201 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6204 * manual/memory.texi (Malloc Tunable Parameters): Add note
6205 about free list pointers overwriting some perturb bytes.
6206 Wording suggested by Roland McGrath.
6208 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6210 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6211 (lgamma_test): Likewise.
6212 (tgamma_test): Likewise.
6214 2012-10-16 Florian Weimer <fweimer@redhat.com>
6217 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6218 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6220 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6222 * NEWS: Mention BZ #14716.
6223 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6224 when removing AVAILABLE1_USES_J macro.
6226 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6228 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6229 (__bswap_64): __uint64_t for unsigned 64-bit int.
6231 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6233 * include/string.h (memmem): Declare libc hidden alias.
6234 * string/memmem.c (memmem): Define libc hidden alias.
6235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6236 __read, __close instead of open, read, close.
6238 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6241 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6243 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6244 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6245 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6247 (__rawmemchr_sse2): Likewise.
6248 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6249 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6250 (__strchr_sse2): Likewise.
6251 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6252 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6253 (__strcasecmp_sse2): Likewise.
6254 (__strncasecmp_sse2): Likewise.
6255 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6256 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6257 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6258 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6259 (__strrchr_sse2): Likewise.
6260 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6262 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6263 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6264 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6265 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6266 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6267 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6270 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6271 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6272 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6274 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6275 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6276 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6278 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6279 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6280 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6281 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6282 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6283 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6284 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6285 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6286 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6287 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6288 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6289 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6290 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6291 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6293 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6295 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6296 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6297 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6298 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6300 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6302 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6303 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6304 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6305 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6307 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6309 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6310 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6311 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6312 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6313 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6314 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6315 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6317 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6318 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6319 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6320 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6321 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6323 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6324 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6326 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6328 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6329 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6330 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6331 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6332 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6333 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6334 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6335 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6336 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6337 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6340 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6347 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6349 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6350 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6351 * include/ifunc-impl-list.h: New file.
6352 * misc/ifunc-impl-list.c: Likewise.
6353 * misc/Makefile (routines): Add ifunc-impl-list.
6354 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6355 * string/test-string.h: Include <ifunc-impl-list.h>.
6356 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6357 impl_array): New variables.
6358 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6360 (test_init): Call __libc_ifunc_impl_list to initialize
6361 func_list if TEST_IFUNC and TEST_NAME are defined.
6363 * string/Makefile (strop-tests): Add bcopy and bzero.
6364 * string/test-bcopy.c: New file.
6365 * string/test-bzero.c: Likewise.
6366 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6368 * string/test-memset.c: Support bzero test if TEST_BZERO is
6370 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6372 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6374 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6377 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6379 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6380 * configure: Regenerated.
6382 * Makeconfig (+link-static-before-libc): Don't include
6383 $(link-static-libc).
6385 * libio/libio.h (_IO_pos_t): Remove.
6387 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6389 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6392 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6394 * crypt/crypt-entry.c: Include fips-private.h.
6395 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6396 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6397 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6398 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6400 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6402 * crypt/crypt-private.h: Include stdbool.h.
6403 (_ufc_setup_salt_r): Return bool.
6404 * crypt/crypt-entry.c: Include errno.h.
6405 (__crypt_r): Return NULL with EINVAL for bad salt.
6406 * crypt/crypt_util.c (bad_for_salt): New.
6407 (_ufc_setup_salt_r): Check that salt is long enough and within
6408 the specified alphabet.
6409 * crypt/badsalttest.c: New file.
6410 * crypt/Makefile (tests): Add it.
6411 ($(objpfx)badsalttest): New.
6413 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6415 * NEWS: Add entry for BZ #14602.
6417 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6419 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6421 * math/libm-test.inc: Update comment listing what functions and
6423 (isgreater_test): New function.
6424 (isgreaterequal_test): Likewise.
6425 (isless_test): Likewise.
6426 (islessequal_test): Likewise.
6427 (islessgreater_test): Likewise.
6428 (isunordered_test): Likewise.
6429 (main): Call the new functions.
6431 2012-10-09 Roland McGrath <roland@hack.frob.com>
6433 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6434 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6435 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6436 * sysdeps/i386/configure: Regenerated.
6437 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6438 * sysdeps/mach/configure: Regenerated.
6439 * sysdeps/mach/hurd/configure: Regenerated.
6440 * sysdeps/powerpc/configure: Regenerated.
6441 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6442 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6443 * sysdeps/s390/s390-32/configure: Regenerated.
6444 * sysdeps/s390/s390-64/configure: Regenerated.
6445 * sysdeps/sh/configure: Regenerated.
6446 * sysdeps/sparc/configure: Regenerated.
6447 * sysdeps/unix/sysv/linux/configure: Regenerated.
6448 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6449 * sysdeps/x86_64/configure: Regenerated.
6451 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6452 defined. Don't check if MAP is NULL.
6454 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6456 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6457 (_G_stat64): Likewise.
6458 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6459 (_G_stat64): Likewise.
6460 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6461 instead of struct _G_stat64.
6462 * libio/fileops.c (mmap_remap_check): Likewise.
6463 (decide_maybe_mmap): Likewise.
6464 (_IO_new_file_seekoff): Likewise.
6465 (_IO_file_stat): Likewise.
6466 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6468 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6469 instead of struct _G_stat64.
6470 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6472 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6475 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6477 (CHECK_EOL): New macro.
6478 (two_way_short_needle): Check beginning of haystack for EOL. Use
6480 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6481 Replace with CHECK_EOL.
6482 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6483 Replace with CHECK_EOL.
6485 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6487 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6489 * math/libm-test.inc: Update comment listing what functions and
6491 (finite_test): New function.
6492 (isinf_test): Likewise.
6493 (isnan_test): Likewise.
6494 (fpclassify_test): Test subnormal input.
6495 (isfinite_test): Likewise.
6496 (isnormal_test): Likewise.
6497 (main): Call the new functions.
6499 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6502 * Makerules (%.dynsym): Force C locale when running
6503 $(OBJDUMP) --dynamic-syms.
6505 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6510 2012-10-06 David S. Miller <davem@davemloft.net>
6512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6513 upper 32-bits of the length value in %o2 since we use branch-on-register
6514 tests which consider the entire 64-bit register.
6516 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6518 * string/test-strstr.c (check2): Add a test for page boundary.
6520 2012-10-05 David S. Miller <davem@davemloft.net>
6522 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6525 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6527 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6528 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6529 and bzero when HWCAP_SPARC_CRYPTO is present.
6531 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6534 * string/test-strstr.c (check2): New function.
6535 (test_main): Call check2.
6537 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6539 * string/bug-strcasestr1.c (do_test): Moved to ...
6540 * string/test-strcasestr.c (check1): Here. New function.
6541 (do_one_test): Break out result checking code into ...
6542 (check_result): This. New function.
6543 (do_one_test): Call check_result.
6544 (test_main): Call check1.
6545 * string/bug-strchr1.c (do_test): Moved to ...
6546 * string/test-strchr.c (check1): Here. New function.
6547 (do_one_test): Break out result checking code into ...
6548 (check_result): This. New function.
6549 (do_one_test): Call check_result.
6550 (test_main): Call check1.
6551 * string/bug-strstr1.c (main): Moved to ...
6552 * string/test-strstr.c (check1): Here. New function.
6553 (do_one_test): Break out result checking code into ...
6554 (check_result): This. New function.
6555 (do_one_test): Call check_result.
6556 (test_main): Call check1.
6557 * string/bug-strcasestr1.c: Removed.
6558 * string/bug-strchr1.c: Likewise.
6559 * string/bug-strstr1.c: Likewise.
6561 * elf/Makefile (dl-routines): Add hwcaps.
6562 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6563 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6564 (_dl_important_hwcaps): Moved to ...
6565 * elf/dl-hwcaps.c: Here. New file.
6566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6569 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6570 if IS_IN_rtld isn't defined.
6572 * elf/dl-support.c (_dl_sysinfo_map): New.
6573 Include "get-dynamic-info.h" and "setup-vdso.h".
6574 (_dl_non_dynamic_init): Call setup_vdso.
6575 * elf/dynamic-link.h: Don't include <assert.h>.
6576 (elf_get_dynamic_info): Moved to ...
6577 * elf/get-dynamic-info.h: Here. New file.
6578 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6579 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6580 * elf/setup-vdso.h: Here. New file.
6581 * elf/rtld.c: Include "setup-vdso.h".
6582 (dl_main): Call setup_vdso.
6584 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6586 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6587 creal in comment listing functions tested. List finite, isinf,
6588 isnan, isless, islessequal, isgreater, isgreaterequal,
6589 islessgreater, isunordered, lgamma_r and pow10 as functions and
6590 macros not tested. Mention which functions not tested are aliases
6591 for other functions. Fix typo. Note that signs of NaNs are not
6594 * scripts/config.guess: Update from config.git.
6595 * scripts/config.sub: Likewise.
6597 2012-10-04 Roland McGrath <roland@hack.frob.com>
6599 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6600 * misc/madvise.c (madvise): Renamed to __madvise.
6601 Make madvise a weak alias.
6602 * include/sys/mman.h: Declare __madvise.
6603 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6604 * sysdeps/unix/syscalls.list
6605 (madvise): Make __madvise the strong name, and madvise a weak alias.
6606 * sysdeps/unix/sysv/linux/syscalls.list
6607 (madvise, mmap): Remove redundant entries.
6608 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6609 * malloc/malloc.c (mtrim): Likewise.
6610 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6612 2012-10-03 Roland McGrath <roland@hack.frob.com>
6614 * sysdeps/mach/hurd/dl-cache.c: File removed.
6615 * config.h.in (USE_LDCONFIG): New #undef.
6616 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6617 * configure: Regenerated.
6618 * elf/Makefile (dl-routines): Add dl-cache only under
6619 [$(use-ldconfig) = yes].
6620 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6621 cache on [USE_LDCONFIG].
6622 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6624 * elf/rtld.c (dl_main): Likewise.
6626 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6628 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6629 _SC_LEVEL4_CACHE_LINESIZE.
6631 2012-10-03 Roland McGrath <roland@hack.frob.com>
6633 * sysdeps/unix/bsd/confstr.h: File removed.
6635 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6637 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6640 2012-10-02 Roland McGrath <roland@hack.frob.com>
6642 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6643 Make 'mapoff' field ElfW(Off) rather than off_t.
6645 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6647 * nscd/Makefile: Remove nscd-cflags and all its users.
6648 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6649 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6652 * malloc.c (malloc_printerr): Clarify error message.
6654 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6658 Set bit_FMA_Usable if FMA is supported.
6659 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6661 (bit_FMA4_Usable): Updated.
6662 (index_FMA_Usable): New macro.
6663 (CPUID_FMA): Likewise
6664 (HAS_FMA): Defined with bit_FMA_Usable.
6666 2012-10-01 Roland McGrath <roland@hack.frob.com>
6668 * bits/types.h (__swblk_t): Type removed.
6669 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6670 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6672 (__SWBLK_T_TYPE): Likewise.
6673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6674 (__SWBLK_T_TYPE): Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6676 (__SWBLK_T_TYPE): Likewise.
6677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6678 (__SWBLK_T_TYPE): Likewise.
6680 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6681 Honza Horak <hhorak@redhat.com>
6683 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6684 (xdr_mapname): Use YPMAXMAP as maxsize.
6685 (xdr_peername): Use YPMAXPEER as maxsize.
6686 (xdr_keydat): Use YPAXRECORD as maxsize.
6687 (xdr_valdat): Use YPMAXRECORD as maxsize.
6689 2012-10-01 Roland McGrath <roland@hack.frob.com>
6691 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6693 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6694 * csu/init-first.c: ... here.
6695 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6696 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6697 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6699 * sysdeps/i386/init-first.c: File removed.
6700 * sysdeps/sh/init-first.c: File removed.
6702 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6706 if x * y might underflow to zero and z is zero.
6707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6709 * math/libm-test.inc (min_subnorm_value): New variable.
6710 (fma_test): Add more tests.
6711 (fma_test_towardzero): Likewise.
6712 (fma_test_downward): Likewise
6713 (fma_test_upward): Likewise.
6714 (initialize): Set min_subnorm_value.
6716 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6722 mode for addition resulting in exact zero.
6723 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6728 * math/libm-test.inc (fma_test): Add more tests.
6729 (fma_test_towardzero): New function.
6730 (fma_test_downward): Likewise.
6731 (fma_test_upward): Likewise.
6732 (main): Call the new functions.
6734 2012-09-28 David S. Miller <davem@davemloft.net>
6736 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6738 2012-09-28 Roland McGrath <roland@hack.frob.com>
6740 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6743 * sysdeps/gnu/_G_config.h: Moved to ...
6744 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6745 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6746 * sysdeps/generic/_G_config.h: ... here.
6748 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6750 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6752 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6753 Conditionalize target on [libnss_test1.so-version].
6755 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6757 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6758 (elfobjdir): Move out of conditionals.
6760 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6761 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6762 (__nss_lookup_function): Conditionalize label remove_from_tree on
6763 [!DO_STATIC_NSS || SHARED], matching its only use.
6765 2012-09-28 David S. Miller <davem@davemloft.net>
6767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6770 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6772 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6774 when HWCAP_SPARC_CRYPTO is present.
6776 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6778 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6780 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6783 * stdio-common/vfprintf.c (process_string_arg): Revert
6786 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6788 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6790 * stdio-common/tst-sprintf.c: Include <locale.h>
6791 (main): Test sprintf's handling of incomplete multibyte
6794 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6796 * elf/dl-runtime.c (VERSYMIDX): Removed.
6797 * elf/dl-version.c (VERSYMIDX): Likewise.
6798 * elf/do-rel.h (VERSYMIDX): Likewise.
6800 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6801 * elf/rtld.c (VALIDX): Likewise.
6802 (ADDRIDX): Likewise.
6803 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6804 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6805 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6806 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6808 (ADDRIDX): Likewise.
6810 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6812 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6814 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6817 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6819 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6820 addresses are in the same scope as 192.0.2/24.
6821 * posix/gai.conf: Document new scope table defaults.
6823 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6826 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6827 for ftell. Compute offsets from write pointers instead.
6828 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6830 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6833 * libio/Makefile (tests): New test case tst-fseek.
6834 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6835 combination works in wide mode.
6836 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6837 state when the external buffer state changes.
6839 2012-09-27 David S. Miller <davem@davemloft.net>
6842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6843 pass reloc->r_addend in as the 'high' argument to
6844 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6850 * rt/tst-aio2.c: Include <pthread.h>.
6851 * rt/tst-aio3.c: Likewise.
6853 2012-09-27 Steve Ellcey <sellcey@mips.com>
6855 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6857 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6859 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6860 contents on [SHARED].
6862 2012-09-26 Marek Polacek <polacek@redhat.com>
6866 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6867 for C++ and GCC <4.3 as well as for non GCC compilers.
6869 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6873 2012-09-25 Roland McGrath <roland@hack.frob.com>
6875 * Makefile.in (all, install): Declare with .PHONY.
6876 Reported by Michael Hope <michael.hope@linaro.org>.
6878 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6880 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6881 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6883 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6885 (sydep_routines): Add the new and the internal functions.
6886 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6887 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6889 (GLIBC_2.17): Add the new function.
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6891 (GLIBC_2.17): Likewise.
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6893 (GLIBC_2.17): Likewise.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6895 (GLIBC_2.17): Likewise.
6896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6898 2012-09-25 Alan Modra <amodra@gmail.com>
6900 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6901 Add release barrier before setting once_control to say
6902 initialisation is done. Add hints on lwarx. Use macro in
6904 (clear_once_control): Add release barrier.
6906 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6909 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6911 * math/s_clog10.c (__clog10): Likewise.
6912 * math/s_clog10f.c (__clog10f): Likewise.
6913 * math/s_clog10l.c (__clog10l): Likewise.
6914 * math/s_clogf.c (__clogf): Likewise.
6915 * math/s_clogl.c (__clogl): Likewise.
6916 * math/Makefile (libm-calls): Add x2y2m1.
6917 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6918 (__x2y2m1): Likewise.
6919 (__x2y2m1l): Likewise.
6920 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6921 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6926 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6931 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6932 int as type of variable DEPTH.
6933 (glob): Use size_t instead of int as type of variables NEWCOUNT
6936 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6940 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6941 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6942 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6943 macros for using routine as __sincosf_ia32.
6944 Use macro for function declaration and weak_alias.
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6950 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6952 * math/s_cexpf.c (__cexpf): Likewise.
6953 * math/s_csinf.c (__csinf): Likewise.
6954 * math/s_csinhf.c (__csinhf): Likewise.
6955 * math/s_ctanf.c (__ctanf): Likewise.
6956 * math/s_ctanhf.c (__ctanhf): Likewise.
6957 * math/s_ccosh.c (__ccoshf): Likewise.
6958 * math/s_cexp.c (__cexpl): Likewise.
6959 * math/s_csin.c (__csin): Likewise.
6960 * math/s_csinh.c (__csinh): Likewise.
6961 * math/s_ctan.c (__ctan): Likewise.
6962 * math/s_ctanh.c (ctanh): Likewise.
6963 * math/s_ccoshl.c (__ccoshl): Likewise.
6964 * math/s_cexpl.c (__cexpl): Likewise.
6965 * math/s_csinl.c (__csinl): Likewise.
6966 * math/s_csinhl.c (__csinhl): Likewise.
6967 * math/s_ctanl.c (__ctanl): Likewise.
6968 * math/s_ctanhl.c (__ctanhl): Likewise.
6970 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6972 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6973 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6974 (_IO_off_t): Define to __off_t, not _G_off_t.
6975 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6976 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6977 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6978 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6979 type of __dummy and __dummy2 fields.
6980 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6981 (_G_ssize_t): Likewise.
6982 (_G_off_t): Likewise.
6983 (_G_pid_t): Likewise.
6984 (_G_uid_t): Likewise.
6985 (_G_wchar_t): Likewise.
6986 (_G_wint_t): Likewise.
6987 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6988 (_G_ssize_t): Likewise.
6989 (_G_off_t): Likewise.
6990 (_G_pid_t): Likewise.
6991 (_G_uid_t): Likewise.
6992 (_G_wchar_t): Likewise.
6993 (_G_wint_t): Likewise.
6994 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6995 (_G_ssize_t): Likewise.
6996 (_G_off_t): Likewise.
6997 (_G_pid_t): Likewise.
6998 (_G_uid_t): Likewise.
6999 (_G_wchar_t): Likewise.
7000 (_G_wint_t): Likewise.
7002 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7004 * malloc/arena.c: Include malloc-sysdep.h.
7005 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7006 is sufficient to shrink the heap or an unmap is needed.
7007 * sysdeps/generic/malloc-sysdep.h: New file. Define
7008 new function check_may_shrink_heap.
7009 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7010 new function check_may_shrink_heap.
7012 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7014 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7017 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7019 * catgets/test-gencat.sh: Add "set -e".
7020 * elf/tst-pathopt.sh: Likewise.
7021 * grp/tst_fgetgrent.sh: Likewise.
7022 * iconvdata/run-iconv-test.sh: Likewise.
7023 * intl/tst-gettext.sh: Likewise.
7024 * intl/tst-gettext2.sh: Likewise.
7025 * intl/tst-gettext4.sh: Likewise.
7026 * intl/tst-gettext6.sh: Likewise.
7027 * intl/tst-translit.sh: Likewise.
7028 * io/ftwtest-sh: Likewise.
7029 * libio/test-freopen.sh: Likewise.
7030 * malloc/tst-mtrace.sh: Likewise.
7031 * posix/globtest.sh: Likewise.
7032 * posix/tst-getconf.sh: Likewise.
7033 * posix/wordexp-tst.sh: Likewise.
7034 * stdio-common/tst-printf.sh: Likewise.
7035 * stdio-common/tst-unbputc.sh: Likewise.
7036 * stdlib/tst-fmtmsg.sh: Likewise.
7037 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7038 * catgets/Makefile: Do not specify -e option when running
7039 testsuite shell scripts.
7040 * elf/Makefile: Likewise.
7041 * grp/Makefile: Likewise.
7042 * iconvdata/Makefile: Likewise.
7043 * intl/Makefile: Likewise.
7044 * io/Makefile: Likewise.
7045 * libio/Makefile: Likewise.
7046 * malloc/Makefile: Likewise.
7047 * posix/Makefile: Likewise.
7048 * stdio-common/Makefile: Likewise.
7049 * stdlib/Makefile: Likewise.
7050 * sysdeps/x86_64/Makefile: Likewise.
7052 * io/ftwtest-sh: Add copyright header.
7053 * posix/globtest.sh: Likewise.
7054 * posix/tst-getconf.sh: Likewise.
7055 * posix/wordexp-tst.sh: Likewise.
7056 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7058 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7061 * Makeconfig (+link): Defined as $(+link-static) if
7062 $(build-shared) isn't yes.
7063 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7065 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7067 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7070 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7071 new chunk size with MALLOC_ALIGN_MASK.
7073 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7076 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7078 (__printf_fphex): Determine rounding using get_rounding_mode and
7080 * stdio-common/tst-printf-round.c (struct hex_test): New
7082 (hex_tests): New variable.
7083 (test_hex_in_one_mode): New function.
7084 (do_test): Also run tests for hex float output.
7086 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7088 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7089 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7090 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7091 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7092 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7093 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7094 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7095 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7097 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7099 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7100 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7101 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7102 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7104 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7107 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7109 * elf/tst-rtld-load-self.sh: New test.
7110 * elf/Makefile: Run it.
7112 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7114 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7115 (tst-writev-ENV): Remove.
7116 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7118 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7120 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7122 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7124 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7126 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7128 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7129 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7133 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7136 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7137 * config.make.in (have-cpp-asm-debuginfo): Removed.
7138 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7139 * configure: Regenerated.
7141 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7144 * stdio-common/printf_fp.c: Include <stdbool.h> and
7146 (___printf_fp): Determine rounding using get_rounding_mode and
7148 * stdio-common/tst-printf-round.c: New file.
7149 * stdio-common/Makefile (tests): Add tst-printf-round.
7150 (link-libm): New variable.
7151 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7153 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7156 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7157 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7159 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7162 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7164 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7165 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7166 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7169 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7172 * include/rounding-mode.h: New file.
7173 * sysdeps/generic/get-rounding-mode.h: Likewise.
7174 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7175 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7176 (MAX_VALUE): New macro.
7177 (MIN_VALUE): Likewise.
7178 (overflow_value): New function.
7179 (underflow_value): Likewise.
7180 (round_and_return): Use overflow_value and underflow_value to
7181 determine return values in overflow and underflow cases. Use
7182 round_away to determine rounding depending on rounding mode.
7183 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7184 determine return values in overflow and underflow cases.
7185 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7186 (struct test_results): New structure.
7187 (struct test): Use struct test_results to store expected results
7188 for all rounding modes.
7189 (TEST): Include expected results for all rounding modes.
7190 (test_in_one_mode): New function.
7191 (do_test): Use test_in_one_mode to compute and check results.
7192 Check results for all rounding modes.
7193 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7196 2012-12-09 Allan McRae <allan@archlinux.org>
7198 * sysdeps/i386/fpu/libm-test-ulps: Update
7200 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7202 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7203 (_G_int32_t): Likewise.
7204 (_G_uint16_t): Likewise.
7205 (_G_uint32_t): Likewise.
7206 (_G_HAVE_BOOL): Likewise.
7207 (_G_HAVE_ATEXIT): Likewise.
7208 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7209 (_G_HAVE_IO_FILE_OPEN): Likewise.
7210 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7211 (_G_int32_t): Likewise.
7212 (_G_uint16_t): Likewise.
7213 (_G_uint32_t): Likewise.
7214 (_G_HAVE_BOOL): Likewise.
7215 (_G_HAVE_ATEXIT): Likewise.
7216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7217 (_G_HAVE_IO_FILE_OPEN): Likewise.
7218 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7219 (_G_int32_t): Likewise.
7220 (_G_uint16_t): Likewise.
7221 (_G_uint32_t): Likewise.
7222 (_G_HAVE_BOOL): Likewise.
7223 (_G_HAVE_ATEXIT): Likewise.
7224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7225 (_G_HAVE_IO_FILE_OPEN): Likewise.
7227 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7229 * csu/libc-tls.c: Update copyright years.
7231 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7233 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7234 [!_G_USING_THUNKS]: Remove conditional code.
7235 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7236 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7238 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7239 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7240 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7241 (_G_VTABLE_LABEL_PREFIX): Likewise.
7242 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7243 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7244 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7245 (_G_VTABLE_LABEL_PREFIX): Likewise.
7246 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7247 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7249 (_G_VTABLE_LABEL_PREFIX): Likewise.
7250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7252 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7254 * libio/Makefile: Include ../Makeconfig before tests.
7255 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7256 only if $(build-shared) is yes.
7258 * iconv/gconv_db.c: Update copyright years.
7260 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7262 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7263 unwind info if defined PIC. Fix special cases description.
7264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7266 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7268 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7270 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7272 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7274 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7277 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7278 (LDLIBS-tst-chk4): This.
7279 (LDFLAGS-tst-chk5): Renamed to ...
7280 (LDLIBS-tst-chk5): This.
7281 (LDFLAGS-tst-chk6): Renamed to ...
7282 (LDLIBS-tst-chk6): This.
7283 (LDFLAGS-tst-lfschk4): Renamed to ...
7284 (LDLIBS-tst-lfschk4): This.
7285 (LDFLAGS-tst-lfschk5): Renamed to ...
7286 (LDLIBS-tst-lfschk5): This.
7287 (LDFLAGS-tst-lfschk6): Renamed to ...
7288 (LDLIBS-tst-lfschk6): This.
7290 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7291 on $(common-objpfx)soversions.mk.
7293 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7296 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7299 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * malloc/arena.c (arena_get_retry): New function that gets
7302 another arena for the caller to try its request on.
7303 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7304 current arena cannot fulfill the request.
7305 (__libc_memalign): Likewise.
7306 (__libc_memalign): Likewise.
7307 (__libc_pvalloc): Likewise.
7308 (__libc_calloc): Likewise.
7310 2012-09-05 John Tobey <john.tobey@gmail.com>
7313 * manual/arith.texi (Operations on Complex): Fix description
7316 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7319 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7323 * manual/memory.texi (Memory): Make order of menu items match
7326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7328 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7329 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7330 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7332 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7334 * csu/libc-tls.c (static_dtv): Renamed to ...
7335 (_dl_static_dtv): This. Make it global.
7336 (_dl_initial_dtv): Removed.
7337 (__libc_setup_tls): Updated.
7338 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7339 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7342 2012-09-06 Petr Machata <pmachata@redhat.com>
7344 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7345 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7346 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7347 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7349 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7352 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7353 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7356 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7359 * Makeconfig (link-static-before-libc): Replace $(+prector)
7361 (link-static-after-libc): Replace $(+postctor) with
7363 (link-bounded): Replace $(+prector)/$(+postctor) with
7364 $(+prectorT)/$(+postctorT).
7365 (+prectorT): New macro.
7366 (+postctorT): Likewise.
7368 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7370 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7371 (round_str): Handle values above the maximum for IBM long double
7373 * stdlib/tst-strtod-round.c (tests): Regenerated.
7375 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7377 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7379 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7380 zarch_nohighgprs around the zarch optimized routines.
7381 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7382 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7383 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7386 2012-09-05 David S. Miller <davem@davemloft.net>
7388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7390 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7391 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7392 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7393 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7398 * malloc/arena.c: Fold copyright years.
7399 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7403 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7407 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7411 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7412 change internal state upon failure.
7414 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7416 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7417 * malloc/memusage.c (mmap): Likewise.
7418 (mmap64, mremap): Likewise. Adjust name in comment.
7420 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7422 * libio/fileops.c: Fix typos in comments.
7423 * libio/oldfileops.c: Likewise.
7424 * libio/wfileops.c: Likewise.
7426 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7429 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7430 (tst-malloc-usable-ENV): Set environment for test case.
7431 * malloc/hooks.c (malloc_check_get_size): New function to get
7433 * malloc/malloc.c (musable): Use malloc_check_get_size.
7434 * malloc/tst-malloc-usable.c: New test case.
7436 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7438 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7440 2012-09-05 Allan McRae <allan@archlinux.org>
7443 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7444 determine header location.
7445 * configure: Regenerated.
7447 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7449 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7451 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7452 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7456 2012-09-04 David S. Miller <davem@davemloft.net>
7458 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7459 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7460 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7462 2012-09-04 Florian Weimer <fweimer@redhat.com>
7464 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7467 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7469 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7472 * libio/iogetdelim.c: Include <limits.h>.
7473 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7474 + len + 1 would overflow.
7476 2012-09-03 Andreas Jaeger <aj@suse.de>
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7479 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7483 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7484 Add s_sinf-sse2, s_conf-sse2.
7486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7488 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7489 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7491 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7492 for using routine as __sinf_ia32.
7493 Use macro for function declaration and weak_alias.
7494 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7495 for using routine as __cosf_ia32.
7496 Use macro for function declaration and weak_alias.
7498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7499 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7501 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7502 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7505 * math/libm-test.inc (cos_test): Add more test cases.
7506 (sin_test): Likewise.
7507 (sincos_test): Likewise.
7509 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7511 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7512 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7516 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7519 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7520 first element of the GOT.
7521 (elf_machine_load_address): Return the difference between
7522 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7524 2012-09-01 Allan McRae <allan@archlinux.org>
7527 * configure.in (AWK): Require gawk version 3.0 or later.
7528 * configure: Regenerated.
7530 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7532 * sysdeps/unix/sysv/linux/kernel-features.h
7533 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7535 [__NR_clock_getres]: Make code unconditional.
7536 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7537 (clock_getcpuclockid): Remove code left unreachable by removal of
7539 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7541 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7543 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7544 Make code unconditional.
7545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7547 * sysdeps/unix/sysv/linux/clock_settime.c
7548 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7550 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7553 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7556 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7557 scripts/test-installation.pl.
7559 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7560 and $ld_so_version if it is set.
7562 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7566 failure if reading from procfs failed.
7567 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7569 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7571 * sysdeps/unix/sysv/linux/kernel-features.h
7572 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7573 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7574 Remove conditional code.
7575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7576 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7577 Remove conditional code.
7578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7579 * sysdeps/unix/sysv/linux/i386/fxstat.c
7580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7582 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7585 * sysdeps/unix/sysv/linux/i386/lxstat.c
7586 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7588 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7589 Remove conditional code.
7590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7591 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7592 Remove conditional code.
7593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7594 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7595 <kernel-features.h>.
7596 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7598 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7599 Remove conditional code.
7600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7601 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7604 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7607 * NEWS: Add fixed bug number.
7609 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7612 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7613 underflowing exponent in case of negative sign.
7614 * stdlib/tst-strtod-round-data: Add more tests.
7615 * stdlib/tst-strtod-round.c (tests): Regenerated.
7618 * stdlib/strtod_l.c (NDIG): Remove.
7619 (HEXNDIG): Likewise.
7620 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7621 smallest representable value.
7622 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7623 lie within an exact representation of 1/2 ulp of the result.
7624 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7626 (TENS_P9_IDX): Define unconditionally.
7627 (TENS_P9_SIZE): Likewise.
7628 (TENS_P10_IDX): Likewise.
7629 (TENS_P10_SIZE): Likewise.
7630 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7631 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7632 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7633 entries for 10^2^13 and 10^2^14.
7634 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7635 (TENS_P13_IDX): Define.
7636 (TENS_P13_SIZE): Likewise.
7637 (TENS_P14_IDX): Likewise.
7638 (TENS_P14_SIZE): Likewise.
7639 (_fpioconst_pow10): Change array size to
7640 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7642 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7643 1024]: Add entries for 10^2^13 and 10^2^14.
7644 [LAST_POW10 > _LAST_POW10]: Remove #error.
7645 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7646 (_fpioconst_pow10): Change array size to
7647 FPIOCONST_POW10_ARRAY_SIZE.
7648 * stdlib/gen-fpioconst.c: New file.
7649 * stdlib/gen-tst-strtod-round.c: Likewise.
7650 * stdlib/tst-strtod-round-data: Likewise.
7651 * stdlib/tst-strtod-round.c: Likewise.
7652 * stdlib/Makefile (tests): Add tst-strtod-round.
7655 * stdlib/strtod_l.c: Include <stdint.h>.
7656 (NDEBUG): Do not define.
7657 (round_and_return): Change EXPONENT parameter to type intmax_t.
7658 Rearrange calculations to avoid internal overflow possibilities.
7659 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7660 Rearrange calculations to avoid internal overflow possibilities.
7661 Assert that number fits inside MPNSIZE limbs.
7662 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7663 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7664 calculations and add assertions to avoid internal overflow
7665 possibilities. Add casts to avoid signed/unsigned operations.
7666 * stdlib/tst-strtod-overflow.c: New file.
7667 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7669 2012-08-25 Marek Polacek <polacek@redhat.com>
7671 * time/time.h: Fix some typos in comments.
7673 2012-08-23 Roland McGrath <roland@hack.frob.com>
7675 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7676 * posix/tst-rfc3484-2.c: Likewise.
7677 * posix/tst-rfc3484-3.c: Likewise.
7679 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7681 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7682 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7684 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7686 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7687 #include of fxstatat64.c.
7689 2012-08-22 Roland McGrath <roland@hack.frob.com>
7691 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7692 * shadow/getspent_r.c: Likewise.
7693 * shadow/getspnam.c: Likewise.
7694 * shadow/getspnam_r.c: Likewise.
7695 * gshadow/getsgent.c: Likewise.
7696 * gshadow/getsgent_r.c: Likewise.
7697 * gshadow/getsgnam.c: Likewise.
7698 * gshadow/getsgnam_r.c: Likewise.
7699 * inet/getnetbyad.c: Likewise.
7700 * inet/getnetbyad_r.c: Likewise.
7701 * inet/getnetbynm.c: Likewise.
7702 * inet/getnetbynm_r.c: Likewise.
7703 * inet/getnetent.c: Likewise.
7704 * inet/getnetent_r.c: Likewise.
7705 * inet/getproto.c: Likewise.
7706 * inet/getproto_r.c: Likewise.
7707 * inet/getprtent.c: Likewise.
7708 * inet/getprtent_r.c: Likewise.
7709 * inet/getprtname.c: Likewise.
7710 * inet/getprtname_r.c: Likewise.
7711 * inet/getrpcbyname.c: Likewise.
7712 * inet/getrpcbyname_r.c: Likewise.
7713 * inet/getrpcbynumber.c: Likewise.
7714 * inet/getrpcbynumber_r.c: Likewise.
7715 * inet/getrpcent.c: Likewise.
7716 * inet/getrpcent_r.c: Likewise.
7717 * inet/getaliasent.c: Likewise.
7718 * inet/getaliasent_r.c: Likewise.
7719 * inet/getaliasname.c: Likewise.
7720 * inet/getaliasname_r.c: Likewise.
7721 * nscd/getgrgid_r.c: Likewise.
7722 * nscd/getgrnam_r.c: Likewise.
7723 * nscd/gethstbyad_r.c: Likewise.
7724 * nscd/gethstbynm3_r.c: Likewise.
7725 * nscd/getpwnam_r.c: Likewise.
7726 * nscd/getpwuid_r.c: Likewise.
7727 * nscd/getsrvbynm_r.c: Likewise.
7728 * nscd/getsrvbypt_r.c: Likewise.
7729 * nscd/gai.c: Likewise.
7731 * configure.in (build_nscd): New substituted variable, set
7732 by --disable-build-nscd and defaults to $use_nscd.
7733 * configure: Regenerated.
7734 * config.make.in (build-nscd): New substituted variable.
7735 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7736 Change conditional to require [$(build-nscd) = yes] as well.
7737 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7740 * configure.in (use_nscd): New substituted variable, set by
7741 --disable-nscd. If enabled, define USE_NSCD.
7742 * configure: Regenerated.
7743 * config.h.in: Add USE_NSCD.
7744 * config.make.in (use-nscd): New substituted variable.
7745 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7746 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7747 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7748 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7749 (CFLAGS-getgrnam_r.c): Likewise.
7750 (CFLAGS-initgroups.c): Likewise.
7751 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7752 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7754 * inet/getnetgrent_r.c
7755 (nscd_setnetgrent): New function, broken out of ...
7756 (setnetgrent): ... here. Call it.
7757 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7758 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7759 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7760 * nscd/Makefile (routines, aux): Move definitions after include of
7761 Makeconfig. Conditionalize on [$(use-nscd) != no].
7762 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7763 Conditionalize on [USE_NSCD].
7764 (is_nscd, nscd_init_cb): Likewise.
7765 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7766 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7767 * nss/nss_db/db-init.c: Likewise.
7768 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7770 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7771 (make_request): Use it.
7772 (cache_valid_p): New function.
7773 (__check_pf): Use it.
7774 * NEWS: Add item for --disable-nscd.
7776 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7778 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7779 to support sed >= 4.2.1-20-ga9bf076.
7780 * configure: Regenerated.
7782 2012-08-22 Roland McGrath <roland@hack.frob.com>
7784 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7785 Conditionalize whole body on [IREL].
7787 2012-08-22 Jeff Law <law@redhat.com>
7790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7791 if the family is PF_UNSPEC.
7793 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7795 * Makerules (lib-version): Rename from V.
7796 (install-lib-nosubdir): Change V to lib-version.
7798 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7801 * powerpc32/power6/wcschr.c: New file.
7802 * powerpc32/power6/wcscpy.c: New file.
7803 * powerpc32/power6/wcsrchr.c: New file.
7804 * powerpc64/power6/wcschr.c: New file.
7805 * powerpc64/power6/wcscpy.c: New file.
7806 * powerpc64/power6/wcsrchr.c: New file.
7808 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7810 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7811 (two_way_short_needle): Use it.
7812 * string/strstr.c (AVAILABLE1_USES_J): Define.
7813 * string/strcasestr.c: Likewise.
7815 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7817 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7820 * NEWS: Add an entry.
7821 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7822 define their defaults.
7823 (two_way_short_needle): Detect end-of-string on-the-fly.
7824 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7825 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7826 * string/bug-strcasestr1.c: New test.
7827 * string/Makefile: Run it.
7829 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7832 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7833 the first character.
7835 2012-08-21 Roland McGrath <roland@hack.frob.com>
7837 * csu/elf-init.c (__libc_csu_irel): Function removed.
7838 * csu/libc-start.c (apply_irel): New function.
7839 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7841 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7843 * sysdeps/unix/sysv/linux/kernel-features.h
7844 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7845 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7846 <kernel-features.h>.
7847 [__NR_fadvise64_64]: Make code unconditional.
7848 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7849 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7850 !__NR_fadvise64_64)]: Likewise.
7851 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7852 !__NR_fadvise64_64))]: Likewise.
7853 [__NR_fadvise64]: Make code unconditional.
7854 [!__NR_fadvise64]: Remove conditional code.
7855 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7856 <kernel-features.h>.
7857 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7859 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7862 not include <kernel-features.h>.
7863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7867 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7868 include <kernel-features.h>.
7869 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7871 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7874 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7877 slight instruction rearrangements per scrollpipe analysis.
7878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7880 2012-08-20 Roland McGrath <roland@hack.frob.com>
7882 * manual/syslog.texi (syslog; vsyslog, closelog):
7883 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7884 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7886 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7887 DSOCAPS to match condition on defining it.
7889 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/unix/sysv/linux/kernel-features.h
7892 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7900 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7901 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7903 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7904 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7906 * sysdeps/unix/sysv/linux/kernel-features.h
7907 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7908 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7910 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7911 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7912 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7913 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7915 Make code unconditional.
7916 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7917 (__mmap64) [!__NR_mmap2]: Likewise.
7918 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7919 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7920 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7921 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7922 [__NR_mmap2]: Make code unconditional.
7923 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7924 (__mmap64) [!__NR_mmap2]: Likewise.
7926 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7928 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7930 2012-08-18 Andreas Jaeger <aj@suse.de>
7932 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7934 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7936 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7937 * include/unistd.h (__have_sock_cloexec): Likewise.
7938 (__have_pipe2): Likewise.
7939 (__have_dup3): Likewise.
7941 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7944 * include/unistd.h (__have_pipe2): Change define into an extern int.
7945 (__have_dup3): Likewise.
7946 * socket/have_sock_cloexec.c: Include fcntl.h.
7947 (__have_pipe2): New variable.
7948 (__have_dup3): Likewise.
7950 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7952 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7954 2012-08-17 Marek Polacek <polacek@redhat.com>
7956 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7957 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7959 2012-08-17 Roland McGrath <roland@hack.frob.com>
7961 * configure.in: Add AC_SUBST for sysheaders.
7962 * configure: Regenerated.
7963 * config.make.in (sysheaders): New substituted variable.
7965 * sysdeps/unix/mkfifo.c: Moved ...
7966 * sysdeps/posix/mkfifo.c: ... here.
7967 * sysdeps/unix/mkfifoat.c: Moved ...
7968 * sysdeps/posix/mkfifoat.c: ... here.
7970 * sysdeps/unix/utime.c: Moved ...
7971 * sysdeps/posix/utime.c: ... here.
7973 * sysdeps/unix/time.c: Moved ...
7974 * sysdeps/posix/time.c: ... here.
7975 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7978 * sysdeps/unix/nice.c: Moved ...
7979 * sysdeps/posix/nice.c: ... here.
7981 * sysdeps/unix/alarm.c: Moved ...
7982 * sysdeps/posix/alarm.c: ... here.
7984 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7986 2012-08-17 Jeff Law <law@redhat.com>
7988 * intl/Makefile (codeset_mo): New variable.
7989 ($(codeset_mo)): New target.
7990 (tst-codeset.out): Depend on that. Remove explicit rule.
7991 (tst-gettext3.out, tst-gettext5.out): Likewise.
7992 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7993 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7994 * intl/tst-codeset.sh: Remove.
7995 * intl/tst-gettext3.sh: Likewise.
7996 * intl/tst-gettext5.sh: Likewise.
7998 2012-08-17 Roland McGrath <roland@hack.frob.com>
8000 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8001 * sysdeps/unix/syscalls.list: ... here.
8003 * sysdeps/posix/getaddrinfo.c
8004 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8005 (gaiconf_init, gaiconf_reload): Use them.
8007 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8008 Define using time_t rather than struct timespec.
8010 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8011 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8013 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8015 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8016 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8019 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8020 __libc_cleanup_push argument.
8022 * bits/param.h: New file.
8023 * misc/sys/param.h: New file.
8024 * include/sys/param.h: New file.
8025 * misc/Makefile (headers): Add bits/param.h.
8026 * sysdeps/generic/sys/param.h: File removed.
8027 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8028 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8029 * sysdeps/mach/hurd/bits/param.h: New file.
8030 * sysdeps/mach/hurd/sys/param.h: File removed.
8032 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8035 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8037 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8038 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8041 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8042 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8043 rather than -D_IO_MTSAFE_IO conditionally.
8044 * stdio-common/Makefile (CPPFLAGS): Likewise.
8045 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8046 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8047 Use $(libio-mtsafe).
8048 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8050 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8051 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8052 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8053 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8054 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8055 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8056 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8057 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8058 (CFLAGS-fread_u_chk.c): Likewise.
8059 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8060 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8061 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8062 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8063 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8064 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8065 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8066 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8067 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8069 * libio/Makefile: Test [$(libc-reentrant) = yes]
8070 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8073 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8074 * sysdeps/pthread/configure: File removed.
8075 * sysdeps/pthread/Makeconfig: New file.
8076 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8077 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8079 2012-08-16 Gary Benson <gbenson@redhat.com>
8081 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8082 unmapping the first object in a namespace.
8084 2012-08-16 Roland McGrath <roland@hack.frob.com>
8086 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8087 (__internal_setnetgrent): ... this. Add internal_function to
8088 definition. Add libc_hidden_def.
8089 (setnetgrent): Update caller.
8090 (internal_endnetgrent): Renamed to ...
8091 (__internal_endnetgrent): ... this. Add internal_function to
8092 definition. Add libc_hidden_def.
8093 (endnetgrent): Update caller.
8094 (internal_getnetgrent_r): Renamed to ...
8095 (__internal_getnetgrent_r): ... this. Add internal_function to
8096 definition. Add libc_hidden_def.
8097 (__getnetgrent_r): Update caller.
8098 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8100 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8102 * stdlib/longlong.h: Update from GCC.
8104 2012-08-16 Roland McGrath <roland@hack.frob.com>
8106 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8107 on _QL, which is set by umul_ppmm but never used.
8108 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8109 variables, which are set by GMP macros but never used.
8110 * stdio-common/_itowa.c (_itowa): Likewise.
8111 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8112 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8114 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8116 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8117 struct La_sh_regs is not constant.
8118 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8119 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8120 and struct La_sparc64_regs are not constant.
8122 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8124 * sysdeps/unix/sysv/linux/kernel-features.h
8125 (__ASSUME_POSIX_TIMERS): Remove.
8126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8128 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8129 Make code unconditional.
8130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8131 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8132 Make code unconditional.
8133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8134 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8135 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8137 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8138 Make code unconditional.
8139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8140 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8141 (__libc_missing_posix_timers): Remove.
8143 2012-08-15 Roland McGrath <roland@hack.frob.com>
8145 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8146 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8148 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8150 * elf/dl-sym.c: Include <stdlib.h>.
8152 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8153 constants, which avoids warnings in 32-bit builds.
8155 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8156 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8158 * misc/lseek.c: File moved to ...
8159 * io/lseek.c: ... here.
8161 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8163 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8164 shifting LEN more than 31 bits at once.
8166 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8170 segmentation fault for a case of two empty input strings.
8171 * string/test-strncasecmp.c (check1): Renamed to...
8173 (bz14195): Add new testcase for two empty input strings and N > 0.
8174 (test_main): Call new testcase, adapt for renamed function.
8176 2012-08-15 Andreas Jaeger <aj@suse.de>
8179 * crypt/md5test2.c: New test, based on test supplied by Serge
8180 Belyshev <belyshev@depni.sinp.msu.ru>.
8181 * crypt/Makefile (xtests): Add md5test-giant..
8182 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8184 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8187 * crypt/md5.c (md5_process_block): Don't assume the buffer
8188 length is less than 2**32.
8189 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8190 length is less than 2**64.
8192 2012-08-15 Roland McGrath <roland@hack.frob.com>
8194 * string/str-two-way.h: Include <sys/param.h>.
8195 (MAX): Macro removed.
8197 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8198 Move #define and #undef of memmove to just before and after
8199 including <string.h>.
8201 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8202 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8203 and after including <string.h>. Move declarations of
8204 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8205 to before #include "string/memmove.c".
8207 * include/dirent.h: Declare __getdirentries.
8209 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8210 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8212 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8214 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8215 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8216 * sysdeps/i386/configure: Regenerated.
8217 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8218 STABS_CURRENT_FILE, and STABS_FUN.
8219 (END): Remove call to STABS_FUN_END.
8220 (STABS_CURRENT_FILE1): Delete.
8221 (STABS_CURRENT_FILE): Likewise.
8222 (STABS_FUN): Likewise.
8223 (STABS_FUN_END): Likewise.
8224 (STABS_FUN2): Likewise.
8225 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8226 * sysdeps/x86_64/configure: Regenerated.
8228 2012-08-14 Roland McGrath <roland@hack.frob.com>
8230 * elf/dl-open.c: Include <atomic.h>.
8231 * elf/dl-lookup.c: Likewise.
8233 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8235 * sysdeps/unix/sysv/linux/kernel-features.h
8236 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8237 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8239 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8241 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8242 condition on __ASSUME_CLONE_THREAD_FLAGS.
8244 2012-08-14 Andreas Jaeger <aj@suse.de>
8246 * sysdeps/i386/fpu/libm-test-ulps: Update.
8248 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8250 * include/atomic.h (atomic_exchange_and_add): Split into ...
8251 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8254 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8258 2012-08-13 Jeff Law <law@redhat.com>
8260 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8261 null byte in the output string.
8263 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8265 * sysdeps/unix/sysv/linux/kernel-features.h
8266 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8267 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8268 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8270 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8271 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8272 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8274 2012-08-09 Jeff Law <law@redhat.com>
8277 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8278 When avoid_arena is set, don't retry in the that arena. Pick the
8279 next one, whatever it might be.
8280 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8281 (arena_lock): Pass in new parameter to arena_get2.
8282 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8284 (__libc_malloc): Unify retrying after main arena failure with
8285 __libc_memalign version.
8286 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8288 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8292 to __redirect_strstr.
8293 (__strstr_sse42): Use typeof __redirect_strstr.
8294 (__strstr_ia32): Likewise.
8295 (__libc_strstr): New prototype.
8296 (strstr): Renamed to ...
8297 (__libc_strstr): This.
8298 (strstr): New strong alias of __libc_strstr.
8299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8300 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8303 (__libc_time): New prototype.
8304 (time_ifunc): Replace time with __libc_time.
8305 (time): New strong alias and hidden definition of __libc_time.
8306 (__GI_time): Remove strong alias.
8307 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8309 (memmove): Redefined to __redirect_memmove.
8310 (__memmove_sse2): Use typeof __redirect_memmove.
8311 (__memmove_ssse3): Likewise.
8312 (__memmove_ssse3_back): Likewise.
8313 (__libc_memmove): New prototype.
8314 (memmove): Renamed to ...
8315 (__libc_memmove): This.
8316 (memmove): New strong alias of __libc_memmove.
8318 2012-08-08 Mark Salter <msalter@redhat.com>
8321 (R_MN10300_TLS_GD): Define.
8322 (R_MN10300_TLS_LD): Likewise.
8323 (R_MN10300_TLS_LDO): Likewise.
8324 (R_MN10300_TLS_GOTIE): Likewise.
8325 (R_MN10300_TLS_IE): Likewise.
8326 (R_MN10300_TLS_LE): Likewise.
8327 (R_MN10300_TLS_DTPMOD): Likewise.
8328 (R_MN10300_TLS_DTPOFF): Likewise.
8329 (R_MN10300_TLS_TPOFF): Likewise.
8330 (R_MN10300_SYM_DIFF): Likewise.
8331 (R_MN10300_ALIGN): Likewise.
8332 (R_MN10300_NUM): Update.
8334 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8339 2012-08-08 Roland McGrath <roland@hack.frob.com>
8341 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8343 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8344 sysdeps/unix -> sysdeps/posix move.
8345 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8347 2012-08-07 Allan McRae <allan@archlinux.org>
8350 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8351 (SUNOS_CPP): Likewise.
8352 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8354 (open_input): Call CPP using execvp.
8356 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8358 * sysdeps/unix/sysv/linux/kernel-features.h
8359 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8362 (__ASSUME_WAITID_SYSCALL): Likewise.
8363 * sysdeps/unix/sysv/linux/dl-execstack.c
8364 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8366 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8369 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8370 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8372 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8374 [__ASSUME_WAITID_SYSCALL]: Likewise.
8375 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8377 2012-08-07 Roland McGrath <roland@hack.frob.com>
8379 * sysdeps/unix/closedir.c: Renamed to ...
8380 * sysdeps/posix/closedir.c: ... here.
8381 * sysdeps/unix/dirfd.c: Renamed to ...
8382 * sysdeps/posix/dirfd.c: ... here.
8383 * sysdeps/unix/dirstream.h: Renamed to ...
8384 * sysdeps/posix/dirstream.h: ... here.
8385 * sysdeps/unix/fdopendir.c: Renamed to ...
8386 * sysdeps/posix/fdopendir.c: ... here.
8387 * sysdeps/unix/opendir.c: Renamed to ...
8388 * sysdeps/posix/opendir.c: ... here.
8389 * sysdeps/unix/readdir.c: Renamed to ...
8390 * sysdeps/posix/readdir.c: ... here.
8391 * sysdeps/unix/readdir_r.c: Renamed to ...
8392 * sysdeps/posix/readdir_r.c: ... here.
8393 * sysdeps/unix/rewinddir.c: Renamed to ...
8394 * sysdeps/posix/rewinddir.c: ... here.
8395 * sysdeps/unix/seekdir.c: Renamed to ...
8396 * sysdeps/posix/seekdir.c: ... here.
8397 * sysdeps/unix/telldir.c: Renamed to ...
8398 * sysdeps/posix/telldir.c: ... here.
8399 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8400 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8401 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8402 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8405 * bits/fcntl.h: ... here.
8407 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8409 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8410 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8411 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8412 (struct flock): Move l_start, l_len to the beginning.
8413 Use __pid_t for l_pid.
8414 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8415 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8416 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8417 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8418 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8419 [__USE_LARGEFILE64] (struct flock64): New type.
8420 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8423 * bits/dirent.h: ... here.
8425 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8426 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8428 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8431 Change from 2.6.0 to 2.6.16.
8432 * sysdeps/unix/sysv/linux/configure: Regenerated.
8433 * sysdeps/unix/sysv/linux/kernel-features.h
8434 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8435 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8437 (__ASSUME_UTIMES): Likewise.
8438 (__ASSUME_CLONE_STOPPED): Remove.
8439 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8440 architectures, not kernel version.
8441 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8442 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8443 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8444 (__ASSUME_WAITID_SYSCALL): Likewise.
8445 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8446 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8447 * README: State 2.6.16 as minimum Linux kernel version. Do not
8448 refer to older versions.
8450 2012-08-06 Roland McGrath <roland@hack.frob.com>
8452 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8453 Define alphasort64 as an alias.
8454 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8455 Define versionsort64 as an alias.
8456 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8457 Define scandir64 as an alias.
8458 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8459 Define scandirat64 as an alias.
8460 * dirent/alphasort64.c (alphasort64):
8461 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8462 * dirent/versionsort64.c: Likewise.
8463 * dirent/scandir64.c: Likewise.
8464 * dirent/scandirat64.c: Likewise.
8465 * sysdeps/wordsize-64/alphasort.c: File removed.
8466 * sysdeps/wordsize-64/alphasort64.c: File removed.
8467 * sysdeps/wordsize-64/scandir.c: File removed.
8468 * sysdeps/wordsize-64/scandir64.c: File removed.
8469 * sysdeps/wordsize-64/scandirat.c: File removed.
8470 * sysdeps/wordsize-64/scandirat64.c: File removed.
8471 * sysdeps/wordsize-64/versionsort.c: File removed.
8472 * sysdeps/wordsize-64/versionsort64.c: File removed.
8473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8482 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8484 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8486 [defined __arch64__ || defined __sparcv9]
8487 (__INO_T_MATCHES_INO64_T): New macro.
8488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8489 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8490 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8491 * sysdeps/unix/sysv/linux/bits/dirent.h
8492 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8493 (_DIRENT_MATCHES_DIRENT64): New macro.
8495 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8496 Define lockf64 as an alias.
8497 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8498 Define fseeko64 as an alias.
8499 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8500 Define ftello64 as an alias.
8501 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8502 Define _IO_fgetpos64 and fgetpos64 as aliases.
8503 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8504 Define _IO_fsetpos64 and fsetpos64 as aliases.
8505 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8506 Conditionalize body on this.
8507 * libio/fseeko64.c: Likewise.
8508 * libio/ftello64.c: Likewise.
8509 * libio/iofgetpos64.c: Likewise.
8510 * libio/iofsetpos64.c: Likewise.
8511 * sysdeps/wordsize-64/lockf.c: File removed.
8512 * sysdeps/wordsize-64/lockf64.c: File removed.
8513 * sysdeps/wordsize-64/fseeko.c: File removed.
8514 * sysdeps/wordsize-64/fseeko64.c: File removed.
8515 * sysdeps/wordsize-64/ftello.c: File removed.
8516 * sysdeps/wordsize-64/ftello64.c: File removed.
8517 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8518 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8519 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8520 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8532 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8534 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8536 [defined __arch64__ || defined __sparcv9]
8537 (__OFF_T_MATCHES_OFF64_T): New macro.
8538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8539 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8541 (__OFF_T_MATCHES_OFF64_T): New macro.
8543 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8545 * stdlib/secure-getenv.c (__secure_getenv): Replace
8546 GLIBC_2_16 with GLIBC_2_17.
8548 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8553 2012-08-03 David S. Miller <davem@davemloft.net>
8555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8557 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8561 (__ASSUME_CORRECT_SI_PID): Likewise.
8562 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8563 (__ASSUME_TMPFS_NAME): Likewise.
8564 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8565 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8566 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8567 (HAVE_AUX_SECURE): Make definition unconditional.
8568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8569 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8571 2012-08-03 Roland McGrath <roland@hack.frob.com>
8573 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8574 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8575 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8577 __eloop_threshold instead of SYMLOOP_MAX.
8579 * sysdeps/generic/eloop-threshold.h: New file.
8580 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8582 * elf/chroot_canon.c (chroot_canon): Likewise.
8584 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8588 Change to 2.6.0 everywhere.
8589 * sysdeps/unix/sysv/linux/configure: Regenerated.
8590 * sysdeps/unix/sysv/linux/kernel-features.h
8591 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8592 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8594 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8595 (__ASSUME_FUTEX_REQUEUE): Remove.
8596 (__ASSUME_STATFS64): Define unconditionally.
8597 (__ASSUME_AT_SECURE): Likewise.
8598 (__ASSUME_CORRECT_SI_PID): Likewise.
8599 (__ASSUME_TGKILL): Define without depending on kernel version for
8601 (__ASSUME_UTIMES): Likewise.
8602 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8604 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8605 (__ASSUME_TMPFS_NAME): Likewise.
8606 * README: Update reference to Linux kernel versions.
8608 2012-08-02 Marek Polacek <polacek@redhat.com>
8611 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8612 libc_cv_asm_type_prefix with %.
8613 * configure: Regenerated.
8614 * include/libc-symbols.h: Remove comment about
8615 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8616 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8617 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8618 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8619 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8620 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8623 * elf/tst-unique2mod1.c: Likewise.
8624 * elf/tst-unique1mod2.c: Likewise.
8625 * elf/tst-unique1mod1.c: Likewise.
8626 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8627 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8628 Replace ASM_TYPE_DIRECTIVE with .type.
8629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8630 * sysdeps/i386/sysdep.h: Likewise.
8631 * sysdeps/x86_64/sysdep.h: Likewise.
8632 * sysdeps/sh/sysdep.h: Likewise.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8634 Do not define ASM_TYPE_DIRECTIVE.
8635 * sysdeps/powerpc/sysdep.h: Likewise.
8636 * sysdeps/powerpc/powerpc32/sysdep.h:
8637 Replace ASM_TYPE_DIRECTIVE with .type.
8638 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8640 * sysdeps/i386/fpu/e_powf.S: Likewise.
8641 * sysdeps/i386/fpu/e_expl.S: Likewise.
8642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8643 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8644 * sysdeps/i386/fpu/e_pow.S: Likewise.
8645 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8647 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8649 * sysdeps/i386/fpu/e_log2.S: Likewise.
8650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8651 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8652 * sysdeps/i386/fpu/e_powl.S: Likewise.
8653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8654 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8655 * sysdeps/i386/fpu/e_logl.S: Likewise.
8656 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8661 * sysdeps/i386/fpu/e_log.S: Likewise.
8662 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8663 * sysdeps/i386/fpu/e_logf.S: Likewise.
8664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8666 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8667 * sysdeps/i386/fpu/e_log10.S: Likewise.
8668 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8670 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8671 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8672 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8674 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8675 * sysdeps/i386/i686/strtok.S: Likewise.
8676 * sysdeps/i386/i386-mcount.S: Likewise.
8677 * sysdeps/i386/strtok.S: Likewise.
8678 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8682 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8683 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8684 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8685 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8686 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8687 * sysdeps/x86_64/_mcount.S: Likewise.
8688 * sysdeps/x86_64/strtok.S: Likewise.
8689 * sysdeps/sh/_mcount.S: Likewise.
8691 2012-08-01 Roland McGrath <roland@hack.frob.com>
8693 * libio/iofopen.c: Include <fcntl.h>.
8694 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8695 (_IO_fopen64, fopen64): Define as aliases.
8696 * libio/iofopen64.c: Include <fcntl.h>.
8697 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8698 Conditionalize body on this.
8699 * sysdeps/wordsize-64/iofopen.c: File removed.
8700 * sysdeps/wordsize-64/iofopen64.c: File removed.
8702 2012-08-01 Marek Polacek <polacek@redhat.com>
8704 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8705 Use dlfcn directly instead of a variable.
8706 (binfmt-subdir): Do not define.
8709 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8712 Remove all definitions.
8713 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8714 <kernel-features.h>.
8715 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8716 (miss_F_GETOWN_EX): Remove all definitions.
8717 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8719 [!__ASSUME_FCNTL64]: Remove conditional code.
8720 [__ASSUME_FCNTL64]: Make code unconditional.
8721 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8722 <kernel-features.h>.
8723 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8724 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8725 (lockf64) [__NR_fcntl64]: Make code unconditional.
8726 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8728 * sysdeps/unix/sysv/linux/kernel-features.h
8729 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8730 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8731 Make code unconditional.
8732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8735 [__NR_vfork]: Make code unconditional.
8736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8739 [__NR_vfork]: Make code unconditional.
8740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8743 2012-08-01 Roland McGrath <roland@hack.frob.com>
8745 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8746 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8748 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8749 Define mkstemp64 as an alias.
8750 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8751 Define mkstemps64 as an alias.
8752 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8753 Define mkostemp64 as an alias.
8754 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8755 Define mkostemps64 as an alias.
8756 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8757 Conditionalize body on this.
8758 * misc/mkostemp64.c: Likewise.
8759 * misc/mkostemps64.c: Likewise.
8760 * misc/mkstemps64.c: Likewise.
8761 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8762 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8763 * sysdeps/wordsize-64/mkostemp.c: File removed.
8764 * sysdeps/wordsize-64/mkstemp.c: File removed.
8765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8771 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8773 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8774 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8776 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8777 compat_symbol macros from <shlib-compat.h> rather than the underlying
8778 default_symbol_version and symbol_version macros, so that DEFAULT
8779 lines in shlib-versions are respected.
8780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8782 2012-08-01 Florian Weimer <fweimer@redhat.com>
8784 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8785 Declare with warn_unused_result.
8786 (setgid, setregid, setegid, setresgid): Likewise.
8787 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8789 * WUR-REPORT: Remove set*id functions.
8791 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8793 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8795 2012-07-31 Roland McGrath <roland@hack.frob.com>
8797 * include/sys/socket.h (__libc_accept, __libc_accept4):
8798 Add attribute_hidden.
8799 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8801 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8803 * inet/getnetgrent_r.c (setup): Likewise.
8805 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8807 2012-07-31 David S. Miller <davem@davemloft.net>
8809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8811 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8814 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8815 value between 1.0 and 2.0 and smaller part has absolute value less
8817 * math/s_clog10.c (__clog10): Likewise.
8818 * math/s_clog10f.c (__clog10f): Likewise.
8819 * math/s_clog10l.c (__clog10l): Likewise.
8820 * math/s_clogf.c (__clogf): Likewise.
8821 * math/s_clogl.c (__clogl): Likewise.
8822 * math/libm-test.inc (clog_test): Add more tests.
8823 (clog10_test): Likewise.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8827 2012-07-31 Florian Weimer <fweimer@redhat.com>
8829 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8830 Exit with zero in case no suitable GID is found, and write a
8831 message to standard error.
8833 2012-07-30 Roland McGrath <roland@hack.frob.com>
8835 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8837 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8838 (MAXPATHLEN): Removed.
8839 (NOGROUP, NODEV): New macros.
8840 (setbit, clrbit, isset, isclr): New macros.
8841 (howmany, roundup, powerof2): New macros.
8842 (DEV_BSIZE): New macro.
8844 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8845 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8847 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8848 definition on [!__NO_LONG_DOUBLE_MATH].
8850 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8851 PTR_MANGLE and PTR_DEMANGLE.
8853 * socket/accept4.c (accept4): Rename to __libc_accept4.
8854 Define accept4 as a weak alias.
8856 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8857 on [_DIRENT_HAVE_D_TYPE].
8858 * io/ftw.c (ftw_dir): Likewise.
8860 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8862 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8864 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8865 Use the BSD numbers rather than the arbitrary ones we had.
8866 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8867 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8868 (SIGXCPU, SIGXFSZ): New macros.
8871 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8872 initializer on [_LIBC_REENTRANT].
8874 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8875 definitions inside [_POSIX_MAPPED_FILES].
8877 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8879 * dirent/opendir.c: Include <fcntl.h>.
8881 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8882 (__libc_getspecific): Likewise.
8883 (__libc_key_create): Likewise.
8885 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8886 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8887 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8888 (tmpfile64): Define as alias.
8889 * sysdeps/wordsize-64/tmpfile.c: File removed.
8890 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8894 * stdio-common/vfscanf.c: Include <stdbool.h>.
8895 * nss/makedb.c: Likewise.
8896 * stdio-common/_i18n_number.h: Likewise.
8897 * argp/argp-help.c: Likewise.
8898 * posix/wordexp.c: Likewise.
8899 * sysdeps/posix/spawni.c: Likewise.
8900 * nss/nss_files/files-initgroups.c: Likewise.
8901 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8902 * nss/nss_files/files-initgroups.c: Likewise.
8903 * nss/nss_db/db-netgrp.c: Likewise.
8904 * nss/nss_db/db-initgroups.c: Likewise.
8905 * io/fchmodat.c: Include <sys/stat.h>.
8907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8908 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8910 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8913 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8914 Add multiple inclusion protection.
8916 2012-07-27 David S. Miller <davem@davemloft.net>
8918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8920 2012-07-27 Gary Benson <gbenson@redhat.com>
8923 * elf/rtld.c: Include <stap-probe.h>.
8924 (dl_main): Added static probes "init_start" and "init_complete".
8925 * elf/dl-load.c: Include <stap-probe.h>.
8926 (lose): Take new parameter "nsid".
8927 Added static probe "map_failed".
8928 (_dl_map_object_from_fd): Pass namespace id to lose.
8929 Added static probe "map_start".
8930 (open_verify): Pass namespace id to lose.
8931 * elf/dl-open.c: Include <stap-probe.h>.
8932 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8933 and "reloc_complete".
8934 * elf/dl-close.c: Include <stap-probe.h>.
8935 (_dl_close_worker): Added static probes "unmap_start" and
8937 * elf/rtld-debugger-interface.txt: New file documenting the above.
8939 2012-07-26 Roland McGrath <roland@hack.frob.com>
8941 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8942 rather than a string variable.
8943 * sunrpc/rpc_main.c (h_output): Likewise.
8944 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8946 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8948 * inet/check_native.c: New file.
8950 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8953 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8954 if larger part has absolute value 1.0.
8955 * math/s_clog10.c (__clog10): Likewise.
8956 * math/s_clog10f.c (__clog10f): Likewise.
8957 * math/s_clog10l.c (__clog10l): Likewise.
8958 * math/s_clogf.c (__clogf): Likewise.
8959 * math/s_clogl.c (__clogl): Likewise.
8960 * math/libm-test.inc (clog_test): Add more tests.
8961 (clog10_test): Likewise.
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8966 (pltexit): Likewise.
8967 (La_regs): Likewise.
8968 (La_retval): Likewise.
8969 (int_retval): Likewise.
8970 Update #error for removed macros to refer only to definitions in
8972 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8974 (pltexit): Likewise.
8975 (La_regs): Likewise.
8976 (La_retval): Likewise.
8977 (int_retval): Likewise.
8978 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8980 (pltexit): Likewise.
8981 (La_regs): Likewise.
8982 (La_retval): Likewise.
8983 (int_retval): Likewise.
8984 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8986 (pltexit): Likewise.
8987 (La_regs): Likewise.
8988 (La_retval): Likewise.
8989 (int_retval): Likewise.
8990 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8992 (pltexit): Likewise.
8993 (La_regs): Likewise.
8994 (La_retval): Likewise.
8995 (int_retval): Likewise.
8996 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8998 (pltexit): Likewise.
8999 (La_regs): Likewise.
9000 (La_retval): Likewise.
9001 (int_retval): Likewise.
9002 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9004 (pltexit): Likewise.
9005 (La_regs): Likewise.
9006 (La_retval): Likewise.
9007 (int_retval): Likewise.
9008 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9009 macro definitions in tst-audit.h.
9010 * sysdeps/i386/tst-audit.h: New file.
9011 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9012 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9013 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9014 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9015 * sysdeps/sh/tst-audit.h: Likewise.
9016 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9017 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9018 * sysdeps/x86_64/tst-audit.h: Likewise.
9020 2012-07-26 Andreas Jaeger <aj@suse.de>
9022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9025 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9026 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9027 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9029 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9030 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9031 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9033 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9036 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9038 (si_call_addr, si_syscall, si_arch): Define new macro.
9039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9041 (si_call_addr, si_syscall, si_arch): Define new marcro.
9042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9044 (si_call_addr, si_syscall, si_arch): Define new macro.
9045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9047 (si_call_addr, si_syscall, si_arch): Define new macro.
9049 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9053 Change to 2.4.21 where previously 2.4.1.
9054 * sysdeps/unix/sysv/linux/configure: Regenerated.
9055 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9056 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9057 Linux kernel version.
9058 (__ASSUME_STD_AUXV): Remove.
9059 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9061 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9062 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9063 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9064 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9065 (__ASSUME_NETLINK_SUPPORT): Likewise.
9066 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9067 (__no_netlink_support): Remove conditional definition.
9068 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9070 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9071 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9073 (if_nameindex_ioctl): Remove.
9074 (if_nameindex_netlink): Do not handle __no_netlink_support.
9075 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9077 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9078 Remove conditional code.
9079 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9081 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9083 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9084 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9085 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9088 [!__ASSUME_STD_AUXV]: Remove conditional code.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9090 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9091 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9094 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9098 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9101 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9106 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9109 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9111 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9113 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9115 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9118 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9120 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9123 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9125 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9127 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9129 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9132 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9134 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9136 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9138 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9141 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9143 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9145 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9146 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9147 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9150 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9151 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9152 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9153 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9154 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9155 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9156 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9159 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9161 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9163 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9164 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9167 2012-07-25 Florian Weimer <fweimer@redhat.com>
9169 * Versions.def: Add GLIBC_2.17.
9170 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9171 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9172 Introduce __libc_secure_getenv.
9173 * stdlib/Versions (2.17): Add secure_getenv
9174 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9175 * stdlib/secure-getenv.c: Rename __secure_getenv to
9176 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9177 symbol __secure_getenv for GLIBC_2.0.
9178 * stdlib/tst-secure-getenv.c: New.
9179 * stdlib/Makefile (tests): Add testcase.
9180 * manual/startup.texi (Environment Access): Document
9182 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9183 __libc_secure_getenv.
9184 * inet/ruserpass.c (ruserpass): Likewise.
9185 * malloc/mtrace.c (mtrace): Likewise.
9186 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9187 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9188 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9189 * sysdeps/posix/tempname.c: Likewise. Evaluate
9191 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9192 __secure_getenv to __libc_secure_getenv.
9193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9206 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9208 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9209 (struct La_i86_retval): Likewise.
9210 (struct La_x86_64_regs): Likewise.
9211 (struct La_x86_64_retval): Likewise.
9212 (struct La_x32_regs): Likewise.
9213 (struct La_x32_retval): Likewise.
9214 (struct La_ppc32_regs): Likewise.
9215 (struct La_ppc32_retval): Likewise.
9216 (struct La_ppc64_regs): Likewise.
9217 (struct La_ppc64_retval): Likewise.
9218 (struct La_sh_regs): Likewise.
9219 (struct La_sh_retval): Likewise.
9220 (struct La_s390_32_regs): Likewise.
9221 (struct La_s390_32_retval): Likewise.
9222 (struct La_s390_64_regs): Likewise.
9223 (struct La_s390_64_retval): Likewise.
9224 (struct La_sparc32_regs): Likewise.
9225 (struct La_sparc32_retval): Likewise.
9226 (struct La_sparc64_regs): Likewise.
9227 (struct La_sparc64_retval): Likewise.
9228 (struct audit_ifaces): Remove architecture-specific pltenter and
9230 * sysdeps/i386/ldsodefs.h: New file.
9231 * sysdeps/powerpc/ldsodefs.h: Likewise.
9232 * sysdeps/s390/ldsodefs.h: Likewise.
9233 * sysdeps/sh/ldsodefs.h: Likewise.
9234 * sysdeps/sparc/ldsodefs.h: Likewise.
9235 * sysdeps/x86_64/ldsodefs.h: Likewise.
9237 2012-07-25 Marek Polacek <polacek@redhat.com>
9240 * math/libm-test.inc (yn_test): Add another test.
9241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9242 to ERANGE when the result is +-Inf.
9243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9244 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9248 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9250 * conform/data/time.h-data (NULL): Use macro-constant. Require
9252 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9254 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9256 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9258 * configure.in <sysdeps resolving>: Correct printing
9260 * configure: Regenerate.
9262 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9264 * math/w_ilogb.c: Include <limits.h>.
9265 * math/w_ilogbl.c: Likewise.
9267 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9269 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9270 va_copy. Document allowing for unavailable va_copy only as
9271 pre-C99 compatibility.
9272 * manual/string.texi (Copying and Concatenation): Use va_copy
9273 instead of __va_copy in concat example.
9275 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9277 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9278 (__sendto): Use create_address_port. Initialize APORT and deallocate
9281 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9282 with O_NOLINK passed to __file_name_lookup.
9284 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9285 with O_NOLINK passed to __file_name_lookup.
9287 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9288 negative N or less than NGIDS.
9290 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9291 type to string_t. Set ERANGE as errno and return it if NAME is not big
9292 enough. Use memcpy instead of strncpy.
9294 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9296 * elf/Makefile (check-data): Remove.
9297 (localplt.data): New vpath directive.
9298 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9299 instead of $(check-data).
9300 * scripts/data/localplt-generic.data: Move to ...
9301 * sysdeps/generic/localplt.data: ... here.
9302 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9303 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9304 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9307 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9310 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9313 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9316 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9319 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9323 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9326 PPC32 and PPC64 files.
9327 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9328 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9330 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9332 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9333 __makecontext_ret to ...
9334 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9335 ... here and call exit if uc_link is NULL. New file.
9336 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9337 __makecontext_ret.S.
9338 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9339 __makecontext_ret to ...
9340 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9341 ... here and call exit if uc_link is NULL. New file.
9342 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9343 __makecontext_ret.S.
9345 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9347 * elf/elf.h (R_390_IRELATIVE): New definition.
9348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9349 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9350 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9352 (elf_machine_lazy_rel): Likewise.
9353 * sysdeps/s390/dl-irel.h: New file.
9354 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9355 * sysdeps/s390/s390-64/memset.S: New asm code.
9356 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9357 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9359 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9360 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9361 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9363 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9364 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9365 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9366 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9367 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9368 * sysdeps/s390/s390-32/memset.S: New asm code.
9369 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9371 2012-07-17 Marek Polacek <polacek@redhat.com>
9374 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9375 * sysdeps/s390/s390-64/configure.in: Likewise.
9376 * sysdeps/sparc/configure.in: Likewise.
9377 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9378 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9379 * sysdeps/i386/configure.in: Likewise.
9380 * sysdeps/x86_64/configure.in: Likewise.
9381 * sysdeps/sh/configure.in: Likewise.
9382 * sysdeps/s390/s390-32/configure: Regenerated.
9383 * sysdeps/s390/s390-64/configure: Likewise.
9384 * sysdeps/x86_64/configure: Likewise.
9385 * sysdeps/sh/configure: Likewise.
9386 * sysdeps/powerpc/powerpc64/configure: Likewise.
9387 * sysdeps/powerpc/powerpc32/configure: Likewise.
9388 * sysdeps/sparc/configure: Likwise.
9389 * sysdeps/i386/configure: Likewise.
9391 * elf/dl-open.c: Comment fixes.
9393 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9395 * Makefile [CXX] (check-data): Remove.
9396 [CXX] (c++-types.data): New vpath directive.
9397 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9398 vpath. Do not allow for C++ type data being missing.
9399 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9400 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9401 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9402 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9403 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9404 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9405 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9408 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9411 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9414 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9417 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9420 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9423 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9426 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9429 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9430 definitions to architecture-specific files.
9434 * sysdeps/i386/tls-macros.h: New file.
9435 * sysdeps/powerpc/tls-macros.h: Likewise.
9436 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9437 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9438 * sysdeps/sh/tls-macros.h: Likewise.
9439 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9440 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9441 * sysdeps/x86_64/tls-macros.h: Likewise.
9443 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9446 zero value for regular exit case.
9448 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9449 (__start_context): Preserve zero value for regular exit case.
9451 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9452 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9454 * manual/setjmp.texi (setcontext): Clarify normal process
9455 termination when uc_link is the null pointer.
9456 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9459 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9461 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9462 preprocessor. Test for each exception mask separately.
9464 2012-07-16 Andreas Jaeger <aj@suse.de>
9466 * po/ru.po: Update from translation team.
9468 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9470 * conform/data/string.h-data (NULL): Use macro-constant. Require
9472 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9473 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9474 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9475 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9478 2012-07-13 Andreas Jaeger <aj@suse.de>
9480 * po/fr.po: Update from translation team.
9482 2012-07-12 Marek Polacek <polacek@redhat.com>
9485 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9489 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9493 Change to 2.4.1 where previously 2.4.0.
9494 * sysdeps/unix/sysv/linux/configure: Regenerated.
9495 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9496 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9498 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9499 (__ASSUME_AT_CLKTCK): Remove.
9500 (__ASSUME_AT_PAGESIZE): Likewise.
9501 (__ASSUME_AT_XID): Likewise.
9502 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9503 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9504 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9506 (HAVE_AUX_PAGESIZE): Likewise.
9507 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9508 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9509 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9511 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9515 the temporary buffer used to invoke __gethostbyname2_r,
9516 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9517 host_data / struct gaih_addrtuple.
9518 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9519 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9520 header file nss/nsswitch.h.
9521 * nss/nsswitch.h (global scope): Add definition of implementation
9522 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9523 resolv/nss_dns/dns-host.c).
9525 2012-07-11 Andreas Jaeger <aj@suse.de>
9527 * po/fr.po: Update from translation team.
9529 * po/sv.po: Update from translation team
9530 * po/fr.po: Another update from translation team.
9532 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9535 for subnormals or multiply small sinh result by itself.
9536 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9539 2012-07-11 David S. Miller <davem@davemloft.net>
9541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9543 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9546 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9547 (INTERNAL_MARK): Shift it here.
9549 2012-07-10 Marek Polacek <polacek@redhat.com>
9552 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9553 libc_cv_asm_global_directive with .globl.
9554 * configure: Regenerated.
9555 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9557 * sysdeps/i386/configure: Regenerated.
9558 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9560 * sysdeps/x86_64/configure: Regenerated.
9561 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9562 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9563 * elf/tst-unique2mod2.c: Likewise.
9564 * elf/tst-unique2mod1.c: Likewise.
9565 * elf/tst-unique1mod2.c: Likewise.
9566 * elf/tst-unique1mod1.c: Likewise.
9567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9568 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9571 * sysdeps/mach/sysdep.h: Likewise.
9572 * sysdeps/i386/sysdep.h: Likewise.
9573 * sysdeps/i386/i386-mcount.S: Likewise.
9574 * sysdeps/x86_64/_mcount.S: Likewise.
9575 * sysdeps/x86_64/sysdep.h: Likewise.
9576 * sysdeps/sh/_mcount.S: Likewise.
9577 * sysdeps/sh/sysdep.h: Likewise.
9578 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9582 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9585 * locale/localeinfo.h: Likewise.
9586 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9587 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9589 2012-07-09 Roland McGrath <roland@hack.frob.com>
9592 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9594 * manual/message.texi (The Uniforum approach): Likewise.
9595 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9596 (glibc iconv Implementation): Likewise.
9598 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9601 * math/s_clog.c (__clog): Avoid scaling a value down where that
9602 could result in underflow.
9603 * math/s_clog10.c (__clog10): Likewise.
9604 * math/s_clog10f.c (__clog10f): Likewise.
9605 * math/s_clog10l.c (__clog10l): Likewise.
9606 * math/s_clogf.c (__clogf): Likewise.
9607 * math/s_clogl.c (__clogl): Likewise.
9608 * math/libm-test.inc (clog_test): Add more tests.
9609 (clog10_test): Likewise.
9610 * sysdeps/i386/fpu/libm-test-ulps: Update.
9611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9613 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9616 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9617 by 7 not 8 to examine high bit of fractional part.
9620 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9621 for call to __mcount_internal.
9622 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9623 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9624 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9626 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9629 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9630 approximation for values within 0x1p-13f of an odd multiple of
9632 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9633 exception. Add more tests.
9634 * sysdeps/i386/fpu/libm-test-ulps: Update.
9637 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9638 inputs and return -1 for them. Do not check for +Inf in case not
9640 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9641 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9643 and return -1 for them. Do not check for +Inf in case not
9645 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9648 and return -1 for them. Do not check for +Inf in case not
9650 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9652 * sysdeps/i386/fpu/libm-test-ulps: Update.
9653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9655 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9657 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9659 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9663 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9664 could result in spurious underflow. Scale down values above
9665 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9666 * math/s_csqrtf.c (__csqrtf): Likewise.
9667 * math/s_csqrtl.c (__csqrtl): Likewise.
9668 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9673 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9675 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9677 * catgets/xopen-msg.awk: New file.
9678 * catgets/xopen-msg.sed: Removed.
9680 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9682 * intl/po2test.awk: New file.
9683 * intl/po2test.sed: Removed.
9685 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9688 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9689 or multiply small sinh result by itself.
9690 * math/s_ctanf.c (__ctanf): Likewise.
9691 * math/s_ctanh.c (__ctanh): Likewise.
9692 * math/s_ctanhf.c (__ctanhf): Likewise.
9693 * math/s_ctanhl.c (__ctanhl): Likewise.
9694 * math/s_ctanl.c (__ctanl): Likewise.
9695 * math/libm-test.inc (ctan_test_tonearest): New function.
9696 (ctan_test_towardzero): Likewise.
9697 (ctan_test_downward): Likewise.
9698 (ctan_test_upward): Likewise.
9699 (ctanh_test_tonearest): Likewise.
9700 (ctanh_test_towardzero): Likewise.
9701 (ctanh_test_downward): Likewise.
9702 (ctanh_test_upward): Likewise.
9703 (main): Call these new functions.
9704 * sysdeps/i386/fpu/libm-test-ulps: Update.
9705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9707 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9709 * .gitignore: Delete /ports entry.
9711 2012-07-03 Andreas Jaeger <aj@suse.de>
9713 * po/bg.po: Update from translation team.
9714 * po/cs.po: Likewise.
9715 * po/de.po: Likewise.
9716 * po/hr.po: Likewise.
9717 * po/nl.pl: Likewise.
9718 * po/pl.po: Likewise.
9719 * po/vi.po: Likewise.
9721 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9723 * Makeconfig [!+link] (+link-before-libc): New variable.
9724 [!+link] (+link-after-libc): Likewise.
9725 [!+link] (+link-tests): Likewise.
9726 [!+link] (+link): Define in terms of $(+link-before-libc) and
9727 $(+link-after-libc).
9728 [!+link-static] (+link-static-before-libc): New variable.
9729 [!+link-static] (+link-static-after-libc): Likewise.
9730 [!+link-static] (+link-static-tests): Likewise.
9731 [!+link-static] (+link-static): Define in terms of
9732 $(+link-static-before-libc) and $(+link-static-after-libc).
9733 [build-shared] (link-libc-before-gnulib): New variable.
9734 [build-shared] (link-libc-tests): Likewise.
9735 [build-shared] (link-libc): Define in terms of
9736 $(link-libc-before-gnulib).
9737 [!build-shared] (link-libc-tests): New variable.
9738 (link-libc-static-tests): New variable.
9739 [!gnulib] (gnulib-arch): New variable.
9740 [!gnulib] (gnulib-tests): Likewise.
9741 [!gnulib] (static-gnulib-arch): Likewise.
9742 [!gnulib] (static-gnulib-tests): Likewise.
9743 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9744 Define with "=" instead of ":=".
9745 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9746 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9747 * Rules (binaries-all-notests): New variable.
9748 (binaries-all-tests): Likewise.
9749 (binaries-static-notests): Likewise.
9750 (binaries-static-tests): Likewise.
9751 (binaries-all): Define using $(binaries-all-notests) and
9752 $(binaries-all-tests).
9753 (binaries-static): Define using $(binaries-static-notests) and
9754 $(binaries-static-tests).
9755 (binaries-shared-tests): New variable.
9756 (binaries-shared-notests): Likewise.
9757 (binaries-shared): Remove variable.
9758 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9759 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9760 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9761 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9762 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9763 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9764 * elf/Makefile (sln-modules): New variable.
9765 (extra-objs): Add $(sln-modules:=.o).
9766 (ldconfig-modules): Add static-stubs.
9767 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9768 * elf/static-stubs.c: New file.
9771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9772 by 7 not 8 to examine high bit of fractional part. Use volatile
9773 variables when splitting into final array of floats if
9774 __FLT_EVAL_METHOD__ != 0.
9775 * math/libm-test.inc (cos_test): Add another test.
9776 (sin_test): Likewise.
9777 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * math/libm-test.inc (cosh_test): Add more tests.
9782 * version.h (RELEASE): Set to "development".
9783 (VERSION): Set to "2.16.90".
9785 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9787 * NEWS: Update copyright. Remove last-updated date.
9788 Mention math library bug fixes and timezone data changes.
9789 * README: Mention GNU/Hurd, x32, and HPPA support status.
9791 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9793 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9795 2012-06-27 Andreas Jaeger <aj@suse.de>
9797 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9799 2012-06-25 Andreas Jaeger <aj@suse.de>
9801 * sysdeps/s390/fpu/libm-test-ulps: Update.
9803 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9804 Thomas Schwinge <thomas@codesourcery.com>
9806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9807 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9811 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9813 * sysdeps/mach/start.c: Remove file.
9814 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9815 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9816 * sysdeps/sh/init-first.c: Likewise.
9818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9819 registers for frame unwinding purposes, add CFI directives.
9820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9822 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9825 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9826 __fortify_fail returning.
9827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9830 sysdeps/sh/____longjmp_chk.S.
9831 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9832 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9833 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9834 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9836 * sysdeps/sh/abort-instr.h: New file.
9837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9838 process in case exit returns.
9840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9841 initialize the GOT register before use.
9843 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9844 calculation of ARGC > 4.
9846 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9847 meaningful names to some local labels.
9849 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9850 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9853 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9854 (__arch_compare_and_exchange_val_16_acq): Likewise.
9855 (__arch_compare_and_exchange_val_32_acq): Likewise.
9856 (atomic_exchange_and_add): Fix gUSA sequence.
9857 (atomic_add): Likewise.
9858 (atomic_add_negative): Likewise.
9859 (atomic_add_zero): Likewise.
9860 (atomic_bit_test_set): Likewise.
9862 2012-06-22 Andreas Schwab <schwab@redhat.com>
9865 * include/link.h (struct link_map): Add l_free_initfini.
9866 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9868 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9869 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9870 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9873 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9875 * configure.in: Use AC_LANG_SOURCE.
9876 * configure: Regenerate.
9878 2012-06-22 Roland McGrath <roland@hack.frob.com>
9880 * configure.in (libc_cv_localstatedir): New substituted variable.
9881 * configure: Regenerated.
9882 * config.make.in (localstatedir): New variable, substituted from
9883 libc_cv_localstatedir.
9884 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9885 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9886 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9887 * sysdeps/gnu/configure: Regenerated.
9889 2012-06-21 Jeff Law <law@redhat.com>
9892 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9893 free. Simplify list management for _LIBC case.
9895 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9899 Clear sign bit of 64-bit integer value before comparing against
9902 * sysdeps/mach/configure: Regenerated.
9904 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9907 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9909 2012-06-21 Jeff Law <law@redhat.com>
9912 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9913 uint16_t for elements in the "seen" array to avoid char overflows.
9914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9915 * elf/dl-open.c (dl_open_worker): Likewise.
9917 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9919 * scripts/list-sources.sh: Scan PORTS for translations.
9920 * po/libc.pot: Regenerated.
9922 2012-06-21 Andreas Jaeger <aj@suse.de>
9925 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9927 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9928 * bits/byteswap-16.h (__bswap_16): Likewise.
9929 * bits/byteswap.h (__bswap_constant_16): Likewise.
9931 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9934 * sysdeps/i386/fpu_control.h: Removed.
9935 * sysdeps/x86_64/fpu_control.h: Moved to ...
9936 * sysdeps/x86/fpu_control.h: Here.
9938 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9939 (_FPU_SETCW): Likewise.
9941 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9944 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9945 * sysdeps/x86/fpu/bits/mathinline.h: This.
9946 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9950 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9951 functions if __x86_64__ is defined.
9953 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9955 * string/endian.h: Add !__ASSEMBLER__ condition for including
9956 conversion interfaces.
9958 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9962 of ABS(x) in calculating zero to negative powers other than odd
9964 * math/libm-test.inc (pow_test): Add more tests.
9966 2012-06-15 Andreas Jaeger <aj@suse.de>
9968 * manual/contrib.texi (Contributors): Update entry of Liubov
9969 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9972 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9974 * string/string.h: Add __wur to GNU version of strerror_r.
9976 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9979 * string/Makefile (tests): Add tst-strtok_r.
9980 * string/tst-strtok_r.c: New file.
9981 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9982 RAX_LP/RDX_LP on SAVE_PTR.
9984 2012-06-14 Roland McGrath <roland@hack.frob.com>
9986 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9988 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9990 * libm_test.inc (csqrt_test): Allow more spurious underflow
9992 (j0_test): Likewise.
9993 (j1_test): Likewise.
9994 (y0_test): Likewise.
9995 (y1_test): Likewise.
9997 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9999 * po/Makefile (libc.pot): Use UTF-8 charset.
10001 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10004 Suppress sign-conversion warning from FD_SET.
10005 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10006 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10007 not unsigned long int.
10008 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10010 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10014 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10015 __extern_always_inline instead of __extern_inline.
10016 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10017 (__signbit): Likewise.
10018 (__signbitl): Support C++ namespace.
10019 (lrintf): New inline function.
10021 (llrintf): Likewise.
10022 (llrint): Likewise.
10032 (floorf): Likewise.
10033 (nearbyint): Likewise.
10034 (nearbyintf): Likewise.
10036 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10039 non-default versions.
10041 2012-06-11 Roland McGrath <roland@hack.frob.com>
10044 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10046 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10048 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10049 (FE_UPWARD, FE_DOWNWARD): Don't define.
10050 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10056 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10058 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10062 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10065 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10068 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10069 * sysdeps/i386/fpu/Implies: New file.
10070 * sysdeps/x86_64/fpu/Implies: Likewise.
10071 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10072 * sysdeps/x86/fpu/bits/fenv.h: This.
10074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10077 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10080 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10081 character 0xffff that matches the last element of the
10084 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10089 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10092 values higher than 25.6283.
10094 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10097 subnormal exponent extraction and add some __builtin_expect.
10098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10099 Fix for subnormal mantissa calculation.
10101 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10103 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10104 cpu2 is -1 and errno is not ENOSYS.
10106 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10109 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10110 * sysdeps/x86/bits/string.h: This.
10111 * sysdeps/x86_64/bits/string.h: Removed.
10113 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10114 if not compiling for x86-64, but compiling for >= i486.
10116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10117 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10119 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10120 New macro from Linux kernel 3.4.0.
10121 (FP_XSTATE_MAGIC2): Likewise.
10122 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10123 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10124 (struct _fpx_sw_bytes): New struct.
10125 (struct _xsave_hdr): Likewise.
10126 (struct _ymmh_state): Likewise.
10127 (struct _xstate): Likewise.
10129 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10130 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10132 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10133 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10134 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10136 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10138 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10139 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10140 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10141 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10143 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10146 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10147 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10148 (sysdep_headers): Include sys/platform/ppc.h.
10149 * sysdeps/powerpc/test-gettimebase.c: Test for
10150 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10151 * manual/Makefile (appendices): Include platform.texi.
10152 * manual/contrib.texi (Contributors): Update @node pointers.
10153 * manual/maint.texi (Maintenance): Likewise.
10154 (Platform): New node.
10155 * manual/platform.texi: New file. Document the new features.
10157 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10158 Jakub Jelinek <jakub@redhat.com>
10161 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10162 where __builtin_expect is unavailable.
10164 2012-06-03 David S. Miller <davem@davemloft.net>
10166 * stdlib/longlong.h: Updated from GCC.
10168 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10171 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10172 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10175 (GLIBC_2.16): Likewise.
10177 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10181 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10184 (default-abi): New variable.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10186 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10188 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10190 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10195 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10196 definition. Document in comment.
10198 2012-06-01 David S. Miller <davem@davemloft.net>
10200 * stdlib/longlong.h: Updated from GCC.
10202 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10205 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10206 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10207 sys/debugreg.h sys/io.h here.
10208 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10209 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10211 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10212 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10214 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10216 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10219 Define only if __x86_64__ is defined.
10221 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10225 Use int64_t for variable i.
10226 * math/libm-test.inc (fmod_test): Add more tests.
10228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10229 z computation is not scheduled after fetestexcept.
10230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10231 Use math_force_eval instead of asm to ensure calculation scheduled
10232 before exception test.
10233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10234 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10236 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10239 computation is not scheduled after fetestexcept.
10241 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10244 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10245 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10247 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10249 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10252 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10255 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10257 (__WCHAR_MIN): Support __WORDSIZE == 64.
10258 (__WCHAR_MAX): Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10261 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10265 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10268 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10275 Defined to 1 if __x86_64__ isn't defined.
10276 (_STAT_VER_LINUX_OLD): New.
10277 (st_atime): Remove duplicate.
10278 (st_mtime): Likewise.
10279 (st_ctime): Likewise.
10281 2012-05-31 David S. Miller <davem@davemloft.net>
10283 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10286 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10288 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10292 * elf/dl-reloc.c: Include <_itoa.h>.
10293 (_dl_reloc_bad_type): Remove use of INTUSE.
10294 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10295 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10296 * stdio-common/psiginfo.c (psiginfo): Likewise.
10297 * stdio-common/psignal.c (psignal): Likewise.
10298 * string/strsignal.c (strsignal): Likewise.
10299 * include/signal.h (_sys_siglist): Declare hidden proto.
10300 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10301 INTVARDEF with libc_hidden_data_def.
10302 * stdio-common/itoa-udigits.c: Likewise.
10303 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10304 (_itoa_lower_digits_internal): Remove declaration.
10305 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10306 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10307 (_sys_sigabbrev_internal): Remove aliases.
10308 (_sys_siglist): Define hidden alias.
10310 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10315 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10319 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10321 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10322 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10323 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10324 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10326 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10328 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10332 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10345 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10348 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10349 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10351 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10352 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10354 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10355 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10361 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10362 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10364 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10366 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10367 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10368 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10370 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10372 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10374 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10376 * math/math.h (M_El): Use two more decimal places.
10377 (M_LOG2El): Likewise.
10378 (M_LOG10El): Likewise.
10379 (M_LN2l): Likewise.
10380 (M_LN10l): Likewise.
10382 (M_PI_2l): Likewise.
10383 (M_PI_4l): Likewise.
10384 (M_1_PIl): Likewise.
10385 (M_2_PIl): Likewise.
10386 (M_2_SQRTPIl): Likewise.
10387 (M_SQRT2l): Likewise.
10388 (M_SQRT1_2l): Likewise.
10390 2012-05-31 David S. Miller <davem@davemloft.net>
10392 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10393 values between float registers.
10394 * sysdeps/sparc/sparc64/memset.S: Likewise.
10395 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10397 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10399 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10400 -D_FORTIFY_SOURCE=1.
10401 (CPPFLAGS-tst-longjmp_chk.c): Define.
10402 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10403 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10404 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10405 CFLAGS-tst-wchar-h.c.
10407 2012-05-31 Marek Polacek <polacek@redhat.com>
10410 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10411 __endmntent_internal): Remove declaration.
10412 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10413 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10414 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10416 2012-05-30 David S. Miller <davem@davemloft.net>
10418 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10419 (___Q_simulate_exceptions): Use real FP ops rather than writing
10421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10424 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10427 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10428 * sysdeps/x86/bits/xtitypes.h: This.
10430 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10431 * sysdeps/x86/bits/wordsize.h: This.
10433 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10434 * sysdeps/x86/bits/huge_vall.h: This.
10436 * sysdeps/i386/bits/select.h: Removed.
10437 * sysdeps/x86_64/bits/select.h: Renamed to ...
10438 * sysdeps/x86/bits/select.h: This.
10440 * sysdeps/i386/bits/setjmp.h: Removed.
10441 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10442 * sysdeps/x86/bits/setjmp.h: This.
10444 * sysdeps/i386/bits/mathdef.h: Removed.
10445 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10446 * sysdeps/x86/bits/mathdef.h: This.
10448 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10451 * include/sys/socket.h (__connect_internal)
10452 (__libc_sa_len_internal): Remove declaration.
10453 (__connect, __libc_sa_len): Declare hidden_proto.
10454 (SA_LEN): Remove use of INTUSE.
10455 * socket/connect.c: Add libc_hidden_def.
10456 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10457 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10458 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10460 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10461 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10462 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10463 of adding _internal alias.
10465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10468 * sysdeps/i386/bits/link.h: Removed.
10469 * sysdeps/i386/bits/linkmap.h: Likewise.
10470 * sysdeps/x86_64/bits/link.h: Renamed to ...
10471 * sysdeps/x86/bits/link.h: This.
10472 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10473 * sysdeps/x86/bits/linkmap.h: This.
10475 * sysdeps/i386/bits/endian.h: Removed.
10476 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10477 * sysdeps/x86/bits/endian.h: This.
10479 * sysdeps/i386/bits/byteswap.h: Removed.
10480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10481 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10482 * sysdeps/x86/bits/byteswap.h: This.
10483 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10484 * sysdeps/x86/bits/byteswap-16.h: This.
10485 * sysdeps/i386/Implies: Add x86.
10486 * sysdeps/x86_64/Implies: Likewise.
10488 2012-05-30 David S. Miller <davem@davemloft.net>
10490 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10491 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10493 (FP_TRAPPING_EXCEPTIONS): Define.
10494 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10495 (FP_TRAPPING_EXCEPTIONS): Define.
10496 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10497 subnormals only when inexact has been signalled or underflow
10498 exceptions are enabled.
10499 (_FP_PACK_CANONICAL): Likewise.
10501 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10505 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10507 2012-05-30 Richard Henderson <rth@twiddle.net>
10509 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10510 with #ifndef NOT_IN_libc.
10512 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10513 marked to avoid plt entry.
10515 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10518 * Makeconfig (default-abi): New macro.
10519 (abi-includes): Likewise.
10520 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10521 $(abi-$(default-abi)-lib-soname) for soname if defined.
10522 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10524 * Makefile (installed-stubs): Likewise.
10525 * include/stubs-biarch.h: Removed.
10526 * scripts/lib-names.awk: Only handle one library at a time.
10527 * scripts/soversions.awk: Remove WORDSIZE support.
10528 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10530 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10532 (syscall-list-default-condition): Likewise.
10533 (syscall-list-default-condition): Likewise.
10534 (syscall-list-includes): Likewise.
10535 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10536 syscall-list-* with abi-*. Handle undefined abi-variants.
10537 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10538 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10539 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10542 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10544 (syscall-list-32-options): Likewise.
10545 (syscall-list-32-condition): Likewise.
10546 (syscall-list-64-options): Likewise.
10547 (syscall-list-64-condition): Likewise.
10548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10550 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10553 (abi-64-ld-soname): New macro.
10554 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10555 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10558 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10559 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10561 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10563 * sysdeps/unix/sysv/linux/kernel-features.h
10564 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10565 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10566 include <kernel-features.h>.
10567 [!__NR_ftruncate64]: Remove conditional code.
10568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10569 [__NR_ftruncate64]: Make code unconditional.
10570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10571 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10572 include <kernel-features.h>.
10573 [!__NR_ftruncate64]: Remove conditional code.
10574 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10575 [__NR_ftruncate64]: Make code unconditional.
10576 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10578 include <kernel-features.h>.
10579 [!__NR_ftruncate64]: Remove conditional code.
10580 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10581 [__NR_ftruncate64]: Make code unconditional.
10582 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10584 include <kernel-features.h>.
10585 [!__NR_ftruncate64]: Remove conditional code.
10586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10587 [__NR_ftruncate64]: Make code unconditional.
10588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10590 * configure.in (libc_cv_fpie): Weaken to a compile test using
10591 LIBC_TRY_CC_OPTION.
10592 * configure: Regenerated.
10594 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10609 2012-05-27 David S. Miller <davem@davemloft.net>
10611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10613 (__Q_simulate_exceptions): Return void. Change to simulate
10614 exceptions by writing into the %fsr.
10615 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10616 (__Qp_handle_exceptions): Likewise.
10618 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10619 __Qp_handle_exceptions.
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10621 __Qp_handle_exceptions.
10622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10623 as unused and give dummy FP_RND_NEAREST initializer.
10624 (FP_INHIBIT_RESULTS): Define.
10625 (___Q_simulate_exceptions): Update declaration.
10626 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10628 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10629 as unused and give dummy FP_RND_NEAREST initializer.
10630 (__Qp_handle_exceptions): Update declaration.
10631 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10634 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10636 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10637 the temporary FPU control word.
10638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10639 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10640 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10642 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10644 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10645 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10646 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10647 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10650 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10655 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10657 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10658 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10659 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10660 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10662 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10663 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10666 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10668 * po/h.po: Update from translation team.
10670 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10672 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10675 handling of denormals.
10676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10677 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10679 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10685 2012-05-26 Marek Polacek <polacek@redhat.com>
10688 * math/libm-test.inc (fma_test): Don't always expect underflow
10691 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10694 * elf/tst-execstack.c: Include stackinfo.h.
10695 (do_test): Adjust test case to ensure that pthread_getattr_np
10696 behaviour remains the same after marking stack executable.
10698 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10700 * sysdeps/unix/sysv/linux/kernel-features.h
10701 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10702 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10704 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10705 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10706 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10711 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10713 * configure.in: Define the default includes to being none.
10714 * configure: Regenerated.
10716 2012-05-25 Roland McGrath <roland@hack.frob.com>
10718 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10719 * sysdeps/x86_64/setjmp.S: Likewise.
10720 * sysdeps/i386/bsd-setjmp.S: Likewise.
10721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10722 * sysdeps/i386/setjmp.S: Likewise.
10723 * sysdeps/i386/__longjmp.S: Likewise.
10724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10727 * include/stap-probe.h: New file.
10728 * configure.in: Handle --enable-systemtap.
10729 * configure: Regenerated.
10730 * config.h.in (USE_STAP_PROBE): New #undef.
10731 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10732 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10733 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10735 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10739 to 2.4.0 where earlier.
10740 * sysdeps/unix/sysv/linux/configure: Regenerated.
10741 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10742 <kernel-features.h>.
10743 [__ASSUME_32BITUIDS]: Make code unconditional.
10744 [!__ASSUME_32BITUIDS]: Remove conditional code.
10745 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10746 <kernel-features.h>.
10747 [__ASSUME_32BITUIDS]: Make code unconditional.
10748 [!__ASSUME_32BITUIDS]: Remove conditional code.
10749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10750 [__ASSUME_32BITUIDS]: Make code unconditional.
10751 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10752 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10753 <kernel-features.h>.
10754 [__ASSUME_32BITUIDS]: Make code unconditional.
10755 [!__ASSUME_32BITUIDS]: Remove conditional code.
10756 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10757 <kernel-features.h>.
10758 [__ASSUME_32BITUIDS]: Make code unconditional.
10759 [!__ASSUME_32BITUIDS]: Remove conditional code.
10760 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10761 <kernel-features.h>.
10762 [__ASSUME_32BITUIDS]: Make code unconditional.
10763 [!__ASSUME_32BITUIDS]: Remove conditional code.
10764 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10765 <kernel-features.h>.
10766 [__ASSUME_32BITUIDS]: Make code unconditional.
10767 [!__ASSUME_32BITUIDS]: Remove conditional code.
10768 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10769 <kernel-features.h>.
10770 [__ASSUME_32BITUIDS]: Make code unconditional.
10771 [!__ASSUME_32BITUIDS]: Remove conditional code.
10772 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10773 <kernel-features.h>.
10774 [__ASSUME_32BITUIDS]: Make code unconditional.
10775 [!__ASSUME_32BITUIDS]: Remove conditional code.
10776 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10777 <kernel-features.h>.
10778 [__ASSUME_32BITUIDS]: Make code unconditional.
10779 [!__ASSUME_32BITUIDS]: Remove conditional code.
10780 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10781 <kernel-features.h>.
10782 [__ASSUME_32BITUIDS]: Make code unconditional.
10783 [!__ASSUME_32BITUIDS]: Remove conditional code.
10784 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10785 <kernel-features.h>.
10786 [__ASSUME_32BITUIDS]: Make code unconditional.
10787 [!__ASSUME_32BITUIDS]: Remove conditional code.
10788 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10789 <kernel-features.h>.
10790 [__ASSUME_32BITUIDS]: Make code unconditional.
10791 [!__ASSUME_32BITUIDS]: Remove conditional code.
10792 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10793 <kernel-features.h>.
10794 [__NR_setresgid] (__setresgid): Do not declare.
10795 [__ASSUME_32BITUIDS]: Make code unconditional.
10796 [!__ASSUME_32BITUIDS]: Remove conditional code.
10797 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10798 <kernel-features.h>.
10799 [__NR_setresuid] (__setresuid): Do not declare.
10800 [__ASSUME_32BITUIDS]: Make code unconditional.
10801 [!__ASSUME_32BITUIDS]: Remove conditional code.
10802 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10803 <kernel-features.h>.
10804 [__ASSUME_32BITUIDS]: Make code unconditional.
10805 [!__ASSUME_32BITUIDS]: Remove conditional code.
10806 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10807 <kernel-features.h>.
10808 [__ASSUME_32BITUIDS]: Make code unconditional.
10809 [!__ASSUME_32BITUIDS]: Remove conditional code.
10810 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10811 <kernel-features.h>.
10812 [__ASSUME_32BITUIDS]: Make code unconditional.
10813 [!__ASSUME_32BITUIDS]: Remove conditional code.
10814 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10815 <kernel-features.h>.
10816 [__ASSUME_32BITUIDS]: Make code unconditional.
10817 [!__ASSUME_32BITUIDS]: Remove conditional code.
10818 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10819 <kernel-features.h>.
10820 [__ASSUME_32BITUIDS]: Make code unconditional.
10821 [!__ASSUME_32BITUIDS]: Remove conditional code.
10822 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10823 <kernel-features.h>.
10824 [__ASSUME_32BITUIDS]: Make code unconditional.
10825 [!__ASSUME_32BITUIDS]: Remove conditional code.
10826 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10827 <kernel-features.h>.
10828 [__ASSUME_32BITUIDS]: Make code unconditional.
10829 [!__ASSUME_32BITUIDS]: Remove conditional code.
10830 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10831 <kernel-features.h>.
10832 [__ASSUME_32BITUIDS]: Make code unconditional.
10833 [!__ASSUME_32BITUIDS]: Remove conditional code.
10834 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10835 <kernel-features.h>.
10836 [__ASSUME_32BITUIDS]: Make code unconditional.
10837 [!__ASSUME_32BITUIDS]: Remove conditional code.
10838 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10839 <kernel-features.h>.
10840 [__ASSUME_32BITUIDS]: Make code unconditional.
10841 [!__ASSUME_32BITUIDS]: Remove conditional code.
10842 * sysdeps/unix/sysv/linux/kernel-features.h
10843 (__ASSUME_SETRESUID_SYSCALL): Remove.
10844 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10845 (__ASSUME_32BITUIDS): Likewise.
10846 (__ASSUME_LDT_WORKS): Likewise.
10847 (__ASSUME_O_DIRECTORY): Likewise.
10848 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10849 architecture but not kernel version.
10850 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10851 (__ASSUME_MMAP2_SYSCALL): Likewise.
10852 (__ASSUME_STAT64_SYSCALL): Likewise.
10853 (__ASSUME_IPC64): Likewise.
10854 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10855 <kernel-features.h>.
10856 [__ASSUME_32BITUIDS]: Make code unconditional.
10857 [!__ASSUME_32BITUIDS]: Remove conditional code.
10858 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10859 <kernel-features.h>.
10860 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10861 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10862 132096]: Remove conditional code.
10863 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10865 <kernel-features.h>.
10866 [__ASSUME_32BITUIDS]: Make code unconditional.
10867 [!__ASSUME_32BITUIDS]: Remove conditional code.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10869 <kernel-features.h>.
10870 [__ASSUME_32BITUIDS]: Make code unconditional.
10871 [!__ASSUME_32BITUIDS]: Remove conditional code.
10872 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10873 <kernel-features.h>.
10874 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10876 (__setresgid): Do not declare.
10877 [__ASSUME_32BITUIDS]: Make code unconditional.
10878 [!__ASSUME_32BITUIDS]: Remove conditional code.
10879 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10880 <kernel-features.h>.
10881 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10883 (__setresuid): Do not declare.
10884 [__ASSUME_32BITUIDS]: Make code unconditional.
10885 [!__ASSUME_32BITUIDS]: Remove conditional code.
10886 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10887 <kernel-features.h>.
10888 [__ASSUME_32BITUIDS]: Make code unconditional.
10889 [!__ASSUME_32BITUIDS]: Remove conditional code.
10890 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10891 <kernel-features.h>.
10892 [__ASSUME_32BITUIDS]: Make code unconditional.
10893 [!__ASSUME_32BITUIDS]: Remove conditional code.
10895 2012-05-25 Richard Henderson <rth@twiddle.net>
10897 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10898 dl_hwcap to ifunc resolver.
10899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10901 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10902 dl_hwcap to ifunc resolver.
10903 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10905 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10908 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10909 for |x| <= 2**-26, not 2**-57.
10910 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10913 2012-05-24 Jeff Law <law@redhat.com>
10915 * stdio-common/Makefile (tests): Add bug25.
10916 * stdio-common/bug25.c: New test.
10918 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10921 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10922 multiple of MALLOC_ALIGNMENT in size.
10923 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10925 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10927 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10929 (FILENAME_MAX): Use macro-int-constant.
10930 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10931 (_IOFBF): Use macro-int-constant.
10932 (_IOLBF): Likewise.
10933 (_IONBF): Likewise.
10934 (SEEK_CUR): Likewise.
10935 (SEEK_END): Likewise.
10936 (SEEK_SET): Likewise.
10937 (TMP_MAX): Likewise.
10938 (EOF): Use macro-int-constant. Require < 0.
10939 (NULL): Use macro-constant. Require == 0.
10940 (stdin): Require type to be FILE *.
10941 (stdout): Likewise.
10942 (stderr): Likewise.
10943 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10944 macro-int-constant.
10945 (EXIT_SUCCESS): Likewise.
10946 (NULL): Use macro-constant. Require == 0.
10947 (RAND_MAX): Use macro-int-constant.
10948 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10949 [C99-based standards] (strtof): Require function.
10950 [C99-based standards] (strtold): Likewise.
10951 [C99-based standards] (strtoll): Likewise.
10952 [C99-based standards] (strtoull): Likewise.
10953 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10954 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10955 [ISO || ISO99 || ISO11] (math.h): Likewise.
10956 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10957 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10960 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10963 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10964 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10965 * intl/dgettext.c (DCGETTEXT): Likewise.
10966 * intl/gettext.c (DCGETTEXT): Likewise.
10967 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10968 * posix/regex_internal.h (gettext): Likewise.
10969 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10970 Remove declaration.
10971 * include/argz.h (__argz_count_internal)
10972 (__argz_stringify_internal): Remove declaration.
10973 (__argz_count, __argz_stringify): Declare hidden proto.
10974 * intl/dcgettext.c: Remove use of INTDEF.
10975 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10976 * string/argz-stringify.c: Likewise.
10977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10979 Declare hidden proto.
10980 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10981 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10982 Declare hidden proto.
10983 * include/stdio.h (__asprintf_internal): Don't declare.
10984 (__asprintf): Don't define as macro. Declare hidden proto.
10985 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10986 (__fsetlocking): Declare hidden proto.
10987 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10988 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10990 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10991 (_IO_setlinebuf): Remove use of INTUSE.
10992 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10993 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10994 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10995 Remove declaration.
10996 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10997 (_IO_do_flush): Remove use of INTUSE.
10998 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10999 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11000 (_IO_adjust_column, _IO_least_wmarker)
11001 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11002 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11003 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11004 (_IO_default_doallocate, _IO_wdefault_doallocate)
11005 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11006 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11007 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11008 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11009 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11010 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11011 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11012 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11013 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11014 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11015 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11016 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11017 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11019 (_IO_flush_all_internal, _IO_adjust_column_internal)
11020 (_IO_default_uflow_internal, _IO_default_finish_internal)
11021 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11022 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11023 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11024 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11025 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11026 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11027 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11028 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11029 (_IO_file_close_internal, _IO_file_close_it_internal)
11030 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11031 (_IO_file_init_internal, _IO_file_attach_internal)
11032 (_IO_file_fopen_internal, _IO_file_read_internal)
11033 (_IO_file_sync_internal, _IO_file_seek_internal)
11034 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11035 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11036 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11037 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11038 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11039 (_IO_list_all_internal, _IO_link_in_internal)
11040 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11041 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11042 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11043 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11044 (_IO_do_write_internal, _IO_padn_internal)
11045 (_IO_getline_info_internal, _IO_getline_internal)
11046 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11047 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11048 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11049 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11050 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11051 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11052 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11053 with libc_hidden_ver, remove use of INTUSE.
11054 * libio/genops.c: Likewise.
11055 * libio/freopen.c: Likewise.
11056 * libio/freopen64.c: Likewise.
11057 * libio/iofclose.c: Likewise.
11058 * libio/iofdopen.c: Likewise.
11059 * libio/iofflush.c: Likewise.
11060 * libio/iofflush_u.c: Likewise.
11061 * libio/iofgets.c: Likewise.
11062 * libio/iofgets_u.c: Likewise.
11063 * libio/iofopen.c: Likewise.
11064 * libio/iofopncook.c: Likewise.
11065 * libio/iofread.c: Likewise.
11066 * libio/iofread_u.c: Likewise.
11067 * libio/ioftell.c: Likewise.
11068 * libio/iofwrite.c: Likewise.
11069 * libio/iogetline.c: Likewise.
11070 * libio/iogets.c: Likewise.
11071 * libio/iogetwline.c: Likewise.
11072 * libio/iopadn.c: Likewise.
11073 * libio/iopopen.c: Likewise.
11074 * libio/ioseekoff.c: Likewise.
11075 * libio/ioseekpos.c: Likewise.
11076 * libio/iosetbuffer.c: Likewise.
11077 * libio/iosetvbuf.c: Likewise.
11078 * libio/ioungetc.c: Likewise.
11079 * libio/ioungetwc.c: Likewise.
11080 * libio/iovdprintf.c: Likewise.
11081 * libio/iovsprintf.c: Likewise.
11082 * libio/iovsscanf.c: Likewise.
11083 * libio/memstream.c: Likewise.
11084 * libio/obprintf.c: Likewise.
11085 * libio/oldfileops.c: Likewise.
11086 * libio/oldiofclose.c: Likewise.
11087 * libio/oldiofdopen.c: Likewise.
11088 * libio/oldiofopen.c: Likewise.
11089 * libio/oldiopopen.c: Likewise.
11090 * libio/oldstdfiles.c: Likewise.
11091 * libio/putc.c: Likewise.
11092 * libio/setbuf.c: Likewise.
11093 * libio/setlinebuf.c: Likewise.
11094 * libio/stdfiles.c: Likewise.
11095 * libio/strops.c: Likewise.
11096 * libio/vasprintf.c: Likewise.
11097 * libio/vscanf.c: Likewise.
11098 * libio/vsnprintf.c: Likewise.
11099 * libio/vswprintf.c: Likewise.
11100 * libio/wfiledoalloc.c: Likewise.
11101 * libio/wfileops.c: Likewise.
11102 * libio/wgenops.c: Likewise.
11103 * libio/wmemstream.c: Likewise.
11104 * libio/wstrops.c: Likewise.
11105 * libio/__fpurge.c: Likewise.
11106 * libio/__fsetlocking.c: Likewise.
11107 * assert/assert.c: Likewise.
11108 * debug/fgets_chk.c: Likewise.
11109 * debug/fgets_u_chk.c: Likewise.
11110 * debug/fread_chk.c: Likewise.
11111 * debug/fread_u_chk.c: Likewise.
11112 * debug/gets_chk.c: Likewise.
11113 * debug/obprintf_chk.c: Likewise.
11114 * debug/vasprintf_chk.c: Likewise.
11115 * debug/vdprintf_chk.c: Likewise.
11116 * debug/vsnprintf_chk.c: Likewise.
11117 * debug/vsprintf_chk.c: Likewise.
11118 * malloc/mtrace.c: Likewise.
11119 * misc/error.c: Likewise.
11120 * misc/syslog.c: Likewise.
11121 * stdio-common/asprintf.c: Likewise.
11122 * stdio-common/fxprintf.c: Likewise.
11123 * stdio-common/getw.c: Likewise.
11124 * stdio-common/isoc99_fscanf.c: Likewise.
11125 * stdio-common/isoc99_scanf.c: Likewise.
11126 * stdio-common/isoc99_vfscanf.c: Likewise.
11127 * stdio-common/isoc99_vscanf.c: Likewise.
11128 * stdio-common/isoc99_vsscanf.c: Likewise.
11129 * stdio-common/printf-prs.c: Likewise.
11130 * stdio-common/printf_fp.c: Likewise.
11131 * stdio-common/printf_fphex.c: Likewise.
11132 * stdio-common/printf_size.c: Likewise.
11133 * stdio-common/putw.c: Likewise.
11134 * stdio-common/scanf.c: Likewise.
11135 * stdio-common/sprintf.c: Likewise.
11136 * stdio-common/tmpfile.c: Likewise.
11137 * stdio-common/vfprintf.c: Likewise.
11138 * stdio-common/vfscanf.c: Likewise.
11139 * stdlib/strfmon_l.c: Likewise.
11140 * sunrpc/openchild.c: Likewise.
11141 * sunrpc/xdr_stdio.c: Likewise.
11142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11143 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11145 2012-05-24 Roland McGrath <roland@hack.frob.com>
11147 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11149 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11150 in the third column, to generate for the shared library an IFUNC
11151 that uses _dl_vdso_vsym.
11152 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11153 * Makeconfig (object-suffixes-noshared): New variable.
11155 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11156 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11157 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11158 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11161 * include/sys/time.h (__gettimeofday): Remove macro.
11162 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11163 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11165 (__gettimeofday): Add libc_hidden_def.
11166 (gettimeofday): Add libc_hidden_weak.
11167 * sysdeps/mach/gettimeofday.c: Likewise.
11168 * sysdeps/posix/gettimeofday.c: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11170 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11172 (__gettimeofday_internal): Remove strong_alias.
11173 (__gettimeofday): Add libc_hidden_def.
11174 (gettimeofday): Add libc_hidden_weak.
11175 * sysdeps/unix/syscalls.list (gettimeofday):
11176 Remove __gettimeofday_internal alias.
11178 2012-05-24 Daniel Jacobowitz <drow@false.org>
11179 H.J. Lu <hongjiu.lu@intel.com>
11182 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11183 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11184 (largebin_index_32_big): New.
11185 (largebin_index): Use it for 16-byte alignment.
11186 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11187 correction with front_misalign.
11189 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11217 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11218 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11220 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11224 * math/libm-test.inc (exp_test): Add test from bug 14036.
11225 (pow_test): Add test from bug 10846.
11227 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11229 (special_function): Do not include flags in test name.
11230 (parse_args): Likewise.
11231 * sysdeps/i386/fpu/libm-test-ulps: Update.
11232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11237 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11239 * math/libm-test.inc ("Philosophy"): Update comment about
11241 (UNDERFLOW_EXCEPTION): New macro.
11242 (UNDERFLOW_EXCEPTION_OK): Likewise.
11243 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11244 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11245 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11246 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11247 (INVALID_EXCEPTION_OK): Update value.
11248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11249 (OVERFLOW_EXCEPTION_OK): Likewise.
11250 (IGNORE_ZERO_INF_SIGN): Likewise.
11251 (test_exceptions): Handle underflow exceptions.
11252 (acos_test): Update for underflow exception expectations.
11253 (cexp_test): Likewise.
11254 (clog_test): Likewise.
11255 (clog10_test): Likewise.
11256 (csqrt_test): Likewise.
11257 (ctan_test): Likewise.
11258 (ctanh_test): Likewise.
11259 (exp_test): Likewise.
11260 (exp10_test): Likewise.
11261 (exp2_test): Likewise.
11262 (expm1_test): Likewise.
11263 (fma_test): Likewise.
11264 (j0_test): Likewise.
11265 (jn_test): Likewise.
11266 (nexttoward_test): Likewise.
11267 (pow_test): Likewise.
11268 (scalbn_test): Likewise.
11269 (scalbln_test): Likewise.
11270 (tan_test): Likewise.
11271 (y1_test): Likewise.
11272 * sysdeps/i386/fpu/libm-test-ulps: Update.
11273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11275 2012-05-23 David S. Miller <davem@davemloft.net>
11277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11278 (__libc_sigaction): Remove unused local variables.
11280 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11282 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11284 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11286 mktime: avoid signed integer overflow
11287 * time/mktime.c (__mktime_internal): Do not mishandle the case
11288 where diff == INT_MIN.
11290 mktime: simplify computation of average
11291 * time/mktime.c (ranged_convert): Use new time_t_avg function
11292 instead of rolling our own (probably-slower) code.
11294 mktime: do not assume signed right shift propagates sign bit
11295 * time/mktime.c (isdst_differ): New static function.
11296 (__mktime_internal): No need to normalize tm_isdst now.
11297 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11300 mktime: merge another wrapv change from gnulib
11301 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11302 from some compilers.
11304 mktime: remove incorrect attempt at unusual arithmetics
11305 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11306 The code didn't really work on such machines anyway.
11307 (TYPE_MINIMUM): Assume two's complement.
11308 (twos_complement_arithmetic): Verify that long_int and time_t
11309 are two's complement (or unsigned, in the latter case).
11311 mktime: check signed shifts on long_int and time_t, too
11312 * time/mktime.c (SHR): Check that shifts work as desired
11313 on the types long_int and time_t too, as SHR is used on
11316 mktime: do not assume 'long' is wide enough
11317 * time/mktime.c (verify): Move decl up.
11318 (long_int): New type.
11319 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11320 to remove assumption in the code that 'long' is wide enough to
11321 store year values. This assumption is not true on x32 and on
11322 some non-glibc platforms.
11324 mktime: merge wrapv change from gnulib
11325 * time/mktime.c (WRAPV): New macro.
11326 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11327 (guess_time_tm, __mktime_internal): Do not assume that signed
11328 integer overflow wraps around; modern compilers generate code
11329 where this assumption is no longer valid.
11331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11333 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11334 Replace "jmp L(pseudo_end)" with "ret".
11335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11338 2012-05-23 Andreas Jaeger <aj@suse.de>
11340 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11341 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11343 2012-05-23 Andreas Jaeger <aj@suse.de>
11344 Maximilian Attems <max@stro.at>
11346 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11349 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11352 code so that pseudo_end is just ret and the stack pointer is
11353 correct also for static library in error case.
11355 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11358 move to syscalls.list.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11364 * manual/install.texi (Running make install): Do not mention Linux
11365 kernel version for which pt_chown is not needed.
11366 (Linux): Do not mention problems with nscd with 2.0 kernels.
11367 * INSTALL: Regenerated.
11369 2012-05-23 Andreas Jaeger <aj@suse.de>
11371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11372 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11374 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11376 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11378 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11384 * sysdeps/unix/sysv/linux/bits/in.h
11385 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11387 2012-05-22 Roland McGrath <roland@hack.frob.com>
11389 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11390 (PREPARE_VERSION): Just use assert instead, it will be elided
11391 under [NDEBUG] anyway.
11393 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11395 * sysdeps/unix/sysv/linux/Makefile: Include
11396 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11397 (sysdep_routines): Remove sysctl.
11398 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11399 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11402 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11404 2012-05-22 Andreas Jaeger <aj@suse.de>
11406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11407 that pseudo_end is just ret and the stack pointer is correct also
11408 for static library in error case.
11410 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11413 * nss/nsswitch.c (defconfig_entries): New variable.
11414 (__nss_database_lookup): Don't leak defconfig entries.
11415 (nss_parse_service_list): Don't leak on error paths.
11416 (free_database_entries): New function.
11417 (free_defconfig): New function.
11418 (free_mem): Move common code to free_database_entries.
11420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11424 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11427 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11430 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11431 (INTERNAL_SYSCALL_TYPES): Likewise.
11432 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11433 (LOAD_REGS_TYPES_[1-6]): Likewise.
11434 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11435 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11437 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11440 copysignl for GLIBC_2_0.
11441 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11442 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11444 logbl for GLIBC_2_0.
11445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11448 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11451 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11453 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11456 * time/mktime.c: Update copyright years.
11458 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11460 mktime: merge comment-quoting-style change from gnulib
11461 * time/mktime.c: Quote 'like this' in comments.
11462 The GNU coding standards suggest that we no longer quote `like this',
11463 as "`" and "'" are typically rendered asymmetrically nowadays.
11464 The typical gnulib style is to quote 'like this' when quoting
11465 code, and "like this" when quoting English.
11467 * time/mktime.c (compile-command): Add "-I.".
11469 mktime: merge mktime-internal.h change from gnulib
11470 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11472 mktime: merge time_r change from gnulib
11473 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11475 mktime: merge DEBUG change from gnulib
11476 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11477 case system <time.h> has a #define.
11479 mktime: merge <sys/types.h> change from gnulib
11480 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11481 since <time.t> is now guaranteed to define time_t.
11483 mktime: merge HAVE_CONFIG_H change from gnulib
11484 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11486 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11493 (struct rusage): Use anonymous union to pad each field to
11496 2012-05-21 David S. Miller <davem@davemloft.net>
11498 * Makefules (o-iterator): Remove .s cases.
11499 (compile-command.s): Delete.
11500 (COMPILE.s): Delete.
11501 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11503 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11505 * configure.in (libc_cv_predef_stack_protector): Only consider
11506 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11507 * configure: Regenerated.
11509 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11512 New macro. Use R*LP on int and pointer.
11513 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11514 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11515 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11516 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11518 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11519 [__WORDSIZE_TIME64_COMPAT32] instead of
11520 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11521 (struct utmp): Likewise.
11522 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11523 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11525 (__WORDSIZE_TIME64_COMPAT32): This.
11526 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11527 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11528 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11530 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11531 (__WORDSIZE_TIME64_COMPAT32): New macro.
11533 2012-05-21 Andreas Jaeger <aj@suse.de>
11535 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11536 only if [SHARED]. Add prototype for __wcschr_ia32.
11538 2012-05-21 Roland McGrath <roland@hack.frob.com>
11540 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11541 of %rbp unmolested in the jmp_buf while mangling the low bits.
11542 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11543 unmolested high bits of %rbp while demangling the low bits.
11544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11546 2012-05-21 Andreas Jaeger <aj@suse.de>
11548 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11549 * sunrpc/svc_simple.c: Use it for registerrpc.
11550 * sunrpc/xcrypt.c: Use it for passwd2des.
11552 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11556 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11557 Don't define if [__SYSCALL_WORDSIZE != 32].
11558 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11561 2012-05-21 Bruno Haible <bruno@clisp.org>
11562 Andreas Jaeger <aj@suse.de>
11564 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11565 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11566 inptr and inend for must_buffer_ch.
11567 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11568 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11569 * stdio-common/Makefile (tests): Remove bug15.
11570 (bug15-ENV): Remove macro.
11571 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11574 2012-05-19 Andreas Jaeger <aj@suse.de>
11575 Roland McGrath <roland@hack.frob.com>
11577 * manual/contrib.texi: Completely rewritten. It contains now an
11578 alphabetical list of contributors and their contributions.
11580 2012-05-21 Richard Henderson <rth@twiddle.net>
11582 * misc/getauxval.c (__getauxval): Use unsigned long int.
11583 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11584 (getauxval): Use unsigned long int.
11586 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11590 2012-05-21 Roland McGrath <roland@hack.frob.com>
11592 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11593 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11594 __alignof__ (long double).
11596 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11600 2012-05-20 Richard Henderson <rth@twiddle.net>
11602 * misc/getauxval.c: New file.
11603 * misc/sys/auxv.h: New file.
11604 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11605 (routines): Add getauxval.
11606 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11607 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11608 * elf/dl-sysdep.c (_dl_auxv): Remove.
11609 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11610 * elf/dl-support.c (_dl_auxv): New variable.
11611 (_dl_aux_init): Initialize it.
11612 * manual/startup.texi (Auxiliary Vector): New node.
11613 * sysdeps/generic/bits/hwcap.h: New file.
11614 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11615 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11616 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11617 * sysdeps/sparc/sysdep.h: ... here. Include it.
11618 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11631 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11635 2012-05-19 David S. Miller <davem@davemloft.net>
11637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11639 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11642 * math/s_ccosh.c: Include <float.h>
11643 (__ccosh): Avoid internal overflow calculating sinh and cosh
11644 values before multiplying by sin and cos values.
11645 * math/s_ccoshf.c: Likewise.
11646 * math/s_ccoshl.c: Likewise.
11647 * math/s_csin.c: Likewise.
11648 * math/s_csinf.c: Likewise.
11649 * math/s_csinl.c: Likewise.
11650 * math/s_csinh.c: Likewise.
11651 * math/s_csinhf.c: Likewise.
11652 * math/s_csinhl.c: Likewise.
11653 * math/libm-test.inc (ccos_test): Add more tests.
11654 (ccosh_test): Likewise.
11655 (csin_test): Likewise.
11656 (csinh_test): Likewise.
11657 * sysdeps/i386/fpu/libm-test-ulps: Update.
11658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11660 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11662 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11663 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11665 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11667 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11669 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11670 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11671 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11672 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11673 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11674 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11675 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11676 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11677 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11678 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11679 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11680 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11681 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11682 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11683 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11684 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11685 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11686 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11687 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11688 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11689 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11690 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11691 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11692 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11693 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11694 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11695 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11696 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11697 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11698 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11699 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11701 2012-05-18 Andreas Jaeger <aj@suse.de>
11703 * csu/.gitignore: Delete.
11705 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11707 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11708 (timex): Use __syscall_slong_t.
11710 2012-05-18 Andreas Jaeger <aj@suse.de>
11711 Carlos O'Donell <carlos_odonell@mentor.com>
11713 * manual/install.texi (Configuring and compiling): Update
11714 description about files modified in the source directory.
11715 * INSTALL: Regenerated.
11717 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11719 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11720 value. Use "or" to set return value to -1.
11721 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11722 negate return value.
11724 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11726 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11727 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11728 failure if the compiler has Graphite support disabled.
11729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11731 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11732 CFLAGS-memmove.c): Likewise.
11733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11736 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/x86_64/x32/_itoa.h: New file.
11740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11741 getdents system call only if kernel and user dirents have the
11742 same d_ino and d_off.
11744 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11745 LLONG_MAX != LONG_MAX.
11746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11747 (_fitoa_word): Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11756 include <bits/wordsize.h>. Check __x86_64__ instead of
11758 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11759 if __x86_64__ is defined. Use anonymous union on fpstate.
11761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11764 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11766 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11767 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11769 Refer to _rtld_local_ro instead of _rtld_global_ro.
11770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11772 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11774 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11776 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11777 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11778 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11780 * sysdeps/powerpc/powerpc32/dl-machine.c
11781 (__elf_machine_runtime_setup) [PROF]: Don't reference
11784 2012-05-18 Andreas Jaeger <aj@suse.de>
11786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11787 function only available for GCCs before 3.4 since GCC 3.4
11788 introduced a builtin.
11790 (llrintf): Likewise.
11791 (llrint): Likewise.
11798 (nearbyint): Likewise.
11799 (nearbyintf): Likewise.
11803 (floorf): Likewise.
11805 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11807 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11808 on both fields and cast pointer to __syscall_ulong_t.
11810 * bits/types.h (__fsword_t): New type.
11811 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11812 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11814 (__FSWORD_T_TYPE): Likewise.
11815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11816 (__FSWORD_T_TYPE): Likewise.
11817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11818 (__FSWORD_T_TYPE): Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11820 (__FSWORD_T_TYPE): Likewise.
11821 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11822 __SWORD_TYPE with __fsword_t.
11823 (statfs64): Likewise.
11825 2012-05-17 David S. Miller <davem@davemloft.net>
11827 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11829 2012-05-17 Andreas Jaeger <aj@suse.de>
11831 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11834 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11836 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11838 2012-05-17 Andreas Jaeger <aj@suse.de>
11840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11843 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11845 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11847 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11849 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11850 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11852 2012-05-17 Andreas Jaeger <aj@suse.de>
11853 Carlos O'Donell <carlos_odonell@mentor.com>
11856 * sysdeps/x86_64/multiarch/init-arch.h
11857 (bit_YMM_Usable): Rename to...
11858 (bit_AVX_Usable): ... this.
11859 (bit_FMA4_Usable): New macro.
11860 (bit_XMM_state): New macro.
11861 (bit_YMM_state): New macro.
11862 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11863 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11864 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11865 (CPUID_OSXSAVE): New macro.
11866 (CPUID_AVX): New macro.
11867 (CPUID_FMA4): New macro.
11868 (index_YMM_Usable): Rename to...
11869 (index_AVX_Usable): ... this.
11870 (HAS_AVX): Use HAS_ARCH_FEATURE.
11871 (HAS_FMA4): Likewise.
11872 (HAS_YMM_USABLE): Remove.
11873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11874 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11876 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11877 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11878 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11879 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11880 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11882 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11884 * math/libm-test.c: Support platforms without multiple rounding modes.
11885 * math/bug-nextafter.c: Support platforms without FP exceptions.
11886 * math/bug-nexttoward.c: Likewise.
11887 * math/test-fenv.c: Likewise.
11888 * math/test-misc.c: Likewise.
11889 * stdlib/bug-getcontext.c: Likewise.
11891 2012-05-17 Andreas Jaeger <aj@suse.de>
11893 * manual/examples/search.c (critter_cmp): Change signature to
11895 * manual/string.texi (Collation Functions): Likewise.
11897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11899 * bits/types.h: Fold copyright years.
11900 * bits/typesizes.h: Likewise.
11901 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11905 * time/time.h: Likewise.
11907 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11910 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11911 in instead of returning them. Return void.
11912 (__libc_mallinfo): Accumulate over all arenas.
11913 (__malloc_stats): Adjust for change in int_mallinfo interface.
11915 2012-05-16 Roland McGrath <roland@hack.frob.com>
11918 * configure.in (NM): Add AC_CHECK_TOOL for it.
11919 (libc_extra_cflags): New substituted variable.
11920 Check for -fstack-protector being used implicitly.
11921 * configure: Regenerated.
11922 * config.make.in (config-extra-cflags): New variable,
11923 gets @libc_extra_cflags@.
11924 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11927 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11928 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11929 * configure: Regenerated.
11930 * config.make.in (CPPUNDEFS): New substituted variable.
11931 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11932 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11933 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11937 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11938 (mq_attr): Use __syscall_slong_t.
11940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11943 Check __x86_64__ instead of __WORDSIZE.
11944 (_STAT_VER_LINUX): Likewise.
11945 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11946 __syscall_ulong_t and __syscall_slong_t.
11947 (stat64): Likewise.
11949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11953 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11955 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11959 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11963 include <bits/wordsize.h>. Check __x86_64__ instead of
11965 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11967 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11970 include <bits/wordsize.h>. Check __x86_64__ instead of
11972 (user_regs_struct): Use "__extension__ unsigned long long"
11973 instead of "unsigned long" if __x86_64__ is defined.
11974 (user): Likewise. Pad after pointer field if __ILP32__ is
11977 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11979 * configure.in (makeinfo): Require version 4.5 or later. Allow
11981 * configure: Regenerated.
11982 * manual/install.texi (texinfo): Increase version requirement to
11984 * INSTALL: Regenerated.
11986 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11990 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11992 * sysdeps/x86_64/x32/ffs.c: New file.
11994 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11996 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11997 defined. Use __syscall_ulong_t.
11998 (shminfo): Use __syscall_ulong_t.
11999 (shm_info): Likewise.
12001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12004 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12006 (msgqnum_t): Use __syscall_ulong_t.
12007 (msglen_t): Likewise.
12008 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12012 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12014 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12016 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12017 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12019 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12022 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12023 include <bits/wordsize.h>. Check __x86_64__ instead of
12026 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12027 "unsigned long long int" if __x86_64__ is defined.
12028 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12032 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12036 (GET_PC): Cast to uintptr_t first.
12037 (GET_FRAME): Likewise.
12038 (GET_STACK): Likewise.
12040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12047 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12048 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12070 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12072 * Makerules (+depfiles): Also collect depfiles from .oS in
12074 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12075 .oS, $(libnldbl-routines)).
12077 * Makerules (native-compile-mkdep-flags): Define.
12078 * sunrpc/Makefile (extra-objs): Add $(addprefix
12079 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12080 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12081 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12082 calling $(make-target-directory).
12084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12086 * bits/types.h (__snseconds_t): Removed.
12087 * time/time.h (struct timespec): Replace __snseconds_t with
12089 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12090 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12093 (__SNSECONDS_T_TYPE): Likewise.
12094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12095 (__SNSECONDS_T_TYPE): Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12097 (__SNSECONDS_T_TYPE): Likewise.
12099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12101 * sysdeps/mach/hurd/bits/typesizes.h
12102 (__SYSCALL_SLONG_TYPE): New macro.
12103 (__SYSCALL_ULONG_TYPE): Likewise.
12105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12107 * bits/types.h (__syscall_slong_t): New type.
12108 (__syscall_ulong_t): Likewise.
12110 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12111 (__SYSCALL_ULONG_TYPE): Likewise.
12112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12113 (__SYSCALL_SLONG_TYPE): Likewise.
12114 (__SYSCALL_ULONG_TYPE): Likewise.
12115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12116 (__SYSCALL_SLONG_TYPE): Likewise.
12117 (__SYSCALL_ULONG_TYPE): Likewise.
12118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12119 (__SYSCALL_SLONG_TYPE): Likewise.
12120 (__SYSCALL_ULONG_TYPE): Likewise.
12122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12124 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12125 Add sigaltstack-offsets.sym.
12126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12127 <sigaltstack-offsets.h>.
12128 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12129 longjmp_msg pointer.
12130 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12131 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12133 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12135 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12137 * elf/stackguard-macros.h: Remove file.
12138 * sysdeps/generic/stackguard-macros.h: New file.
12139 * sysdeps/i386/stackguard-macros.h: Likewise.
12140 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12141 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12142 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12144 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12145 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12146 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12147 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12148 <elf/stackguard-macros.h>.
12151 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12152 __aligned__ in attribute.
12153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12154 (gregset_t): Likewise.
12156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12159 * sysdeps/x86_64/64/Implies-after: Here. New file.
12160 * sysdeps/x86_64/x32/Implies-after: New file.
12162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12164 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12165 and access return value for _dl_profile_fixup. Use R10_LP to
12168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12174 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12175 * sysdeps/x86_64/x32/sysdep.h: New file.
12177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12179 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12180 * sysdeps/x86_64/setjmp.S: Likewise.
12182 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12186 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12188 remove unused global constant.
12190 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12192 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12193 include of <not-cancel.h>.
12195 2012-05-15 Roland McGrath <roland@hack.frob.com>
12197 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12199 2012-05-15 Jeff Law <law@redhat.com>
12200 Andreas Jaeger <aj@suse.de>
12203 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12205 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12206 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12208 code changing __hst_map_handle.map.
12210 2012-05-15 Roland McGrath <roland@hack.frob.com>
12212 * configure.in (sysnames): Look for Implies-before and Implies-after
12214 * configure: Regenerated.
12216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12218 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12219 8-byte data alignment with LP_SIZE alignment.
12221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12228 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12233 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12240 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12241 (stackinfo_sub_sp): Likewise.
12243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12260 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12264 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12265 into R11_LP and load __x86_64_shared_cache_size_half into
12268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12273 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12282 powerpc32/power7/fpu/s_logb.c via #include.
12283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12284 powerpc32/power7/fpu/s_logbf.c via #include.
12285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12286 powerpc32/power7/fpu/s_logbl.c via #include.
12288 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12290 * README.libm: Remove file.
12292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12294 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12295 count for x32. Use R*_LP and omit operand-size suffix.
12297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12299 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12300 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12301 * sysdeps/x86_64/x32/shlib-versions: New file.
12303 2012-05-14 Roland McGrath <roland@hack.frob.com>
12305 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12306 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12307 Use _dl_fatal_printf instead.
12309 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12311 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12312 set if not set by the user. Do not allow for being unset.
12313 * sysdeps/unix/sysv/linux/configure: Regenerated.
12315 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12317 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12318 the `q' suffix from lea and replace .quad with ASM_ADDR.
12320 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12323 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12325 (PTR_DEMANGLE): Likewise.
12327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12329 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12331 (ASM_ADDR): Likewise.
12332 (RAX_LP): Likewise.
12333 (RBP_LP): Likewise.
12334 (RBX_LP): Likewise.
12335 (RCX_LP): Likewise.
12336 (RDI_LP): Likewise.
12337 (RSI_LP): Likewise.
12338 (RSP_LP): Likewise.
12341 (R10_LP): Likewise.
12342 (R10_LP): Likewise.
12343 (R11_LP): Likewise.
12344 (R12_LP): Likewise.
12345 (R13_LP): Likewise.
12346 (R14_LP): Likewise.
12347 (R15_LP): Likewise.
12349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12351 * sysdeps/x86_64/x32/dl-machine.h: New file.
12353 2012-05-14 Andreas Jaeger <aj@suse.de>
12355 * manual/Makefile (subdir): Remove export of subdir.
12356 (all): Remove target.
12357 (.PHONY): Remove all from list.
12358 (mkinstalldirs): Remove.
12359 (.PHONY): Remove installdirs from list.
12360 ($(inst_infodir)/libc.info): Use make-target-directory.
12361 (installdirs): Remove.
12362 (subdir_%): Remove.
12363 (glibc-targets): Remove.
12366 ($(objpfx)stubs ../po/manual.pot): Remove.
12367 ($(objpfx)stamp%): Remove.
12368 (make-target-directory): Remove.
12369 (subdir_install): Remove.
12370 (routines): Remove.
12377 * manual/.gitignore: Remove, it's not needed anymore.
12378 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12380 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12382 (texis): Renamed to $(objpfx)texis.
12383 (texis-path): New, contains path to generated files.
12384 (chapters.%): Use texis-path for complete path, add extra argument
12386 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12387 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12388 (summary,texi, stamp-summary): Use complete path of
12389 files. Generate files in build dir.
12390 (dir-add.texi): Build in build dir.
12391 (libm-err.texi,stamp-libm-err): Likewise.
12392 (version.texi, stamp-version): Likewise.
12393 (.%c.texi): Likewise.
12394 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12395 (mostlyclean): Remove target.
12396 (realclean): Remove target.
12397 (generated): Add new variable with contents from mostlyclean and
12398 realclean, remove entries duplicated in common-mostlyclean, add
12399 stamp-libm-err and stamp-version.
12400 (generated-dirs): Add libc directory.
12401 ($(inst_infodir)/libc.info): Install files from build dir.
12403 * manual/install.texi (Configuring and compiling): Adjust since
12404 the info files are not part of the tar ball anymore.
12406 2012-05-14 Andreas Jaeger <aj@suse.de>
12408 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12411 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12415 to 2.2.0 where earlier.
12416 * sysdeps/unix/sysv/linux/configure: Regenerated.
12417 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12418 Remove conditional code.
12419 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12420 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12421 Remove conditional code.
12422 [!__NR_lchown]: Likewise.
12423 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12424 [__NR_lchown]: Likewise.
12425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12426 comment referencing __ASSUME_LCHOWN_SYSCALL.
12427 * sysdeps/unix/sysv/linux/i386/sigaction.c
12428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12430 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12431 Remove conditional code.
12432 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12433 (__protocol_available): Remove #if 0 code.
12434 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12436 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12437 * sysdeps/unix/sysv/linux/kernel-features.h
12438 (__ASSUME_GETCWD_SYSCALL): Don't define.
12439 (__ASSUME_REALTIME_SIGNALS): Likewise.
12440 (__ASSUME_PREAD_SYSCALL): Likewise.
12441 (__ASSUME_PWRITE_SYSCALL): Likewise.
12442 (__ASSUME_POLL_SYSCALL): Likewise.
12443 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12444 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12446 (__ASSUME_SIOCGIFNAME): Don't define.
12447 (__ASSUME_MSG_NOSIGNAL): Likewise.
12448 (__ASSUME_SENDFILE): Define unconditionally.
12449 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12450 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12452 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12453 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12454 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12455 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12457 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12458 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12460 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12463 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12469 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12483 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12484 Remove conditional code.
12485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12486 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12487 Remove conditional code.
12488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12489 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12490 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12491 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12492 Remove conditional code.
12493 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12494 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12495 Remove conditional code.
12496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12497 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12498 Remove conditional code.
12499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12500 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12501 Remove conditional code.
12502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12503 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12504 Remove conditional code.
12505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12506 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12509 * sysdeps/unix/sysv/linux/sigaction.c
12510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12512 * sysdeps/unix/sysv/linux/sigpending.c
12513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12515 * sysdeps/unix/sysv/linux/sigprocmask.c
12516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12518 * sysdeps/unix/sysv/linux/sigsuspend.c
12519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12521 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12522 (__libc_missing_rt_sigs): Remove.
12523 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12524 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12525 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12526 Remove conditional code.
12527 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12528 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12532 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12535 2012-05-14 Andreas Jaeger <aj@suse.de>
12537 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12538 it's not used in glibc.
12539 (__coshm1): Likewise.
12540 (__acosh1p): Likewise.
12543 * manual/string.texi (Copying and Concatenation): Add missing
12544 variable in concat example.
12545 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12551 __builtin_clzl with __builtin_clzll.
12553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12556 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12559 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12561 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12562 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12563 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12566 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12568 * NEWS: Update ia64 info.
12570 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12572 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12575 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12577 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12578 * sysdeps/unix/syscalls.list (dup3): Likewise.
12579 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12580 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12582 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12584 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12585 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12587 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12589 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12591 (TLS_IE): Use mov/add instead of movq/addq to load thread
12593 (TLS_GD_PREFIX): New.
12596 2012-05-11 David S. Miller <davem@davemloft.net>
12598 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12599 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12600 (_FPU_SETCW): Likewise.
12602 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12604 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12605 is 32-byte aligned.
12607 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12610 * iconvdata/gb18030.c: Update tables.
12611 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12612 characters specially.
12613 (BODY for TO_LOOP): Add encoding of missing ranges.
12615 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12618 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12619 * sysdeps/mach/hurd/dup3.c: Likewise.
12620 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12621 * sysdeps/powerpc/memmove.c:: Likewise.
12623 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12626 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12628 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12630 * elf/elf.h (R_X86_64_RELATIVE64): New.
12631 (R_X86_64_NUM): Updated.
12632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12633 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12634 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12635 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12636 tst-quad1pie tst-quad2pie
12637 (modules-names): Add tst-quadmod1 tst-quadmod2.
12638 ($(objpfx)tst-quad1): New dependency.
12639 ($(objpfx)tst-quad2): Likewise.
12640 ($(objpfx)tst-quad1pie): Likewise.
12641 ($(objpfx)tst-quad2pie): Likewise.
12642 * sysdeps/x86_64/tst-quad1.c: New file.
12643 * sysdeps/x86_64/tst-quad1pie.c: New file.
12644 * sysdeps/x86_64/tst-quad2.c: Likewise.
12645 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12646 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12647 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12648 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12649 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12653 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12654 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12655 * streams/stropts.h (t_scalar_t): Define type.
12657 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12658 (_PATH_PRESERVE): Set to "/var/lib".
12659 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12661 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12664 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12665 if __dir_mkfile succeeded.
12667 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12668 checking for _hurd_dtablesize. Unlock it right after having
12669 finished _hurd_dtable allocation.
12671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12673 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12674 * sysdeps/mach/hurd/configure: Regenerated.
12675 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12676 special-casing to...
12677 * sysdeps/gnu/configure.in: ... this new file.
12678 * sysdeps/unix/sysv/linux/configure: Regenerated.
12679 * sysdeps/gnu/configure: New generated file.
12681 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12682 for Linux: use nsec instead of usec, as well as:
12683 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12684 members of type struct timespec.
12685 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12687 (struct stat64): Likewise.
12688 (_STATBUF_ST_NSEC): New macro.
12689 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12692 __strtoul_internal rather than strtoul.
12694 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12696 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12701 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12702 which preserves existing values.
12703 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12705 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12707 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12708 TIMEOUT values. Return EINVAL for NFDS values either negative or
12709 greater than FD_SETSIZE.
12711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12713 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12714 allocated, call __vm_protect to finish enabling the existing space, and
12715 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12716 allocate the remainder.
12718 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12720 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12721 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12725 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12726 sysdeps/mach/hurd/readlink.c.
12728 * posix/tst-sysconf.c (posix_options): Only use
12729 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12730 _POSIX_SYNCHRONIZED_IO when they are defined
12731 * sysdeps/mach/hurd/bits/posix_opt.h:
12732 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12733 (_XOPEN_REALTIME): Undefine macro.
12734 (_XOPEN_REALTIME_THREADS): Undefine macro.
12735 (_XOPEN_SHM): Undefine macro.
12736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12740 (_POSIX_ASYNC_IO): Undefine macro.
12741 (_POSIX_PRIORITIZED_IO): Undefine macro.
12742 (_POSIX_SPIN_LOCKS): Define macro to -1.
12744 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12745 SA_NODEFER, SA_RESETHAND.
12746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12747 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12752 * elf/Makefile (pldd-modules): Define unconditionally.
12754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12756 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12760 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12761 Return ENOENT when name is empty.
12762 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12766 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12768 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12772 Fix mlock in all cases except non-readable pages.
12773 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12774 instead of VM_PROT_ALL as parameter to __vm_wire function.
12776 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12777 (__mkdir): When path is `/', just fail with EEXIST.
12778 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12782 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12783 <sys/uio.h> (for writev).
12784 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12785 and <sys/param.h> (for MIN).
12787 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12789 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12790 REQUESTED_TIME. Properly set the remaining time and return EINTR
12793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12795 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12796 Depend on against $(link-rpcuserlibs).
12798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12800 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12801 (__libc_stack_end): Do not use attribute_relro.
12802 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12803 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12804 to libthread-provided value.
12805 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12811 * bits/libc-lock.h (__libc_once_get): New macro.
12812 * sysdeps/mach/bits/libc-lock.h: Likewise.
12813 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12815 instead of using implementation details.
12817 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12818 * libio/freopen.c: Likewise.
12819 * libio/freopen64.c: Likewise.
12820 * misc/syslog.c: Likewise.
12821 * nscd/connections.c: Likewise.
12822 * nscd/netgroupcache.c: Likewise.
12823 * sysdeps/posix/getcwd.c: Likewise.
12825 2012-05-10 Roland McGrath <roland@hack.frob.com>
12827 * math/w_ilogbf.c: Add #include <limits.h>.
12829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12831 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12832 path instead of returning without unlocking.
12834 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12835 immediate-write ioctls.
12836 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12840 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12841 __builtin_frame_address instead of making assumptions about the
12842 location of the return address relative to DATA. Force early load of
12843 the return address.
12844 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12845 __builtin_frame_address.
12848 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12849 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12850 implement dup3 and do some further code clean-ups.
12851 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12856 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12858 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12859 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12860 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12861 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12862 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12865 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12866 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12867 when handler == SIG_ERR, not when handler != SIG_ERR.
12869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12871 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12872 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12875 accept4 for GNU Hurd.
12876 * include/sys/socket.h (__libc_accept4): New prototype.
12877 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12878 to implement __libc_accept4.
12879 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12884 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12885 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12886 signal-defines.sym.
12888 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12890 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12894 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12895 assertion on O_CLOEXEC flag.
12896 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12897 * hurd/intern-fd.c: Likewise.
12898 * hurd/port2fd.c: Likewise.
12900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12903 * bits/in.h (IPV6_PKTINFO): Define new macro.
12904 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12906 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12911 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12913 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12916 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12917 * math/libm-test.inc (logb_test) : Additional logb tests.
12919 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12920 Andreas Jaeger <aj@suse.de>
12922 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12923 * configure: Regenerated.
12924 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12925 * config.make.in (link-obsolete-rpc): New substituted variable.
12926 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12927 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12928 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12929 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12930 so that libc.a contains the symbols.
12931 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12932 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12933 * sunrpc/auth_none.c: Likewise.
12934 * sunrpc/auth_unix.c: Likewise.
12935 * sunrpc/authdes_prot.c: Likewise.
12936 * sunrpc/authuxprot.c: Likewise.
12937 * sunrpc/clnt_gen.c: Likewise.
12938 * sunrpc/clnt_perr.c: Likewise.
12939 * sunrpc/clnt_raw.c: Likewise.
12940 * sunrpc/clnt_simp.c: Likewise.
12941 * sunrpc/clnt_tcp.c: Likewise.
12942 * sunrpc/clnt_udp.c: Likewise.
12943 * sunrpc/clnt_unix.c: Likewise.
12944 * sunrpc/des_crypt.c: Likewise.
12945 * sunrpc/des_soft.c: Likewise.
12946 * sunrpc/get_myaddr.c: Likewise.
12947 * sunrpc/key_call.c: Likewise.
12948 * sunrpc/key_prot.c: Likewise.
12949 * sunrpc/netname.c: Likewise.
12950 * sunrpc/pm_getmaps.c: Likewise.
12951 * sunrpc/pm_getport.c: Likewise.
12952 * sunrpc/pmap_clnt.c: Likewise.
12953 * sunrpc/pmap_prot.c: Likewise.
12954 * sunrpc/pmap_prot2.c: Likewise.
12955 * sunrpc/pmap_rmt.c: Likewise.
12956 * sunrpc/publickey.c: Likewise.
12957 * sunrpc/rpc_cmsg.c: Likewise.
12958 * sunrpc/rpc_common.c: Likewise.
12959 * sunrpc/rpc_dtable.c: Likewise.
12960 * sunrpc/rpc_prot.c: Likewise.
12961 * sunrpc/rpc_thread.c: Likewise.
12962 * sunrpc/rtime.c: Likewise.
12963 * sunrpc/svc.c: Likewise.
12964 * sunrpc/svc_auth.c: Likewise.
12965 * sunrpc/svc_raw.c: Likewise.
12966 * sunrpc/svc_run.c: Likewise.
12967 * sunrpc/svc_tcp.c: Likewise.
12968 * sunrpc/svc_udp.c: Likewise.
12969 * sunrpc/svc_unix.c: Likewise.
12970 * sunrpc/svcauth_des.c: Likewise.
12971 * sunrpc/xcrypt.c: Likewise.
12972 * sunrpc/xdr.c: Likewise.
12973 * sunrpc/xdr_array.c: Likewise.
12974 * sunrpc/xdr_float.c: Likewise.
12975 * sunrpc/xdr_intXX_t.c: Likewise.
12976 * sunrpc/xdr_mem.c: Likewise.
12977 * sunrpc/xdr_rec.c: Likewise.
12978 * sunrpc/xdr_ref.c: Likewise.
12979 * sunrpc/xdr_sizeof.c: Likewise.
12980 * sunrpc/xdr_stdio.c: Likewise.
12982 2012-05-10 Roland McGrath <roland@hack.frob.com>
12984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12985 change. Update copyright years.
12987 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12989 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12991 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12992 Joseph Myers <joseph@codesourcery.com>
12993 Paul Pluzhnikov <ppluzhnikov@google.com>
12996 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12998 [cross-compiling] (extra-libs): Likewise.
12999 [cross-compiling] (extra-libs-others): Likewise.
13000 [cross-compiling] (librpcsvc-routines): Likewise.
13001 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13002 [cross-compiling] (omit-deps): Likewise.
13003 (sunrpc-CPPFLAGS): New variable.
13004 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13005 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13006 (cross-rpcgen-objs): New variable.
13007 (extra-objs): Append $(cross-rpcgen-objs).
13008 ($(cross-rpcgen-objs)): New rule.
13009 ($(objpfx)cross-rpcgen): Likewise.
13010 (rpcgen-cmd): Define to use $(built-program-file). Expand
13012 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13013 ($(objpfx)x%.stmp): Likewise.
13014 * sunrpc/proto.h [IS_IN_build] (_): Define.
13015 [IS_IN_build] (_libc_intl_domainname): Likewise.
13017 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13020 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13021 and R_X86_64_TPOFF64.
13023 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13025 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13026 sysdeps/unix/sysv/syscalls.list.
13029 * sysdeps/unix/sysv/syscalls.list: Remove file.
13031 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13034 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13035 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13036 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13037 (__LC_IDENTIFICATION): Make these macros useful in #if
13038 expressions, as required by C99.
13040 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13042 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13043 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13046 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13048 * stdlib/longlong.h: Updated from GCC.
13050 2012-05-09 Andreas Jaeger <aj@suse.de>
13052 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13053 default is first entry.
13054 (run_mode): Set type.
13055 (main): Remove informal message about syslog.
13056 (options): Fix typo.
13059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13062 (llrintf): Likewise.
13063 (llrint): Likewise.
13066 (nearbyint): Likewise.
13067 (nearbyintf): Likewise.
13069 2012-05-09 Andreas Jaeger <aj@suse.de>
13070 Pedro Alves <palves@redhat.com>
13072 * nscd/nscd.c (run_mode): Use enum.
13073 (main): Cleanup coding style issue.
13075 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13076 Andreas Jaeger <aj@suse.de>
13078 * nscd/nscd.c (go_background): Replaced with...
13079 (run_mode): ... this.
13080 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13081 (options): Add -F --foreground.
13082 (main): Implement it.
13083 (parse_opt): Parse it.
13085 2012-05-09 Andreas Jaeger <aj@suse.de>
13088 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13089 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13090 -Wconversion warning.
13091 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13094 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13096 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13098 (LC_ALL): Use macro-int-constant.
13099 (LC_COLLATE): Likewise.
13100 (LC_CTYPE): Likewise.
13101 (LC_MESSAGES): Likewise.
13102 (LC_MONETARY): Likewise.
13103 (LC_NUMERIC): Likewise.
13104 (LC_TIME): Likewise.
13105 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13106 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13108 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13110 [C99-based standards] (float_t): Expect type.
13111 [C99-based standards] (double_t): Expect type.
13112 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13114 [C99-based standards] (HUGE_VALL): Likewise.
13115 [C99-based standards] (INFINITY): Likewise.
13116 [C99-based standards] (NAN): Likewise.
13117 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13118 [C99-based standards] (FP_NAN): Likewise.
13119 [C99-based standards] (FP_NORMAL): Likewise.
13120 [C99-based standards] (FP_SUBNORMAL): Likewise.
13121 [C99-based standards] (FP_ZERO): Likewise.
13122 [C99-based standards] (FP_FAST_FMA): Use
13123 optional-macro-int-constant. Specify type. Require == 1.
13124 [C99-based standards] (FP_FAST_FMAF): Likewise.
13125 [C99-based standards] (FP_FAST_FMAL): Likewise.
13126 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13127 [C99-based standards] (FP_ILOGBNAN): Likewise.
13128 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13130 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13131 [C99-based standards] (math_errhandling): Specify type.
13132 [ISO99 || ISO11] (signgam): Do not allow.
13133 [non-C99-based standards] (copysignf): Do not allow.
13134 [non-C99-based standards] (exp2f): Likewise.
13135 [non-C99-based standards] (log2f): Likewise.
13136 [non-C99-based standards] (modff): Allow.
13137 [non-C99-based standards] (erff): Do not allow.
13138 [non-C99-based standards] (erfcf): Likewise.
13139 [non-C99-based standards] (gammaf): Likewise.
13140 [non-C99-based standards] (hypotf): Likewise.
13141 [non-C99-based standards] (j0f): Likewise.
13142 [non-C99-based standards] (j1f): Likewise.
13143 [non-C99-based standards] (jnf): Likewise.
13144 [non-C99-based standards] (lgammaf): Likewise.
13145 [non-C99-based standards] (tgammaf): Likewise.
13146 [non-C99-based standards] (y0f): Likewise.
13147 [non-C99-based standards] (y1f): Likewise.
13148 [non-C99-based standards] (ynf): Likewise.
13149 [non-C99-based standards] (isnanf): Likewise.
13150 [non-C99-based standards] (acoshf): Likewise.
13151 [non-C99-based standards] (asinhf): Likewise.
13152 [non-C99-based standards] (atanhf): Likewise.
13153 [non-C99-based standards] (cbrtf): Likewise.
13154 [non-C99-based standards] (expm1f): Likewise.
13155 [non-C99-based standards] (ilogbf): Likewise.
13156 [non-C99-based standards] (log1pf): Likewise.
13157 [non-C99-based standards] (logbf): Likewise.
13158 [non-C99-based standards] (nextafterf): Likewise.
13159 [non-C99-based standards] (remainderf): Likewise.
13160 [non-C99-based standards] (rintf): Likewise.
13161 [non-C99-based standards] (scalbf): Likewise.
13162 [non-C99-based standards] (copysignl): Likewise.
13163 [non-C99-based standards] (exp2l): Likewise.
13164 [non-C99-based standards] (log2l): Likewise.
13165 [non-C99-based standards] (modfl): Allow.
13166 [non-C99-based standards] (erfl): Do not allow.
13167 [non-C99-based standards] (erfcl): Likewise.
13168 [non-C99-based standards] (gammal): Likewise.
13169 [non-C99-based standards] (hypotl): Likewise.
13170 [non-C99-based standards] (j0l): Likewise.
13171 [non-C99-based standards] (j1l): Likewise.
13172 [non-C99-based standards] (jnl): Likewise.
13173 [non-C99-based standards] (lgammal): Likewise.
13174 [non-C99-based standards] (tgammal): Likewise.
13175 [non-C99-based standards] (y0l): Likewise.
13176 [non-C99-based standards] (y1l): Likewise.
13177 [non-C99-based standards] (ynl): Likewise.
13178 [non-C99-based standards] (isnanl): Likewise.
13179 [non-C99-based standards] (acoshl): Likewise.
13180 [non-C99-based standards] (asinhl): Likewise.
13181 [non-C99-based standards] (atanhl): Likewise.
13182 [non-C99-based standards] (cbrtl): Likewise.
13183 [non-C99-based standards] (expm1l): Likewise.
13184 [non-C99-based standards] (ilogbl): Likewise.
13185 [non-C99-based standards] (log1pl): Likewise.
13186 [non-C99-based standards] (logbl): Likewise.
13187 [non-C99-based standards] (nextafterl): Likewise.
13188 [non-C99-based standards] (remainderl): Likewise.
13189 [non-C99-based standards] (rintl): Likewise.
13190 [non-C99-based standards] (scalbl): Likewise.
13191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13192 [non-C99-based standards] (FP_*): Do not allow.
13193 [C99-based standards] (FP_*): Change to
13194 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13195 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13197 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13198 (SIG_ERR): Likewise.
13199 [X/Open-based standards] (SIG_HOLD): Likewise.
13200 (SIG_IGN): Likewise.
13201 (SIGABRT): Use macro-int-constant. Specify type. Require
13203 (SIGFPE): Likewise.
13204 (SIGILL): Likewise.
13205 (SIGINT): Likewise.
13206 (SIGSEGV): Likewise.
13207 (SIGTER): Likewise.
13208 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13209 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13210 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13211 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13212 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13213 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13214 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13215 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13216 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13217 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13218 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13219 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13220 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13221 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13222 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13223 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13224 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13225 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13226 [X/Open-based standards] (SIGTRAP): Likewise.
13227 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13228 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13229 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13230 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13231 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13234 2012-05-08 Ian Wienand <ianw@vmware.com>
13237 * time/tzset.c (__tzset_parse_tz): Update default rules for
13238 daylight time changes in the Energy Policy Act of 2005.
13240 2012-05-09 Andreas Jaeger <aj@suse.de>
13243 * elf/ldconfig.c (parse_conf): Change string to make clear that
13244 ldconfig only issued a warning if ld.so.conf does not exist.
13246 2012-05-08 David S. Miller <davem@davemloft.net>
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13249 movxtod instead of popping the value on the stack.
13251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13253 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13255 * config.h.in: Add HAVE_ARM_PCS_VFP.
13257 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13260 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13261 checking but the checks are disabled for any reason.
13263 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13265 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13266 and ELF64_R_TYPE with ELFW(R_TYPE).
13268 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13270 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13271 (ulimit): Likewise.
13273 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13274 (settimeofday): Likewise.
13276 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13278 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13279 a struct th_u2 inside the union, and move tu_block/tu_code into
13280 a new th_u3 union of tu_block/tu_code inside of that. Move
13281 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13282 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13283 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13284 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13285 (th_stuff): Change to th_u1.tu_stuff.
13287 (th_msg): Change to th_u1.th_u2.tu_data.
13289 2012-05-07 David S. Miller <davem@davemloft.net>
13291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13295 (SETUP_PIC_REG): Use it.
13296 (SETUP_PIC_REG_LEAF): Use it.
13298 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13302 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13304 (EXPL_FINITE): Likewise.
13305 (FLDLOG): Likewise.
13306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13307 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13311 (EXPL_FINITE): Likewise.
13312 (FLDLOG): Likewise.
13313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13314 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13316 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13317 test of -max_value argument for long double.
13318 * sysdeps/i386/fpu/libm-test-ulps: Update.
13319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321 2012-05-06 David S. Miller <davem@davemloft.net>
13323 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13324 quad soft-float symbols whose references which are compiler
13326 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13328 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13334 (EXPL_FINITE): Likewise.
13335 (FLDLOG): Likewise.
13338 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13339 Adjust comments for base varying.
13340 (__expl_finite): Change alias to EXPL_FINITE.
13341 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13343 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13344 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13346 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13349 (EXPL_FINITE): Likewise.
13350 (FLDLOG): Likewise.
13353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13354 Adjust comments for base varying.
13355 (__expl_finite): Change alias to EXPL_FINITE.
13356 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13361 * math/libm-test.inc (check_float_internal): Correct ulp
13362 calculation for subnormal expected results.
13364 2012-05-06 Andreas Jaeger <aj@suse.de>
13366 * Makeconfig (+math-flags): New, set to -frounding-math.
13367 (+cflags): Add +math-flags so that all of glibc gets compiled with
13370 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13372 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13374 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13380 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13381 (__ieee754_expl): Allow for and saturate large arguments.
13382 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13383 (u_threshold): Likewise.
13384 (__exp): Call __ieee754_exp before checking for overflow and
13386 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13387 (u_threshold): Likewise.
13388 (__expf): Call __ieee754_expf before checking for overflow and
13390 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13391 (u_threshold): Likewise.
13392 (__expl): Call __ieee754_expl before checking for overflow and
13394 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13395 (__ieee754_expl): Allow for and saturate large arguments.
13396 * math/libm-test.inc (exp_test): Add another test. Do not allow
13397 missing overflow exception on overflow.
13398 (expm1_test): Do not allow missing overflow exception on overflow.
13400 * sysdeps/i386/fpu/e_expl.c: Move to ...
13401 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13402 rather than using inline asm.
13403 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13404 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13405 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13407 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13410 (signal): Likewise.
13414 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13416 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13417 sysdeps/unix/common/syscalls.list.
13418 (fchmod): Likewise.
13419 (fchown): Likewise.
13420 (ftruncate): Likewise.
13421 (getrusage): Likewise.
13422 (gettimeofday): Likewise.
13423 (setpgid): Likewise.
13424 (setregid): Likewise.
13425 (setreuid): Likewise.
13426 (sigaction): Likewise.
13427 (truncate): Likewise.
13428 (vhangup): Likewise.
13429 * sysdeps/unix/common/syscalls.list: Remove file.
13430 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13431 * sysdeps/unix/sysv/linux/Implies: Likewise.
13433 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13435 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13437 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13467 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13474 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13478 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13480 * sysdeps/unix/common/bits/dirent.h: Remove file.
13481 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13483 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13484 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13485 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13486 * sysdeps/unix/bsd/isatty.c: Likewise.
13487 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13488 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13489 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13491 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13495 long double comparison inaccuracies.
13496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13499 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13501 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13504 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13508 nonzero digits before rounding a hex value.
13509 * stdlib/tst-strtod.c (tests): Add another test.
13511 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13513 * sysdeps/s390/fpu/libm-test-ulps: Update.
13515 2012-05-03 Andreas Jaeger <aj@suse.de>
13517 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13518 does not get optimized out.
13519 (malloc_opt_barrier): New.
13521 2012-05-03 Andreas Jaeger <aj@suse.de>
13522 Roland McGrath <roland@hack.frob.com>
13524 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13525 intermediate file deletion.
13526 (generated): Add .symlist files.
13528 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13531 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13532 Redirect under this condition.
13533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13534 [__USE_GNU] (__dprintf_chk): Not under this condition.
13535 [__USE_GNU] (__vdprintf_chk): Likewise.
13536 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13537 under this condition.
13538 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13539 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13540 [__USE_XOPEN2K8] (vdprintf): Likewise.
13541 [__USE_GNU] (__dprintf_chk): Not under this condition.
13542 [__USE_GNU] (__vdprintf_chk): Likewise.
13543 [__USE_GNU] (dprintf): Likewise.
13544 [__USE_GNU] (vdprintf): Likewise.
13546 2012-05-03 Roland McGrath <roland@hack.frob.com>
13548 * elf/Makefile (common-generated): Set this instead of generated for
13549 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13550 $(all-built-dso)-derived lists.
13552 2012-05-03 Andreas Jaeger <aj@suse.de>
13554 * sysdeps/i386/fpu/libm-test-ulps: Update.
13557 * FAQ.in: Likewise.
13558 * scripts/gen-FAQ.pl: Likewise.
13559 * manual/install.texi (Installation): Point to online location of
13561 * Makefile (files-for-dist): Remove FAQ.
13564 2012-05-02 Allan McRae <allan@archlinux.org>
13566 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13567 (LDFLAGS-reldepmod5.so): Likewise.
13568 (LDFLAGS-reldep6mod1.so): Likewise.
13569 (LDFLAGS-reldep6mod4.so): Likewise.
13570 (LDFLAGS-reldep8mod3.so): Likewise.
13571 (LDFLAGS-unload4mod1.so): Likewise.
13572 (LDFLAGS-unload4mod2.so): Likewise.
13573 (LDFLAGS-tst-initorder): Likewise.
13574 (LDFLAGS-tst-initordera2.so): Likewise.
13575 (LDFLAGS-tst-initordera3.so): Likewise.
13576 (LDFLAGS-tst-initordera4.so): Likewise.
13577 (LDFLAGS-tst-initorderb2.so): Likewise.
13578 (LDFLAGS-noload): Likewise.
13579 (LDFLAGS-next): Likewise.
13580 (LDFLAGS-order2mod1.so): Likewise.
13581 (LDFLAGS-order2mod2.so): Likewise.
13582 (LDFLAGS-tst-initorder2): Likewise.
13583 (LDFLAGS-tst-initorder2a.so): Likewise.
13584 (LDFLAGS-tst-initorder2b.so): Likewise.
13585 (LDFLAGS-tst-initorder2c.so): Likewise.
13586 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13588 2012-05-02 David S. Miller <davem@davemloft.net>
13590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13592 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13595 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13597 2012-05-02 Andreas Jaeger <aj@suse.de>
13599 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13600 since we manipulate rounding mode.
13601 (CPPFLAGS-test-idouble.c): Likewise.
13602 (CPPFLAGS-test-ifloat.c): Likewise.
13603 (CFLAGS-test-ldouble.c): Likewise.
13604 (CFLAGS-test-double.c): Likewise.
13605 (CFLAGS-test-float.c): Likewise.
13606 (CFLAGS-test-misc.c): Likewise.
13607 (CFLAGS-test-test-fenv.c): Likewise.
13609 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13614 comparisons to determine direction to adjust input.
13616 2012-05-01 Roland McGrath <roland@hack.frob.com>
13618 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13619 output to the target.
13621 * scripts/localplt.awk: New file.
13622 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13623 (check-localplt-CFLAGS): Variable removed.
13624 ($(all-built-dso:=.jmprel)): New static pattern rule.
13625 (generated): Add those targets.
13626 (localplt-built-dso): New variable.
13627 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13629 * elf/check-localplt.c: File removed.
13631 * scripts/check-execstack.awk: New file.
13632 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13633 (check-execstack-CFLAGS): Variable removed.
13634 ($(objpfx)check-execstack.h): Target removed.
13635 ($(objpfx)execstack-default): New target.
13636 (generated): Add that instead of check-execstack.h.
13637 ($(all-built-dso:=.phdr)): New static pattern rule.
13638 (generated): Add those targets.
13639 * elf/check-execstack.c: File removed.
13641 * scripts/check-textrel.awk: New file.
13642 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13643 (check-textrel-CFLAGS): Variable removed.
13644 (all-built-dso): Use := to define.o
13645 ($(all-built-dso:=.dyn)): New static pattern rule.
13646 (generated): Add those targets.
13647 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13648 * config.make.in (READELF): New substituted variable.
13649 * elf/check-textrel.c: File removed.
13651 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13653 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13655 * conform/data/ctype.h-data [C99-based standards] (isblank):
13657 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13658 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13660 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13661 Specify type. Require positive value.
13662 (EILSEQ): Likewise.
13663 (ERANGE): Likewise.
13664 [ISO || POSIX] (EILSEQ): Do not expect.
13665 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13666 Specify type. Require positive value.
13667 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13668 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13669 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13670 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13671 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13672 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13673 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13674 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13675 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13676 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13677 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13678 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13679 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13680 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13681 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13682 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13685 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13686 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13691 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13692 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13693 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13694 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13695 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13696 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13697 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13698 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13699 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13700 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13701 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13702 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13703 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13704 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13705 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13706 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13707 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13708 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13709 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13710 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13711 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13712 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13713 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13714 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13715 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13716 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13717 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13718 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13719 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13720 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13721 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13722 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13723 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13724 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13725 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13726 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13727 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13728 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13729 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13730 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13731 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13732 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13733 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13734 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13735 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13736 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13737 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13738 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13739 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13740 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13741 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13742 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13743 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13745 (FLT_ROUNDS): Expect as macro, not constant.
13746 (FLT_MANT_DIG): Use macro-int-constant.
13747 (DBL_MANT_DIG): Likewise.
13748 (LDBL_MANT_DIG): Likewise.
13749 (FLT_DIG): Likewise.
13750 (DBL_DIG): Likewise.
13751 (LDBL_DIG): Likewise.
13752 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13753 (DBL_MIN_EXP): Likewise.
13754 (LDBL_MIN_EXP): Likewise.
13755 (FLT_MAX_EXP): Use macro-int-constant.
13756 (DBL_MAX_EXP): Likewise.
13757 (LDBL_MAX_EXP): Likewise.
13758 (FLT_MAX_10_EXP): Likewise.
13759 (DBL_MAX_10_EXP): Likewise.
13760 (LDBL_MAX_10_EXP): Likewise.
13761 (FLT_MAX): Use macro-constant.
13762 (DBL_MAX): Likewise.
13763 (LDBL_MAX): Likewise.
13764 (FLT_EPSILON): Use macro-constant. Give upper bound.
13765 (DBL_EPSILON): Likewise.
13766 (LDBL_EPSILON): Likewise.
13767 (FLT_MIN): Likewise.
13768 (DBL_MIN): Likewise.
13769 (LDBL_MIN): Likewise.
13770 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13771 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13772 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13773 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13774 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13775 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13776 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13777 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13778 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13779 [ISO11] (FLT_TRUE_MIN): Likewise.
13780 [ISO11] (LDBL_TRUE_MIN): Likewise.
13781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13782 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13783 (SCHAR_MIN): Use macro-int-constant. Specify type.
13784 (SCHAR_MAX): Likewise.
13785 (UCHAR_MAX): Likewise.
13786 (CHAR_MIN): Likewise.
13787 (CHAR_MAX): Likewise.
13788 (MB_LEN_MAX): Use macro-int-constant.
13789 (SHRT_MIN): Use macro-int-constant. Specify type.
13790 (SHRT_MAX): Likewise.
13791 (USHRT_MAX): Likewise.
13792 (INT_MAX): Likewise.
13793 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13795 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13797 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13799 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13800 bound negative. Suffix upper bound with "L".
13801 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13803 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13805 [C99-based standards] (LLONG_MAX): Likewise.
13806 [C99-based standards] (ULLONG_MAX): Likewise.
13807 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13809 [ISO11] (max_align_t): Require type.
13810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13812 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13813 from $CFLAGS, without defining away __attribute__ calls.
13814 (checknamespace): Use $CFLAGS_namespace.
13816 * conform/conformtest.pl (@keywords): Only include C99 keywords
13817 for standards based on C99 or C11.
13819 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13821 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13824 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13825 usability of symbols in #if.
13827 * conform/conformtest.pl: If macro or constant types start
13828 "promoted:", expect the symbol to be of the following type
13829 promoted by the integer promotions.
13831 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13832 in one place. Also handle "macro-constant".
13834 * conform/conformtest.pl: Only accept expected macro values with
13835 "==". Parse all "macro" lines in one place.
13836 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13838 * conform/conformtest.pl: Handle braced types on "constant" lines
13839 instead of handling "typed-constant".
13840 * conform/data/signal.h-data: Use "constant" instead of
13843 * conform/conformtest.pl: Handle "optional-" at start of lines in
13844 one place rather than duplicating several cases. Handle each
13845 format of "macro" line with initial "optional-".
13847 * conform/conformtest.pl: Only accept expected constant or
13848 optional-constant values with "==". Parse all "constant" lines in
13849 one place. Parse all "optional-constant" lines in one place.
13850 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13851 * conform/data/fmtmsg.h-data: Likewise.
13852 * conform/data/netinet/in.h-data: Likewise.
13853 * conform/data/tar.h-data: Likewise.
13854 * conform/data/limits.h-data: Use "==" form on "constant" and
13855 "optional-constant" lines.
13857 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13858 Use -std=c99 for XOPEN2K.
13859 (@knownproblems): Remove.
13860 (newtoken): Don't check %isknown.
13862 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13863 Do not expect macro.
13864 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13865 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13866 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13867 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13868 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13869 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13870 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13871 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13872 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13873 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13874 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13875 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13876 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13877 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13878 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13879 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13880 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13881 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13882 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13883 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13884 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13888 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13889 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13890 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13891 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13892 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13893 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13894 [XPG3] (acosh): Likewise.
13895 [XPG3] (asinh): Likewise.
13896 [XPG3] (atanh): Likewise.
13897 [XPG3] (cbrt): Likewise.
13898 [XPG3] (expm1): Likewise.
13899 [XPG3] (ilogb): Likewise.
13900 [XPG3] (log1p): Likewise.
13901 [XPG3] (logb): Likewise.
13902 [XPG3] (nextafter): Likewise.
13903 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13904 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13905 [XPG3] (remainder): Likewise.
13906 [XPG3] (rint): Likewise.
13907 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13908 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13909 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13910 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13911 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13912 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13913 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13914 [UNIX98 || XOPEN2K] (scalb): Expect.
13915 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13916 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13917 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13918 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13919 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13920 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13921 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13922 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13923 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13924 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13925 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13926 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13927 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13928 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13929 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13930 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13931 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13932 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13933 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13934 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13935 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13936 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13937 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13938 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13939 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13940 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13941 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13942 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13943 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13944 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13945 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13946 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13947 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13948 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13949 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13950 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13951 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13952 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13953 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13954 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13955 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13956 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13957 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13958 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13959 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13960 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13961 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13962 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13963 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13964 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13965 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13966 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13967 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13968 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13969 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13970 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13971 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13972 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13973 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13974 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13975 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13976 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13977 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13978 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13979 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13980 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13981 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13982 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13983 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13984 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13985 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13986 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13987 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13988 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13989 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13990 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13991 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13992 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13993 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13994 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13995 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13996 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13997 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13998 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13999 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14000 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14001 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14002 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14003 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14004 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14005 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14006 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14007 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14008 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14009 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14010 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14011 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14012 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14013 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14014 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14015 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14016 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14017 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14018 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14019 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14020 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14021 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14022 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14023 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14024 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14025 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14026 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14027 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14028 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14029 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14030 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14031 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14032 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14033 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14034 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14035 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14036 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14037 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14039 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14040 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14041 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14042 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14043 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14044 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14045 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14046 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14047 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14048 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14049 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14050 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14051 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14053 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14054 _XOPEN_SOURCE_EXTENDED for XPG4.
14056 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14058 * Makeconfig (localtime): Remove variable.
14059 (inst_localtime-file): Likewise.
14061 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14082 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14086 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14087 comparisons to determine direction to adjust input.
14088 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14089 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14099 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14101 * math/libm-test.inc (nexttoward_test): Add more tests.
14103 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14107 in version GLIBC_2.1, not GLIBC_2.0.
14108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14111 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14116 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14117 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14118 * math/libm-test.inc (acos_test): Add more tests.
14119 (asin_test): Likewise.
14120 * sysdeps/i386/fpu/libm-test-ulps: Update.
14121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14126 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14127 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14128 * math/libm-test.inc (acos_test_tonearest): New function.
14129 (acos_test_towardzero): Likewise.
14130 (acos_test_downward): Likewise.
14131 (acos_test_upward): Likewise.
14132 (asin_test_tonearest): Likewise.
14133 (asin_test_towardzero): Likewise.
14134 (asin_test_downward): Likewise.
14135 (asin_test_upward): Likewise.
14136 (main): Call the new functions.
14137 * sysdeps/i386/fpu/libm-test-ulps: Update.
14138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14142 * math/e_exp10.c: Include <float.h>.
14143 (__ieee754_exp10): Handle underflow here rather than multiplying
14144 large negative argument by M_LN10.
14145 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14147 * math/e_exp10l.c: Include <float.h>.
14148 (__ieee754_exp10l): Handle underflow here rather than multiplying
14149 large negative argument by M_LN10l.
14150 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14151 spurious overflow exception on underflow.
14153 2012-04-29 Marek Polacek <polacek@redhat.com>
14155 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14156 (__fortify_function): New macro.
14157 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14158 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14159 __extern_always_inline.
14160 * libio/bits/stdio2.h: Likewise.
14161 * libio/bits/stdio.h: Likewise.
14162 * string/string.h: Likewise.
14163 * string/bits/string3.h: Likewise.
14164 * include/stdio.h: Likewise.
14165 * stdlib/bits/stdlib.h: Likewise.
14166 * stdlib/stdlib.h: Likewise.
14167 * rt/bits/mqueue2.h: Likewise.
14168 * rt/mqueue.h: Likewise.
14169 * posix/bits/unistd.h: Likewise.
14170 * posix/unistd.h: Likewise.
14171 * io/bits/poll2.h: Likewise.
14172 * io/bits/fcntl2.h: Likewise.
14173 * io/fcntl.h: Likewise.
14174 * io/sys/poll.h: Likewise.
14175 * misc/bits/syslog.h: Likewise.
14176 * misc/bits/syslog-ldbl.h: Likewise.
14177 * misc/sys/syslog.h: Likewise.
14178 * socket/bits/socket2.h: Likewise.
14179 * socket/sys/socket.h: Likewise.
14180 * debug/tst-chk1.c: Likewise.
14181 * wcsmbs/bits/wchar2.h: Likewise.
14182 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14183 * wcsmbs/wchar.h: Likewise.
14185 2012-04-29 Andreas Jaeger <aj@suse.de>
14187 * Makerules (tests): Remove enable-check-abi protection.
14188 (check-abi-warn): Remove.
14189 (check-abi-%): Remove check-abi-warn usage.
14191 * configure.in: Remove check-abi configure option.
14192 * configure: Regenerated.
14193 * config.make.in (enable-check-abi): Remove.
14195 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14198 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14199 double functions to double *_finite functions.
14202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14203 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14205 * stdio-common/Makefile (tests): Add tst-sprintf3.
14206 * stdio-common/tst-sprintf3.c: New file.
14208 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14209 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14211 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14213 * conform/conformtest.pl: Remove duplicate typed-constant
14216 2012-04-28 David S. Miller <davem@davemloft.net>
14218 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14219 (check-abi-%): Remove AWK script prerequisite and explicit
14221 (check-abi): Rewrite to just diff the symlist with the abilist.
14222 (config-tls, config-abi-config): Delete, no longer used.
14223 (update-abi-%): Remove AWK script and explicit abilist directory.
14224 (update-abi): Rewrite to simply compare and conditionally copy the
14225 symlist and the sysdep abilist file. Remove update-abi-config
14227 * abilist/ld.abilist: Remove.
14228 * abilist/libBrokenLocale.abilist: Remove.
14229 * abilist/libanl.abilist: Remove.
14230 * abilist/libcrypt.abilist: Remove.
14231 * abilist/libdl.abilist: Remove.
14232 * abilist/librt.abilist: Remove.
14233 * abilist/libthread_db.abilist: Remove.
14234 * abilist/libutil.abilist: Remove.
14235 * scripts/extract-abilist.awk: Remove.
14236 * scripts/merge-abilist.awk: Remove.
14237 * sysdeps/generic/libcidn.abilist: New file.
14238 * sysdeps/generic/libnss_compat.abilist: New file.
14239 * sysdeps/generic/libnss_db.abilist: New file.
14240 * sysdeps/generic/libnss_dns.abilist: New file.
14241 * sysdeps/generic/libnss_files.abilist: New file.
14242 * sysdeps/generic/libnss_hesiod.abilist: New file.
14243 * sysdeps/generic/libnss_nis.abilist: New file.
14244 * sysdeps/generic/libnss_nisplus.abilist: New file.
14245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14246 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14250 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14251 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14253 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14254 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14255 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14256 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14257 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14259 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14260 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14262 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14265 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14266 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14267 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14268 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14271 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14273 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14378 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14379 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14380 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14383 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14384 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14386 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14387 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14388 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14390 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14391 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14443 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14445 * conform/conformtest.pl: Fix typo in handling typed-constant from
14448 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14450 * README: Cut down references to pre-2.6 Linux kernels and
14451 Linuxthreads. Update lists of configurations in libc and ports
14452 and sort alphabetically. Say "or newer" with Linux kernel version
14455 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14457 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14460 * math/libm-test.inc (logb_test_downward): New test to expose
14461 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14464 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14467 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14469 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14470 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14472 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14474 * sysdeps/unix/i386/brk.S: Remove file.
14475 * sysdeps/unix/i386/dl-brk.S: Likewise.
14476 * sysdeps/unix/i386/pipe.S: Likewise.
14477 * sysdeps/unix/i386/sigreturn.S: Likewise.
14478 * sysdeps/unix/i386/syscall.S: Likewise.
14479 * sysdeps/unix/i386/vfork.S: Likewise.
14480 * sysdeps/unix/i386/wait.S: Likewise.
14482 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14483 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14485 * configure.in (arm*-none*): Do not allow without
14486 --enable-hacker-mode.
14487 (netbsd*): Remove case setting base_os.
14488 (386bsd*): Likewise.
14489 (freebsd*): Likewise.
14492 (sunos*): Likewise.
14493 (ultrix*): Likewise.
14494 (newsos*): Likewise.
14495 (dynix*): Likewise.
14501 (minix*): Likewise.
14502 (irix4*): Likewise.
14503 (irix6*): Likewise.
14504 (solaris[2-9]*): Likewise.
14506 * configure: Regenerated.
14508 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14512 overflow or cancellation in calculating denominator.
14513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14515 down expression to avoid unexpected rounding in newer GCCs.
14516 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14518 2012-04-26 David S. Miller <davem@davemloft.net>
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14521 long-double compat symbols.
14522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14536 2012-04-25 David S. Miller <davem@davemloft.net>
14538 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14539 HWCAP_* values only after the memory barriers have been defined.
14540 (atomic_full_barrier): Define.
14541 (atomic_read_barrier): Define.
14542 (atomic_write_barrier): Define.
14544 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14546 * shlib-versions: Add libgcc_s version information.
14547 * sysdeps/generic/libgcc_s.h: Remove.
14548 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14550 * sysdeps/gnu/unwind-resume.c: Likewise.
14551 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14553 2012-04-25 David S. Miller <davem@davemloft.net>
14555 * sysdeps/unix/sparc/brk.S: Delete.
14556 * sysdeps/unix/sparc/dl-brk.S: Delete.
14557 * sysdeps/unix/sparc/pipe.S: Delete.
14558 * sysdeps/unix/sparc/sysdep.S: Delete.
14559 * sysdeps/unix/sparc/sysdep.h: Delete.
14560 * sysdeps/unix/sparc/vfork.S: Delete.
14561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14562 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14564 ret_ERRVAL, r0, r1, MOVE): Define.
14565 (JUMPTARGET): Remove.
14566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14567 sysdeps/unix/sparc/sysdep.h
14568 (ENTRY, END): Remove.
14569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14571 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14573 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14574 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14577 * timezone/README: Update upstream location and email address for
14579 * timezone/zdump.c: Update from tzcode 2012b.
14580 * timezone/zic.c: Likewise.
14582 * configure.in (libc_cv_as_needed): Remove test.
14583 * configure: Regenerated.
14584 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14585 conditional definition.
14586 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14587 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14588 * config.make.in (have-as-needed): Remove variable.
14590 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14591 Paul Pluzhnikov <ppluzhnikov@google.com>
14593 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14596 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14598 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14599 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14600 * sysdeps/sh/strlen.S: Likewise.
14602 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14604 * sysdeps/unix/fork.S: Remove file.
14605 * sysdeps/unix/i386/fork.S: Likewise.
14606 * sysdeps/unix/sparc/fork.S: Likewise.
14608 * sysdeps/unix/system.c: Remove file.
14609 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14611 * sysdeps/unix/getegid.S: Remove file.
14612 * sysdeps/unix/geteuid.S: Likewise.
14614 2012-04-24 Roland McGrath <roland@hack.frob.com>
14616 * scripts/check-localplt.awk: New file.
14617 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14619 * scripts/data/localplt-generic.data: Add a comment.
14621 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14622 NODE when __dir_mkfile failed.
14623 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14624 Reported by Ludovic Courtès <ludo@gnu.org>.
14626 2012-04-24 Andreas Jaeger <aj@suse.de>
14628 * Makerules (common-clean): Also remove gen-as-const-headers
14631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14633 * Makerules (native-compile): Do not change working directory for
14634 build. Use $(OUTPUT_OPTION) in command.
14635 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14637 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14640 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14641 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14642 * math/libm-test.inc (floor_test): Add more tests.
14643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14645 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14647 * sysdeps/unix/getdents.c: Remove file.
14648 * sysdeps/unix/sysv/getdents.c: Likewise.
14649 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14651 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14652 sysdeps/unix/mman/syscalls.list.
14654 (mprotect): Likewise.
14656 (munmap): Likewise.
14657 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14658 * sysdeps/unix/mman/syscalls.list: Remove.
14659 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14661 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14662 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14663 * configure: Regenerated.
14664 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14665 $(libgcc_s_suffix).
14666 * config.make.in (libgcc_s_suffix): Remove variable.
14668 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14670 * sysdeps/unix/sysv/gethostname.c: Move to ...
14671 * sysdeps/posix/gethostname.c: ... here.
14673 * sysdeps/unix/execve.S: Remove file.
14675 * sysdeps/unix/_exit.S: Remove file.
14677 2012-04-23 Andreas Jaeger <aj@suse.de>
14680 * manual/Makefile: Remove make dist support, there's no
14681 need for a stand-alone documentation tar ball.
14682 (TEXI2DVI): Define always, it's not in Makeconfig.
14685 (edition): Removed.
14686 (glibc-doc-$(edition).tar): Removed
14690 (ETAGS): Remove, it's in Makeconfig.
14691 (move-if-change): Remove, it's in Makeconfig.
14693 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14696 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14697 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14698 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14699 (strtod_l, strtof_l, strtold_l): Remove __wur.
14700 It is not necessarily an error to ignore strtol's return value.
14701 One can reliably look at the stored endptr to decide whether
14702 the number had valid syntax.
14704 2012-04-21 Andreas Jaeger <aj@suse.de>
14707 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14709 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14712 * sysdeps/unix/sysv/Versions: Remove file.
14714 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14719 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14723 version from __vm86.
14725 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14727 * sysdeps/unix/common/lxstat.c: Remove file.
14728 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14730 * sysdeps/unix/sysv/Makefile: Remove file.
14732 * sysdeps/unix/sysv/direct.h: Remove file.
14734 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14735 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14736 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14737 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14738 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14739 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14740 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14742 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14744 * sysdeps/unix/xmknod.c: Remove file.
14745 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14747 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14749 * sysdeps/unix/sysv/i386/time.S: Remove file.
14751 * sysdeps/unix/fxstat.c: Remove file.
14752 * sysdeps/unix/xstat.c: Likewise.
14753 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14755 * sysdeps/unix/sysv/sigaction.c: Remove file.
14757 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14758 (sysdep_headers): Remove variable.
14759 [termio.h not in sysdep_headers] (generated): Likewise.
14760 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14761 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14762 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14763 * sysdeps/unix/sysv/tcflow.c: Likewise.
14764 * sysdeps/unix/sysv/tcflush.c: Likewise.
14765 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14766 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14767 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14768 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14769 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14771 * sysdeps/unix/siglist.c: Remove file.
14773 * sysdeps/unix/getppid.S: Remove file.
14775 * sysdeps/unix/mkdir.c: Remove file.
14776 * sysdeps/unix/rmdir.c: Likewise.
14778 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14780 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14783 errlist-compat value.
14785 2012-04-18 David S. Miller <davem@davemloft.net>
14787 * sysdeps/generic/memcopy.h (reg_char): Delete.
14788 * debug/strcat_chk.c: Use char, not reg_char.
14789 * debug/strcpy_chk.c: Likewise.
14790 * debug/strncat_chk.c: Likewise.
14791 * debug/strncpy_chk.c: Likewise.
14792 * string/memchr.c: Likewise.
14793 * string/memrchr.c: Likewise.
14794 * string/rawmemchr.c: Likewise.
14795 * string/strcat.c: Likewise.
14796 * string/strchr.c: Likewise.
14797 * string/strchrnul.c: Likewise.
14798 * string/strcmp.c: Likewise.
14799 * string/strcpy.c: Likewise.
14800 * string/strncat.c: Likewise.
14801 * string/strncmp.c: Likewise.
14802 * string/strncpy.c: Likewise.
14804 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14806 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14807 __builtin_memcopy is called when src and dest ranges are known to not
14810 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14813 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14814 fwd_align_merge macro call.
14815 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14816 bwd_align_merge macro call.
14817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14822 bwd_align_merge macros.
14823 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14824 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14825 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14827 2012-04-18 David S. Miller <davem@davemloft.net>
14829 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14831 2012-04-18 Andreas Jaeger <aj@suse.de>
14834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14835 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14836 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14839 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14842 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14843 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14844 Adjust for changed ldbl-128 files.
14846 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14847 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14848 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14850 2012-04-17 David S. Miller <davem@davemloft.net>
14852 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14854 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14856 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14857 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14858 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14859 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14860 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14861 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14863 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14866 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14867 * math/libm-test.inc: Add ilogb errno and exception tests.
14868 * math/w_ilogb.c: New file: ilogb wrapper.
14869 * math/w_ilogbf.c: New file: ilogbf wrapper.
14870 * math/w_ilogbl.c: New file: ilogbl wrapper.
14871 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14872 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14873 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14874 exception being thrown with 0.0 as argument.
14875 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14876 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14877 exception being thrown with 0.0 as argument.
14878 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14879 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14880 exception being thrown with 0.0 as argument.
14881 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14882 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14883 exception being thrown with 0.0 as argument.
14884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14885 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14887 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14889 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14890 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14891 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14892 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14894 2012-04-17 Petr Baudis <pasky@ucw.cz>
14896 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14899 2012-04-16 Marek Polacek <polacek@redhat.com>
14901 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14903 2012-04-16 Marek Polacek <polacek@redhat.com>
14905 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14906 operands of fdivp instruction.
14908 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14910 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14911 * elf/tst-auditmod3b.c: Likewise.
14912 * elf/tst-auditmod4b.c: Likewise.
14913 * elf/tst-auditmod5b.c: Likewise.
14914 * elf/tst-auditmod6b.c: Likewise.
14915 * elf/tst-auditmod6c.c: Likewise.
14916 * elf/tst-auditmod7b.c: Likewise.
14917 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14918 * sysdeps/x86_64/preconfigure.in: Likewise.
14919 * sysdeps/x86_64/preconfigure: Regenerated.
14921 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14926 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14929 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14931 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14934 * locale/iso-639.def: Fix gl language name. Spotted by
14937 2012-04-12 Roland McGrath <roland@hack.frob.com>
14940 * libio/libio.h (__io_write_fn): Update comment.
14942 2012-04-12 Petr Baudis <pasky@ucw.cz>
14945 * stdio.texi (Hook Functions): The user provided writer function
14946 is not allowed to return -1.
14948 2012-04-11 David S. Miller <davem@davemloft.net>
14950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14952 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14954 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14955 Add a leading slash to rtkaio.
14957 2012-04-11 Jim Meyering <meyering@redhat.com>
14960 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14961 It is not necessarily an error to ignore fwrite's return
14962 value. One can reliably use ferror to test for errors after
14965 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14967 * bits/types.h (__snseconds_t): New type.
14968 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14970 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14972 (__SNSECONDS_T_TYPE): Likewise.
14973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14974 (__SNSECONDS_T_TYPE): Likewise.
14975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14976 (__SNSECONDS_T_TYPE): Likewise.
14978 2012-04-10 Andreas Jaeger <aj@suse.de>
14981 * manual/time.texi (Processor Time): Return type of times is
14982 elapsed real time since an arbitrary point in the past.
14983 (CPU Time): Move CLK_TCK from here...
14984 (Processor Time): ...to here. Correct description.
14985 * manual/conf.texi (Constants for Sysconf): Correct description of
14988 2012-04-10 David S. Miller <davem@davemloft.net>
14991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14992 where the is a gap between DT_REL(A) and DT_JMPREL.
14994 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14996 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15000 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15002 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15003 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15004 (dl_main): Handle --inhibit-cache.
15005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15007 * elf/dl-load.c (_dl_map_object): Use it.
15008 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15010 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15013 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15014 (__ieee754_powl): Saturate large exponents rather than testing for
15015 overflow of y*log2(x).
15016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15017 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15021 * math/s_ctan.c: Include <float.h>.
15022 (__ctan): Avoid internal overflow or cancellation in calculating
15024 * math/s_ctanf.c: Likewise.
15025 * math/s_ctanl.c: Likewise.
15026 * math/s_ctanh.c: Likewise.
15027 * math/s_ctanhf.c: Likewise.
15028 * math/s_ctanhl.c: Likewise.
15029 * math/libm-test.inc (ctan_test): Add more tests.
15030 (ctanh_test): Likewise.
15031 * sysdeps/i386/fpu/libm-test-ulps: Update.
15032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034 2012-04-09 Andreas Jaeger <aj@suse.de>
15037 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15038 is an optional BSD extension.
15041 * manual/stdio.texi (Opening Streams): Document additional fopen
15044 2012-04-09 Roland McGrath <roland@hack.frob.com>
15046 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15047 %eax without telling the compiler.
15049 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15052 * manual/install.texi: Use sourceware.org.
15054 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15057 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15058 (__ieee754_pow): Generate overflow and underflow using huge*huge
15059 and tiny*tiny rather than just returning constant infinity or zero
15060 for large exponents.
15061 * math/libm-test.inc (pow_test): Require overflow exceptions for
15062 applicable cases of large exponents.
15065 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15066 (__ieee754_pow): Use iterative multiplication algorithm only for
15067 integer exponents with absolute value below 1024. Check for odd
15068 integer exponents when using algorithm for real exponents.
15069 * math/libm-test.inc (pow_test): Add more tests.
15070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15072 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15075 * math/libm-test.inc (exp_test): Do not allow overflow exception
15078 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15081 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15082 instead of __kernel_standard_f.
15084 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15086 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15087 * sysdeps/x86_64/memset_chk.S: Likewise.
15089 2012-04-08 Andreas Jaeger <aj@suse.de>
15092 * manual/startup.texi (Environment Access): Describe return value
15093 for putenv and setenv.
15096 * manual/filesys.texi (Directory Entries): Add description for
15100 * manual/filesys.texi (Directory Entries): Clarify that it's file
15101 system not operating system in the description of DT_UNKNOWN.
15104 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15106 2012-04-08 Stephen Compall <s11@member.fsf.org>
15109 * manual/llio.texi (Opening and Closing Files): Add cross
15110 reference to explain mode argument.
15112 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15114 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15115 * sysdeps/x86_64/memset_chk.S: Likewise.
15117 2012-04-07 David S. Miller <davem@davemloft.net>
15119 * elf/elf.h (R_SPARC_WDISP10): Define.
15120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15123 R_SPARC_SIZE64 and R_SPARC_H34.
15125 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15128 conditions and remove no longer applicable assertion.
15130 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15132 * bits/byteswap.h: Include <features.h>.
15133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15136 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15138 * bits/byteswap.h (__bswap_16): Removed.
15139 Include <bits/byteswap-16.h> to get __bswap_16.
15140 * sysdeps/i386/bits/byteswap.h: Likewise.
15141 * sysdeps/s390/bits/byteswap.h: Likewise.
15142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15143 * bits/byteswap-16.h: New file.
15144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15145 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15146 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15147 * string/Makefile (headers): Add bits/byteswap-16.h.
15149 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15152 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15154 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15155 * nss/tst-nss-static.c: New.
15157 2012-04-06 Robert Millan <rmh@gnu.org>
15160 * manual/llio.texi (File Position Primitive): lseek
15161 refers to WHENCE when it really means OFFSET.
15163 2012-04-06 Andreas Jaeger <aj@suse.de>
15165 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15166 strncmp declarations.
15168 * abilist/libc.abilist: Add __poll and __ppoll.
15170 2012-04-05 David S. Miller <davem@davemloft.net>
15172 * scripts/check-local-headers.sh: Accept a host triplet in the
15173 path matched by the exclude regexp.
15175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15177 * sysdeps/powerpc/powerpc32/dl-machine.h
15178 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15179 * sysdeps/s390/s390-32/dl-machine.h
15180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15181 * sysdeps/sparc/sparc32/dl-machine.h
15182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15183 * sysdeps/sparc/sparc64/dl-machine.h
15184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15186 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15188 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15189 undefined symbol errors.
15191 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15194 2012-04-05 Michael Matz <matz@suse.de>
15197 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15199 2012-04-05 Andreas Jaeger <aj@suse.de>
15202 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15205 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15208 which ROUND is no valid rounding mode.
15210 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15214 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15216 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15219 an exception using FPU order intentionally.
15221 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15224 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15225 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15226 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15228 2012-04-05 Simon Josefsson <simon@josefsson.org>
15231 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15232 EINVAL when BUFLEN is too smal.
15234 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15237 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15238 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15240 2012-04-03 Andreas Jaeger <aj@suse.de>
15243 * manual/setjmp.texi (System V contexts): Fix sentence.
15246 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15247 New macro for this case.
15248 [!__GNUC__] (__bswap_64): New inline function for this case.
15249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15250 * bits/byteswap.h: Likewise.
15251 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15252 ull, guard with __GLIBC_HAVE_LONG_LONG.
15254 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15255 __GLIBC_HAVE_LONG_LONG.
15257 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15258 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15260 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15264 inptr and inend, rather than using last_ch.
15266 2012-04-02 David S. Miller <davem@davemloft.net>
15268 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15269 * stdio-common/printf-parse.h (read_int): Change return type to
15270 'int', return -1 on INT_MAX overflow.
15271 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15272 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15273 overflows INT_MAX. Check for overflow of in-format-string precision
15274 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15275 SIZE_MAX not INT_MAX for integer overflow test.
15276 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15277 skip the construct in the format string but do not record anything.
15278 * stdio-common/bug22.c: Adjust to test both width/prevision
15279 INT_MAX overflow as well as total length INT_MAX overflow. Check
15280 explicitly for proper errno values.
15282 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15284 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15286 * string/test-strcmp.c [! WIDE]: Likewise.
15287 * time/tst-mktime2.c: Likewise for INT_MAX.
15288 * string/test-string.h: #include <sys/param.h> for MIN.
15290 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15291 * sysdeps/i386/init-first.c (init): Likewise.
15292 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15293 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15294 * sysdeps/sh/init-first.c (init): Likewise.
15296 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15298 * po/ru.po: Update from translation team.
15299 * po/vi.po: Likewise.
15301 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15303 * resolv/nss_dns/dns-host.c: Merge copyright years.
15305 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15308 Optimize memcpy with prefetch if
15309 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15310 src, dst pointers have unequal 16 byte alignments.
15312 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15315 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15316 from a CNAME entry and return the minimum ttl for the query.
15317 (gaih_getanswer_slice): Likewise.
15319 2012-03-30 Jeff Law <law@redhat.com>
15321 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15323 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15324 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15326 * resolv/nss_dns/dns-host.c: Update copyright year.
15328 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15330 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15331 requests to save a system call. Fix check that all bytes are sent.
15333 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15334 comments for sendmmsg.
15336 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15339 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15340 with only 1 character between 0x0041 and 0x01b0.
15341 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15342 * wcsmbs/tst-mbsnrtowcs.c: New file.
15344 2012-03-29 David S. Miller <davem@davemloft.net>
15346 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15347 small copies by hand.
15349 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15352 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15353 _nss_compat_initgroups_dyn): Fall back to malloc/free
15354 for large group memberships.
15356 2012-03-28 David S. Miller <davem@davemloft.net>
15358 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15359 that branches into memcpy.
15360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15363 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15366 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15367 implementation too.
15368 * sysdeps/sparc/mempcpy.S: New file.
15370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15371 the IFUNC routine in the libc case.
15372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15376 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15377 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15378 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15379 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15380 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15381 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15383 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15384 loop to 256 bytes instead of 64 bytes and fix test signedness.
15386 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15387 * sysdeps/sparc/sparc32/Makefile: rather than here...
15388 * sysdeps/sparc/sparc64/Makefile: and here.
15390 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15392 * malloc/mallocbug.c: Avoid warnings about unused variables.
15394 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15397 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15398 in the right place. Discard and retry query if response is
15399 larger than input buffer size.
15401 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15407 x for large integer exponent.
15408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15410 sign of result as needed afterwards.
15411 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15413 result for underflowing pow the same as for overflow.
15414 (__kernel_standard_l): Handle powl overflow and underflow here
15415 rather than calling __kernel_standard.
15416 * math/libm-test.inc (pow_test): Add more tests.
15431 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15432 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15433 (__kernel_standard_l): New function.
15434 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15436 * math/w_acosl.c (__acosl): Likewise.
15437 * math/w_asinl.c (__asinl): Likewise.
15438 * math/w_atan2l.c (__atan2l): Likewise.
15439 * math/w_atanhl.c (__atanhl): Likewise.
15440 * math/w_coshl.c (__coshl): Likewise.
15441 * math/w_exp10l.c (__exp10l): Likewise.
15442 * math/w_exp2l.c (__exp2l): Likewise.
15443 * math/w_fmodl.c (__fmodl): Likewise.
15444 * math/w_hypotl.c (__hypotl): Likewise.
15445 * math/w_j0l.c (__j0l, __y0l): Likewise.
15446 * math/w_j1l.c (__j1l, __y1l): Likewise.
15447 * math/w_jnl.c (__jnl, __ynl): Likewise.
15448 * math/w_lgammal.c (__lgammal): Likewise.
15449 * math/w_log10l.c (__log10l): Likewise.
15450 * math/w_log2l.c (__log2l): Likewise.
15451 * math/w_logl.c (__logl): Likewise.
15452 * math/w_powl.c (__powl): Likewise.
15453 * math/w_remainderl.c (__remainderl): Likewise.
15454 * math/w_scalbl.c (sysv_scalbl): Likewise.
15455 * math/w_sinhl.c (__sinhl): Likewise.
15456 * math/w_sqrtl.c (__sqrtl): Likewise.
15457 * math/w_tgammal.c (__tgammal): Likewise.
15458 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15459 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15460 * math/libm-test.inc (acos_test): Add more tests.
15461 (acosh_test): Likewise.
15462 (asin_test): Likewise.
15463 (atanh_test): Likewise.
15464 (exp_test): Likewise.
15465 (exp10_test): Likewise.
15466 (exp2_test): Likewise.
15467 (expm1_test): Likewise.
15468 (lgamma_test): Likewise.
15469 (log_test): Likewise.
15470 (log10_test): Likewise.
15471 (log1p_test): Likewise.
15472 (log2_test): Likewise.
15473 (pow_test): Do not allow some spurious overflow exceptions.
15474 (sqrt_test): Add more tests.
15475 (tgamma_test): Likewise.
15476 (y0_test): Likewise.
15477 (y1_test): Likewise.
15478 (yn_test): Likewise.
15480 2012-03-27 Anton Blanchard <anton@samba.org>
15482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15488 2012-03-27 David S. Miller <davem@davemloft.net>
15490 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15492 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15493 have-as-vis3 check.
15495 2012-03-27 Andreas Jaeger <aj@suse.de>
15497 * sysdeps/x86_64/elf/configure.in: Moved to ...
15498 * sysdeps/x86_64/configure.in: ... here.
15499 * sysdeps/x86_64/elf/start.S: Moved to ...
15500 * sysdeps/x86_64/start.S: ... here.
15501 * sysdeps/x86_64/elf/configure: Delete.
15503 * sysdeps/x86_64/configure.in: Merge contents from
15504 sysdeps/i386/configure.in (without i686 check).
15506 * sysdeps/i386/elf/Versions: Merge into ...
15507 * sysdeps/i386/Versions: ... this.
15508 * sysdeps/i386/elf/Versions: Delete file.
15509 * sysdeps/i386/elf/start.S: Moved to ...
15510 * sysdeps/i386/start.S: ...here.
15511 * sysdeps/i386/elf/configure.in: Merge into...
15512 * sysdeps/i386/configure.in: ...here.
15513 * sysdeps/i386/elf/configure.in: Delete file.
15514 * sysdeps/i386/elf/configure: Delete file.
15516 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15517 * debug/backtracesyms.c: ... here.
15518 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15519 * debug/backtracesymsfd.c: ... here.
15520 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15521 * sysdeps/generic/ifunc-sel.h: ... here.
15523 * sysdeps/unix/i386/start.c: Delete file.
15524 * sysdeps/unix/sparc/start.c: Delete file.
15525 * sysdeps/unix/start.c: Delete file.
15527 * sysdeps/sh/elf/configure.in: Moved to ...
15528 * sysdeps/sh/configure.in: ... here.
15529 * sysdeps/sh/elf/start.S: Moved to ...
15530 * sysdeps/sh/start.S: ... here.
15531 * sysdeps/sh/elf/configure: Delete file.
15533 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15534 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15535 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15536 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15537 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15538 * sysdeps/powerpc/powerpc64/start.S: here.
15539 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15540 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15541 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15542 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15543 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15545 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15546 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15547 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15548 * sysdeps/powerpc/powerpc32/start.S: ... here.
15549 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15550 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15551 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15553 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15554 * sysdeps/powerpc/ifunc-sel.h: ... here.
15555 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15556 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15558 * sysdeps/sparc/elf/configure.in: Moved to ...
15559 * sysdeps/sparc/configure.in: ... here.
15560 * sysdeps/sparc/elf/configure: Delete file.
15561 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15562 * sysdeps/sparc/sparc32/start.S: ... here.
15563 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15564 * sysdeps/sparc/sparc64/start.S: ... here.
15565 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15566 * sysdeps/sparc/sparc32/Makefile: ... this.
15567 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15568 * sysdeps/sparc/sparc64/Makefile: ... this.
15570 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15571 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15572 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15573 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15574 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15575 * sysdeps/s390/s390-32/setjmp.S: ... here.
15576 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15577 * sysdeps/s390/s390-32/configure.in: ... here.
15578 * sysdeps/s390/s390-32/elf/configure: Delete file.
15579 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15580 * sysdeps/s390/s390-32/start.S: ... here.
15582 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15583 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15584 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15585 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15586 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15587 * sysdeps/s390/s390-64/setjmp.S: ... here.
15588 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15589 * sysdeps/s390/s390-64/configure.in: ... here
15590 * sysdeps/s390/s390-64/elf/configure: Delete file.
15591 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15592 * sysdeps/s390/s390-64/start.S: ... here.
15593 * sysdeps/s390/s390-64/elf/configure: Delete.
15595 * configure.in: Remove support for elf directories in sysdeps.
15597 * configure: Regenerated.
15598 * sysdeps/i386/configure: Regenerated.
15599 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15600 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15601 * sysdeps/s390/s390-32/configure: Regenerated.
15602 * sysdeps/s390/s390-64/configure: Regenerated.
15603 * sysdeps/sh/configure: Regenerated.
15604 * sysdeps/sparc/configure: Regenerated.
15605 * sysdeps/x86_64/configure: Regenerated.
15607 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15612 denormal result into account.
15614 2012-03-25 Roland McGrath <roland@hack.frob.com>
15616 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15617 Reported by Allan McRae <allan@archlinux.org>.
15619 2012-03-23 Jeff Law <law@redhat.com>
15621 * nss/getnssent.c (__nss_getent): Fix typo.
15623 2012-03-23 David S. Miller <davem@davemloft.net>
15625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15627 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15629 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15630 to pad to uint64_t for each field.
15631 (dl_tls_index): Replace unsigned long with uint64_t.
15633 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15634 Paul Pluzhnikov <ppluzhnikov@google.com>
15637 * grp/Makefile (otherlibs): Don't set it.
15638 * inet/Makefile (otherlibs): Likewise.
15639 * login/Makefile (otherlibs): Likewise.
15640 * nscd/Makefile (otherlibs): Likewise.
15641 * posix/Makefile (otherlibs): Likewise.
15642 * pwd/Makefile (otherlibs): Likewise.
15643 * rt/Makefile (otherlibs): Likewise.
15644 * sunrpc/Makefile (otherlibs): Likewise.
15645 * nss/Makefile (otherlibs): Likewise.
15646 Add libnss_files to routines and static-only-routines.
15647 ($(objpfx)getent): Remove rule.
15648 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15649 static-only-routines.
15651 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15654 * math/s_cexp.c: Include <float.h>.
15655 (__cexp): Handle exp result overflowing not necessarily
15656 overflowing both real and imaginary parts of result.
15657 * math/s_cexpf.c: Likewise.
15658 * math/s_cexpl.c: Likewise.
15659 * math/libm-test.inc (cexp_test): Add more tests.
15660 * sysdeps/i386/fpu/libm-test-ulps: Update.
15661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15663 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15665 * include/link.h (ELFW): New macro.
15666 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15667 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15669 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15671 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15674 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15676 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15678 (struct La_x32_retval): Likewise.
15680 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15682 * sysdeps/x86_64/preconfigure.in: New file.
15683 * sysdeps/x86_64/preconfigure: New generated file.
15685 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15688 * math/e_exp2l.c: Include <float.h>.
15689 (__ieee754_exp2l): Handle overflow and underflow cases
15690 separately. Only pass fractional part of argument to
15692 * math/libm-test.inc (exp2_test): Add more tests.
15694 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15695 negating x to take absolute value.
15696 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15701 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15702 computing low part if x was negated.
15703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15705 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15707 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15708 la_x32_gnu_pltexit.
15709 (pltexit): Cast int_retval to ptrdiff_t.
15710 * elf/tst-auditmod3b.c: Likewise.
15711 * elf/tst-auditmod4b.c: Likewise.
15712 * elf/tst-auditmod5b.c: Likewise.
15713 * elf/tst-auditmod6b.c: Likewise.
15714 * elf/tst-auditmod6c.c: Likewise.
15715 * elf/tst-auditmod7b.c: Likewise.
15717 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15718 and x32_gnu_pltexit.
15720 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15721 __ELF_NATIVE_CLASS.
15722 (La_x32_regs): New macro.
15723 (La_x32_retval): Likewise.
15724 (la_x32_gnu_pltenter): New function prototype.
15725 (la_x32_gnu_pltexit): Likewise.
15727 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15734 * configure.in (libc_cv_cc_nofma): Check for option to disable
15735 generation of FMA instructions.
15736 * configure: Regenerate.
15737 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15738 * sysdeps/ieee754/dbl-64/Makefile: New file.
15739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15740 Remove brandred-fma4.
15741 (CFLAGS-brandred-fma4.c): Remove.
15742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15743 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15748 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15750 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15751 LLONG_MAX != LONG_MAX.
15752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15753 (_fitoa_word): Likewise.
15754 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15755 LLONG_MAX != LONG_MAX.
15756 * stdio-common/_itowa.h: Include <_itoa.h>.
15757 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15758 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15759 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15760 only if not defined.
15761 (_ITOA_WORD_TYPE): Likewise.
15762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15763 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15765 2012-03-21 David S. Miller <davem@davemloft.net>
15767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15769 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15771 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15772 of x86_64 when setting libc_cv_slibdir, libdir and
15774 * sysdeps/unix/sysv/linux/configure: Regenerated.
15776 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15778 * manual/lang.texi (Old Varargs): Remove section.
15779 (How Variadic): Update menu.
15780 (va_start): Do not mention varargs.h.
15782 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15783 Joseph Myers <joseph@codesourcery.com>
15785 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15787 * configure: Regenerated.
15789 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15791 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15792 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15795 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15798 * Makefile (files-for-dist): Remove NOTES.
15799 (NOTES): Remove rule.
15800 * README: Don't refer to NOTES.
15801 * manual/creature.texi: Don't include macros.texi.
15802 * manual/intro.texi (creature.texi): Remove comment referring to
15805 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15806 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15807 * configure: Regenerated.
15808 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15809 LIBC_TRY_CC_OPTION.
15810 (libc_cv_as_i686): Likewise.
15811 (libc_cv_cc_avx): Likewise.
15812 (libc_cv_cc_sse2avx): Likewise.
15813 (libc_cv_cc_fma4): Likewise.
15814 (libc_cv_cc_novzeroupper): Likewise.
15815 * sysdeps/i386/configure: Regenerated.
15818 * sysdeps/i386/fpu/s_cexp.S: Remove.
15819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15820 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15821 * math/libm-test.inc (cexp_test): Add more tests.
15822 * sysdeps/i386/fpu/libm-test-ulps: Update.
15823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825 2012-03-21 Allan McRae <allan@archlinux.org>
15827 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15829 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15832 * math/w_exp2.c: Do not include <float.h>.
15833 (o_threshold, u_threshold): Remove.
15834 (__exp2): Calculate result before checking finiteness and calling
15836 * math/w_exp2f.c: Likewise.
15837 * math/w_exp2l.c: Likewise.
15838 * math/libm-test.inc (exp2_test): Require overflow exception for
15842 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15843 range of signed 64-bit integers before using fistpll. Remove
15844 checks for whether integers fit in mantissa bits.
15845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15846 the range of signed 32-bit integers before using fistpl. Remove
15847 checks for whether integers fit in mantissa bits.
15848 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15849 (__ieee754_powl): Test for y outside the range of signed 64-bit
15850 integers before using fistpll. Reduce 64-bit values to 63-bit
15852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15853 divide-by-zero is raised for zero to large negative powers.
15854 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15855 (__ieee754_powl): Test for y outside the range of signed 64-bit
15856 integers before using fistpll. Reduce 64-bit values to 63-bit
15858 * math/libm-test.inc (pow_test): Add more tests.
15860 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15862 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15863 <stdio-common/_itoa.h>.
15864 * debug/segfault.c: Likewise.
15865 * elf/dl-cache.c: Likewise.
15866 * elf/dl-minimal.c: Likewise.
15867 * elf/dl-misc.c: Likewise.
15868 * elf/dl-sysdep.c: Likewise.
15869 * elf/dl-version.c: Likewise.
15870 * elf/rtld.c: Likewise.
15871 * hurd/hurdsock.c: Likewise.
15872 * hurd/lookup-retry.c: Likewise.
15873 * malloc/malloc.c: Likewise.
15874 * malloc/mtrace.c: Likewise.
15875 * nscd/nscd_getgr_r.c: Likewise.
15876 * nscd/nscd_getpw_r.c: Likewise.
15877 * nscd/nscd_getserv_r.c: Likewise.
15878 * posix/getopt_init.c: Likewise.
15879 * posix/wordexp.c: Likewise.
15880 * stdio-common/_itoa.c: Likewise.
15881 * stdio-common/printf_fphex.c: Likewise.
15882 * stdio-common/vfprintf.c: Likewise.
15883 * string/_strerror.c: Likewise.
15884 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15885 * sysdeps/i386/i686/hp-timing.h: Likewise.
15886 * sysdeps/mach/_strerror.c: Likewise.
15887 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15888 * sysdeps/mach/hurd/sethostid.c: Likewise.
15889 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15890 * sysdeps/mach/xpg-strerror.c: Likewise.
15891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15893 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15894 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15895 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15896 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15898 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15899 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15900 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15901 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15902 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15903 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15904 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15905 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15906 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15908 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15913 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15915 * stdio-common/_itoa.h: Moved to ...
15916 * sysdeps/generic/_itoa.h: Here.
15918 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15920 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15921 instead of "_itoa.h" and "_itowa.h".
15922 * stdio-common/vfprintf.: Likewise.
15924 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15928 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15929 (__signbit): Likwise.
15930 (llrintf): Likwise.
15933 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15935 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15938 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15940 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15941 OVERFLOW_EXCEPTION_OK.
15942 * math/libm-test.inc ("Philosophy"): Update comment about
15944 (OVERFLOW_EXCEPTION): Define.
15945 (OVERFLOW_EXCEPTION_OK): Likewise.
15946 (INVALID_EXCEPTION_OK): Renumber.
15947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15948 (IGNORE_ZERO_INF_SIGN): Likewise.
15949 (test_exceptions): Handle FE_OVERFLOW.
15950 (exp10_test): Expect overflow exceptions.
15951 (exp2_test): Likewise.
15952 (expm1_test): Likewise.
15953 (nextafter_test): Likewise.
15954 (pow_test): Likewise.
15955 (scalbn_test): Likewise.
15956 (scalbln_test): Likewise.
15958 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15960 * sysdeps/x86_64/bits/atomic.h
15961 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15963 (atomic_exchange_acq): Likewise.
15964 (__arch_exchange_and_add_body): Likewise.
15965 (__arch_add_body): Likewise.
15966 (atomic_add_negative): Likewise.
15967 (atomic_add_zero): Likewise.
15969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15971 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15972 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15974 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15976 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15977 Check __x86_64__ instead of __WORDSIZE.
15979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15981 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15983 2012-03-19 David S. Miller <davem@davemloft.net>
15985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15987 * sysdeps/sparc/fpu/fenv_private.h: New file.
15988 * sysdeps/sparc/fpu/math_private.h: Use it.
15989 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15991 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15992 (libc_feholdexcept_setroundl): Remove.
15993 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15995 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15996 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16000 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16001 int64_t instead of long int.
16002 (INSERT_WORDS64): Likwise.
16004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16006 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16007 _Unwind_GetCFA return to _Unwind_Ptr first.
16009 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16012 * math/s_clog.c: Include <float.h>.
16013 (__clog): Scale large or subnormal inputs.
16014 * math/s_clogf.c: Likewise.
16015 * math/s_clogl.c: Likewise.
16016 * math/s_clog10.c: Include <float.h>.
16017 (M_LOG10_2): Define.
16018 (__clog10): Scale large or subnormal inputs.
16019 * math/s_clog10f.c: Likewise.
16020 * math/s_clog10l.c: Likewise.
16021 * math/libm-test.inc (clog_test): Add more tests.
16022 (clog10_test): Likewise.
16023 * sysdeps/i386/fpu/libm-test-ulps: Update.
16024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16029 * math/libm-test.inc (atan2_test): Add another test.
16031 * Makerules (common-objdir-compile): Remove.
16032 * sysdeps/unix/Makefile (config-generated): Do not add
16033 $(unix-generated) to variable.
16034 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16035 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16037 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16039 [generic bits/local_lim.h] (before-compile): Do not append to
16041 [generic bits/local_lim.h] (common-generated): Likewise.
16042 [generic sys/param.h] (before-compile): Do not append to variable.
16043 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16044 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16048 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16049 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16050 [generic sys/param.h] ($(addprefix
16051 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16052 [generic sys/param.h] (common-generated): Do not append to
16054 [generic sys/param.h] (sysdep_headers): Likewise.
16055 [generic bits/errno.h] (before-compile): Do not append to
16057 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16059 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16060 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16061 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16062 [generic bits/errno.h] (common-generated): Do not append to
16064 [generic bits/ioctls.h] (before-compile): Do not append to
16066 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16068 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16069 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16073 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16074 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16075 [generic bits/ioctls.h] (common-generated): Do not append to
16077 [generic sys/syscall.h] (syscall.h): Remove variable.
16078 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16080 [generic sys/syscall.h] (before-compile): Do not append to
16082 [generic sys/syscall.h] (common-generated): Likewise.
16083 * sysdeps/unix/errnos-tmpl.c: Remove file.
16084 * sysdeps/unix/errnos.awk: Likewise.
16085 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16086 * sysdeps/unix/ioctls.awk: Likewise.
16087 * sysdeps/unix/mk-local_lim.c: Likewise.
16088 * sysdeps/unix/snarf-ioctls: Likewise.
16090 2012-03-19 Richard Henderson <rth@twiddle.net>
16092 * sysdeps/i386/fpu/fenv_private.h: New file.
16093 * sysdeps/i386/fpu/math_private.h: Use it.
16094 (math_opt_barrier, math_force_eval): Remove.
16095 (libc_feholdexcept_setround_53bit): Remove.
16096 (libc_feupdateenv_53bit): Remove.
16097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16098 (math_opt_barrier, math_force_eval): Remove.
16099 (libc_feholdexcept): Remove.
16100 (libc_feholdexcept_setround): Remove.
16101 (libc_fetestexcept, libc_fesetenv): Remove.
16102 (libc_feupdateenv_test): Remove.
16103 (libc_feupdateenv, libc_feholdsetround): Remove.
16104 (libc_feresetround): Remove.
16106 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16107 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16109 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16110 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16111 (libc_feupdateenv_testl): New.
16112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16113 (libc_feupdateenv_testf): New.
16114 (libc_feupdateenv): Use libc_feupdateenv_test.
16115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16118 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16119 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16120 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16121 (libc_feresetround_noex): New.
16122 (libc_feresetround_noexf): New.
16123 (libc_feresetround_noexl): New.
16124 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16125 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16126 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16132 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16134 SET_RESTORE_ROUND_NOEX.
16135 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16136 SET_RESTORE_ROUND_NOEXF.
16137 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16138 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16139 (libc_feholdsetroundf): New.
16140 (libc_feresetround, libc_feresetroundf): New.
16142 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16143 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16144 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16146 * sysdeps/generic/math_private.h: Include <fenv.h>.
16147 (default_libc_feholdexcept): New.
16148 (default_libc_feholdexcept_setround): New.
16149 (default_libc_fesetenv, default_libc_feupdateenv): New.
16150 (libc_feholdexcept): Only define if undefined.
16151 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16153 (libc_feholdexcept_setroundl): Likewise.
16154 (libc_feholdexcept_setround_53bit): Likewise.
16155 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16158 (libc_feupdateenv_53bit): Likewise.
16159 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16160 (libc_feholdexcept): Convert from macro to inline function.
16161 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16162 (libc_fesetenv, libc_feupdateenv): Likewise.
16164 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16165 not previously defined.
16166 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16167 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16168 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16169 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16170 * sysdeps/ieee754/flt-32/math_private.h: New file.
16171 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16172 math_private.h below SET_FLOAT_WORD.
16173 (__isnan, __isinf_ns, __finite): Remove.
16174 (__isnanf, __isinf_nsf, __finitef): Remove.
16176 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16180 2012-03-17 David S. Miller <davem@davemloft.net>
16183 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16186 2012-03-16 David S. Miller <davem@davemloft.net>
16188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16194 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16195 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16196 sysdep_routines when subdir is sysvipc.
16197 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16198 __getshmlba helper.
16200 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16202 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16204 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16210 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16211 (__lround): Renamed to ...
16212 (__llround): This. Replace long int with long long int.
16213 Define lround functions as aliases of llround functions.
16214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16216 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16218 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16219 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16220 adresses to uintptr_t. Replace "long int" and "unsigned long
16221 int" with "greg_t" on va_arg.
16223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16225 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16226 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16228 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16229 Move e_machine check before EI_CLASS check. Handle x32
16230 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16231 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16232 SKIP_EM_IA_64 and include
16233 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16235 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16236 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16237 (add_system_dir): New macro.
16239 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16240 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16242 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16253 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16255 * math/w_j0f.c (j0f): Likewise.
16257 * math/w_j0l.c (__j0l): Likewise.
16259 * math/w_j1.c (j1): Likewise.
16261 * math/w_j1f.c (j1f): Likewise.
16263 * math/w_j1l.c (__j1l): Likewise.
16265 * math/w_jn.c (jn): Likewise.
16267 * math/w_jnf.c (jnf): Likewise.
16269 * math/w_jnl.c (__jnl): Likewise.
16271 * math/libm-test.inc (j0_test): Add more tests.
16272 (j1_test): Likewise.
16273 (jn_test): Likewise. Add trailing semicolon to existing test.
16274 (y0_test): Likewise.
16275 (y1_test): Likewise.
16276 * sysdeps/i386/fpu/libm-test-ulps: Update.
16277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16281 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16282 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16283 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16285 (__tanl): Set errno for infinite argument.
16286 * sysdeps/i386/fpu/mptan.c: Remove.
16287 * sysdeps/i386/fpu/s_tan.S: Likewise.
16288 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16289 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16290 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16291 * math/libm-test.inc (tan_test): Add more tests and enable more
16292 tests for double and long double.
16293 * sysdeps/i386/fpu/libm-test-ulps: Update.
16294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16296 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16298 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16299 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16301 2012-03-16 Roland McGrath <roland@hack.frob.com>
16303 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16304 * configure.in: Use it for both main tree and add-ons.
16305 * configure: Regenerated.
16307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16309 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16311 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16317 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16318 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16323 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16325 != 0 for prec == 2.
16326 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16327 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16328 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16329 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16330 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16331 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16332 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16333 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16334 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16335 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16336 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16337 * math/libm-test.inc (cos_test): Add more tests and enable more
16338 tests for long double.
16339 (sin_test): Likewise.
16340 (sincos_test): Likewise.
16341 * sysdeps/i386/fpu/libm-test-ulps: Update.
16342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16344 2012-03-16 David S. Miller <davem@davemloft.net>
16346 * sysdeps/sparc/fpu/math_private.h: New file.
16348 2012-03-15 David S. Miller <davem@davemloft.net>
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16364 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16365 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16367 * sysdeps/sparc/sparc-ifunc.h: New file.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16413 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16415 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16419 2012-03-15 Andreas Jaeger <aj@suse.de>
16422 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16423 ieee754/flt-32 implementation for sin, cos and sincos.
16424 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16425 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16426 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16427 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16428 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16429 ieee754/flt-32 implementation for tan.
16431 * math/libm-test.inc (cos_test): Enable some large input tests for
16433 (sin_test): Likewise.
16434 (sincos_test): Likewise.
16435 (tan_test): Add tests for large input.
16437 * sysdeps/i386/fpu/libm-test-ulps: Update.
16439 2012-03-15 Andreas Jaeger <aj@suse.de>
16442 * math/libm-test.inc (cos_test): Add more test cases.
16443 (sin_test): Likewise.
16444 (sincos_test): Likewise.
16446 2012-03-15 Andreas Jaeger <aj@suse.de>
16449 * math/libm-test.inc (cos_test): Add a test case for large input
16451 (sin_test): Likewise.
16452 (sincos_test): Likewise.
16454 2012-03-15 Andreas Jaeger <aj@suse.de>,
16455 Joseph Myers <joseph@codesourcery.com>
16458 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16459 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16460 * sysdeps/i386/fpu/branred.c: Likewise.
16461 * sysdeps/i386/fpu/dosincos.c: Likewise.
16462 * sysdeps/i386/fpu/mpa.c: Likewise.
16463 * sysdeps/i386/fpu/s_cos.S: Likewise.
16464 * sysdeps/i386/fpu/s_sin.S: Likewise.
16465 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16466 * sysdeps/i386/fpu/sincos32.c: Likewise.
16468 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16470 (libc_feupdateenv_53bit): Define.
16471 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16473 (libc_feupdateenv_53bit): Define.
16475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16476 53 bit (without extend i386 double precision).
16478 * math/libm-test.inc (sincos_test): Add tests for large input.
16482 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16484 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16488 2012-03-15 David S. Miller <davem@davemloft.net>
16490 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16491 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16492 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16493 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16518 fmin/fmax sysdep routines.
16519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16521 2012-03-14 David S. Miller <davem@davemloft.net>
16523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16595 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16600 * sysdeps/sparc/configure.in: New file.
16601 * sysdeps/sparc/configure: Generate.
16602 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16603 * configure: Regenerate.
16604 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16605 * config.make.in (have-as-vis3): New.
16606 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16607 available use -Av9d instead of -Av9a.
16608 * sysdeps/sparc/sparc64/Makefile: Likewise.
16609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16624 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16625 fzeros/fnegs to load 0x80000000 into a float register instead of
16627 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16629 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16633 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16634 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16635 ($(inst_includedir)/bits/syscall.h): Remove rule.
16636 ($(objpfx)bits/syscall.d): Include instead of
16637 $(objpfx)syscall-list.d.
16638 (generated): Change syscall-list.h and syscall-list.d to
16639 bits/syscall.h and bits/syscall.d.
16641 2012-03-14 Roland McGrath <roland@hack.frob.com>
16644 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16646 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16649 * math/s_csqrt.c: Include <float.h>.
16650 (__csqrt): Scale large or subnormal inputs.
16651 * math/s_csqrtf.c: Likewise.
16652 * math/s_csqrtl.c: Likewise.
16653 * math/libm-test.inc (csqrt_test): Add more tests.
16654 * sysdeps/i386/fpu/libm-test-ulps: Update.
16655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16658 * math/libm-test.inc (hypot_test): Add more tests.
16660 2012-03-13 David S. Miller <davem@davemloft.net>
16663 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16664 double-precision for the calculation instead of scaling.
16666 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16669 manipulate bits before adding and subtracting TWO52[sx].
16670 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16675 2012-03-13 David S. Miller <davem@davemloft.net>
16677 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16678 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16680 rtld-global-offsets.h
16681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16686 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16688 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16689 'err' in the ifdef scope in which it is actually used.
16691 * nss/nss_db/db-init.c: Include string.h
16693 2012-03-12 David S. Miller <davem@davemloft.net>
16695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16696 masking out of the most significant byte of random value used.
16697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16698 Fix coding style in previous change.
16700 * sysdeps/unix/sysv/linux/kernel-features.h
16701 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16702 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16704 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16707 2012-03-11 David S. Miller <davem@davemloft.net>
16709 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16710 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16712 for 'resultvar' otherwise things get truncated on 64-bit.
16714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16715 Fix masking out of the most significant byte of random value used.
16717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16719 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16723 2012-03-09 David S. Miller <davem@davemloft.net>
16725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16726 variables with appropriate CPP guards.
16727 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16728 frame pointer, not the stack pointer. Correct layout comments. Fix test
16729 on resulting framesize and the management of the outregs buffer for pltexit.
16730 Preserve floating point return values across _dl_call_pltexit call.
16731 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16732 framesize and the management of the outregs buffer for pltexit.
16733 Preserve floating point return values across _dl_call_pltexit
16735 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16736 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16737 (print_exit): Fix format string for return register value.
16739 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16741 * sunrpc/Makefile (others): Add rpcgen.
16742 ($(objpfx)rpcgen): Remove special build rule and dependency on
16744 * sunrpc/rpcgen.c: New file.
16746 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16751 * sysdeps/i386/crti.S: Likewise.
16752 * sysdeps/i386/crtn.S: Likewise.
16753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16757 * sysdeps/sh/crti.S: Likewise.
16758 * sysdeps/sh/crtn.S: Likewise.
16759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16764 * locale/programs/locfile-kw.gperf: Likewise.
16765 * locale/programs/charmap-kw.h: Regenerated.
16766 * locale/programs/locfile-kw.h: Likewise.
16769 * intl/plural.y: Replace FSF snail mail address with URL.
16770 * intl/plural.c: Regenerated.
16772 2012-03-09 Richard Henderson <rth@twiddle.net>
16774 * include/math_private.h: Remove file.
16775 * math/math_private.h: Move file ...
16776 * sysdeps/generic/math_private.h: ... here.
16778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16783 and <math_private.h>.
16784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16933 * sysdeps/ieee754/k_standard.c: Likewise.
16934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17094 * sysdeps/ieee754/s_lib_version.c: Likewise.
17095 * sysdeps/ieee754/s_matherr.c: Likewise.
17096 * sysdeps/ieee754/s_signgam.c: Likewise.
17097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17119 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17122 * sunrpc/rpc_main.c: Likewise.
17123 * sunrpc/rpc_svcout.c: Likewise.
17125 2012-03-09 David S. Miller <davem@davemloft.net>
17127 * include/math_private.h: New file.
17129 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17134 from <bits/socket_type.h>.
17135 (enum __socket_type): Don't define here.
17136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17138 bits/socket_type.h.
17141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17142 checking __USE_GNU.
17144 * Makerules ($(inst_includedir)/%.h): New rule.
17145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17146 (install-others): Remove variable setting.
17147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17149 2012-03-08 Richard Henderson <rth@twiddle.net>
17151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17152 from macro to inline function; merge with the
17153 !__LIBC_INTERNAL_MATH_INLINES version.
17154 (__ieee754_sqrtf): Likewise.
17156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17157 to inline function.
17158 (__rintf, __floor, __floorf): Likewise.
17160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17161 macro to inline function.
17162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17165 not <math/math_private.h>.
17167 2012-03-08 David S. Miller <davem@davemloft.net>
17169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17173 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17180 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17183 be defined individually, they must be defined as a block. Define
17184 S for printing a string instead of hidint the different by using a
17185 macro for adding the 'l'.
17186 * stdio-common/tst-fphex-wide.c: Adjust.
17188 2012-03-07 Marek Polacek <polacek@redhat.com>
17190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17192 2012-03-08 Marek Polacek <polacek@redhat.com>
17195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17196 * stdio-common/tst-fphex.c: Define a few macros to make the
17197 test reusable. Use them.
17198 * stdio-common/tst-fphex-wide.c: New file.
17200 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17203 * manual/macros.texi (gnusystems): New macro.
17204 (nongnusystems): Likewise.
17205 (gnulinuxhurdsystems): Likewise.
17206 (gnuhurdsystems): Likewise..
17207 (gnulinuxsystems): Likewise.
17208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17209 variants of the GNU system, not "GNU system".
17210 * manual/conf.texi: Likewise.
17211 * manual/errno.texi: Likewise. Update example of errno macro
17213 * manual/filesys.texi: Likewise.
17214 (getumask): Document as specific to GNU/Hurd.
17215 * manual/install.texi: Likewise. Reword some references to
17217 * manual/intro.texi: Likewise.
17218 * manual/io.texi: Likewise.
17219 (File Name Portability): Detail which constraints are inapplicable
17220 to all GNU systems and which are only inapplicable to GNU/Hurd.
17221 * manual/job.texi: Likewise.
17222 * manual/llio.texi: Likewise.
17223 (O_NOCTTY): Document as present on GNU/Linux.
17224 * manual/maint.texi: Likewise.
17225 * manual/memory.texi: Likewise.
17226 * manual/pattern.texi: Likewise.
17227 * manual/pipe.texi: Likewise.
17228 * manual/process.texi: Likewise.
17229 * manual/resource.texi: Likewise.
17230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17232 * manual/setjmp.texi: Likewise.
17233 * manual/signal.texi: Likewise.
17234 * manual/startup.texi: Likewise.
17235 * manual/stdio.texi: Likewise.
17236 * manual/terminal.texi: Likewise.
17237 (ONLCR): Document as POSIX.
17238 (OXTABS): Document availability on GNU/Linux as XTABS.
17239 (ONOEOT): Document availability separately from other bits.
17240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17241 * manual/time.texi: Likewise.
17242 * manual/users.texi: Likewise.
17243 * INSTALL: Regenerated.
17244 * sysdeps/gnu/errlist.c: Regenerated.
17246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17250 * configure: Regenerated.
17252 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17255 default includes instead of AC_HEADER_CHECK.
17256 * sysdeps/i386/configure: Regenerated.
17259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17260 * math/s_cacoshf.c (__cacoshf): Likewise.
17261 * math/s_cacoshl.c (__cacoshl): Likewise.
17262 * math/s_casinh.c (__casinh): Set signs of result from argument.
17263 * math/s_casinhf.c (__casinhf): Likewise.
17264 * math/s_casinhl.c (__casinhl): Likewise.
17265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17266 (casinh_test): Add more tests.
17267 * sysdeps/i386/fpu/libm-test-ulps: Update.
17268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17270 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17272 * po/zh_TW.po: Update from translation team.
17274 * login/Makefile (distribute): Remove variable.
17275 * catgets/Makefile: Likewise.
17276 * mach/Makefile: Likewise.
17277 * malloc/Makefile: Likewise.
17278 * misc/Makefile: Likewise.
17279 * iconv/Makefile: Likewise.
17280 * nscd/Makefile: Likewise.
17281 * hurd/Makefile: Likewise.
17282 * manual/Makefile: Likewise.
17283 * locale/Makefile: Likewise.
17284 * intl/Makefile: Likewise.
17285 * conform/Makefile: Likewise.
17286 * nss/Makefile: Likewise.
17287 * time/Makefile: Likewise.
17288 * soft-fp/Makefile: Likewise.
17289 * dirent/Makefile: Likewise.
17290 * gmon/Makefile: Likewise.
17291 * po/Makefile: Likewise.
17292 * rt/Makefile: Likewise.
17293 * socket/Makefile: Likewise.
17294 * math/Makefile: Likewise.
17295 * signal/Makefile: Likewise.
17296 * debug/Makefile: Likewise.
17297 * elf/Makefile: Likewise.
17298 * timezone/Makefile: Likewise.
17299 * stdlib/Makefile: Likewise.
17300 * iconvdata/Makefile: Likewise.
17301 * sunrpc/Makefile: Likewise.
17302 * io/Makefile: Likewise.
17303 * argp/Makefile: Likewise.
17304 * inet/Makefile: Likewise.
17305 * hesiod/Makefile: Likewise.
17306 * grp/Makefile: Likewise.
17307 * csu/Makefile: Likewise.
17308 * wctype/Makefile: Likewise.
17309 * crypt/Makefile: Likewise.
17310 * libio/Makefile: Likewise.
17311 * string/Makefile: Likewise.
17312 * nis/Makefile: Likewise.
17313 * resolv/Makefile: Likewise.
17314 * stdio-common/Makefile: Likewise.
17315 * wcsmbs/Makefile: Likewise.
17316 * dlfcn/Makefile: Likewise.
17317 * posix/Makefile: Likewise.
17320 * timezone/Makefile: Don't install timezone files, just the programs
17323 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17325 * nss/databases.def: Add missing gshadow entry.
17327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17329 2012-03-06 Marek Polacek <polacek@redhat.com>
17332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17335 * stdio-common/tst-long-dbl-fphex.c: New file.
17337 2012-03-06 David S. Miller <davem@davemloft.net>
17339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17340 (set_obp_int): New function.
17341 (get_obp_int): New function.
17342 (__get_clockfreq_via_dev_openprom): Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17344 Avoid unused variable warnings on 'val' and use builtin_expect.
17345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17347 (INLINE_CLONE_SYSCALL): Likewise.
17349 2012-03-05 David S. Miller <davem@davemloft.net>
17351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17353 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17358 only for |x| >= 40.
17359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17361 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17364 Replace gettimeofday with __vdso_gettimeofday.
17366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17368 __vdso_clock_gettime and __vdso_getcpu.
17370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17371 time with __vdso_time.
17373 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17375 * manual/lang.texi (size_t): Note types to which size_t may be
17376 equivalent with the GNU C Library, but do not describe when
17377 differences between them are significant.
17379 2012-03-05 Andreas Jaeger <aj@suse.de>
17381 * sysdeps/i386/fpu/libm-test-ulps: Update.
17383 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17387 (__ieee754_pow): Save and restore rounding mode and use
17388 round-to-nearest for main computations.
17389 * math/libm-test.inc (pow_test_tonearest): New function.
17390 (pow_test_towardzero): Likewise.
17391 (pow_test_downward): Likewise.
17392 (pow_test_upward): Likewise.
17393 (main): Call the new functions.
17394 * sysdeps/i386/fpu/libm-test-ulps: Update.
17395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17398 * math/libm-test.inc (cosh_test_tonearest): New function.
17399 (cosh_test_towardzero): Likewise.
17400 (cosh_test_downward): Likewise.
17401 (cosh_test_upward): Likewise.
17402 (sinh_test_tonearest): Likewise.
17403 (sinh_test_towardzero): Likewise.
17404 (sinh_test_downward): Likewise.
17405 (sinh_test_upward): Likewise.
17406 (main): Call the new functions.
17407 * sysdeps/i386/fpu/libm-test-ulps: Update.
17408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17410 2012-03-05 Tom de Vries <tom@codesourcery.com>
17412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17413 default stack guard is set in last bytes.
17414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17416 2012-03-05 Kees Cook <keescook@chromium.org>
17418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17422 possibly allocate from heap instead of stack.
17423 * stdio-common/bug-vfprintf-nargs.c: New file.
17424 * stdio-common/Makefile (tests): Add nargs overflow test.
17426 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17430 2012-03-03 Marek Polacek <polacek@redhat.com>
17432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17433 * math/math_private.h: Likewise.
17434 * stdlib/tst-strtod.c: Likewise.
17435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17436 * sysdeps/x86_64/bits/atomic.h: Likewise.
17438 2012-03-02 David S. Miller <davem@davemloft.net>
17440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17449 2012-03-02 Roland McGrath <roland@hack.frob.com>
17452 * manual/examples/README: New file, says the example source files
17453 can be used under GPL>=2.
17454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17455 line containing just "*/".
17456 * manual/examples/add.c: Add copyright header (GPL>=2).
17457 * manual/examples/argp-ex1.c: Likewise.
17458 * manual/examples/argp-ex2.c: Likewise.
17459 * manual/examples/argp-ex3.c: Likewise.
17460 * manual/examples/argp-ex4.c: Likewise.
17461 * manual/examples/atexit.c: Likewise.
17462 * manual/examples/db.c: Likewise.
17463 * manual/examples/dir.c: Likewise.
17464 * manual/examples/dir2.c: Likewise.
17465 * manual/examples/execinfo.c: Likewise.
17466 * manual/examples/filecli.c: Likewise.
17467 * manual/examples/filesrv.c: Likewise.
17468 * manual/examples/fmtmsgexpl.c: Likewise.
17469 * manual/examples/genpass.c: Likewise.
17470 * manual/examples/inetcli.c: Likewise.
17471 * manual/examples/inetsrv.c: Likewise.
17472 * manual/examples/isockad.c: Likewise.
17473 * manual/examples/longopt.c: Likewise.
17474 * manual/examples/memopen.c: Likewise.
17475 * manual/examples/memstrm.c: Likewise.
17476 * manual/examples/mkfsock.c: Likewise.
17477 * manual/examples/mkisock.c: Likewise.
17478 * manual/examples/mygetpass.c: Likewise.
17479 * manual/examples/pipe.c: Likewise.
17480 * manual/examples/popen.c: Likewise.
17481 * manual/examples/rprintf.c: Likewise.
17482 * manual/examples/search.c: Likewise.
17483 * manual/examples/select.c: Likewise.
17484 * manual/examples/setjmp.c: Likewise.
17485 * manual/examples/sigh1.c: Likewise.
17486 * manual/examples/sigusr.c: Likewise.
17487 * manual/examples/stpcpy.c: Likewise.
17488 * manual/examples/strdupa.c: Likewise.
17489 * manual/examples/strftim.c: Likewise.
17490 * manual/examples/strncat.c: Likewise.
17491 * manual/examples/subopt.c: Likewise.
17492 * manual/examples/swapcontext.c: Likewise.
17493 * manual/examples/termios.c: Likewise.
17494 * manual/examples/testopt.c: Likewise.
17495 * manual/examples/testpass.c: Likewise.
17496 * manual/examples/timeval_subtract.c: Likewise.
17499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17501 * manual/timeval_subtract.c.texi: ... here, new file.
17503 2012-03-02 David S. Miller <davem@davemloft.net>
17505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17507 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17511 (__sin): Save and restore rounding mode and use round-to-nearest
17512 for all computations.
17513 (__cos): Save and restore rounding mode and use round-to-nearest
17514 for all computations.
17515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17517 (tan): Save and restore rounding mode and use round-to-nearest for
17519 * math/libm-test.inc (cos_test_tonearest): New function.
17520 (cos_test_towardzero): Likewise.
17521 (cos_test_downward): Likewise.
17522 (cos_test_upward): Likewise.
17523 (sin_test_tonearest): Likewise.
17524 (sin_test_towardzero): Likewise.
17525 (sin_test_downward): Likewise.
17526 (sin_test_upward): Likewise.
17527 (tan_test_tonearest): Likewise.
17528 (tan_test_towardzero): Likewise.
17529 (tan_test_downward): Likewise.
17530 (tan_test_upward): Likewise.
17531 (main): Call the new functions.
17532 * sysdeps/i386/fpu/libm-test-ulps: Update.
17533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17537 small n, then large n, before computing and testing k+n.
17538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17551 * math/libm-test.inc (scalbn_test): Add more tests.
17552 (scalbln_test): Likewise.
17554 * manual/filesys.texi (mode_t): Describe constraints on size and
17555 signedness, not exact equivalence to a particular type.
17557 (ino64_t): Likewise.
17559 (nlink_t): Likewise.
17560 (blkcnt_t): Likewise.
17561 (blkcnt64_t): Likewise.
17562 * manual/llio.texi (off_t): Likewise.
17565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17566 (__ieee754_exp): Save and restore rounding mode and use
17567 round-to-nearest for all computations.
17568 * math/libm-test.inc (exp_test_tonearest): New function.
17569 (exp_test_towardzero): Likewise.
17570 (exp_test_downward): Likewise.
17571 (exp_test_upward): Likewise.
17572 (main): Call the new functions.
17573 * sysdeps/i386/fpu/libm-test-ulps: Update.
17574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576 2012-03-01 Chris Demetriou <cgd@google.com>
17578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17579 have predictable order.
17581 2012-03-01 David S. Miller <davem@davemloft.net>
17583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17624 * sysdeps/sparc/elf/configure: Regenerated.
17626 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17628 * configure.in (AS, LD): Require binutils 2.20 or later.
17629 * configure: Regenerated.
17630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17631 as required minimum version.
17632 * INSTALL: Regenerated.
17636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17637 before squaring exponent.
17638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17639 bottom long double and 27 bits of top long double before squaring
17641 * math/libm-test.inc (erfc_test): Add more tests.
17642 * sysdeps/i386/fpu/libm-test-ulps: Update.
17643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646 2012-03-01 Kai Tietz <ktietz@redhat.com>
17648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17650 containing bit-fields.
17651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17652 * soft-fp/single.h (_FP_UNION_S): Likewise.
17653 * soft-fp/double.h (_FP_UNION_D): Likewise.
17655 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17659 not include ../strcmp.S.
17660 [USE_AS_STRNCASECMP_L]: Likewise.
17661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17664 (__strncasecmp_l_ia32): Define as alias to
17665 __strncasecmp_l_nonascii.
17668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17669 * sysdeps/i386/fpu/libm-test-ulps: Update.
17670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17675 2012-02-29 Jeff Law <law@redhat.com>
17677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17678 out of bounds read.
17680 2012-02-29 Marek Polacek <polacek@redhat.com>
17683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17684 * elf/Makefile: Add rules to run tst-unused-dep.out.
17686 2012-02-28 David S. Miller <davem@davemloft.net>
17688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17695 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17697 * math/libm-test.inc (llround_test): Move one test from
17698 lround_test. Use TEST_f_L in moved test.
17699 (lround_test): Move misplaced test to llround_test. Add testcase
17702 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17704 * sysdeps/x86_64/fpu/e_expf.S: New file.
17705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17707 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17711 of remain_len that may cause incomplete multi-byte character and
17713 * posix/bug-regex33.c: New file.
17714 * posix/Makefile (tests): Add bug-regex33.
17716 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17718 * manual/macros.texi: New file.
17719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17720 * manual/libc.texinfo: Include macros.texi.
17721 * manual/creatute.texi: Likewise.
17722 * manual/install.texi: Likewise.
17723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17724 @glibcadj{} in references to the GNU C Library.
17725 * manual/charset.texi: Likewise.
17726 * manual/conf.texi: Likewise.
17727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17728 when not using those macros.
17729 * manual/creature.texi: Likewise.
17730 * manual/crypt.texi: Likewise.
17731 * manual/errno.texi: Likewise.
17732 * manual/filesys.texi: Likewise.
17733 * manual/header.texi: Likewise.
17734 * manual/install.texi: Likewise.
17735 * manual/intro.texi: Likewise.
17736 * manual/io.texi: Likewise.
17737 * manual/job.texi: Likewise.
17738 * manual/lang.texi: Likewise.
17739 * manual/libc.texiinfo: Likewise.
17740 * manual/llio.texi: Likewise.
17741 * manual/locale.texi: Likewise.
17742 * manual/maint.texi: Likewise.
17743 * manual/math.texi: Likewise.
17744 * manual/memory.texi: Likewise.
17745 * manual/message.texi: Likewise.
17746 * manual/nss.texi: Likewise.
17747 * manual/pattern.texi: Likewise.
17748 * manual/process.texi: Likewise.
17749 * manual/resource.texi: Likewise.
17750 * manual/search.texi: Likewise.
17751 * manual/setjmp.texi: Likewise.
17752 * manual/signal.texi: Likewise.
17753 * manual/socket.texi: Likewise.
17754 * manual/startup.texi: Likewise.
17755 * manual/stdio.texi: Likewise.
17756 * manual/string.texi: Likewise.
17757 * manual/sysinfo.texi: Likewise.
17758 * manual/syslog.texi: Likewise.
17759 * manual/terminal.texi: Likewise.
17760 * manual/time.texi: Likewise.
17761 * manual/users.texi: Likewise.
17762 * INSTALL: Regenerated.
17763 * NOTES: Regenerated.
17764 * sysdeps/gnu/errlist.c: Regenerated.
17766 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17768 * include/dirent.h: Include <dirstream.h> before
17771 2012-02-28 David S. Miller <davem@davemloft.net>
17773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17778 2012-02-27 David S. Miller <davem@davemloft.net>
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17786 frame pointer instead of stack pointer relative arg slot.
17787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17791 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17796 2012-02-27 David S. Miller <davem@davemloft.net>
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17807 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17810 later. Allow versions 5-9.
17811 * configure: Regenerated.
17812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17813 required minimum version and 4.6 as recommended version. Do not
17814 mention bugs in GCC 2.7 and 2.8.
17815 * INSTALL: Regenerated.
17817 2012-02-27 David S. Miller <davem@davemloft.net>
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17829 manipulate bits before adding and subtracting TWO112[sx].
17830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17832 2012-02-27 Roland McGrath <roland@hack.frob.com>
17835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17838 being in POSIX, because they are in 1003.1-2008.
17840 * rt/tst-aio.c: Include <fcntl.h>.
17841 * rt/tst-aio7.c: Likewise.
17842 * rt/tst-aio64.c: Likewise.
17844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17846 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17848 * manual/install.texi (--with-headers): Describe headers as
17849 interface headers, not private headers.
17850 (Specific advice for GNU/Linux systems): Describe use of headers
17851 from "make headers_install", not private headers from older
17853 * INSTALL: Regenerated.
17854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17856 * sysdeps/unix/sysv/linux/configure: Regenerated.
17858 * manual/llio.texi (fclean): Remove documentation.
17860 * manual/Makefile (libc-texi-generated): New variable. Include
17862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17863 $(libc-texi-generated), not duplicated list of files.
17864 (version.texi, stamp-version): New rules.
17865 (realclean): Remove $(libc-texi-generated), not individual files
17866 from that list. Do not remove dir-add.texinfo.
17867 * manual/libc.texinfo: Comment out uses of edition numbers and
17868 references to printed manual. Remove last-updated dates.
17869 (EDITION): Comment out.
17871 (VERSION, UPDATED): Remove.
17872 (version.texi): Include.
17874 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17876 * sysdeps/posix/spawni.c: Include <signal.h>.
17877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17878 * sysdeps/pthread/aio_fsync.c: Likewise.
17880 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17882 * conform/Makefile (tests): Run only when not cross-compiling and
17883 when fast-check is not defined.
17885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17886 * conform/data/limits.h-data: Fixes for POSIX2008.
17887 * conform/run-conformtest.sh: Run all tests.
17888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17890 * include/bits/dlfcn.h: Likewise.
17891 * include/langinfo.h: Likewise.
17892 * include/monetary.h: Likewise.
17893 * include/sys/poll.h: Likewise.
17895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17897 * posix/spawn.h: Define __need_sigset_t.
17898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17901 to get sigevent_t only.
17902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17903 only for __USE_GNU.
17904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17906 process_vm_writev only for __USE_GNU.
17907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17909 * conform/Makefile: For now ignore errors from run-conformtest.
17910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17911 POSIX to avoid namespace pollution. Don't prepend headers.
17912 * conform/data/aio.h-data: Fixes for POSIX testing.
17913 * conform/data/fcntl.h-data: Likewise.
17914 * conform/data/glob.h-data: Likewise.
17915 * conform/data/grp.h-data: Likewise.
17916 * conform/data/pthread.h-data: Likewise.
17917 * conform/data/pwd.h-data: Likewise.
17918 * conform/data/signal.h-data: Likewise.
17919 * conform/data/spawn.h-data: Likewise.
17920 * conform/data/stdio.h-data: Likewise.
17921 * conform/data/stdlib.h-data: Likewise.
17922 * conform/data/stropts.h-data: Likewise.
17923 * conform/data/sys/mman.h-data: Likewise.
17924 * conform/data/sys/stat.h-data: Likewise.
17925 * conform/data/sys/types.h-data: Likewise.
17926 * conform/data/sys/wait.h-data: Likewise.
17927 * conform/data/time.h-data: Likewise.
17928 * conform/data/unistd.h-data: Likewise.
17929 * conform/data/utime.h-data: Likewise.
17931 * io/sys/stat.h: fchmod was always in POSIX.
17932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17934 * rt/aio.h: Define __need_timespec before including <time.h>.
17935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17936 struct. Add forward declaration of pthread_attr_t and use it in
17938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17941 always remove CLK_TCK definition.
17943 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17947 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17949 * conform/run-conformtest.sh: New file.
17950 * conform/Makefile: Run run-conformtest for tests.
17951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17954 * conform/data/uchar.h-data: New file.
17955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17956 * conform/data/arpa/inet.h-data: Likewise.
17957 * conform/data/assert.h-data: Likewise.
17958 * conform/data/complex.h-data: Likewise.
17959 * conform/data/cpio.h-data: Likewise.
17960 * conform/data/ctype.h-data: Likewise.
17961 * conform/data/dirent.h-data: Likewise.
17962 * conform/data/dlfcn.h-data: Likewise.
17963 * conform/data/errno.h-data: Likewise.
17964 * conform/data/fcntl.h-data: Likewise.
17965 * conform/data/float.h-data: Likewise.
17966 * conform/data/fmtmsg.h-data: Likewise.
17967 * conform/data/fnmatch.h-data: Likewise.
17968 * conform/data/ftw.h-data: Likewise.
17969 * conform/data/glob.h-data: Likewise.
17970 * conform/data/grp.h-data: Likewise.
17971 * conform/data/iconv.h-data: Likewise.
17972 * conform/data/inttypes.h-data: Likewise.
17973 * conform/data/langinfo.h-data: Likewise.
17974 * conform/data/libgen.h-data: Likewise.
17975 * conform/data/limits.h-data: Likewise.
17976 * conform/data/locale.h-data: Likewise.
17977 * conform/data/math.h-data: Likewise.
17978 * conform/data/monetary.h-data: Likewise.
17979 * conform/data/mqueue.h-data: Likewise.
17980 * conform/data/ndbm.h-data: Likewise.
17981 * conform/data/net/if.h-data: Likewise.
17982 * conform/data/netdb.h-data: Likewise.
17983 * conform/data/netinet/in.h-data: Likewise.
17984 * conform/data/nl_types.h-data: Likewise.
17985 * conform/data/poll.h-data: Likewise.
17986 * conform/data/pthread.h-data: Likewise.
17987 * conform/data/pwd.h-data: Likewise.
17988 * conform/data/regex.h-data: Likewise.
17989 * conform/data/sched.h-data: Likewise.
17990 * conform/data/search.h-data: Likewise.
17991 * conform/data/semaphore.h-data: Likewise.
17992 * conform/data/setjmp.h-data: Likewise.
17993 * conform/data/signal.h-data: Likewise.
17994 * conform/data/spawn.h-data: Likewise.
17995 * conform/data/stdarg.h-data: Likewise.
17996 * conform/data/stdio.h-data: Likewise.
17997 * conform/data/stdlib.h-data: Likewise.
17998 * conform/data/string.h-data: Likewise.
17999 * conform/data/strings.h-data: Likewise.
18000 * conform/data/stropts.h-data: Likewise.
18001 * conform/data/sys/ipc.h-data: Likewise.
18002 * conform/data/sys/mman.h-data: Likewise.
18003 * conform/data/sys/msg.h-data: Likewise.
18004 * conform/data/sys/resource.h-data: Likewise.
18005 * conform/data/sys/select.h-data: Likewise.
18006 * conform/data/sys/sem.h-data: Likewise.
18007 * conform/data/sys/shm.h-data: Likewise.
18008 * conform/data/sys/socket.h-data: Likewise.
18009 * conform/data/sys/stat.h-data: Likewise.
18010 * conform/data/sys/statvfs.h-data: Likewise.
18011 * conform/data/sys/time.h-data: Likewise.
18012 * conform/data/sys/timeb.h-data: Likewise.
18013 * conform/data/sys/times.h-data: Likewise.
18014 * conform/data/sys/types.h-data: Likewise.
18015 * conform/data/sys/uio.h-data: Likewise.
18016 * conform/data/sys/un.h-data: Likewise.
18017 * conform/data/sys/utsname.h-data: Likewise.
18018 * conform/data/sys/wait.h-data: Likewise.
18019 * conform/data/syslog.h-data: Likewise.
18020 * conform/data/tar.h-data: Likewise.
18021 * conform/data/termios.h-data: Likewise.
18022 * conform/data/utime.h-data: Likewise.
18023 * conform/data/utmpx.h-data: Likewise.
18024 * conform/data/varargs.h-data: Likewise.
18025 * conform/data/wchar.h-data: Likewise.
18026 * conform/data/wctype.h-data: Likewise.
18027 * conform/data/wordexp.h-data: Likewise.
18029 * include/stropts.h: New file.
18030 * include/uchar.h: New file.
18031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18032 * include/assert.h: Likewise.
18033 * include/ctype.h: Likewise.
18034 * include/dirent.h: Likewise.
18035 * include/dlfcn.h: Likewise.
18036 * include/fcntl.h: Likewise.
18037 * include/fnmatch.h: Likewise.
18038 * include/glob.h: Likewise.
18039 * include/grp.h: Likewise.
18040 * include/libio.h: Likewise.
18041 * include/locale.h: Likewise.
18042 * include/math.h: Likewise.
18043 * include/net/if.h: Likewise.
18044 * include/netdb.h: Likewise.
18045 * include/netinet/in.h: Likewise.
18046 * include/pthread.h: Likewise.
18047 * include/pwd.h: Likewise.
18048 * include/regex.h: Likewise.
18049 * include/sched.h: Likewise.
18050 * include/search.h: Likewise.
18051 * include/setjmp.h: Likewise.
18052 * include/signal.h: Likewise.
18053 * include/stdio.h: Likewise.
18054 * include/stdlib.h: Likewise.
18055 * include/string.h: Likewise.
18056 * include/sys/cdefs.h: Likewise.
18057 * include/sys/mman.h: Likewise.
18058 * include/sys/msg.h: Likewise.
18059 * include/sys/resource.h: Likewise.
18060 * include/sys/select.h: Likewise.
18061 * include/sys/socket.h: Likewise.
18062 * include/sys/stat.h: Likewise.
18063 * include/sys/statvfs.h: Likewise.
18064 * include/sys/time.h: Likewise.
18065 * include/sys/times.h: Likewise.
18066 * include/sys/uio.h: Likewise.
18067 * include/sys/utsname.h: Likewise.
18068 * include/sys/wait.h: Likewise.
18069 * include/termios.h: Likewise.
18070 * include/time.h: Likewise.
18071 * include/ulimit.h: Likewise.
18072 * include/unistd.h: Likewise.
18073 * include/utime.h: Likewise.
18074 * include/wchar.h: Likewise.
18075 * include/wctype.h: Likewise.
18076 * include/wordexp.h: Likewise.
18078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18080 * time/time.h: TIME_UTC must be a macro.
18081 Make timespec_get available for ISO C11 only as well.
18083 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18090 * configure.in: Use -o not -a in test for unsupported multi-arch.
18092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18094 * manual/texinfo.tex: Update to version 2012-01-19.16.
18096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18100 2012-02-24 Roland McGrath <roland@hack.frob.com>
18103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18104 * manual/fdl-1.3.texi: New file.
18105 * manual/fdl-1.1.texi: File removed.
18108 * manual/libc.texinfo (FDL_VERSION): New @set.
18109 Use it for mention of FDL in cover text.
18110 (Documentation License): Use it in @include file name.
18112 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18113 Roland McGrath <roland@hack.frob.com>
18116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18117 not LONG_LONG_MAX and LONG_LONG_MIN.
18118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18123 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18128 manipulate bits before adding and subtracting TWO23[sx].
18129 * math/libm-test.inc (nearbyint_test): Add more tests.
18131 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18135 bits before adding and subtracting TWO23[sx].
18136 * math/libm-test.inc (rint_test): Add more tests.
18137 (rint_test_tonearest): Likewise.
18138 (rint_test_towardzero): Likewise.
18139 (rint_test_downward): Likewise.
18140 (rint_test_upward: Likewise.
18142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18145 * include/stdc-predef.h: New file. Extracted from features.h.
18146 * include/features.h: Include stdc-predef.h.
18147 * Makefile (headers): Add stdc-predef.h.
18148 * CONFORMANCE (Compiler limitations): Update.
18150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18154 2012-02-21 David S. Miller <davem@davemloft.net>
18156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18159 2012-02-20 David S. Miller <davem@davemloft.net>
18161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18162 using a normal save/restore sequence, rather than allocating a
18163 dummy stack frame just to store a frame pointer and restore.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18166 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18168 * manual/install.texi: Fix stray word in line-wrapped comment.
18170 2012-02-20 David S. Miller <davem@davemloft.net>
18172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18173 both binutils and gcc support GOTDATA.
18175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18176 "rd %pc" in the PIC register setup sequences.
18178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18187 (SYSCALL_ERROR_HANDLER): Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18191 (SYSCALL_ERROR_HANDLER): Likewise.
18193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18194 (HAVE_GCC_GOTDATA): New.
18195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18196 relocation support in both binutils and gcc.
18197 * sysdeps/sparc/elf/configure: Regenerate.
18199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18200 * sysdeps/sparc/sparc32/elf/configure: Delete.
18201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18202 * sysdeps/sparc/sparc64/elf/configure: Delete.
18203 * sysdeps/sparc/elf/configure.in: New file.
18204 * sysdeps/sparc/elf/configure: Generate.
18206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18212 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18214 * manual/install.texi: Do not mention specific glibc version
18216 * manual/libc.texinfo (VERSION, UPDATED): Update.
18217 (@copying): Use @copyright{} and range of years.
18219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18223 [crti.S not in sysdirs] (generated): Do not append.
18224 [crti.S not in sysdirs] (omit-deps): Likewise.
18225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18234 * csu/defs.awk: Remove file.
18235 * sysdeps/generic/initfini.c: Likewise.
18236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18251 (__EPOLL_PACKED): Define to empty if not defined by
18253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18257 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18268 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18277 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18282 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18292 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18294 * math/w_acos.c: Use non-signaling floating-point comparisons.
18295 * math/w_acosf.c: Likewise.
18296 * math/w_acosh.c: Likewise.
18297 * math/w_acoshf.c: Likewise.
18298 * math/w_acoshl.c: Likewise.
18299 * math/w_acosl.c: Likewise.
18300 * math/w_asin.c: Likewise.
18301 * math/w_asinf.c: Likewise.
18302 * math/w_asinl.c: Likewise.
18303 * math/w_atanh.c: Likewise.
18304 * math/w_atanhf.c: Likewise.
18305 * math/w_atanhl.c: Likewise.
18306 * math/w_exp2.c: Likewise.
18307 * math/w_exp2f.c: Likewise.
18308 * math/w_exp2l.c: Likewise.
18309 * math/w_j0.c: Likewise.
18310 * math/w_j0f.c: Likewise.
18311 * math/w_j0l.c: Likewise.
18312 * math/w_j1.c: Likewise.
18313 * math/w_j1f.c: Likewise.
18314 * math/w_j1l.c: Likewise.
18315 * math/w_jn.c: Likewise.
18316 * math/w_jnf.c: Likewise.
18317 * math/w_log.c: Likewise.
18318 * math/w_log10.c: Likewise.
18319 * math/w_log10f.c: Likewise.
18320 * math/w_log10l.c: Likewise.
18321 * math/w_log2.c: Likewise.
18322 * math/w_log2f.c: Likewise.
18323 * math/w_log2l.c: Likewise.
18324 * math/w_logf.c: Likewise.
18325 * math/w_logl.c: Likewise.
18326 * math/w_sqrt.c: Likewise.
18327 * math/w_sqrtf.c: Likewise.
18328 * math/w_sqrtl.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18338 * manual/string.texi (strnlen): Use correct parameter name in
18339 equivalent expression.
18341 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18344 * manual/users.texi (seteuid): Consistently use neweuid for
18347 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18350 * manual/nss.texi (Services in the NSS configuration): Correct
18351 list of services in example configuration file.
18353 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18356 * manual/arith.texi: Remove statements about negative zero
18357 behaving identically to zero.
18359 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18362 * manual/install.texi: Do not document upgrading from libc5.
18364 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18369 2012-02-18 David S. Miller <davem@davemloft.net>
18371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18373 %o7 across the call.
18374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18377 SETUP_PIC_REG_LEAF.
18378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18380 * sysdeps/sparc/crtn.S: Likewise.
18382 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18384 * aout/Makefile: Remove.
18386 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18389 * manual/examples/argp-ex1.c (main): Format definition in GNU
18391 * manual/examples/argp-ex2.c (main): Likewise.
18392 * manual/examples/argp-ex3.c (main): Likewise.
18393 * manual/examples/argp-ex4.c (main): Likewise.
18394 * manual/examples/longopt.c (main): Use new-style prototype
18396 * manual/examples/strncat.c (main): Specify return type and use
18397 (void) for arguments.
18398 * manual/examples/subopt.c (main): Use char **argv argument.
18400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18406 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18409 * manual/string.texi (strchr): Change when strchrnul is
18412 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18415 * manual/locale.texi (setlocale): Document LOCPATH.
18417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18420 * manual/process.texi (execle): Move @dots{} before last argument.
18422 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18425 * manual/charset.texi (Generic Charset Conversion): Fix typo
18426 (LC_TYPE -> LC_CTYPE).
18428 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18432 (scalbnf): Likewise.
18433 (scalbnl): Likewise.
18434 (scalbln): Likewise.
18435 (scalblnf): Likewise.
18436 (scalblnl): Likewise.
18437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18438 (vwarnx): Likewise.
18441 * manual/filesys.texi (telldir): Use braces around return type.
18442 * manual/llio.texi (mmap): Add space after comma.
18443 (mmap64): Likewise.
18444 * manual/math.texi (jn): Use @var{} on parameter names.
18450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18455 (sched_get_priority_max): Likewise.
18456 * manual/signal.texi (sigvec): Add space after comma.
18457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18459 (if_indextoname): Likewise.
18460 (if_freenameindex): Likewise.
18461 (sendto): Use ',' instead of '.' in prototype.
18462 * manual/startup.texi (syscall): Use @dots{} instead of literal
18464 * manual/stdio.texi (__fpending): Separate initial words of
18465 paragraph from @deftypefun line.
18466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18468 (vsyslog): Use @var{} on parameter names.
18469 * manual/terminal.texi (stty): Use @var{} on parameter names.
18470 * manual/users.texi (getutmp): Use @var{} on parameter names.
18471 (getutmpx): Likewise.
18473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18476 * manual/stdio.texi (fopen): Fix typos in description of
18479 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18483 get clock_id definition.
18485 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18489 (madvise): Cast every argument to void on its own.
18491 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18494 * manual/startup.texi (Exit Status): Fix typo.
18496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18500 * manual/examples/argp-ex2.c: Likewise.
18501 * manual/examples/argp-ex3.c: Likewise.
18503 2012-02-16 Richard Henderson <rth@redhat.com>
18505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18506 * sysdeps/s390/s390-32/initfini.c: Remove.
18507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18508 * sysdeps/s390/s390-64/initfini.c: Remove.
18510 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18513 compiler output for sysdeps/generic/initfini.c.
18514 * sysdeps/sh/elf/initfini.c: Remove file.
18516 2012-02-16 David S. Miller <davem@davemloft.net>
18519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18522 * sysdeps/sparc/crti.S: New file.
18523 * sysdeps/sparc/crtn.S: New file.
18524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18525 * sysdeps/sparc/sparc64/Makefile: Likewise.
18527 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18532 2012-02-15 Roland McGrath <roland@hack.frob.com>
18535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18538 (write, read, close): Likewise.
18539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18541 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18552 2012-02-14 Marek Polacek <polacek@redhat.com>
18554 * sysdeps/x86_64/crti.S: New file.
18555 * sysdeps/x86_64/crtn.S: New file.
18556 * sysdeps/x86_64/elf/initfini.c: Remove file.
18558 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18569 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18580 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18583 __feraiseexcept instead of feraiseexcept.
18585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18586 nanosleep invocations.
18587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18588 strings, and add error checking for a nanosleep invocations.
18590 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18592 Replace FSF snail mail address with URLs, as per GNU coding standards.
18593 Most of the snail mail addresses were wrong anyway, and omitting
18594 them makes the source code easier to maintain. Almost all of the
18595 changes are to license notices and to locale LC_IDENTIFICATION
18596 addresses, except for this one:
18597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18598 not its snail mail address.
18600 2012-02-09 Richard Henderson <rth@twiddle.net>
18602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18603 of kernel-features.h.
18605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18607 2012-02-08 Marek Polacek <polacek@redhat.com>
18609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18611 * sysdeps/gnu/_G_config.h: Likewise.
18612 * sysdeps/generic/_G_config.h: Likewise.
18614 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620 * sysdeps/powerpc/powerpc32/crti.S: New file.
18621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18622 * sysdeps/powerpc/powerpc64/crti.S: New file.
18623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18625 * Makeconfig (have-initfini): Don't set.
18626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18627 * configure.in (nopic_initfini): Don't substitute.
18628 * config.h.in (HAVE_INITFINI): Don't #undef.
18629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18632 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18634 Support crti.S and crtn.S provided directly by architectures.
18635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18636 [crti.S in sysdirs] (omit-deps): Likewise.
18637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18646 compiler output for sysdeps/generic/initfini.c.
18647 * sysdeps/i386/elf/Makefile: Remove file.
18648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18650 2012-02-07 Marek Polacek <polacek@redhat.com>
18652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18653 * sysdeps/gnu/_G_config.h: Likewise.
18654 * sysdeps/mach/hurd/_G_config.h: Likewise.
18656 2012-02-07 Marek Polacek <polacek@redhat.com>
18658 * math/Makefile (tests): Add tst-CMPLX2.
18659 * math/tst-CMPLX2.c: New file.
18661 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18665 * math/libm-test.inc (jn_test): Add missing L suffix.
18667 2012-02-06 Marek Polacek <polacek@redhat.com>
18669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18670 * sysdeps/i386/fpu/e_powf.S: Likewise.
18671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18674 * sysdeps/i386/fpu/e_pow.S: Likewise.
18675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18679 * sysdeps/i386/fpu/e_log2.S: Likewise.
18680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18682 * sysdeps/i386/fpu/e_powl.S: Likewise.
18683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18686 * sysdeps/i386/fpu/e_logl.S: Likewise.
18687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18693 * sysdeps/i386/fpu/e_log.S: Likewise.
18694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18697 * sysdeps/i386/fpu/e_logf.S: Likewise.
18698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18703 * sysdeps/i386/fpu/e_log10.S: Likewise.
18704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18710 * sysdeps/i386/asm-syntax.h: Likewise.
18711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18720 * sysdeps/powerpc/sysdep.h: Likewise.
18721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18724 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18729 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18731 * sysdeps/i386/sysdep.h: Include <features.h>.
18732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18735 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18745 (SETUP_PIC_REG): Use GET_PC_THUNK.
18746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18752 for non-PIC compilation.
18753 (SETUP_PIC_REG): Add .p2align directive.
18754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18798 * math/tst-CMPLX.c: Include <stdio.h>.
18800 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18805 * sysdeps/sparc/bits/mathdef.h: Likewise.
18807 2012-01-31 Marek Polacek <polacek@redhat.com>
18809 * libio/libio.h: Don't define _PARAMS.
18810 * locale/programs/config.h: Don't define PARAMS.
18811 * stdlib/strtol_l.c: Likewise.
18812 (__strtol_l): Remove PARAMS from the prototype.
18814 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18817 names. Just use the correct names. Remove unnecessary wrapper
18819 * malloc/arena.c: Likewise.
18820 * malloc/hooks.c: Likewise.
18822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18823 ARENA_TEST says not to. Simplify test for creation of a new arena.
18824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18826 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18830 (update_get_addr): New function.
18831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18832 GET_ADDR_MODULE parameter.
18834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18836 * crypt/cert.c: Remove __STDC__ conditionals.
18837 * crypt/crypt-entry.c: Likewise.
18838 * crypt/crypt_util.c: Likewise.
18839 * libio/filedoalloc.c: Likewise.
18840 * libio/fileops.c: Likewise.
18841 * libio/genops.c: Likewise.
18842 * libio/iofclose.c: Likewise.
18843 * libio/iofdopen.c: Likewise.
18844 * libio/iofopen.c: Likewise.
18845 * libio/iofopen64.c: Likewise.
18846 * libio/iogetdelim.c: Likewise.
18847 * libio/iopopen.c: Likewise.
18848 * libio/obprintf.c: Likewise.
18849 * libio/oldfileops.c: Likewise.
18850 * libio/oldiofclose.c: Likewise.
18851 * libio/oldiofdopen.c: Likewise.
18852 * libio/oldiofopen.c: Likewise.
18853 * libio/oldiopopen.c: Likewise.
18854 * libio/wfiledoalloc.c: Likewise.
18855 * libio/wgenops.c: Likewise.
18856 * locale/programs/xmalloc.c: Likewise.
18857 * misc/syslog.c: Likewise.
18858 * stdio-common/xbug.c: Likewise.
18859 * string/memchr.c: Likewise.
18860 * string/memcmp.c: Likewise.
18861 * string/memrchr.c: Likewise.
18862 * string/rawmemchr.c: Likewise.
18863 * sysdeps/posix/getcwd.c: Likewise.
18864 * time/strftime_l.c: Likewise.
18866 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18869 * config.make.in (config-cflags-sse2avx): Define.
18870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18873 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18875 * scripts/config.guess: Update from upstream config git repository.
18876 * scripts/config.sub: Likewise.
18878 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18882 (R_TILEPRO_*, R_TILEGX_*): New macros.
18884 * scripts/firstversions.awk: Fix bug in version range handling.
18886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18890 * include/sys/epoll.h: New file.
18891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18894 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18897 Avoid unnecessary __WORDSIZE == 64 test.
18898 (fmaxf): Use VEX format if possible.
18903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18904 * math/math_private.h: Remove libc_fegetround* and
18906 * sysdeps/i386/configure.in: Check for -msse2avx.
18907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18908 also if SSE2AVX is defined.
18909 Remove libc_fegetround* and libc_fesetround*.
18910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18922 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18928 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18933 * Makeconfig (libm): Define.
18934 * elf/Makefile: Add rules to build and run tst-relsort1.
18935 * elf/tst-relsort1.c: New file.
18936 * elf/tst-relsort1mod1.c: New file.
18937 * elf/tst-relsort1mod2.c: New file.
18939 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18941 * math/s_ldexp.c: Remove __STDC__ conditionals.
18942 * math/s_ldexpf.c: Likewise.
18943 * math/s_ldexpl.c: Likewise.
18944 * math/s_nextafter.c: Likewise.
18945 * math/s_nexttowardf.c: Likewise.
18946 * math/s_significand.c: Likewise.
18947 * math/s_significandf.c: Likewise.
18948 * math/s_significandl.c: Likewise.
18949 * math/w_jnl.c: Likewise.
18950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18990 * sysdeps/ieee754/k_standard.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19070 * sysdeps/ieee754/s_matherr.c: Likewise.
19071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19076 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19078 * crypt/md5.h: Remove __STDC__ conditionals.
19079 * libio/libioP.h: Likewise.
19080 * locale/programs/config.h: Likewise.
19081 * sysdeps/generic/sysdep.h: Likewise.
19082 * sysdeps/i386/asm-syntax.h: Likewise.
19083 * sysdeps/s390/asm-syntax.h: Likewise.
19084 * sysdeps/unix/sysdep.h: Likewise.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19088 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19090 * libio/libio.h: Remove __STDC__ conditionals.
19091 * malloc/obstack.h: Likewise.
19092 * math/complex.h: Likewise.
19093 * math/math.h: Likewise.
19094 * sysdeps/generic/_G_config.h: Likewise.
19095 * sysdeps/gnu/_G_config.h: Likewise.
19096 * sysdeps/mach/hurd/_G_config.h: Likewise.
19097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19099 * sysdeps/sparc/bits/mathdef.h: Likewise.
19101 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19105 Clean up HAS_* macros.
19106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19117 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19119 * elf/tst-unique3.cc (gets): Remove declaration.
19120 * elf/tst-unique3lib.cc (gets): Likewise.
19121 * elf/tst-unique3lib2.cc (gets): Likewise.
19122 * elf/tst-unique4.cc (gets): Likewise.
19124 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19126 * include/stdio.h: Add C++ protection. Add gets declarations and
19128 * debug/tst-chk1.c: Don't declare gets here.
19129 * stdio-common/tst-gets.c: Likewise.
19131 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19133 * posix/glob: Remove directory.
19135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19139 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19142 of the non-standard EPFNOSUPPORT.
19144 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19150 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19154 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19158 * nscd/grpcache.c (cache_addgr): Likewise.
19159 * nscd/hstcache.c (cache_addhst): Likewise.
19160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19161 * nscd/pwdcache.c (cache_addpw): Likewise.
19162 * nscd/servicescache.c (cache_addserv): Likewise.
19164 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19166 * malloc/malloc.c: Various cleanups.
19167 * malloc/hooks.c: Likewise.
19169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19170 * stdlib/bug-fmtmsg1.c: New file.
19172 * stdlib/fmtmsg.c (init): Add missing unlock.
19173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19175 2012-01-12 Marek Polacek <polacek@redhat.com>
19177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19180 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19184 macro to ensure uniqueness of label name.
19185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19188 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19197 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19212 * math/bits/math-finite.h: Add ldexp support.
19214 2012-01-10 Marek Polacek <polacek@redhat.com>
19216 * locale/programs/localedef.h (show_archive_content): Add noreturn
19219 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19223 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19227 * io/Makefile (headers): Add bits/poll2.h.
19229 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19232 typo #include statement.
19234 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19236 * include/sys/cdefs.h: Define __attribute_alloc_size.
19237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19239 * elf/pldd.c: Likewise.
19240 * iconv/iconv_charmap.c: Likewise.
19241 * iconv/iconvconfig.c: Likewise.
19242 * iconv/strtab.c: Likewise.
19243 * locale/programs/locale.c: Likewise.
19244 * locale/programs/localedef.h: Likewise.
19245 * locale/programs/simple-hash.c: Likewise.
19246 * nscd/nscd.h: Likewise.
19247 * nss/makedb.c: Likewise.
19248 * sysdeps/generic/ldconfig.h: Likewise.
19249 * locale/programs/localedef.c: Remove xmalloc prototype.
19250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19252 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19257 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19259 * math/Makefile (tests): Add tst-CMPLX.
19260 * math/tst-CMPLX.c: New file.
19262 * math/complex.h (CMPLXL): Fix typo.
19264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19267 * debug/tst-chk1.c: Add poll and ppoll tests.
19268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19269 * include/sys/poll.h: Add hidden proto for ppoll.
19270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19271 * sysdeps/mach/hurd/ppoll.c: Likewise.
19272 * io/ppoll.c: Likewise.
19273 * debug/poll_chk.c: New file.
19274 * debug/ppoll_chk.c: New file.
19275 * include/bits/poll2.h: New file.
19276 * io/bits/poll2.h: New file.
19279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19281 * configure.in: static is always set to yes. Remove.
19282 * config.make.in: Don't set build-static.
19283 * Makeconfig: Remove use of build-static.
19284 * dlfcn/Makefile: Likewise.
19285 * elf/Makefile: Likewise.
19286 * math/Makefile: Likewise.
19287 * misc/Makefile: Likewise.
19288 * nptl/Makefile: Likewise.
19289 * sysdeps/mach/hurd/Makefile: Likewise.
19291 * configure.in: PWD_P is not used anymore.
19292 * config.make.in: Remove PWD_P entry.
19294 * configure.in: Remove last remnants of RANLIB.
19295 No need to check for signed size_t anymore.
19296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19298 Remove __builtin_expect test because we require at least gcc 3.4.
19299 * aclocal.m4: Likewise.
19301 * wcsmbs/mbrtoc16.c: Implement using towc function.
19302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19303 * wcsmbs/wcsmbsload.c: Likewise.
19304 * iconv/gconv_simple.c: Likewise.
19305 * iconv/gconv_int.h: Likewise.
19306 * iconv/gconv_builtin.h: Likewise.
19307 * iconv/iconv_prog.c: Remove CHAR16 handling.
19309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19313 * configure.in: Remove --with-elf and --enable-bounded options.
19314 Dont set base_machine for ia64. More non-ELF conditions removed.
19315 Remove testing and setting of leading underscore information.
19316 * config.make.in (build-bounded): Set to no.
19317 * config.h.in: Remove NO_UNDERSCORES entry.
19318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19320 * csu/start.c: Remove !NO_UNDERSCORE code.
19321 * locale/localeinfo.h: Likewise.
19322 * sysdeps/generic/machine-gmon.h: Likewise.
19323 * sysdeps/generic/sysdep.h: Likewise.
19324 * sysdeps/i386/sysdep.h: Likewise.
19325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19326 * sysdeps/mach/sysdep.h: Likewise.
19327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19329 * sysdeps/sh/sysdep.h: Likewise.
19330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19331 * sysdeps/unix/i386/sysdep.S: Likewise.
19332 * sysdeps/unix/sparc/start.c: Likewise.
19333 * sysdeps/unix/sparc/sysdep.S: Likewise.
19334 * sysdeps/unix/sparc/sysdep.h: Likewise.
19335 * sysdeps/unix/start.c: Likewise.
19336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19337 * sysdeps/x86_64/sysdep.h: Likewise.
19339 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19344 * argp/argp-fmtstream.h: Use const instead __const.
19345 * argp/argp.h: Likewise.
19346 * assert/assert.h: Likewise.
19347 * bits/fenv.h: Likewise.
19348 * bits/sched.h: Likewise.
19349 * bits/sigset.h: Likewise.
19350 * bits/sigthread.h: Likewise.
19351 * catgets/nl_types.h: Likewise.
19352 * conform/data/pthread.h-data: Likewise.
19353 * crypt/crypt-private.h: Likewise.
19354 * crypt/crypt.h: Likewise.
19355 * crypt/crypt_util.c: Likewise.
19356 * ctype/ctype.h: Likewise.
19357 * debug/execinfo.h: Likewise.
19358 * debug/mbsnrtowcs_chk.c: Likewise.
19359 * debug/mbsrtowcs_chk.c: Likewise.
19360 * debug/wcsnrtombs_chk.c: Likewise.
19361 * debug/wcsrtombs_chk.c: Likewise.
19362 * debug/wcstombs_chk.c: Likewise.
19363 * dirent/dirent.h: Likewise.
19364 * dlfcn/dlfcn.h: Likewise.
19365 * elf/neededtest4.c: Likewise.
19366 * grp/grp.h: Likewise.
19367 * gshadow/gshadow.h: Likewise.
19368 * iconv/gconv.h: Likewise.
19369 * iconv/gconv_int.h: Likewise.
19370 * iconv/gconv_simple.c: Likewise.
19371 * iconv/iconv.h: Likewise.
19372 * iconv/loop.c: Likewise.
19373 * iconv/skeleton.c: Likewise.
19374 * include/aio.h: Likewise.
19375 * include/aliases.h: Likewise.
19376 * include/argz.h: Likewise.
19377 * include/arpa/inet.h: Likewise.
19378 * include/assert.h: Likewise.
19379 * include/dirent.h: Likewise.
19380 * include/dlfcn.h: Likewise.
19381 * include/execinfo.h: Likewise.
19382 * include/fcntl.h: Likewise.
19383 * include/fenv.h: Likewise.
19384 * include/glob.h: Likewise.
19385 * include/grp.h: Likewise.
19386 * include/libintl.h: Likewise.
19387 * include/mntent.h: Likewise.
19388 * include/netdb.h: Likewise.
19389 * include/pwd.h: Likewise.
19390 * include/rpc/netdb.h: Likewise.
19391 * include/sched.h: Likewise.
19392 * include/search.h: Likewise.
19393 * include/shadow.h: Likewise.
19394 * include/signal.h: Likewise.
19395 * include/stdio.h: Likewise.
19396 * include/stdlib.h: Likewise.
19397 * include/string.h: Likewise.
19398 * include/sys/socket.h: Likewise.
19399 * include/sys/stat.h: Likewise.
19400 * include/sys/statfs.h: Likewise.
19401 * include/sys/statvfs.h: Likewise.
19402 * include/sys/syslog.h: Likewise.
19403 * include/sys/time.h: Likewise.
19404 * include/sys/uio.h: Likewise.
19405 * include/time.h: Likewise.
19406 * include/unistd.h: Likewise.
19407 * include/utmp.h: Likewise.
19408 * include/wchar.h: Likewise.
19409 * include/wctype.h: Likewise.
19410 * inet/aliases.h: Likewise.
19411 * inet/arpa/inet.h: Likewise.
19412 * inet/netinet/ether.h: Likewise.
19413 * inet/netinet/in.h: Likewise.
19414 * intl/libintl.h: Likewise.
19415 * io/bits/fcntl2.h: Likewise.
19416 * io/fcntl.h: Likewise.
19417 * io/ftw.h: Likewise.
19418 * io/sys/poll.h: Likewise.
19419 * io/sys/stat.h: Likewise.
19420 * io/sys/statfs.h: Likewise.
19421 * io/sys/statvfs.h: Likewise.
19422 * io/utime.h: Likewise.
19423 * libio/bits/stdio.h: Likewise.
19424 * libio/bits/stdio2.h: Likewise.
19425 * libio/libio.h: Likewise.
19426 * libio/libioP.h: Likewise.
19427 * libio/stdio.h: Likewise.
19428 * locale/lc-ctype.c: Likewise.
19429 * locale/locale.h: Likewise.
19430 * login/utmp.h: Likewise.
19431 * malloc/arena.c: Likewise.
19432 * malloc/malloc.c: Likewise.
19433 * malloc/malloc.h: Likewise.
19434 * malloc/mcheck.c: Likewise.
19435 * malloc/mtrace.c: Likewise.
19436 * math/bits/mathcalls.h: Likewise.
19437 * math/fenv.h: Likewise.
19438 * math/math_private.h: Likewise.
19439 * misc/bits/error.h: Likewise.
19440 * misc/bits/syslog.h: Likewise.
19441 * misc/err.h: Likewise.
19442 * misc/error.h: Likewise.
19443 * misc/fstab.h: Likewise.
19444 * misc/mntent.h: Likewise.
19445 * misc/regexp.h: Likewise.
19446 * misc/search.h: Likewise.
19447 * misc/sgtty.h: Likewise.
19448 * misc/sys/mman.h: Likewise.
19449 * misc/sys/syslog.h: Likewise.
19450 * misc/sys/uio.h: Likewise.
19451 * misc/sys/xattr.h: Likewise.
19452 * misc/ttyent.h: Likewise.
19453 * nis/rpcsvc/ypclnt.h: Likewise.
19454 * nss/nss.h: Likewise.
19455 * posix/bits/unistd.h: Likewise.
19456 * posix/fnmatch.h: Likewise.
19457 * posix/glob.h: Likewise.
19458 * posix/sched.h: Likewise.
19459 * posix/spawn.h: Likewise.
19460 * posix/sys/wait.h: Likewise.
19461 * posix/unistd.h: Likewise.
19462 * posix/wordexp.h: Likewise.
19463 * pwd/pwd.h: Likewise.
19464 * resolv/netdb.h: Likewise.
19465 * resource/sys/resource.h: Likewise.
19466 * rt/aio.h: Likewise.
19467 * rt/bits/mqueue2.h: Likewise.
19468 * rt/mqueue.h: Likewise.
19469 * shadow/shadow.h: Likewise.
19470 * signal/signal.h: Likewise.
19471 * socket/send.c: Likewise.
19472 * socket/sendto.c: Likewise.
19473 * socket/sys/socket.h: Likewise.
19474 * stdio-common/printf.h: Likewise.
19475 * stdlib/bits/stdlib.h: Likewise.
19476 * stdlib/fmtmsg.h: Likewise.
19477 * stdlib/monetary.h: Likewise.
19478 * stdlib/stdlib.h: Likewise.
19479 * stdlib/ucontext.h: Likewise.
19480 * streams/stropts.h: Likewise.
19481 * string/argz.h: Likewise.
19482 * string/bits/string2.h: Likewise.
19483 * string/string.h: Likewise.
19484 * string/strings.h: Likewise.
19485 * sunrpc/rpc/auth.h: Likewise.
19486 * sunrpc/rpc/auth_des.h: Likewise.
19487 * sunrpc/rpc/clnt.h: Likewise.
19488 * sunrpc/rpc/netdb.h: Likewise.
19489 * sunrpc/rpc/pmap_clnt.h: Likewise.
19490 * sunrpc/rpc/xdr.h: Likewise.
19491 * sysdeps/generic/inttypes.h: Likewise.
19492 * sysdeps/generic/net/if.h: Likewise.
19493 * sysdeps/generic/sys/swap.h: Likewise.
19494 * sysdeps/gnu/net/if.h: Likewise.
19495 * sysdeps/gnu/utmpx.h: Likewise.
19496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19497 * sysdeps/i386/i486/bits/string.h: Likewise.
19498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19499 * sysdeps/s390/bits/string.h: Likewise.
19500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19531 * sysvipc/sys/ipc.h: Likewise.
19532 * sysvipc/sys/msg.h: Likewise.
19533 * sysvipc/sys/sem.h: Likewise.
19534 * sysvipc/sys/shm.h: Likewise.
19535 * termios/termios.h: Likewise.
19536 * time/sys/time.h: Likewise.
19537 * time/time.h: Likewise.
19538 * wcsmbs/bits/wchar2.h: Likewise.
19539 * wcsmbs/uchar.h: Likewise.
19540 * wcsmbs/wchar.h: Likewise.
19541 * wctype/wctype.h: Likewise.
19544 * Makeconfig: Remove all but ELF support including AIX support.
19545 * Makerules: Likewise.
19546 * config.h.in: Likewise.
19547 * config.make.in: Likewise.
19548 * configure: Likewise.
19549 * configure.in: Likewise.
19550 * csu/Makefile: Likewise.
19551 * csu/version.c: Likewise.
19552 * debug/Makefile: Likewise.
19553 * dlfcn/Makefile: Likewise.
19554 * elf/Makefile: Likewise.
19555 * extra-lib.mk: Likewise.
19556 * iconv/Makefile: Likewise.
19557 * include/libc-symbols.h: Likewise.
19558 * include/shlib-compat.h: Likewise.
19559 * resolv/Makefile: Likewise.
19560 * resolv/res_libc.c: Likewise.
19561 * rt/Makefile: Likewise.
19562 * sysdeps/i386/asm-syntax.h: Likewise.
19563 * sysdeps/i386/sysdep.h: Likewise.
19564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19565 * sysdeps/mach/sysdep.h: Likewise.
19566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19568 * sysdeps/s390/asm-syntax.h: Likewise.
19569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19571 * sysdeps/sh/sysdep.h: Likewise.
19572 * sysdeps/unix/sparc/sysdep.h: Likewise.
19573 * sysdeps/wordsize-32/divdi3.c: Likewise.
19574 * sysdeps/x86_64/sysdep.h: Likewise.
19576 * argp/Versions: Remove _argp_unlock_xxx.
19579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19580 * abilist/libBrokenLocale.abilist: Likewise.
19581 * abilist/libanl.abilist: Likewise.
19582 * abilist/libc.abilist: Likewise.
19583 * abilist/libcrypt.abilist: Likewise.
19584 * abilist/libdl.abilist: Likewise.
19585 * abilist/libm.abilist: Likewise.
19586 * abilist/libnsl.abilist: Likewise.
19587 * abilist/libpthread.abilist: Likewise.
19588 * abilist/libresolv.abilist: Likewise.
19589 * abilist/librt.abilist: Likewise.
19590 * abilist/libthread_db.abilist: Likewise.
19591 * abilist/libutil.abilist: Likewise.
19592 * abilist/libnss_db.abilist: New file.
19594 * scripts/abilist.awk: Add support for indirect functions.
19596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19600 * shlib-versions: Remove entries for ports architectures.
19602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19604 * elf/stackguard-macros.h: Remove support for IA-64.
19605 * elf/tst-auditmod1.c: Likewise.
19606 * sysdeps/generic/ldsodefs.h: Likewise.
19608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19613 * configure.in: Remove --enable-omitfp support.
19615 * config.make.in: Likewise.
19616 * Makeconfig: Likewise.
19617 * manual/install.texi: Likewise.
19619 In case anyone cares, the IA-64 architecture could move to ports.
19620 * sysdeps/ia64/*: Removed.
19621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19625 * configure.in: Remove entries for unsupported architectures.
19628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19634 fall back to using wcrtomb.
19635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19639 * wcsmbs/tst-c16c32-1.c: New file.
19641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19646 * elf/tst-unique3.cc: Add explicit declaration of gets.
19647 * elf/tst-unique3lib.cc: Likewise.
19648 * elf/tst-unique3lib2.cc: Likewise.
19649 * elf/tst-unique4.cc: Likewise.
19651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19653 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19656 * assert/assert.h (static_assert): Don't define for C++.
19657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19660 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19662 * iconv/loop.c (single loop): Fix assertion in storing of
19665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19667 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19669 * posix/getconf.c: Update copyright year.
19670 * nss/getent.c: Likewise.
19671 * nss/makedb.c: Likewise.
19672 * iconv/iconvconfig.c: Likewise.
19673 * iconv/iconv_prog.c: Likewise.
19674 * elf/ldconfig.c: Likewise.
19675 * elf/pldd.c: Likewise.
19676 * elf/sotruss.ksh: Likewise.
19677 * catgets/gencat.c: Likewise.
19678 * csu/version.c: Likewise.
19679 * elf/ldd.bash.in: Likewise.
19680 * elf/sprof.c (print_version): Likewise.
19681 * locale/programs/locale.c: Likewise.
19682 * locale/programs/localedef.c: Likewise.
19683 * login/programs/pt_chown.c: Likewise.
19684 * nscd/nscd.c (print_version): Likewise.
19685 * debug/xtrace.sh: Likewise.
19686 * malloc/memusage.sh: Likewise.
19687 * malloc/mtrace.pl: Likewise.
19688 * debug/catchsegv.sh: Likewise.
19690 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19695 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19701 * iconv/gconv_int.h: Likewise.
19702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19704 from libc for GLIBC_2.16.
19705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19707 * wcsmbs/uchar.h: Really define mbstate_t.
19708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19709 * wcsmbs/c16rtomb.c: New file.
19710 * wcsmbs/mbrtoc16.c: New file.
19711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19712 for C/POSIX locale.
19713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19716 * wcsmbs/wchar.h: Add missing __restrict.
19718 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19721 * time/Makefile (routines): Add timespec_get.
19722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19724 timespec for ISO C11.
19725 * time/timespec_get.c: New file.
19726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19731 * stdlib/stdlib.h: Declare aligned_alloc.
19732 * Versions.def: Add GLIBC_2.16 for libc.
19733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19746 * assert/assert.h (static_assert): Define.
19748 * version.h: Update for 2.16 development version.
19751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19754 * version.h (RELEASE): Bump for 2.15 release.
19755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19758 Patch by Marek Polacek <mpolacek@redhat.com>.
19760 * bits/byteswap.h: Protect long long constants with __extension__.
19761 * sysdeps/i386/bits/byteswap.h: Likewise.
19762 * sysdeps/ia64/bits/byteswap.h: Likewise.
19763 * sysdeps/s390/bits/byteswap.h: Likewise.
19764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19766 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19770 destination buffer.
19771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19773 2011-12-23 Marek Polacek <polacek@redhat.com>
19775 * elf/dl-addr.c (determine_info): Add inline keyword.
19776 * elf/tst-auditmod4b.c (check_avx): Likewise.
19777 * elf/tst-auditmod6b.c (check_avx): Likewise.
19778 * elf/tst-auditmod6c.c (check_avx): Likewise.
19779 * elf/tst-auditmod7b.c (check_avx): Likewise.
19781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19786 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19790 processing for last bytes.
19792 2011-08-06 Bruno Haible <bruno@clisp.org>
19795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19796 U+0385, not to U+1FEE.
19799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19800 entry for U+00A5 U+0301.
19802 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19806 buffer for the output is too small.
19808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19813 SSE flags if possible.
19815 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19819 processing for last bytes.
19821 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19824 (syscall-list-default-options, syscall-list-default-condition)
19825 (syscall-list-includes): Define.
19826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19827 list of ABIs and options and #if conditions for each ABI. Do not
19828 handle common syscalls between ABIs specially.
19829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19831 (syscall-list-variants, syscall-list-32bit-options)
19832 (syscall-list-32bit-condition, syscall-list-64bit-options)
19833 (syscall-list-64bit-condition): Define.
19834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19835 (syscall-list-variants, syscall-list-32bit-options)
19836 (syscall-list-32bit-condition, syscall-list-64bit-options)
19837 (syscall-list-64bit-condition): Define.
19838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19840 (syscall-list-variants, syscall-list-32bit-options)
19841 (syscall-list-32bit-condition, syscall-list-64bit-options)
19842 (syscall-list-64bit-condition): Define.
19843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19845 (syscall-list-variants, syscall-list-32bit-options)
19846 (syscall-list-32bit-condition, syscall-list-64bit-options)
19847 (syscall-list-64bit-condition): Define.
19849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19851 * locale/iso-639.def: Add brx entry.
19854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19858 __feraiseexcept_renamed.
19860 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19864 EPOLLET with unsigned values.
19865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19869 to large cancellation.
19870 * math/s_cacoshf.c: Likewise.
19871 * math/s_cacoshl.c: Likewise.
19873 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19878 * math/s_cacoshf.c: Likewise.
19879 * math/s_cacoshl.c: Likewise.
19881 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19884 * iconv/gconv.h: Define __GCONV_SWAP.
19885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19886 * iconvdata/utf-16.c: Likewise.
19887 * iconvdata/utf-32.c: Likewise.
19889 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19893 numerator after shifting it by one limb.
19895 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19898 under [__USE_EXTERN_INLINES].
19900 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19905 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19914 for strncasecmp/strncasecmp_l compilation.
19915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19918 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19924 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19927 * time/tzfile.c (__tzfile_read): Check values from file header.
19929 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19933 * powerpc/powerpc32/dl-start.S: Likewise.
19934 * powerpc/powerpc32/elf/start.S: Likewise.
19935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19948 * powerpc/powerpc32/memset.S: Likewise.
19949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19963 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19965 * math/libm-test.inc: Added more nearbyint tests.
19966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19971 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19976 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19979 Add wcscpy-ssse3 wcscpy-c.
19980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19983 * sysdeps/x86_64/wcschr.S: New file.
19984 * sysdeps/x86_64/wcsrchr.S: New file.
19985 * string/test-strcmp.c: Remove checking of wcscmp function for
19987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19989 wcsrchr-sse2 wcsrchr-c.
19990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19999 * wcsmbc/wcschr.c (WCSCHR): New macro.
20001 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20004 * wcsmbs/test-wcsrchr.c: New file.
20005 * string/test-strrchr.c: Add wcsrchr support.
20007 * wcsmbs/test-wcscpy.c: New file.
20008 * string/test-strcpy.c: Add wcscpy support.
20011 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20016 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20021 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20024 Minor optimizations.
20026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20030 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20035 for gcc to avoid warnings.
20036 * inet/Makefile (tests): Add tst-checks.
20037 * inet/tst-checks.c: New file.
20039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20050 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20057 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20060 conditional on GCC version.
20061 (__arch_compare_and_exchange_val_8_acq)
20062 (__arch_compare_and_exchange_val_16_acq)
20063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20067 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20069 * sysdeps/sh/backtrace.c: New file.
20071 2011-12-02 Andreas Schwab <schwab@redhat.com>
20073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20076 2011-12-01 Andreas Schwab <schwab@redhat.com>
20078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20079 falling back to utime.
20081 2011-11-30 Andreas Schwab <schwab@redhat.com>
20083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20084 expectations for float.
20086 2011-11-29 Andreas Schwab <schwab@redhat.com>
20088 * locale/weight.h (findidx): Add parameter len.
20089 * locale/weightwc.h (findidx): Likewise.
20090 * posix/fnmatch_loop.c (FCT): Adjust caller.
20091 * posix/regcomp.c (build_equiv_class): Likewise.
20092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20093 * posix/regexec.c (check_node_accept_bytes): Likewise.
20094 * string/strcoll_l.c (STRCOLL): Likewise.
20095 * string/strxfrm_l.c (STRXFRM): Likewise.
20097 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20099 * Makefile.in: Remove CVSOPT handling.
20100 * configure.in: Remove use of AC_REVISION.
20101 * iconvdata/Makefile (distribute): No need to filter out CVS.
20102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20105 2011-11-16 Andreas Schwab <schwab@redhat.com>
20107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20109 [USE_AS_STRNCASECMP_L]: Likewise.
20110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20111 NO_TLS_DIRECT_SEG_REFS.
20112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20113 Fix argument offsets for non-PIC.
20114 [USE_AS_STRNCASECMP_L]: Likewise.
20115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20116 NO_TLS_DIRECT_SEG_REFS.
20118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20122 * locale/loadlocale.c (_nl_load_locale): Likewise.
20124 2011-11-15 Andreas Schwab <schwab@redhat.com>
20126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20129 (SYSCALL_GETTIME): Set errno on error.
20131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20132 count references to noai6ai_cached.
20134 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20139 FD_CLOEXEC for /proc/self/maps.
20141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20142 FD_CLOEXEC for /proc/meminfo.
20144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20148 FD_CLOEXEC for given file.
20150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20153 FD_CLOEXEC for /etc/hosts.
20154 (_gethtent): Likewise.
20156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20159 cancellation and set FD_CLOEXEC for /etc/netgroup.
20161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20162 reading /etc/publickey.
20164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20165 allow cancellation when reading /etc/group.
20167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20172 when using data file.
20174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20177 (write_nis_obj): Use "c" and "e" in fopen.
20179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20197 file parsing and set FD_CLOEXEC.
20199 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20203 2011-11-14 Andreas Schwab <schwab@redhat.com>
20205 * malloc/arena.c (arena_get2): Don't call reused_arena when
20206 _int_new_arena failed.
20208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20216 to compile strcasecmp and strncasecmp.
20217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20222 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20225 locale-defines.sym to gen-as-const-headers.
20226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20229 to compile strcasecmp and strncasecmp.
20230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20231 strcasecmp_l and strncasecmp_l.
20232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20244 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20247 result of SYSDEP_GETTIME_CPU to retval.
20248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20249 parameter list to macro. Remove trailing semicolon. Adjust users.
20251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20259 from unused variable.
20261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20269 * sunrpc/rpc_prot.c (rejected): Fix case value.
20271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20272 unsigned long long int to avoid warnings in shift.
20274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20283 * nis/nis_table.c (nis_list): Use variable of correct type for
20284 result of __follow_path call.
20286 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20289 of math functions ceil, trunc, floor, round, and sqrt, when
20290 avaliable on the platform.
20291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20297 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20302 2011-11-11 Roland McGrath <roland@hack.frob.com>
20304 * include/unistd.h: Fix __readlink return type.
20305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20307 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20309 * stdlib/ucontext.h: Undo last change for makecontext.
20311 2011-11-11 Andreas Schwab <schwab@redhat.com>
20313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20316 * setjmp/setjmp.h: Mark functions as non-leaf.
20317 * setjmp/bits/setjmp2.h: Likewise.
20318 * stdlib/ucontext.h: Likewise.
20320 2011-11-10 Andreas Schwab <schwab@redhat.com>
20322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20323 (reused_arena): Don't check arena limit.
20324 (arena_get2): Atomically check arena limit.
20326 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20334 2011-11-07 Andreas Schwab <schwab@redhat.com>
20336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20337 handler when locking.
20339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20340 Fix size of allocated buffer.
20342 2011-11-04 Andreas Schwab <schwab@redhat.com>
20345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20346 declarations for long double functions.
20347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20351 2011-11-03 Andreas Schwab <schwab@redhat.com>
20353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20359 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20363 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20365 * include/alloca.h (stackinfo_alloca_round): Define.
20366 (extend_alloca): Use it.
20367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20371 * scripts/check-local-headers.sh: Ignore libaudit.h.
20373 * nscd/Makefile (extra-objs): Make recursively expanded.
20375 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20381 * posix/tst-rfc3484-2.c: Likewise.
20382 * posix/tst-rfc3484-3.c: Likewise.
20384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20389 process_vm_writev from libc using GLIBC_2.15 version.
20391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20393 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20398 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20401 * nss/getent.c (initgroups_keys): Show error message in case no group
20404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20406 __bump_nl_timestamp.
20407 * nscd/connections (nscd_init): When host database is served open
20408 netlink socket and request notification about configuration changes.
20409 (main_loop_poll): Track netlink file descriptor and bump timestamp
20410 in case data becomes available.
20411 (main_loop_epoll): Likewise.
20412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20413 (database_pers_head): Add extra_data fileds.
20414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20419 in6ai data, call __free_in6ai.
20420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20421 Add -DHAVE_NETLINK.
20422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20423 interface information. Reuse previous data if netlink timestamp
20425 (__bump_nl_timestamp): New function.
20426 (__free_in6ai): New function.
20428 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20431 close_not_cancel_no_status here.
20432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20434 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20444 2011-07-03 Andreas Jaeger <aj@suse.de>
20447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20449 * math/libm-test.inc (sin_test): Add test case.
20451 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20457 * elf/chroot_canon.c (chroot_canon): Cleanups.
20459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20465 * string/test-strchr.c: Make usable for strchrnul testing.
20466 * string/test-strchrnul.c: New file.
20467 * string/Makefile (strop-tests): Add strchrnul.
20469 * po/it.po: Update from translation team.
20470 * po/es.po: Likewise.
20472 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20475 the three constants needed as parameters. Drop the others.
20476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20477 __m128i_strloadu_tolower.
20478 Create and initialize variable zero and use it in all the places
20479 where _mm_setzero_si128 was used.
20481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20491 __mpranred, __mptan.
20492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20502 2011-10-28 Andreas Schwab <schwab@redhat.com>
20504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20505 redefine if SHARED.
20506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20509 wide char related routines to wcsmbs subdir.
20511 2011-10-27 Andreas Schwab <schwab@redhat.com>
20514 * misc/sys/cdefs.h (__THROWNL): Define.
20515 * posix/unistd.h: Use __THREADNL instead of __THREAD
20516 for memory synchronization functions.
20518 2011-10-26 Roland McGrath <roland@hack.frob.com>
20521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20523 * manual/stdio.texi (Obstack Streams): Node removed.
20525 2011-10-26 Andreas Schwab <schwab@redhat.com>
20527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20531 * math/math_private.h (math_force_eval): Allow non-addressable
20533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20538 file is not needed.
20540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20573 place. Use VEX encoding when compiling for AVX.
20575 2011-10-25 Andreas Schwab <schwab@redhat.com>
20577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20585 useless if() expression.
20586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20608 2011-10-25 Andreas Schwab <schwab@redhat.com>
20610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20614 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20617 .text section. Avoid duplicate constants.
20618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20664 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20666 * sysdeps/x86_64/dla.h: Move to ...
20667 * sysdeps/x86_64/fpu/dla.h: ...here.
20668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20669 situations. Use __builtin_fma only for gcc 4.6 and up.
20671 * config.make.in: Add have-mfma4 entry.
20672 * configure.in: Substitute libc_cv_cc_fma4.
20673 * math/Makefile (dbl-only-routines): Add sincostab.
20674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20675 Use __sincostab not sincos.
20676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20692 define aliases when function name is a macro.
20693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20694 sysdeps/ieee754/dbl-64/sincos.tbl.
20695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20696 fma4-enabled routines.
20697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20739 2011-10-24 Andreas Schwab <schwab@redhat.com>
20741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20752 Remove unused variable magic_bits.
20753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20755 * string/strnlen.c: Define and use STRNLEN macro.
20756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20759 * wcsmbs/wcslen.c: Define and use WCSLEN.
20760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20768 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20771 strnlen-sse2-no-bsf.
20772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20775 Add strnlen support.
20776 (USE_AS_STRNLEN): New macro.
20777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20780 * sysdeps/x86_64/wcslen.S: New file.
20782 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20785 XMM-moves are used for copying on small sizes.
20787 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20789 * wcsmbs/Makefile (strop-tests): Add wcschr.
20790 * wcsmbs/test-wcschr.c: New file.
20791 * string/test-strchr.c: Update.
20792 Add wcschr support.
20795 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20797 * wcsmbs/Makefile (strop-tests): Add wcslen.
20798 * wcsmbs/test-wcslen.c: New file.
20799 * string/test-strlen.c: Update.
20800 Add wcslen support.
20803 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20805 * po/it.po: Update from translation team.
20807 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20809 * sysdeps/x86_64/wcscmp.S: Update.
20810 Fix wrong comparison semantics.
20811 wcscmp shall use signed comparison not unsigned.
20812 Don't use substraction to avoid overflow bug.
20813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20814 * wcsmbc/wcscmp.c: Likewise.
20815 * string/test-strcmp.c: Likewise.
20816 Add new tests to check cases with negative values.
20818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20821 * sysdeps/x86_64/dla.h: ...here. New file.
20822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20832 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20835 __ynl_finite aliases.
20837 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20843 [DLA_FMA] (EMULV): Use DLA_FMA.
20844 [DLA_FMA] (MUL12): Use EMULV.
20845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20846 that are not needed.
20847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20855 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20857 * math/s_nan.c: Undef __nan.
20858 * math/s_nanf.c: Undef __nanf.
20859 * math/s_nanl.c: Undef __nanl.
20860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20863 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20865 * math/s_catan.c: Add branch predictions.
20866 * math/s_catanf.c: Likewise.
20867 * math/s_catanh.c: Likewise.
20868 * math/s_catanhf.c: Likewise.
20869 * math/s_catanhl.c: Likewise.
20870 * math/s_catanl.c: Likewise.
20871 * math/s_cexp.c: Likewise.
20872 * math/s_cexpf.c: Likewise.
20873 * math/s_cexpl.c: Likewise.
20874 * math/s_clog.c: Likewise.
20875 * math/s_clog10.c: Likewise.
20876 * math/s_clog10f.c: Likewise.
20877 * math/s_clog10l.c: Likewise.
20878 * math/s_clogf.c: Likewise.
20879 * math/s_clogl.c: Likewise.
20880 * math/s_csqrt.c: Likewise.
20881 * math/s_csqrtf.c: Likewise.
20882 * math/s_csqrtl.c: Likewise.
20883 * math/s_ctanf.c: Likewise.
20884 * math/s_ctanh.c: Likewise.
20885 * math/s_ctanhf.c: Likewise.
20886 * math/s_ctanhl.c: Likewise.
20887 * math/s_ctanl.c: Likewise.
20889 * math/math_private.h: Define __nan, __nanf, __nanl.
20890 * math/s_cacosh.c: Include <math_private.h>.
20891 * math/s_cacoshl.c: Likewise.
20892 * math/s_casinh.c: Likewise.
20893 * math/s_casinhf.c: Likewise.
20894 * math/s_casinhl.c: Likewise.
20895 * math/s_ccos.c: Rely entire on ccosh.
20896 * math/s_ccosf.c: Rely entire on ccoshf.
20897 * math/s_ccosl.c: Rely entirely on ccoshl.
20898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20899 Remove tests for FE_INVALID.
20900 * math/s_ccoshf.c: Likewise.
20901 * math/s_ccoshl.c: Likewise.
20902 * math/s_csin.c: Likewise.
20903 * math/s_csinf.c: Likewise.
20904 * math/s_csinh.c Likewise.
20905 * math/s_csinhf.c: Likewise.
20906 * math/s_csinhl.c: Likewise.
20907 * math/s_csinl.c: Likewise.
20908 * math/s_ctan.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20913 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20916 compilation problems.
20918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20921 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20923 * sysdeps/i386/configure.in: Test for -mfma4 option.
20924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20926 COMMON_CPUID_INDEX_80000001.
20927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20929 use it if FMA3 is not supported.
20930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20935 2011-10-20 Andreas Schwab <schwab@redhat.com>
20938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20939 it would create a cycle with a link time dependency.
20941 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20945 * string/Makefile (strop-tests): Add rawmemchr.
20946 * string/test-rawmemchr.c: New file.
20948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20951 when compiling str{,n}casecmp and when AVX is available. Hook up
20952 new optimized code in initializers.
20954 2011-10-19 Andreas Schwab <schwab@redhat.com>
20956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20957 __feraiseexcept instead of feraiseexcept.
20959 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20961 * math/math_private.h: Define defaults for libc_fetestexcept and
20963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20969 libc_fetestexcept and libc_feupdateenv.
20971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20975 libc_feholdexcept_setround.
20977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20978 Add s_nearbyint-c and s_nearbyintf-c.
20979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20980 nearbyintf inlines.
20981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20986 * math/math_private.h: Define defaults for libc_fegetround,
20987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20992 standard functions.
20993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20994 Remove comments and hacks for old compiler versions.
20995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20997 libc_feholdexceptl.
20999 2011-10-18 Andreas Schwab <schwab@redhat.com>
21001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21002 (__feraiseexcept_renamed): Add __NTH.
21003 (feraiseexcept): Add __NTH. Rename local variables to fix
21004 namespace violations.
21006 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21013 recently added interfaces.
21014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21017 about macro parameter expansion.
21019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21020 __NO_MATH_INLINES is defined. Cleanups.
21022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21023 and __floorf is target has SSE4.1.
21024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21031 (floorf): Likewise.
21033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21035 2011-10-17 Andreas Schwab <schwab@redhat.com>
21037 * misc/sys/cdefs.h: Fix last change.
21039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21042 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21070 ceil, ceilf, floor, floorf.
21072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21073 Perform IRELATIVE relocations last.
21075 * elf/do-rel.h: Add another parameter nrelative, replacing the
21076 local variable with the same name. Change name of the function
21077 to end in Rel or Rela (uppercase).
21078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21080 elf_dynamic_do_##reloc function.
21082 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21085 is sufficient, at least on modern CPUs.
21087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21094 * math/bits/math-finite.h: Add entries for exp.
21095 * math/e_expl.c: Add __*_finite alias.
21096 * sysdeps/i386/fpu/e_exp.S: Likewise.
21097 * sysdeps/i386/fpu/e_expf.S: Likewise.
21098 * sysdeps/i386/fpu/e_expl.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21108 is sufficient, at least on modern CPUs.
21110 * ctype/ctype-info.c (__ctype_init): Define.
21111 * include/ctype.h (__ctype_init): Declare.
21112 (__ctype_b_loc): The variable is always initialized.
21113 (__ctype_toupper_loc): Likewise.
21114 (__ctype_tolower_loc): Likewise.
21115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21118 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21122 * configure.in: Also look in $cxxmachine/include for C++ system
21125 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21132 (USE_AS_WMEMCMP): New macro.
21134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21145 (USE_AS_WMEMCMP): New macro.
21146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21147 * sysdeps/string/test-memcmp.c: Update.
21148 Fix simple_wmemcmp.
21150 * wcsmbs/wmemcmp.c: Update.
21151 (WMEMCMP): New macro.
21154 2011-10-12 Andreas Jaeger <aj@suse.de>
21157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21159 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21161 * libio/iofwide.c (do_length): Avoid warning.
21163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21165 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21172 * sysdeps/i386/i686/fpu/e_log.S: New file.
21173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21176 * ctype/ctype.h: Add support for inlined isXXX functions when
21177 compiling C++ code.
21179 2011-10-14 Andreas Schwab <schwab@redhat.com>
21181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21185 2011-10-13 Roland McGrath <roland@hack.frob.com>
21188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21190 2011-10-13 Andreas Schwab <schwab@redhat.com>
21192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21196 * sysdeps/x86_64/memrchr.S: Check for zero size.
21198 * string/stratcliff.c: Add memrchr tests.
21200 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21204 rawmemchr-sse2 rawmemchr-sse2-bsf.
21205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21215 * string/memrchr.c (MEMRCHR): New macro.
21217 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21219 Add integration with gcc's -ffinite-math-only and optimize wrapper
21221 * Versions.def: Define GLIBC_2.15 version for libm.
21222 * math/Makefile (headers): Add bits/math-finite.h.
21223 * math/bits/math-finite.h: New file.
21224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21226 * math/e_acoshl.c: Add __*_finite alias.
21227 * math/e_acosl.c: Likewise.
21228 * math/e_asinl.c: Likewise.
21229 * math/e_atan2l.c: Likewise.
21230 * math/e_atanhl.c: Likewise.
21231 * math/e_coshl.c: Likewise.
21232 * math/e_exp10.c: Likewise.
21233 * math/e_exp10f.c: Likewise.
21234 * math/e_exp10l.c: Likewise.
21235 * math/e_exp2l.c: Likewise.
21236 * math/e_fmodl.c: Likewise.
21237 * math/e_gammal_r.c: Likewise.
21238 * math/e_hypotl.c: Likewise.
21239 * math/e_j0l.c: Likewise.
21240 * math/e_j1l.c: Likewise.
21241 * math/e_jnl.c: Likewise.
21242 * math/e_lgammal_r.c: Likewise.
21243 * math/e_log10l.c: Likewise.
21244 * math/e_log2l.c: Likewise.
21245 * math/e_logl.c: Likewise.
21246 * math/e_powl.c: Likewise.
21247 * math/e_sinhl.c: Likewise.
21248 * math/e_sqrtl.c: Likewise.
21249 * math/e_scalb.c: Completely rewritten and optimized.
21250 * math/e_scalbf.c: Likewise.
21251 * math/e_scalbl.c: Likewise.
21252 * math/w_acos.c: Likewise.
21253 * math/w_acosf.c: Likewise.
21254 * math/w_acosl.c: Likewise.
21255 * math/w_acosh.c: Likewise.
21256 * math/w_acoshf.c: Likewise.
21257 * math/w_acoshl.c: Likewise.
21258 * math/w_asin.c: Likewise.
21259 * math/w_asinf.c: Likewise.
21260 * math/w_asinl.c: Likewise.
21261 * math/w_atan2.c: Likewise.
21262 * math/w_atan2f.c: Likewise.
21263 * math/w_atan2l.c: Likewise.
21264 * math/w_atanh.c: Likewise.
21265 * math/w_atanhf.c: Likewise.
21266 * math/w_atanhl.c: Likewise.
21267 * math/w_exp10.c: Likewise.
21268 * math/w_exp10f.c: Likewise.
21269 * math/w_exp10l.c: Likewise.
21270 * math/w_fmod.c: Likewise.
21271 * math/w_fmodf.c: Likewise.
21272 * math/w_fmodl.c: Likewise.
21273 * math/w_j0.c: Likewise.
21274 * math/w_j0f.c: Likewise.
21275 * math/w_j0l.c: Likewise.
21276 * math/w_j1.c: Likewise.
21277 * math/w_j1f.c: Likewise.
21278 * math/w_j1l.c: Likewise.
21279 * math/w_jn.c: Likewise.
21280 * math/w_jnf.c: Likewise.
21281 * math/w_log.c: Likewise.
21282 * math/w_logf.c: Likewise.
21283 * math/w_logl.c: Likewise.
21284 * math/w_log10.c: Likewise.
21285 * math/w_log10f.c: Likewise.
21286 * math/w_log10l.c: Likewise.
21287 * math/w_log2.c: Likewise.
21288 * math/w_log2f.c: Likewise.
21289 * math/w_log2l.c: Likewise.
21290 * math/w_pow.c: Likewise.
21291 * math/w_powf.c: Likewise.
21292 * math/w_powl.c: Likewise.
21293 * math/w_remainder.c: Likewise.
21294 * math/w_remainderf.c: Likewise.
21295 * math/w_remainderl.c: Likewise.
21296 * math/w_scalb.c: Likewise.
21297 * math/w_scalbf.c: Likewise.
21298 * math/w_scalbl.c: Likewise.
21299 * math/w_sqrt.c: Likewise.
21300 * math/w_sqrtf.c: Likewise.
21301 * math/w_sqrtl.c: Likewise.
21302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21305 * math/math_private.h: Declare __kernel_standard_f.
21306 * math/w_cosh.c: Remove cruft and optimize a bit.
21307 * math/w_coshf.c: Likewise.
21308 * math/w_coshl.c: Likewise.
21309 * math/w_exp2.c: Likewise.
21310 * math/w_exp2f.c: Likewise.
21311 * math/w_exp2l.c: Likewise.
21312 * math/w_hypot.c: Likewise.
21313 * math/w_hypotf.c: Likewise.
21314 * math/w_hypotl.c: Likewise.
21315 * math/w_lgamma.c: Likewise.
21316 * math/w_lgamma_r.c: Likewise.
21317 * math/w_lgammaf.c: Likewise.
21318 * math/w_lgammaf_r.c: Likewise.
21319 * math/w_lgammal.c: Likewise.
21320 * math/w_lgammal_r.c: Likewise.
21321 * math/w_sinh.c: Likewise.
21322 * math/w_sinhf.c: Likewise.
21323 * math/w_sinhl.c: Likewise.
21324 * math/w_tgamma.c: Likewise.
21325 * math/w_tgammaf.c: Likewise.
21326 * math/w_tgammal.c: Likewise.
21327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21330 Minor optimizations. Pretty printing. Remove cruft.
21331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21336 * sysdeps/i386/fpu/e_asin.S: Likewise.
21337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21355 * sysdeps/i386/fpu/e_log.S: Likewise.
21356 * sysdeps/i386/fpu/e_log10.S: Likewise.
21357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21359 * sysdeps/i386/fpu/e_log2.S: Likewise.
21360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21362 * sysdeps/i386/fpu/e_logf.S: Likewise.
21363 * sysdeps/i386/fpu/e_logl.S: Likewise.
21364 * sysdeps/i386/fpu/e_pow.S: Likewise.
21365 * sysdeps/i386/fpu/e_powf.S: Likewise.
21366 * sysdeps/i386/fpu/e_powl.S: Likewise.
21367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21489 (__isnanf): Likewise.
21490 (__isinf_ns): Likewise.
21491 (__isinf_nsf): Likewise.
21492 (__finite): Likewise.
21493 (__finitef): Likewise.
21494 (__ieee754_sqrt): Define as macro.
21495 (__ieee754_sqrtf): Define as macro.
21496 (__ieee754_sqrtl): Define as macro.
21497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21500 __FINITE_MATH_ONLY__ consistent.
21501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21503 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21510 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21512 * po/ja.po: Update from translation team.
21514 2011-10-08 Roland McGrath <roland@hack.frob.com>
21516 * locale/programs/locarchive.c (prepare_address_space): New function.
21517 (create_archive, enlarge_archive, open_archive): Use it.
21519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21520 inside [SHARED], where it is used.
21522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21524 * nss/getent.c (netgroup_keys): Remove unused variable.
21525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21527 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21535 * math/Makefile (libm-calls): Add s_isinf_ns.
21536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21537 * math/multc3.c: Likewise.
21538 * math/s_casin.c: Likewise.
21539 * math/s_casinf.c: Likewise.
21540 * math/s_casinl.c: Likewise.
21541 * math/s_ccos.c: Likewise.
21542 * math/s_ccosf.c: Likewise.
21543 * math/s_ccosl.c: Likewise.
21544 * math/s_ctan.c: Likewise.
21545 * math/s_ctanf.c: Likewise.
21546 * math/s_ctanh.c: Likewise.
21547 * math/s_ctanhf.c: Likewise.
21548 * math/s_ctanhl.c: Likewise.
21549 * math/s_ctanl.c: Likewise.
21550 * math/w_fmod.c: Likewise.
21551 * math/w_fmodf.c: Likewise.
21552 * math/w_fmodl.c: Likewise.
21553 * math/w_remainder.c: Likewise.
21554 * math/w_remainderf.c: Likewise.
21555 * math/w_remainderl.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21567 * stdio-common/printf_fphex.c: Likewise.
21568 * stdio-common/printf_size.c: Likewise.
21570 * math/e_exp10.c: Include math_private.h using <...> not "...".
21571 * math/e_exp10f.c: Likewise.
21572 * math/e_exp10l.c: Likewise.
21573 * math/e_exp2l.c: Likewise.
21574 * math/e_j0l.c: Likewise.
21575 * math/e_j1l.c: Likewise.
21576 * math/e_jnl.c: Likewise.
21577 * math/e_lgammal_r.c: Likewise.
21578 * math/e_rem_pio2l.c: Likewise.
21579 * math/e_scalb.c: Likewise.
21580 * math/e_scalbf.c: Likewise.
21581 * math/e_scalbl.c: Likewise.
21582 * math/k_cosl.c: Likewise.
21583 * math/k_sinl.c: Likewise.
21584 * math/k_tanl.c: Likewise.
21585 * math/s_cacoshf.c: Likewise.
21586 * math/s_catan.c: Likewise.
21587 * math/s_catanf.c: Likewise.
21588 * math/s_catanh.c: Likewise.
21589 * math/s_catanhf.c: Likewise.
21590 * math/s_catanhl.c: Likewise.
21591 * math/s_catanl.c: Likewise.
21592 * math/s_ccosh.c: Likewise.
21593 * math/s_ccoshf.c: Likewise.
21594 * math/s_ccoshl.c: Likewise.
21595 * math/s_cexp.c: Likewise.
21596 * math/s_cexpf.c: Likewise.
21597 * math/s_cexpl.c: Likewise.
21598 * math/s_clog.c: Likewise.
21599 * math/s_clog10.c: Likewise.
21600 * math/s_clog10f.c: Likewise.
21601 * math/s_clog10l.c: Likewise.
21602 * math/s_clogf.c: Likewise.
21603 * math/s_clogl.c: Likewise.
21604 * math/s_csin.c: Likewise.
21605 * math/s_csinf.c: Likewise.
21606 * math/s_csinh.c: Likewise.
21607 * math/s_csinhf.c: Likewise.
21608 * math/s_csinhl.c: Likewise.
21609 * math/s_csinl.c: Likewise.
21610 * math/s_csqrt.c: Likewise.
21611 * math/s_csqrtf.c: Likewise.
21612 * math/s_csqrtl.c: Likewise.
21613 * math/s_ctan.c: Likewise.
21614 * math/s_ctanf.c: Likewise.
21615 * math/s_ctanh.c: Likewise.
21616 * math/s_ctanhf.c: Likewise.
21617 * math/s_ctanhl.c: Likewise.
21618 * math/s_ctanl.c: Likewise.
21619 * math/s_ldexp.c: Likewise.
21620 * math/s_ldexpf.c: Likewise.
21621 * math/s_ldexpl.c: Likewise.
21622 * math/s_significand.c: Likewise.
21623 * math/s_significandf.c: Likewise.
21624 * math/s_significandl.c: Likewise.
21625 * math/w_acos.c: Likewise.
21626 * math/w_acosf.c: Likewise.
21627 * math/w_acosh.c: Likewise.
21628 * math/w_acoshf.c: Likewise.
21629 * math/w_acoshl.c: Likewise.
21630 * math/w_acosl.c: Likewise.
21631 * math/w_asin.c: Likewise.
21632 * math/w_asinf.c: Likewise.
21633 * math/w_asinl.c: Likewise.
21634 * math/w_atan2.c: Likewise.
21635 * math/w_atan2f.c: Likewise.
21636 * math/w_atan2l.c: Likewise.
21637 * math/w_atanh.c: Likewise.
21638 * math/w_atanhf.c: Likewise.
21639 * math/w_atanhl.c: Likewise.
21640 * math/w_cosh.c: Likewise.
21641 * math/w_coshf.c: Likewise.
21642 * math/w_coshl.c: Likewise.
21643 * math/w_dremf.c: Likewise.
21644 * math/w_exp10.c: Likewise.
21645 * math/w_exp10f.c: Likewise.
21646 * math/w_exp10l.c: Likewise.
21647 * math/w_exp2.c: Likewise.
21648 * math/w_exp2f.c: Likewise.
21649 * math/w_fmod.c: Likewise.
21650 * math/w_fmodf.c: Likewise.
21651 * math/w_fmodl.c: Likewise.
21652 * math/w_hypot.c: Likewise.
21653 * math/w_hypotf.c: Likewise.
21654 * math/w_hypotl.c: Likewise.
21655 * math/w_j0.c: Likewise.
21656 * math/w_j0f.c: Likewise.
21657 * math/w_j0l.c: Likewise.
21658 * math/w_j1.c: Likewise.
21659 * math/w_j1f.c: Likewise.
21660 * math/w_j1l.c: Likewise.
21661 * math/w_jn.c: Likewise.
21662 * math/w_jnf.c: Likewise.
21663 * math/w_jnl.c: Likewise.
21664 * math/w_lgamma.c: Likewise.
21665 * math/w_lgamma_r.c: Likewise.
21666 * math/w_lgammaf.c: Likewise.
21667 * math/w_lgammaf_r.c: Likewise.
21668 * math/w_lgammal.c: Likewise.
21669 * math/w_lgammal_r.c: Likewise.
21670 * math/w_log.c: Likewise.
21671 * math/w_log10.c: Likewise.
21672 * math/w_log10f.c: Likewise.
21673 * math/w_log10l.c: Likewise.
21674 * math/w_log2.c: Likewise.
21675 * math/w_log2f.c: Likewise.
21676 * math/w_log2l.c: Likewise.
21677 * math/w_logf.c: Likewise.
21678 * math/w_logl.c: Likewise.
21679 * math/w_pow.c: Likewise.
21680 * math/w_powf.c: Likewise.
21681 * math/w_powl.c: Likewise.
21682 * math/w_remainder.c: Likewise.
21683 * math/w_remainderf.c: Likewise.
21684 * math/w_remainderl.c: Likewise.
21685 * math/w_scalb.c: Likewise.
21686 * math/w_scalbf.c: Likewise.
21687 * math/w_scalbl.c: Likewise.
21688 * math/w_sinh.c: Likewise.
21689 * math/w_sinhf.c: Likewise.
21690 * math/w_sinhl.c: Likewise.
21691 * math/w_sqrt.c: Likewise.
21692 * math/w_sqrtf.c: Likewise.
21693 * math/w_sqrtl.c: Likewise.
21694 * math/w_tgamma.c: Likewise.
21695 * math/w_tgammaf.c: Likewise.
21696 * math/w_tgammal.c: Likewise.
21698 * po/ja.po: Update from translation team.
21700 2011-09-29 Andreas Jaeger <aj@suse.de>
21703 * sunrpc/netname.c (netname2host): Fix logic.
21707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21709 * math/w_remainder.c (__remainder): Likewise.
21710 * math/w_remainderf.c (__remainderf): Likewise.
21711 * math/libm-test.inc (remainder_test): Add test cases.
21713 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21718 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21720 * string/test-memcmp.c: Avoid unncessary #defines.
21721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21723 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21726 Use new sse2 version for core i3 - i7 as it's faster
21727 than sse42 version.
21728 (bit_Prefer_PMINUB_for_stringop): New.
21729 * sysdeps/x86_64/rawmemchr.S: Update.
21730 Replace with faster SSE2 version.
21731 * sysdeps/x86_64/memrchr.S: New file.
21732 * sysdeps/x86_64/memchr.S: Update.
21733 Replace with faster SSE2 version.
21735 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21737 * elf/dl-load.c (lose): Add cast to avoid warning.
21739 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21741 * po/ca.po: Update from translation team.
21743 * inet/getnetgrent_r.c: Hook up nscd.
21744 * nscd/Makefile (routines): Add nscd_netgroup.
21745 (nscd-modules): Add netgroupcache.
21746 (CFLAGS-netgroupcache.c): Define.
21747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21748 (cache_search): Add const to second parameter.
21749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21751 (dbs): Add netgrdb entry.
21752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21753 (verify_persistent_db): Handle netgrdb.
21754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21757 (netgroup_response_header): Define.
21758 (innetgroup_response_header): Define.
21759 (datahead): Add netgroup_response_header and innetgroup_response_header
21761 * nscd/nscd.conf: Add entries for netgroup cache.
21762 * nscd/nscd.h (dbtype): Add netgrdb.
21763 (_PATH_NSCD_NETGROUP_DB): Define.
21764 (netgroup_iov_disabled): Declare.
21765 (xmalloc, xcalloc, xrealloc): Move declarations here.
21766 (cache_search): Adjust prototype.
21767 Add netgroup-related prototypes.
21768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21770 (__nscd_innetgr): Declare.
21771 * nscd/selinux.c (perms): Use access_vector_t as element type and
21772 add netgroup-related initializers.
21773 * nscd/netgroupcache.c: New file.
21774 * nscd/nscd_netgroup.c: New file.
21775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21777 For four parameters use innetgr.
21778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21783 * nscd/connections.c (register_traced_file): Don't register file
21784 for disabled databases.
21786 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21791 from tree and freeing node.
21793 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21795 * nss/nsswitch.c (__nss_database_lookup): Handle
21796 nss_parse_service_list out of memory case.
21798 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21801 out of memory case.
21803 2011-10-04 Andreas Schwab <schwab@redhat.com>
21805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21809 elf_machine_rela, elf_machine_lazy_rel.
21810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21811 (ELF_DYNAMIC_DO_REL): Likewise.
21812 (ELF_DYNAMIC_DO_RELA): Likewise.
21813 (ELF_DYNAMIC_RELOCATE): Likewise.
21814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21815 to ELF_DYNAMIC_DO_REL.
21816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21821 skip_ifunc, don't call ifunc function if non-zero.
21822 (elf_machine_rela): Likewise.
21823 (elf_machine_lazy_rel): Likewise.
21824 (elf_machine_lazy_rela): Likewise.
21825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21826 (elf_machine_lazy_rel): Likewise.
21827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21829 (elf_machine_lazy_rel): Likewise.
21830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21832 (elf_machine_lazy_rel): Likewise.
21833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21834 (elf_machine_lazy_rel): Likewise.
21835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21836 (elf_machine_lazy_rel): Likewise.
21837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21838 (elf_machine_lazy_rel): Likewise.
21839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21840 (elf_machine_lazy_rel): Likewise.
21841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21842 (elf_machine_lazy_rel): Likewise.
21843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21844 (elf_machine_lazy_rel): Likewise.
21846 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21848 * nss/nss_files/files-init.c (_nss_files_init): Use static
21849 initialization for all the *_traced_file variables.
21851 2011-09-28 Andreas Schwab <schwab@redhat.com>
21853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21855 2011-09-27 Roland McGrath <roland@hack.frob.com>
21858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21860 2011-09-27 Andreas Schwab <schwab@redhat.com>
21862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21863 Reread the line before reparsing it.
21865 2011-09-26 Andreas Schwab <schwab@redhat.com>
21867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21869 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21870 Maxim Kuvyrkov <maxim@codesourcery.com>
21871 Joseph Myers <joseph@codesourcery.com>
21873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21874 if needed for __stack_chk_guard.
21876 2011-09-19 Roland McGrath <roland@hack.frob.com>
21878 * sysdeps/posix/spawni.c (script_execute): Always define it.
21879 It will be optimized away if unused.
21880 (maybe_script_execute): New function.
21881 (__spawni): Call it.
21883 * Makerules: Don't include tls.make.
21884 (config-tls): Always set to thread.
21885 * tls.make.c: File removed.
21887 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21890 * config.make.in (CPPFLAGS-config): New substituted variable.
21892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21900 2011-09-15 Roland McGrath <roland@hack.frob.com>
21902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21905 (CALL_FAIL): Likewise.
21906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21907 (CALL_FAIL): Macro removed.
21908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21910 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21913 for __FINITE_MATH_ONLY__ == 1.
21915 2011-09-15 Andreas Schwab <schwab@redhat.com>
21917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21918 __ieee754_sqrt instead of sqrt.
21919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21920 __ieee754_sqrtf instead of sqrtf.
21921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21922 __floorf instead of floorf.
21923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21924 __floorf, __truncf instead of floorf, truncf.
21926 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21931 __extern_always_inline.
21932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21935 2011-09-14 Andreas Schwab <schwab@redhat.com>
21937 * elf/rtld.c (dl_main): Also relocate in dependency order when
21938 doing symbol dependency testing.
21940 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21943 Always define `refsym'.
21945 2011-09-13 Andreas Schwab <schwab@redhat.com>
21947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21948 (__FD_ELT): Renamed from __FDELT.
21949 * misc/bits/select2.h (__FD_ELT): Likewise.
21950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21951 __FD_MASK instead of __FDELT, __FDMASK.
21952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21957 * elf/Makefile (gen-ldd): Fix pattern.
21959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21960 (init_tls): Likewise.
21962 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21966 2011-09-12 Andreas Schwab <schwab@redhat.com>
21968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21969 `struct cmsghdr *' instead of `void *'.
21970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21973 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21978 ldd_rewrite_script.
21980 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21982 * configure.in: Remove --with-tls option.
21983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21985 out in case it is missing.
21986 * sysdeps/ia64/elf/configure.in: Likewise.
21987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21991 * sysdeps/sh/elf/configure.in: Likewise.
21992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21994 * sysdeps/x86_64/elf/configure.in: Likewise.
21995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21996 * sysdeps/mach/hurd/tls.h: Likewise.
21999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22002 * configure.in: Fix use of AC_INIT.
22004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22006 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22010 * malloc/hooks.c: Likewise.
22013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22014 variables statically.
22015 (narenas): Initialize.
22016 (list_lock): Initialize.
22017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22018 initializtion of main_arena and list_lock. Small cleanups.
22019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22021 Add initializers to main_arena and mp_.
22022 (malloc_state): Remove pagesize member. Change all users to use
22025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22027 is always initialized.
22029 * malloc/malloc.c: Removed unused configurations and dead code.
22030 * malloc/arena.c: Likewise.
22031 * malloc/hooks.c: Likewise.
22032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22034 * include/tls.h: Removed. USE___THREAD must always be defined.
22035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22036 * elf/dl-libc.c: Likewise.
22037 * elf/dl-tsd.c: Likewise.
22038 * include/errno.h: Likewise.
22039 * include/netdb.h: Likewise.
22040 * include/resolv.h: Likewise.
22041 * inet/herrno-loc.c: Likewise.
22042 * inet/herrno.c: Likewise.
22043 * malloc/arena.c: Likewise.
22044 * malloc/hooks.c: Likewise.
22045 * malloc/malloc.c: Likewise.
22046 * resolv/res-state.c: Likewise.
22047 * resolv/res_libc.c: Likewise.
22048 * sysdeps/i386/dl-machine.h: Likewise.
22049 * sysdeps/ia64/dl-machine.h: Likewise.
22050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22054 * sysdeps/sh/dl-machine.h: Likewise.
22055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22057 * sysdeps/unix/i386/sysdep.S: Likewise.
22058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22069 * sysdeps/x86_64/dl-machine.h: Likewise.
22070 * tls.make.c: Likewise.
22072 * configure.in: Remove --with-__thread option. Make tests for
22073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22074 tls_model attribute fail if no support is available. Remove
22076 * Makeconfig: Adjust for dropped configure option. All features are
22078 * Makerules: Likewise.
22079 * Versions.def: Likewise.
22080 * argp/argp-fmtstream.c: Likewise.
22081 * argp/argp-fmtstream.h: Likewise.
22082 * argp/argp-help.c: Likewise.
22083 * assert/assert.c: Likewise.
22084 * config.h.in: Likewise.
22085 * config.make.in: Likewise.
22086 * configure: Likewise.
22087 * configure.in: Likewise.
22088 * csu/Versions: Likewise.
22089 * csu/init.c: Likewise.
22090 * elf/tst-audit2.c: Likewise.
22091 * elf/tst-tls10.c: Likewise.
22092 * elf/tst-tls10.h: Likewise.
22093 * elf/tst-tls11.c: Likewise.
22094 * elf/tst-tls12.c: Likewise.
22095 * elf/tst-tls14.c: Likewise.
22096 * elf/tst-tlsmod11.c: Likewise.
22097 * elf/tst-tlsmod12.c: Likewise.
22098 * elf/tst-tlsmod13.c: Likewise.
22099 * elf/tst-tlsmod13a.c: Likewise.
22100 * elf/tst-tlsmod14a.c: Likewise.
22101 * elf/tst-tlsmod15b.c: Likewise.
22102 * elf/tst-tlsmod16a.c: Likewise.
22103 * elf/tst-tlsmod16b.c: Likewise.
22104 * elf/tst-tlsmod7.c: Likewise.
22105 * elf/tst-tlsmod8.c: Likewise.
22106 * elf/tst-tlsmod9.c: Likewise.
22107 * gmon/gmon.c: Likewise.
22108 * grp/fgetgrent_r.c: Likewise.
22109 * grp/putgrent.c: Likewise.
22110 * hurd/fopenport.c: Likewise.
22111 * include/libc-symbols.h: Likewise.
22112 * include/tls.h: Likewise.
22113 * intl/gettextP.h: Likewise.
22114 * intl/loadinfo.h: Likewise.
22115 * locale/global-locale.c: Likewise.
22116 * locale/localeinfo.h: Likewise.
22117 * mach/devstream.c: Likewise.
22118 * malloc/arena.c: Likewise.
22119 * malloc/set-freeres.c: Likewise.
22120 * misc/err.c: Likewise.
22121 * misc/getttyent.c: Likewise.
22122 * misc/mntent_r.c: Likewise.
22123 * posix/getopt.c: Likewise.
22124 * posix/wordexp.c: Likewise.
22125 * pwd/fgetpwent_r.c: Likewise.
22126 * resolv/Versions: Likewise.
22127 * resolv/res_hconf.c: Likewise.
22128 * shadow/fgetspent_r.c: Likewise.
22129 * shadow/putspent.c: Likewise.
22130 * stdio-common/printf_fphex.c: Likewise.
22131 * stdio-common/tmpfile.c: Likewise.
22132 * stdlib/abort.c: Likewise.
22133 * stdlib/fmtmsg.c: Likewise.
22134 * sunrpc/auth_unix.c: Likewise.
22135 * sunrpc/clnt_perr.c: Likewise.
22136 * sunrpc/clnt_tcp.c: Likewise.
22137 * sunrpc/clnt_udp.c: Likewise.
22138 * sunrpc/clnt_unix.c: Likewise.
22139 * sunrpc/openchild.c: Likewise.
22140 * sunrpc/svc_simple.c: Likewise.
22141 * sunrpc/svc_tcp.c: Likewise.
22142 * sunrpc/svc_udp.c: Likewise.
22143 * sunrpc/svc_unix.c: Likewise.
22144 * sunrpc/xdr.c: Likewise.
22145 * sunrpc/xdr_array.c: Likewise.
22146 * sunrpc/xdr_rec.c: Likewise.
22147 * sunrpc/xdr_ref.c: Likewise.
22148 * sunrpc/xdr_stdio.c: Likewise.
22150 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22154 2011-07-03 Andreas Jaeger <aj@suse.de>
22156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22158 regenerate with gen-libm-tests.pl.
22160 2010-05-12 Petr Baudis <pasky@suse.cz>
22163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22164 around j0() zero points by switching to j1().
22165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22177 Patch in part by Pavel Roskin <proski@gnu.org>.
22180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22183 Free memory block if necessary.
22186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22187 be NULL. Don't lock in this case.
22189 2011-09-09 Roland McGrath <roland@hack.frob.com>
22191 * elf/elf.h (ELFOSABI_GNU): New macro.
22192 (ELFOSABI_LINUX): Define to that.
22194 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22196 * string/strncat.c (strncat): Undef the symbol in case it has been
22197 defined in bits/string.h.
22199 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22206 2011-08-17 Andreas Jaeger <aj@suse.de>
22208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22210 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22211 Ian Lance Taylor <iant@google.com>
22213 * math/libm-test.inc (lround_test): New testcase.
22214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22216 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22218 * Makefile: Remove support for automatic cvs check-ins.
22219 * Makerules: Likewise.
22220 * config.make.in: Likewise.
22221 * configure.in: Likewise.
22222 * intl/Makefile: Likewise.
22223 * locale/Makefile: Likewise.
22224 * po/Makefile: Likewise.
22225 * posix/Makefile: Likewise.
22226 * sysdeps/gnu/Makefile: Likewise.
22227 * sysdeps/mach/hurd/Makefile: Likewise.
22228 * sysdeps/sparc/sparc32/Makefile: Likewise.
22231 * posix/Makefile (bug-regex32-ENV): Define.
22232 Patch by John Stanley <jpsinthemix@verizon.net>.
22234 * misc/Makefile (headers): Add bits/select2.h.
22235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22236 * misc/bits/select2.h: New file.
22237 * include/bits/select2.h: New file.
22238 * debug/Makefile (routines): Add fdelt_chk.
22239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22242 * debug/fdelt_chk.c: New file.
22244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22245 * wcsmbs/test-wmemcmp.c: Likewise.
22246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22249 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22251 * string/Makefile (strop-tests): Add memcmp.
22252 * string/test-wmemcmp.c: New file.
22253 * string/test-memcmp.c: Add wmemcmp support.
22255 2011-09-08 Roland McGrath <roland@hack.frob.com>
22258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22262 garbage value in a __mach_port_mod_refs call in the cases of the
22263 task-self and thread-self ports.
22265 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22269 2011-09-08 Andreas Schwab <schwab@redhat.com>
22271 * elf/dl-load.c (lose): Check for non-null L.
22273 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22277 * elf/dl-libc.c (dlerror_run): Pass back error code from
22281 * elf/dl-load.c (lose): Free l_origin if it is valid.
22283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22292 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22305 2011-08-15 Alan Modra <amodra@gmail.com>
22308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22311 ppc_mcount to static-only-routines.
22312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22317 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22320 for finite and infinity parameters.
22322 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22325 and add nop instructions for throughput optimization.
22326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22328 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22331 aligned copy for power7 with vector-scalar instructions.
22332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22334 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22339 2011-09-07 Andreas Schwab <schwab@redhat.com>
22342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22345 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22353 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22356 Forgot to demangle the pointer.
22358 * sysdeps/i386/sysdep.h: Define atom_text_section.
22359 * sysdeps/x86_64/sysdep.h: Likewise.
22360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22361 section with atom_text_section.
22362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22370 already be defined. Change to take two parameters and don't assign
22371 result to variable. Adjust all users.
22372 Define INTERNAL_GETTIME if not already defined.
22373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22376 HAVE_CLOCK_GETTIME_VSYSCALL.
22377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22380 gettimeofday vsyscall, just use time.
22382 2011-09-06 Andreas Schwab <schwab@redhat.com>
22384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22387 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22395 syscall if possible.
22397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22400 e_ident. Don't pass to find_mapsXX.
22401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22403 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22407 * sysdeps/x86_64/multiarch/strchr.S: Update.
22408 Check bit_slow_BSF bit.
22409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22413 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22418 (tryshell): Define.
22419 (__spawni): Change last parameter to be flag. Test
22420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22423 * posix/spawni.c: Likewise.
22424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22425 * posix/spawnp.c: Likewise. Change normal version to use
22426 SPAWN_XFLAGS_USE_PATH.
22427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22428 SPAWN_XFLAGS_TRY_SHELL.
22431 * posix/glob.h: Remove gcc 1.x support.
22434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22436 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22448 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22450 * sysdeps/x86_64/wcscmp.S: New file.
22452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22453 wcscmp-c wcscmp-sse2
22454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22457 * wcsmbs/wcscmp.c: Allow renaming.
22459 2011-09-05 David S. Miller <davem@davemloft.net>
22461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22462 stack slot, rather than the struct return pointer slot.
22463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22470 * po/ja.po: Update from translation team.
22473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22474 kernel in 64-bit binaries.
22476 2011-09-01 David S. Miller <davem@davemloft.net>
22478 * elf/elf.h (HWCAP_SPARC_*): Move to..
22479 * sysdeps/sparc/sysdep.h: this new file and add new values.
22480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22482 _DL_HWCAP_COUNT to 24.
22483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22489 instead of magic constants.
22490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22492 2011-08-31 David S. Miller <davem@davemloft.net>
22494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22496 Reimplement to do errno handling inline.
22497 (SYSCALL_ERROR_HANDLER): New macro.
22498 (__SYSCALL_STRING): Do not do errno handling in asm.
22499 (__CLONE_SYSCALL_STRING): Delete.
22500 (__INTERNAL_SYSCALL_STRING): Delete.
22501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22503 (PSEUDO): Reimplement to do errno handling inline.
22504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22505 (SYSCALL_ERROR_HANDLER): New macro.
22506 (__SYSCALL_STRING): Do not do errno handling in asm.
22507 (__CLONE_SYSCALL_STRING): Delete.
22508 (__INTERNAL_SYSCALL_STRING): Delete.
22509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22513 (inline_syscall*): Add 'err' argument.
22514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22522 2011-08-30 Andreas Schwab <schwab@redhat.com>
22524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22526 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22531 2011-08-24 David S. Miller <davem@davemloft.net>
22533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22535 2011-08-24 Andreas Schwab <schwab@redhat.com>
22537 * elf/Makefile: Add rules to build and run unload8 test.
22538 * elf/unload8.c: New file.
22539 * elf/unload8mod1.c: New file.
22540 * elf/unload8mod1x.c: New file.
22541 * elf/unload8mod2.c: New file.
22542 * elf/unload8mod3.c: New file.
22544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22547 2011-08-23 David S. Miller <davem@davemloft.net>
22549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22550 subtract stack bias.
22551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22552 %sp not %fp in calculations.
22553 (_JMPBUF_UNWINDS_ADJ): Likewise.
22555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22556 (aio_suspend): Call it to force an exception region around the
22557 AIO_MISC_WAIT() invocation.
22559 2011-08-23 Andreas Schwab <schwab@redhat.com>
22561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22564 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22569 and <dl-machine.h>.
22570 (Elf64_FuncDesc): Remove.
22572 2011-08-22 David S. Miller <davem@davemloft.net>
22574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22575 sigaltstack check, add missing cfi directives.
22576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22577 missing cfi directives, and sigaltstack handling.
22579 2011-08-16 Andreas Schwab <schwab@redhat.com>
22582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22583 object is seen twice.
22584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22586 * elf/Makefile (distribute): Add tst-initorder2.c.
22587 (tests): Add tst-initorder2.
22588 (modules-names): Add tst-initorder2a tst-initorder2b
22589 tst-initorder2c tst-initorder2d. Add rules to build them.
22590 ($(objpfx)tst-initorder2.out): New rule.
22591 * elf/tst-initorder2.c: New file.
22592 * elf/tst-initorder2.exp: New file.
22594 2011-08-22 Andreas Schwab <schwab@redhat.com>
22596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22599 dependencies back to end of function.
22601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22602 $(elfobjdir)/ld.so.
22604 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22611 of __vdso_gettimeofday.
22612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22615 (_libc_vdso_platform_setup): Remove initialization of
22616 __vdso_gettimeofday and __vdso_time.
22618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22621 and fgetc_unlocked.
22622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22625 * elf/dl-open.c (add_to_global): Report additions to the global scope
22626 for LD_DEBUG=scopes.
22627 (dl_open_worker): Also print scope of newly loaded dependencies.
22628 (_dl_show_scope): Indicate if there is no scope.
22631 * stdio-common/Makefile (tests): Add bug24.
22632 * stdio-common/bug24.c: New file.
22634 2011-08-19 Andreas Jaeger <aj@suse.de>
22637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22638 non-existant file when using close-on-exec mode.
22640 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22643 the very first instruction.
22645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22646 the CFI state in the end.
22647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22648 inclusion of dl-trampoline.h.
22649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22651 2011-08-19 Andreas Schwab <schwab@redhat.com>
22653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22654 expectations for long double.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22659 2011-08-14 David S. Miller <davem@davemloft.net>
22661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22662 artificual limit depends upon the system page size.
22664 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22667 * resolv/Makefile: Define CFLAGS-libresolv.
22669 2011-08-17 Andreas Schwab <schwab@redhat.com>
22671 * nss/makedb.c (compute_tables): Make variables used in nested
22674 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22678 if buffer was too small.
22680 * elf/pldd.c (main): Attach to all threads in the process.
22681 Rewrite /proc handling to use *at functions.
22683 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22686 specifies first scope to show.
22687 (dl_open_worker): Update callers. Move printing scope of new
22688 object to before the relocation.
22689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22690 * sysdeps/generic/ldsodefs.h: Update declaration.
22692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22693 string for the scope number.
22695 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22697 * nscd/servicescache.c (cache_addserv): Make sure written is always
22700 2011-08-14 Roland McGrath <roland@hack.frob.com>
22702 * sysdeps/i386/i486/bits/atomic.h
22703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22704 statement expression, so as to suppress "set but not used" warning.
22705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22707 * string/strncat.c (STRNCAT): Use prototype definition.
22709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22713 (localedef-modules): Add localedef.
22714 (locale-modules): Add locale.
22716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22718 to avoid a warning.
22720 2011-08-14 David S. Miller <davem@davemloft.net>
22722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22725 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22729 * elf/rtld.c (dl_main): Set l_name of vDSO.
22730 Call _dl_show_scope when DL_DEBUG_SCOPES.
22731 (process_dl_debug): Recognize scopes flag and also set it for all.
22732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22733 Declare _dl_show_scope.
22735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22736 (do_dlopen): Pass caller_dlopen to dl_open.
22737 (__libc_dlopen_mode): Initialize caller_dlopen.
22739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22740 of libc. Make tolower call locale-independent. Optimize a bit by
22741 using isdigit instead of isalnum.
22742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22744 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22747 was a dependency or dynamically loaded.
22749 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22751 * intl/l10nflist.c: Allow architecture-specific pop function.
22752 * sysdeps/x86_64/l10nflist.c: New file.
22754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22757 2011-08-10 Andreas Schwab <schwab@redhat.com>
22759 * include/dirent.h: Add libc_hidden_proto for scandirat and
22760 scandirat64. Don't declare __scandirat64.
22761 * dirent/scandirat.c: Add libc_hidden_def.
22762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22765 2011-08-10 David S. Miller <davem@davemloft.net>
22767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22773 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22775 * Versions.def [libc]: Add GLIBC_2.15.
22776 * dirent/Makefile (routines): Add scandirat and scandirat64.
22777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22779 * dirent/dirent.h: Declare scandirat and scandirat64.
22780 * dirent/scandirat.c: New file.
22781 * dirent/scandirat64.c: New file.
22782 * sysdeps/wordsize-64/scandirat.c: New file.
22783 * sysdeps/wordsize-64/scandirat64.c: New file.
22784 * dirent/opendir.c: Define opendirat.
22785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22787 * dirent/scandir64.c: Adjust for scandir.c change.
22788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22789 __scandirat64, and __scandir_cancel_handler.
22790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22791 additional parameter and use openat instead of open (outside of ld.so).
22792 Add new __opendir as wrapper around __opendirat.
22793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22794 here without requiring old scandirat implementation.
22796 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22798 * dirent/scandir.c (cancel_handler): Renamed to
22799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22800 defined. Adjust users.
22801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22804 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22806 * string/test-string.h (IMPL): Use __STRING to expand name and then
22809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22812 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22814 * string/Makefile: Update.
22815 (strop-tests): Append strncat.
22816 * string/test-wcscmp.c: New file.
22817 New comprehensive test for wcscmp.
22818 * string/test-strcmp.c: Update.
22819 (WIDE): New define.
22821 2011-07-22 Andreas Schwab <schwab@redhat.com>
22823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22826 2011-07-26 Andreas Schwab <schwab@redhat.com>
22828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22829 encoding to ACE if AI_IDN.
22831 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22836 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22839 Fix overflow bug in strncat.
22840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22842 * string/test-strncat.c: Update.
22843 Add new tests for checking overflow bugs.
22845 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22858 (USE_AS_STRCAT): Define.
22859 Add strcat and strncat support.
22860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22862 2011-07-25 Andreas Schwab <schwab@redhat.com>
22864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22865 __n bigger than INT_MAX+1.
22866 (__strncmp_g): Likewise.
22868 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22871 * libio/stido.h: Likewise.
22873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22890 (_dl_x86_64_save_sse): Likewise.
22892 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22896 (_dl_x86_64_save_sse): Likewise.
22898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22902 2011-07-21 Andreas Schwab <schwab@redhat.com>
22904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22906 (_dl_x86_64_save_sse): Use correct AVX check.
22908 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22911 bug in strncpy/strncat.
22912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22914 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22916 * string/tester.c (test_strcat): Add tests for different alignments
22917 of source and destination.
22918 (test_strncat): Likewise.
22920 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22923 * posix/glob.c (glob): Check passed in values before using them in
22924 expressions to avoid some overflows.
22925 (glob_in_dir): Likewise.
22928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22929 check for AVX enablement so that we don't crash with old kernels and
22931 * elf/tst-audit4.c: Add same checks here.
22932 * elf/tst-audit6.c: Likewise.
22934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22936 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22940 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22942 * po/cs.po: Update from translation team.
22943 * po/bg.po: Likewise.
22945 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22947 * misc/sys/cdefs.h: Add support for const attribute.
22948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22949 to gnu_dev_{major,minor,makedev} functions.
22951 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22955 2011-07-20 Andreas Schwab <schwab@redhat.com>
22957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22960 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22964 register in order to avoid conflicts with the soft frame pointer
22965 being held in r11 when necessary.
22966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22967 (INTERNAL_VSYSCALL_NCS): Likewise.
22969 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22972 * elf/dl-fini.c (_dl_fini): Adjust caller.
22973 * elf/dl-close.c (_dl_close_worker): Likewise.
22974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22976 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22979 "aux_cache->nlibs < 0".
22981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22982 in the reload-count case.
22984 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22990 * sysdeps/x86_64/multiarch/strcat.S: New file.
22991 * sysdeps/x86_64/multiarch/strncat.S: New file.
22992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22997 (USE_AS_STRCAT): Define.
22998 Add strcat and strncat support.
22999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23002 * string/strncat.c: Update.
23003 (USE_AS_STRNCAT): Define.
23004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23007 * sysdeps/x86_64/multiarch/init-arch.h
23008 (bit_Prefer_PMINUB_for_stringop): New.
23009 (index_Prefer_PMINUB_for_stringop): Likewise.
23010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23011 bit_Prefer_PMINUB_for_stringop.
23013 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23018 of casting of buffer.
23019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23020 buffer32 and buffer64.
23021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23022 writes instead of casting of buffer.
23023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23028 2011-07-19 Andreas Schwab <schwab@redhat.com>
23030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23032 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23034 * nscd/nscd.c (termination_handler): Don't do anything for a database
23035 if it has not yet been initialized.
23037 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23041 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23045 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23047 * po/nl.po: Update from translation team.
23048 * po/sv.po: Likewise.
23050 2011-07-16 Roland McGrath <roland@hack.frob.com>
23052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23053 now disallowed by GCC.
23055 * configure.in (use-default-link): Default to yes if a test -shared
23056 link meets our qualifications.
23057 * configure: Regenerated.
23059 * config.make.in (output-format): New variable.
23060 * configure.in: Check for ld --print-output-format support.
23061 * configure: Regenerated.
23062 * Makerules ($(common-objpfx)format.lds)
23063 [$(output-format) != unknown]: Just use $(output-format),
23064 instead of the linker-script munging.
23066 2011-07-14 Roland McGrath <roland@hack.frob.com>
23068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23069 of $(common-objpfx)shlib.lds.
23070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23075 * configure.in (-z relro check): Adjust test code to add a large
23076 writable data section after it.
23077 * configure: Regenerated.
23079 2011-07-11 Roland McGrath <roland@hack.frob.com>
23081 * configure.in (-z relro check): Fix test code to make the variable
23083 * configure: Regenerated.
23085 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23087 * nscd/nscd.h (struct traced_file): Define.
23088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23089 elements. Add traced_files.
23090 (inotify_fd): Declare.
23091 (register_traced_file): Declare.
23092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23093 (inotify_fd): Export.
23094 (resolv_conf_descr): Remove.
23095 (nscd_init): Move inotify descriptor creation to main.
23096 Don't register files for notification here.
23097 (register_traced_file): New function.
23098 (invalidate_cache): Don't use reset_res to determine whether to call
23099 res_init, go through the list of registered files.
23100 (main_loop_poll): The inotify descriptors are now stored in the
23101 structures for the traced files.
23102 (main_loop_epoll): Likewise
23103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23104 to __nss_disable_nscd.
23105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23106 for a database anymore. Check the records for all the registered
23108 * nss/Makefile (libnss_files-routines): Add files-init.
23109 (libnss_db-routines): Add db-init.
23110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23112 * nss/nss_db/db-init.c: New file.
23113 * nss/nss_files/files-init.c: New file.
23114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23115 __nss_lookup_function.
23116 (__nss_lookup_function): Call nss_load_library.
23117 (nss_load_all_libraries): New function.
23118 (__nss_disable_nscd): Take parameter with callback function for files
23119 to register. Set is_nscd. Load all the DSOs for the NSS modules
23120 used for the cached services.
23121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23123 options for features to all the files in nscd.
23125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23127 2011-07-10 Roland McGrath <roland@hack.frob.com>
23129 * csu/elf-init.c (__libc_csu_init): Comment typo.
23131 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23133 * po/pl.po: Update from translation team.
23134 * po/ja.po: Likewise.
23135 * po/ru.po: Likewise.
23136 * po/ko.po: Likewise.
23137 * po/fr.po: Likewise.
23139 2011-07-09 Roland McGrath <roland@hack.frob.com>
23141 * configure.in (.ctors/.dtors header and trailer check):
23142 Use an empirical test on a built program.
23143 * configure: Regenerated.
23145 * configure.in (-z relro check): Use an empirical test on a built DSO.
23146 Detect, but do not require, on ia64.
23147 * configure: Regenerated.
23149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23150 Update tests that use readelf to use $READELF instead.
23151 * configure: Regenerated.
23153 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23156 if the result is not used.
23158 2011-07-05 Andreas Jaeger <aj@suse.de>
23161 * stdlib/tst-strtod.c: Add testcase.
23163 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23167 The latter has a higher limit. Take additional parameter to pass to
23169 (__pathconf): Pass file to __statfs_link_max.
23170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23180 (__statfs_filesize_max): Likewise.
23181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23183 2011-07-05 Andreas Jaeger <aj@suse.de>
23185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23187 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23194 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23196 * Makefile (strop-tests): Add strncat.
23197 * string/test-strncat.c: New file.
23199 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23203 2011-06-21 Andreas Jaeger <aj@suse.de>
23205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23206 Copy rule from iconvdata/Makefile.
23208 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23212 but no long options are defined, just return 'W'.
23214 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23219 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23223 (innetgr): Likewise.
23225 2011-07-05 Roland McGrath <roland@hack.frob.com>
23227 * config.make.in (install_root): Default to $(DESTDIR).
23229 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23233 2011-07-02 Roland McGrath <roland@hack.frob.com>
23235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23238 containing directory rather than embedding absolute directory names.
23240 * scripts/check-local-headers.sh: Rewritten using awk.
23241 Match by word, not by line. Print error messages for matches.
23242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23244 * Makerules [shlib-lds-flags empty]:
23245 ($(common-objpfx)libc_pic.opts): New target.
23246 ($(common-objpfx)libc_pic.os.clean): New target.
23247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23249 * config.make.in (OBJCOPY): New variable.
23250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23251 * configure: Regenerated.
23253 * config.make.in (use-default-link): New variable.
23254 * configure.in (use_default_link): Grok --with-default-link to set it.
23255 * configure: Regenerated.
23256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23257 (shlib-lds, shlib-lds-flags): Define to empty.
23259 * Makerules (shlib-lds): New variable.
23260 (shlib-lds-flags): New variable.
23261 (build-shlib, build-moduile, build-module-asneeded): Use it.
23262 ($(common-objpfx)libc.so): Use $(shlib-lds).
23263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23267 DT_FLAGS/DT_FLAGS_1 with zero flags.
23269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23270 linker script munging.
23272 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23276 * crypt/sha512.c (sha512_process_block): Perform total addition using
23277 128-bit if possible.
23278 (__sha512_finish_ctx): Likewise.
23279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23281 * crypt/sha256.c (SWAP64): Define.
23282 (sha256_process_block): Perform total addition using 64-bit if
23284 (__sha256_finish_ctx): Likewise.
23286 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23290 * nscd/hstcache.c (cache_addhst): Likewise.
23291 * nscd/grpcache.c (cache_addgr): Likewise.
23292 * nscd/aicache.c (addhstaiX): Likewise
23293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23295 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23299 * nscd/hstcache.c (cache_addhst): Likewise.
23300 * nscd/grpcache.c (cache_addgr): Likewise.
23301 * nscd/aicache.c (addhstaiX): Likewise
23303 2011-07-01 Andreas Schwab <schwab@redhat.com>
23305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23306 domain only when needed.
23308 2011-06-30 Andreas Schwab <schwab@redhat.com>
23310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23311 is always restored.
23313 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23316 are re-adding the entry.
23317 * nscd/servicescache.c (cache_addserv): Likewise.
23319 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23321 * sysdeps/generic/dl-irel.h: fix protection against multiple
23323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23325 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23328 * malloc/memusage.sh: Fix quoting in message.
23329 * debug/xtrace.sh: Likewise.
23331 * configure.in: Remove support for --experimental-malloc option, make
23333 * config.make.in: Likewise.
23334 * malloc/Makefile: Likewise.
23336 2011-06-27 Andreas Schwab <schwab@redhat.com>
23338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23339 two-byte characters.
23341 2011-06-27 Roland McGrath <roland@hack.frob.com>
23343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23344 AC_CACHE_CHECK invocation.
23345 * configure: Regenerated.
23347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23349 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23353 bit from old_res_options.
23355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23358 value type for setfct.
23360 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23363 __gettimeofday instead of gettimeofday.
23365 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23369 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23376 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23380 strcpy-sse2-unaligned strncpy-sse2-unaligned
23381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23391 (STRCPY): Support SSE2 and SSSE3 versions.
23393 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23398 kernels which artificially limit size of requests.
23400 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23418 Enable unaligned load optimization for Intel Core i3, i5 and i7
23420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23422 (index_Fast_Unaligned_Load): Define.
23423 (HAS_FAST_UNALIGNED_LOAD): Define.
23425 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23429 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23433 until it is clear that the information is realy needed.
23434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23436 2011-06-22 Andreas Schwab <schwab@redhat.com>
23438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23440 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23443 /sys/devices/system/cpu/online if it is usable.
23445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23446 reading the information from the /proc filesystem to once a second.
23448 2011-06-21 Andreas Jaeger <aj@suse.de>
23450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23451 NULL after inclusion of kernel headers.
23453 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23456 calls to internal_setent.
23459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23460 addresses using gethostbyname4_r ignore IPv4 addresses.
23462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23467 2011-06-20 David S. Miller <davem@davemloft.net>
23469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23474 (elf_irel): Use it.
23475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23479 * sysdeps/x86_64/dl-irel.h: Likewise.
23481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23482 * elf/dl-sym.c: Likewise.
23484 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23487 need to dereference resplen2.
23489 2011-06-14 Andreas Schwab <schwab@redhat.com>
23491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23495 * Makeconfig: Define vardbdir and inst_vardbdir.
23496 * nss/Makefile: Add rules to install db-Makefile.
23498 * nss/nss_db/db-XXX.c: Cleanup.
23500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23504 * nss/makedb.c: Implement -g option to specify that value strings
23505 are generated and should not be added to table iterated over for
23507 * nss/nss_db/db-initgroups.c: New file.
23509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23513 (internal_getgrouplist): Adjust to name change.
23514 Update use_initgroups_entry if this is not the first call.
23515 * nss/databases.def: Add initgroups entry.
23517 * nss/makedb.c (compute_tables): Check result of multiple hash table
23518 sizes to minimize maximum chain length.
23520 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23522 * Versions.def: Add entry for libnss_db.
23523 * shlib-versions: Likewise.
23524 * nss/Makefile: Add rules to build libnss_db.
23525 * nss/Versions: Add libnss_db information. Organize libnss_files
23527 * nss/db-Makefile: Add gshadow support. Change rules for the new
23528 makedb progra. Some minor improvements to generate smaller files.
23529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23531 * nss/makedb.c: ...here.
23532 Improve database format to be smaller and require less memory at
23534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23536 * nss/nss_db/db-netgrp.c: Likewise.
23537 * nss/nss_db/db-open.c: Likewise.
23538 * nss/nss_files/flies-XXX.x: Adjust comments.
23539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23540 * nss/nss_files/files-grp.c: Likewise.
23541 * nss/nss_files/files-hosts.c: Likewise.
23542 * nss/nss_files/files-network.c: Likewise.
23543 * nss/nss_files/files-proto.c: Likewise.
23544 * nss/nss_files/files-pwd.c: Likewise.
23545 * nss/nss_files/files-rpc.c: Likewise.
23546 * nss/nss_files/files-service.c: Likewise.
23547 * nss/nss_files/files-sgrp.c: Likewise.
23548 * nss/nss_files/files-spwd.c: Likewise.
23549 * nss/nss_db/db-alias.c: Removed.
23550 * nss/nss_db/dummy-db.h: Removed.
23552 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23554 * nss/makedb.c: Rewritten to not use database library.
23555 * nss/Makefile: Update to build new makedb program.
23557 2011-06-14 Andreas Jaeger <aj@suse.de>
23559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23560 memset declaration.
23562 2011-06-10 Andreas Schwab <schwab@redhat.com>
23564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23567 2011-06-10 Roland McGrath <roland@hack.frob.com>
23569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23570 * elf/Makefile ($(objpfx)ld.so): Likewise.
23572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23573 Don't list ld.so twice in dependencies.
23575 * posix/bug-regex31.c: Include <stdlib.h>.
23577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23579 * nis/nss_compat/compat-spwd.c
23580 (getspent_next_nss_netgr): Remove unused variable.
23581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23584 nonmembers" output to use the right array.
23586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23592 * catgets/gencat.c (read_input_file): Likewise.
23593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23596 variable definition inside #if's controlling its use.
23598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23610 * configure: Regenerated.
23612 * Makerules: Revert last change.
23613 * elf/Makefile: Likewise.
23615 2011-06-09 Roland McGrath <roland@hack.frob.com>
23617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23619 (reloc-link): Likewise.
23621 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23623 * elf/Makefile: Add rules to build pldd.
23624 * elf/pldd.c: New file.
23625 * elf/pldd-xx.c: New file.
23627 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23629 * version.h: Update for 2.15 development version.
23631 2011-06-07 David S. Miller <davem@davemloft.net>
23633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23636 elf_machine_lazy_rel): Likewise.
23637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23639 elf_machine_lazy_rel): Likewise.
23640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23641 dl_hwcap via passed in argument.
23642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23645 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23649 2011-06-06 Roland McGrath <roland@hack.frob.com>
23652 * manual/fdl-1.1.texi: New file, verbatim from:
23653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23654 * manual/lgpl-2.1.texi: New file, verbatim from:
23655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23656 * manual/Makefile (licenses): New variable, list those new file names.
23658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23660 * manual/fdl.texi: File removed.
23661 * manual/lesser.texi: File removed.
23662 * manual/libc.texinfo (Copying, Documentation License):
23663 Use new @include file names, put @appendix directive before @include.
23665 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23670 (mq_open): Add __NTH.
23672 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23675 Assume Intel Core i3/i5/i7 processor if AVX is available.
23677 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23682 2011-05-31 Andreas Schwab <schwab@redhat.com>
23684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23685 memory. Use alloca_account. Fix memory leak when retrying.
23687 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23689 * version.h (RELEASE): Bump for 2.14 release.
23690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23692 * config.make.in (RANLIB): Remove entry.
23694 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23697 (libc.pot): Work around missing support for .ksh extension in xgettext.
23700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23701 if both request failed.
23702 (send_dg): In case of server errors clear resplen or *resplen2.
23705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23706 when there are multiple maps.
23707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23708 (_dl_fini): Remove test here.
23710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23712 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23716 bit from old_res_options.
23717 (gaih_inet): Likewise.
23720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23723 * resolv/res_init.c (res_setoptions): Make the code more compact.
23726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23735 * malloc/malloc.h: Declare malloc hook variables as volatile.
23737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23742 raise in the comment.
23743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23747 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23751 grow the buffers more if it already has to be sufficient.
23752 (build_wcs_upper_buffer): Likewise.
23753 * posix/regexec.c (check_matching): Likewise.
23754 (clean_state_log_if_needed): Likewise.
23755 (extend_buffers): Don't enlarge buffers beyond size of the input
23757 Patches mostly by Emil Wojak <emil@wojak.eu>.
23758 * posix/bug-regex32.c: New file.
23759 * posix/Makefile (tests): Add bug-regex32.
23761 * locale/findlocale.c (_nl_find_locale): Return right away if
23762 _nl_explode_name failed.
23763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23767 * debug/xtrace.sh: Unify messages.
23768 * malloc/memusage.sh: Likewise.
23771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23772 time symbol from vDSO. Substitute with vsyscall if not available.
23773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23779 Add sendmmsg and internal_sendmmsg.
23780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23788 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23798 * iconvdata/Makefile (tests): Add bug-iconv9.
23799 * iconvdata/bug-iconv9.c: New file.
23801 2011-05-27 Andreas Schwab <schwab@redhat.com>
23804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23806 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23809 (struct user_regs_struct): Change intcs field back to cs.
23811 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23813 * po/ja.po: Update from translation team.
23815 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23821 2011-05-20 Andreas Schwab <schwab@redhat.com>
23823 * stdlib/longlong.h: Update from GCC.
23825 2011-05-23 Andreas Schwab <schwab@redhat.com>
23827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23830 Add parameter name.
23831 (__sysconf): Pass it down.
23833 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23840 add in in __libc_use_alloca calls. Adjust callers.
23841 (glob): Use malloc in some situations.
23843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23847 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23850 and CLOCK_BOOTTIME_ALARM.
23853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23856 * string/_strerror.c (__strerror_r): Print negative errors as signed
23860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23864 * configure.in: Fix typo in redirection and correct removal of test
23865 files in two cases.
23868 * locale/setlocale.c (new_composite_name): Fix test to check for
23869 identical name of all categories.
23872 * libio/filedoalloc.c (local_isatty): New function.
23873 (_IO_file_doallocate): Use local_isatty.
23874 * stdio-common/perror.c (perror): In case a new stream is used
23875 forward the stream error.
23876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23879 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23884 * include/alloca.h (extend_alloca_account): Define.
23887 * posix/regex.h: Fix comments with documentation of user-accessible
23888 fields after compilation and describe correct free'ing of pattern
23889 after re_compile_pattern.
23890 Patch by Reuben Thomas <rrt@sc3d.org>.
23892 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23895 and -mno-altivec to prevent the compiler from using Altivec and/or
23896 VSX instructions when the corresponding registers are not available.
23898 2011-05-19 Andreas Schwab <schwab@redhat.com>
23900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23902 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23904 * libio/freopen.c (freopen): Use __dup2, not dup2.
23905 * libio/freopen64.c (freopen64): Likewise.
23907 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23911 * math/Makefile (tests): Add test-powl.
23912 (CFLAGS-test-powl.c): Define.
23913 * math/test-powl.c: New file.
23915 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23919 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23922 * iconvdata/gb18030.c: Update to GB18020-2005.
23924 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23928 Patch by Aharon Robbins <arnold@skeeve.com>.
23931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23936 through underflows.
23939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23940 point to strings before performing equality test for error_one_per_line
23944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23948 (struct user_fpregs_struct): Avoid __uint*_t types.
23951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23952 symbol info. Use it instead of calling _dl_addr locally.
23953 (lock_and_info): New function.
23954 (tr_freehook): Call lock_and_info and pass symbol info as additional
23955 parameter to tr_where.
23956 (tr_mallochook): Likewise.
23957 (tr_reallochook): Likewise.
23958 (tr_memalignhook): Likewise.
23960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23961 used and couldn't be at all thread-safe.
23963 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23965 * libio/freopen.c (freopen): Don't close old file descriptor
23966 before the new one is opened. Instead dup the new file descriptor
23967 to the old one after the new stream is created.
23968 * libio/freopen64.c (freopen64): Likewise.
23969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23970 * libio/fileops.c (_IO_new_file_close_it): Handle new
23971 _IO_FLAGS2_NOCLOSE flag.
23972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23975 _IO_FLAGS2_NOCLOSE flag.
23976 * include/unistd.h: Add hidden_proto for dup3.
23977 Define __have_dup3.
23978 * io/dup3.c: Define hidden symbol.
23979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23983 when an incomplete long option is used.
23984 * posix/tst-getopt_long1.c: New file.
23985 * posix/Makefile (tests): Add tst-getopt_long1.
23988 * scripts/config.guess: Update from autoconf-2.68.
23989 * scripts/config.sub: Likewise.
23992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23994 (has_cpuclock): ...this. New function.
23995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23996 macro here based on has_cpuclock code.
23999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24000 First byte (not low byte) is now always NUL.
24001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24004 Use non-cancelable interfaces.
24007 * locale/iso-639.def: Add entry for Sorani.
24010 * include/stdlib.h: Move include protection to the right place.
24011 Define abort_msg_s. Declare __abort_msg with it.
24012 * stdlib/abort.c (__abort_msg): Adjust type.
24013 * assert/assert.c (__assert_fail_base): New function. Majority
24014 of code from __assert_fail. Allocate memory for __abort_msg with
24016 (__assert_fail): Now call __assert_fail_base.
24017 * assert/assert-perr.c: Remove bulk of implementation. Use
24018 __assert_fail_base.
24019 * include/assert.hL Declare __assert_fail_base.
24020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24024 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24029 until all modules are registered in the DTV.
24030 * elf/Makefile: Add rules to build and run tst-tls19.
24031 * elf/tst-tls19.c: New file.
24032 * elf/tst-tls19mod1.c: New file.
24033 * elf/tst-tls19mod2.c: New file.
24034 * elf/tst-tls19mod3.c: New file.
24035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24043 two-byte sequence errors.
24044 * iconvdata/Makefile (tests): Add bug-iconv8.
24045 * iconvdata/bug-iconv8.c: New file.
24048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24055 (dummy_getcfa): New function.
24056 (init): Get _Unwind_GetCFA address, use dummy if not found.
24057 (backtrace_helper): In recursion check, also check whether CFA changes.
24058 (__backtrace): Completely initialize arg.
24060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24061 storing incomplete byte sequence in state object. Avoid testing for
24062 guaranteed too small input if we know there is enough data available.
24064 2011-05-11 Andreas Schwab <schwab@redhat.com>
24066 * Makeconfig (+link-pie): Indent.
24067 * Rules (binaries-pie): Define if $(have-fpie) and
24069 (binaries-shared): Also filter out $(binaries-pie).
24070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24071 * nscd/Makefile (others-pie): Add nscd.
24072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24073 ($(objpfx)nscd): Remove command override.
24074 * login/Makefile (others-pie): Add pt_chown.
24075 ($(objpfx)pt_chown): Remove command override.
24076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24077 remove command overrides.
24079 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24081 * libio/tst_putwc.c: Fix error messages.
24084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24085 currently writing and seek to current position when not.
24086 * libio/Makefile (tests): Add bug-fclose1.
24087 * libio/bug-fclose1.c: New file.
24089 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24093 don't set DF_1_NODELETE here.
24094 (do_lookup_x): When entering new entry test for copy relocation
24095 and if necessary set DF_1_NODELETE flag.
24096 * elf/tst-unique4.cc: New file.
24097 * elf/tst-unique4.h: New file.
24098 * elf/tst-unique4lib.cc: New file.
24099 * elf/Makefile: Add rules to build and run tst-unique4.
24100 Patch by Piotr Bury <pbury@goahead.com>.
24102 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24108 * misc/mntent_r.c (addmntent): Flush the stream after the output
24111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24112 (is_trusted_path_normalize): Skip initial colon. Append slash
24113 to empty buffer. Duplicate is_trusted_path code but allow
24114 constructed patch to be prefix.
24115 (is_dst): Allow $ORIGIN followed by /.
24116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24117 Correct testing of result of is_trusted_path_normalize
24118 (decompose_rpath): Fix warning.
24120 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24123 * grp/initgroups.c (internal_getgrouplist): When we found the service
24124 list through the initgroups entry in nsswitch.conf do not always
24125 continue on a successful lookup. Don't always use the
24126 __nss_group_database value if it is set.
24127 * nss/nsswitch.conf (initgroups): Change action for successful db
24128 lookup to continue for compatibility.
24130 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24137 * iconvdata/tst-tables.sh: Likewise.
24138 * iconvdata/cp770.c: New file.
24139 * iconvdata/cp771.c: New file.
24140 * iconvdata/cp772.c: New file.
24141 * iconvdata/cp773.c: New file.
24142 * iconvdata/cp774.c: New file.
24143 * iconvdata/testdata/CP770: New file.
24144 * iconvdata/testdata/CP770..UTF8: New file.
24145 * iconvdata/testdata/CP771: New file.
24146 * iconvdata/testdata/CP771..UTF8: New file.
24147 * iconvdata/testdata/CP772: New file.
24148 * iconvdata/testdata/CP772..UTF8: New file.
24149 * iconvdata/testdata/CP773: New file.
24150 * iconvdata/testdata/CP773..UTF8: New file.
24151 * iconvdata/testdata/CP774: New file.
24152 * iconvdata/testdata/CP774..UTF8: New file.
24154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24156 * iconvdata/gen-8bit-gap.sh: Likewise.
24157 * iconvdata/gen-8bit.sh: Likewise.
24159 * locale/iso-639.def: Add ary entry.
24162 * locale/C-translit.h.in: Add U20A1 transliteration.
24165 * locale/iso-639.def: Add wae entry.
24166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24173 * locale/C-translit.h.in: Add entry for U20B9.
24174 Patch by pravin.d.s@gmail.com.
24176 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24180 ENAMETOOLONG use generic getcwd.
24181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24182 in rtld. Use *stat64.
24183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24190 __fstatat64 macros.
24191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24192 * dirent/rewinddir.c: Add libc_hidden_def.
24193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24196 * include/dirent.h (__alloc_dir): Add flags parameter.
24197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24201 from fdopendir if O_CLOEXEC is already set.
24203 2011-03-15 Alan Modra <amodra@gmail.com>
24205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24206 l_tls_firstbyte_offset non-zero. Save padding offset in
24207 l_tls_firstbyte_offset for later use.
24208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24209 freeing static tls block.
24211 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24214 where #ifdef was intended. The intent is to prevent ARG_MAX from
24215 being defined by the kernel headers.
24217 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24220 * resolv/resolv.h: Define RES_NOTLDQUERY.
24221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24222 no-tld-query and set RES_NOTLDQUERY.
24223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24225 modern BIND to search name as TLD unless forbidden.
24227 2011-05-07 Petr Baudis <pasky@suse.cz>
24228 Ulrich Drepper <drepper@gmail.com>
24231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24232 (is_trusted_path): ...to here.
24233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24235 using is_trusted_path_normalize() in setuid scripts.
24237 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24240 __BEGIN/__END_DECLS.
24242 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24245 NSS_STATUS_NOTFOUND if no record was found.
24247 2011-05-05 Andreas Schwab <schwab@redhat.com>
24249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24250 (headers-not-in-tirpc): Remove rpc/netdb.h
24251 * resolv/netdb.h: Revert last change.
24253 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24256 circular dependency between libgcc.a and libc.a.
24258 2011-05-05 Andreas Schwab <schwab@redhat.com>
24260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24261 * nis/Makefile: Don't install rpcsvc/*.
24262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24263 instead of <rpc/types.h>.
24264 (MAXHOSTNAMELEN): Define.
24266 2011-05-03 Andreas Schwab <schwab@redhat.com>
24268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24270 2011-04-28 Maciej Babinski <mbabinski@google.com>
24273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24274 gethostbyname4_r when IPv6 results are possible.
24276 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24280 _PC_PIPE_BUF handling.
24282 2011-04-30 Bruno Haible <bruno@clisp.org>
24285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24288 * inet/getnameinfo.c (getnameinfo): Likewise.
24290 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24293 to groups setting in database lookup.
24294 * nss/nsswitch.conf: Add initgroups entry.
24296 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24301 Patch by Eric Blake <eblake@redhat.com>.
24303 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24305 * sunrpc/Makefile (need-export-routines): Add svc_run.
24306 (routines): Remove svc_run.
24307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24309 * sunrpc/svc_run.c (svc_run): Likewise.
24310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24312 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24315 problem in reallocation in last patch.
24317 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24319 * sunrpc/Makefile: Move inclusion of Rules.
24321 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24323 * nss/nss_files/files-initgroups.c: New file.
24324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24326 _nss_files_initgroups_dyn.
24328 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24330 * elf/elf.h (R_ARM_IRELATIVE): Define.
24332 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24334 * po/ru.po: Update from translation team.
24336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24341 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24350 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24358 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24363 * stdlib/bug-getcontext.c: New file.
24364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24366 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24369 instructions into .machine "z9-109".
24370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24373 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24376 between environment variables and auxiliary vector.
24378 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24380 * Makefile: Add rules to build linkobj/libc.so.
24381 * include/libc-symbols.h: Define libc_hidden_nolink.
24382 * include/rpc/auth.h: Mark functions which are to be hidden.
24383 * include/rpc/auth_des.h: Likewise.
24384 * include/rpc/auth_unix.h: Likewise.
24385 * include/rpc/clnt.h: Likewise.
24386 * include/rpc/des_crypt.h: Likewise.
24387 * include/rpc/key_prot.h: Likewise.
24388 * include/rpc/pmap_clnt.h: Likewise.
24389 * include/rpc/pmap_prot.h: Likewise.
24390 * include/rpc/pmap_rmt.h: Likewise.
24391 * include/rpc/rpc_msg.h: Likewise.
24392 * include/rpc/svc.h: Likewise.
24393 * include/rpc/svc_auth.h: Likewise.
24394 * include/rpc/xdr.h: Likewise.
24395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24396 * nss/Makefile: Likewise.
24397 * sunrpc/Makefile: Don't install headers. Build library with normal
24398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24400 for the compat linking library. Remove use of INTDEF/INTUSE.
24401 * sunrpc/auth_none.c: Likewise.
24402 * sunrpc/auth_unix.c: Likewise.
24403 * sunrpc/authdes_prot.c: Likewise.
24404 * sunrpc/authuxprot.c: Likewise.
24405 * sunrpc/clnt_gen.c: Likewise.
24406 * sunrpc/clnt_perr.c: Likewise.
24407 * sunrpc/clnt_raw.c: Likewise.
24408 * sunrpc/clnt_simp.c: Likewise.
24409 * sunrpc/clnt_tcp.c: Likewise.
24410 * sunrpc/clnt_udp.c: Likewise.
24411 * sunrpc/clnt_unix.c: Likewise.
24412 * sunrpc/des_crypt.c: Likewise.
24413 * sunrpc/des_soft.c: Likewise.
24414 * sunrpc/get_myaddr.c: Likewise.
24415 * sunrpc/key_call.c: Likewise.
24416 * sunrpc/key_prot.c: Likewise.
24417 * sunrpc/netname.c: Likewise.
24418 * sunrpc/pm_getmaps.c: Likewise.
24419 * sunrpc/pm_getport.c: Likewise.
24420 * sunrpc/pmap_clnt.c: Likewise.
24421 * sunrpc/pmap_prot.c: Likewise.
24422 * sunrpc/pmap_prot2.c: Likewise.
24423 * sunrpc/pmap_rmt.c: Likewise.
24424 * sunrpc/publickey.c: Likewise.
24425 * sunrpc/rpc_cmsg.c: Likewise.
24426 * sunrpc/rpc_common.c: Likewise.
24427 * sunrpc/rpc_dtable.c: Likewise.
24428 * sunrpc/rpc_prot.c: Likewise.
24429 * sunrpc/rpc_thread.c: Likewise.
24430 * sunrpc/rtime.c: Likewise.
24431 * sunrpc/svc.c: Likewise.
24432 * sunrpc/svc_auth.c: Likewise.
24433 * sunrpc/svc_authux.c: Likewise.
24434 * sunrpc/svc_raw.c: Likewise.
24435 * sunrpc/svc_run.c: Likewise.
24436 * sunrpc/svc_simple.c: Likewise.
24437 * sunrpc/svc_tcp.c: Likewise.
24438 * sunrpc/svc_udp.c: Likewise.
24439 * sunrpc/svc_unix.c: Likewise.
24440 * sunrpc/svcauth_des.c: Likewise.
24441 * sunrpc/xcrypt.c: Likewise.
24442 * sunrpc/xdr.c: Likewise.
24443 * sunrpc/xdr_array.c: Likewise.
24444 * sunrpc/xdr_float.c: Likewise.
24445 * sunrpc/xdr_intXX_t.c: Likewise.
24446 * sunrpc/xdr_mem.c: Likewise.
24447 * sunrpc/xdr_rec.c: Likewise.
24448 * sunrpc/xdr_ref.c: Likewise.
24449 * sunrpc/xdr_sizeof.c: Likewise.
24450 * sunrpc/xdr_stdio.c: Likewise.
24452 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24456 * sysdeps/ia64/dl-tls.h: Likewise.
24457 * sysdeps/powerpc/dl-tls.h: Likewise.
24458 * sysdeps/s390/dl-tls.h: Likewise.
24459 * sysdeps/sh/dl-tls.h: Likewise.
24460 * sysdeps/sparc/dl-tls.h: Likewise.
24461 * sysdeps/x86_64/dl-tls.h: Likewise.
24462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24464 2011-03-14 Andreas Schwab <schwab@redhat.com>
24466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24467 rpath element also skip the following colon.
24468 (expand_dynamic_string_token): Add is_path parameter and pass
24469 down to DL_DST_REQUIRED and _dl_dst_substitute.
24470 (decompose_rpath): Call expand_dynamic_string_token with
24471 non-zero is_path. Ignore empty rpaths.
24472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24475 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24480 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24484 Patch by Filipe David Manana <fdmanana@apache.org>.
24486 2011-04-07 Andreas Schwab <schwab@redhat.com>
24488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24489 Maintain aligned stack.
24490 (CHECK_RSP): Remove unused macro.
24492 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24497 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24503 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24508 * sysdeps/x86_64/memmove.c: New file.
24509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24510 (memcpy): Renamed to ...
24511 (__new_memcpy): This.
24512 (memcpy): Provide GLIBC_2_14 memcpy.
24513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24514 (memcpy): Provide GLIBC_2_2_5 memcpy.
24516 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24521 2011-03-30 Andreas Schwab <schwab@redhat.com>
24523 * misc/syncfs.c: New file.
24524 * misc/Makefile (routines): Add syncfs.
24525 * posix/unistd.h: Declare syncfs.
24526 * sysdeps/unix/syscalls.list: Add syncfs.
24528 2011-04-01 Andreas Schwab <schwab@redhat.com>
24530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24540 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24551 sync_file_range.c with -fexceptions.
24552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24559 sync_file_range as cancellation point
24560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24561 now a wrapper around __call_sync_file_range with cancellation handling.
24562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24564 function name to __call_sync_file_range.
24565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24566 Add call_sync_file_range.
24568 2011-04-01 Andreas Schwab <schwab@redhat.com>
24570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24573 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24575 * iconv/iconv.h: Fix typo in comment.
24576 * io/fcntl.h: Likewise.
24577 * libio/stdio.h: Likewise.
24578 * posix/spawn.h: Likewise.
24579 * posix/unistd.h: Likewise.
24580 * stdlib/stdlib.h: Likewise.
24581 * time/time.h: Likewise.
24582 * wcsmbs/wchar.h: Likewise.
24584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24585 open_by_handle): Add.
24586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24588 Augment a few comments.
24589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24597 * io/fcntl.h (AT_EMPTY_PATH): Define.
24599 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24606 * Versions.def: Add GLIBC_2.14.
24607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24610 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24616 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24619 * string/test-strncmp.c (do_page_test): New function.
24620 (check2): Likewise.
24621 (test_main): Call check2.
24622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24624 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24628 Handle cache information in CPU leaf 4.
24629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24631 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24635 character representation.
24636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24638 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24641 END(__isnan) to END(__isnanf) to match function entry point/label
24642 EALIGN(__isnanf,...).
24644 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24648 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24652 copy from the symbol referenced in the relocation to initialize the
24654 Patch by Piotr Bury <pbury@goahead.com>.
24655 * elf/Makefile: Add rules to build and tst-unique3.
24656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24657 * elf/tst-unique3.cc: New file.
24658 * elf/tst-unique3.h: New file.
24659 * elf/tst-unique3lib.cc: New file.
24660 * elf/tst-unique3lib2.cc: New file.
24662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24664 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24670 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24673 to-be-loaded object along a path to loader is ld.so.
24675 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24676 Ulrich Drepper <drepper@gmail.com>
24678 * sysdeps/x86_64/memset.S: After aligning destination, code
24679 branches to different locations depending on the value of
24680 misalignment, when multiarch is enabled. Fix this.
24682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24685 Set _x86_64_preferred_memory_instruction for AMD processsors.
24686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24687 Set bit_Prefer_SSE_for_memop for AMD processors.
24689 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24691 * libio/fmemopen.c (fmemopen): Optimize a bit.
24693 2011-03-03 Andreas Schwab <schwab@redhat.com>
24695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24697 2011-03-03 Roland McGrath <roland@redhat.com>
24699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24701 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24704 __bzero_ultra1 instead of __memset_ultra1.
24706 2011-02-23 Andreas Schwab <schwab@redhat.com>
24707 Ulrich Drepper <drepper@gmail.com>
24710 * include/link.h (struct link_map): Add l_orig_initfini.
24711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24712 returning unsuccessfully.
24713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24714 close of a file loaded at startup, restore the original l_initfini
24716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24717 list, store the pointer.
24718 * elf/Makefile ($(objpfx)noload-mem): New rule.
24719 (noload-ENV): Define.
24720 (tests): Add $(objpfx)noload-mem.
24721 * elf/noload.c: Include <memcheck.h>.
24722 (main): Call mtrace. Close all opened handles.
24724 2011-02-17 Andreas Schwab <schwab@redhat.com>
24727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24728 dependencies are missing.
24730 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24732 Fix __if_freereq crash: Unlike the generic version which uses free,
24734 * sysdeps/mach/hurd/ifreq.h: New file.
24736 2011-01-27 Petr Baudis <pasky@suse.cz>
24737 Ulrich Drepper <drepper@gmail.com>
24740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24741 to extend_alloca().
24742 * stdio-common/bug23.c: New file.
24743 * stdio-common/Makefile (tests): Add bug23.
24745 2010-09-28 Andreas Schwab <schwab@redhat.com>
24746 Ulrich Drepper <drepper@gmail.com>
24749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24750 before performing relro protection. At old place add assertion
24751 to make sure nothing changed.
24753 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24754 Glauber de Oliveira Costa <glommer@gmail.com>
24756 * elf/elf.h: Add new ARM TLS relocs.
24758 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24765 * sysdeps/wordsize-64/tst-writev.c: New file.
24767 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24771 insns in _dl_start to prevent a TOC reference before relocs are
24774 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24777 * Makeconfig: Remove RANLIB definition.
24778 * Makerules: Don't use RANLIB.
24779 * aclocal.m4: Remove ranlib test.
24780 * configure.in: No need to check for ranlib.
24781 * elf/rtld-Rules: Don't use RANLIB.
24783 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24788 inclusion protection macro.
24790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24791 SIGRTMIN and SIGRTMAX and print information in that case only when
24792 SIGRTMIN is defined.
24794 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24797 arginfo fn returning -1.
24799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24800 and thousands string is zero terminated.
24802 2011-02-03 Andreas Schwab <schwab@redhat.com>
24804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24805 sysdeps/unix/sysv/linux/bits/socket.h.
24807 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24810 (__CPU_COUNT): Remove old macros.
24811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24813 (__CPU_ALLOC, __CPU_FREE): Add macros.
24814 (__sched_cpualloc, __sched_cpufree): Add declarations.
24816 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24821 (readdhstai): Return value of addhstaiX call.
24822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24823 (addgrbyX): Return value returned by cache_addgr.
24824 (readdgrbyname): Return value returned by addgrbyX.
24825 (readdgrbygid): Likewise.
24826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24827 (addpwbyX): Return value returned by cache_addpw.
24828 (readdpwbyname): Return value returned by addhstbyX.
24829 (readdpwbyuid): Likewise.
24830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24831 (addservbyX): Return value returned by cache_addserv.
24832 (readdservbyname): Return value returned by addservbyX:
24833 (readdservbyport): Likewise.
24834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24835 (addhstbyX): Return value returned by cache_addhst.
24836 (readdhstbyname): Return value returned by addhstbyX.
24837 (readdhstbyaddr): Likewise.
24838 (readdhstbynamev6): Likewise.
24839 (readdhstbyaddrv6): Likewise.
24840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24841 (readdinitgroups): Return value returned by addinitgroupsX.
24842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24843 (prune_cache): Keep track of timeout value of re-added entries.
24844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24845 * nscd/nscd.h: Adjust prototypes of readd* functions.
24847 2011-02-04 Roland McGrath <roland@redhat.com>
24849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24850 (nis_stats): Likewise.
24851 * nis/nis_modify.c (nis_modify): Likewise.
24852 * nis/nis_remove.c (nis_remove): Likewise.
24853 * nis/nis_add.c (nis_add): Likewise.
24855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24857 * posix/fnmatch_loop.c: Add some consts.
24859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24861 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24864 * config.make.in (config-cflags-novzeroupper): Define.
24865 * configure.in: Substitute libc_cv_cc_novzeroupper.
24866 * elf/Makefile (AVX-CFLAGS): Define.
24867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24868 (CFLAGS-tst-auditmod4a.c): Likewise.
24869 (CFLAGS-tst-auditmod4b.c): Likewise.
24870 (CFLAGS-tst-auditmod6b.c): Likewise.
24871 (CFLAGS-tst-auditmod6c.c): Likewise.
24872 (CFLAGS-tst-auditmod7b.c): Likewise.
24873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24875 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24878 function to the callback.
24879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24881 2011-02-02 Andreas Schwab <schwab@redhat.com>
24883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24886 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24896 * elf/Makefile: Add rules to build and run new test.
24897 * elf/tst-initorder.c: New file.
24898 * elf/tst-initorder.exp: New file.
24899 * elf/tst-initordera1.c: New file.
24900 * elf/tst-initordera2.c: New file.
24901 * elf/tst-initordera3.c: New file.
24902 * elf/tst-initordera4.c: New file.
24903 * elf/tst-initorderb1.c: New file.
24904 * elf/tst-initorderb2.c: New file.
24905 * elf/tst-order-a1.c: New file.
24906 * elf/tst-order-a2.c: New file.
24907 * elf/tst-order-a3.c: New file.
24908 * elf/tst-order-a4.c: New file.
24909 * elf/tst-order-b1.c: New file.
24910 * elf/tst-order-b2.c: New file.
24911 * elf/tst-order-main.c: New file.
24912 New test case by George Gensure <werkt0@gmail.com>.
24914 2010-10-01 Andreas Schwab <schwab@redhat.com>
24916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24917 decoding ACE if AI_CANONIDN.
24919 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24923 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24925 * version.h (RELEASE): Bump for 2.13 release.
24926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24939 * posix/getconf.c: Update copyright year.
24940 * catgets/gencat.c: Likewise.
24941 * csu/version.c: Likewise.
24942 * debug/catchsegv.sh: Likewise.
24943 * debug/xtrace.sh: Likewise.
24944 * elf/ldconfig.c: Likewise.
24945 * elf/ldd.bash.in: Likewise.
24946 * elf/sprof.c (print_version): Likewise.
24947 * iconv/iconv_prog.c: Likewise.
24948 * iconv/iconvconfig.c: Likewise.
24949 * locale/programs/locale.c: Likewise.
24950 * locale/programs/localedef.c: Likewise.
24951 * malloc/memusage.sh: Likewise.
24952 * malloc/mtrace.pl: Likewise.
24953 * nscd/nscd.c (print_version): Likewise.
24954 * nss/getent.c: Likewise.
24956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24957 PF_CAIF, and PF_ALG.
24958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24960 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24963 (modules-names): Use them.
24964 (ifunc-test-modules, ifunc-pie-tests): Define.
24965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24967 (test-extras): Likewise.
24968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24969 $(compile-command.c).
24970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24971 (all-built-dso): Define.
24972 (check-textrel.out, check-execstack.out): Depend on it.
24974 * configure.in: Don't override --enable-multi-arch.
24976 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24979 * nscd/hstcache.c (tryagain): Define.
24980 (cache_addhst): Return tryagain not notfound for temporary errors.
24981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24984 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24988 to make the syscall.
24989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24993 and fall back to matching as normal character if the string ends before
24994 the matching ']' is found. This is what POSIX requires.
24995 * posix/testfnm.c: Adjust test result.
24996 * posix/globtest.sh: Adjust test result. Add new test.
24997 * posix/tst-fnmatch.input: Likewise.
24998 * posix/tst-fnmatch2.c: Add new test.
25000 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25002 * elf/Makefile (check-execstack): Revert last change. Depend on
25004 (check-execstack.h): New target.
25005 (generated): Add check-execstack.h.
25006 * elf/check-execstack.c: Include "check-execstack.h".
25007 (main): Revert last change.
25008 (handle_file): Return zero if GNU_STACK is absent and
25009 DEFAULT_STACK_PERMS doesn't include PF_X.
25011 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25014 in child fails because the descriptor is already closed.
25015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25025 temporary buffer used to handle multi lookups locally.
25026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25028 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25033 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25036 alignment for SSE2.
25038 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25042 characters. When rounding increased number of integer digits recompute
25044 * stdio-common/tst-grouping.c: New file.
25045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25047 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25054 * bits/select.h: Likewise.
25056 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25058 * po/ja.po: Update from translation team.
25060 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25064 implementation just like for lxstat, fxstatat, et al.
25066 2010-12-27 Jim Meyering <meyering@redhat.com>
25069 * posix/regexec.c (build_trtable): Return failure indication upon
25070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25072 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25087 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25091 script has SORT_BY_INIT_PRIORITY.
25092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25093 NO_CTORS_DTORS_SECTIONS is defined.
25094 * elf/soinit.c: Likewise.
25095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25096 NO_CTORS_DTORS_SECTIONS is defined.
25097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25099 * sysdeps/sh/init-first.c: Likewise.
25100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25102 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25105 always use the slow path.
25107 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25110 similar rule which adds the sysdep directories to the header search in
25111 order to pick up the correct platform stackinfo.h.
25112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25113 perform test if it is, otherwise return successfully without testing.
25114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25115 DEFAULT_STACK_PERMS define in stackinfo.h.
25116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25117 defined in stackinfo.h.
25118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25119 DEFAULT_STACK_PERMS defined in stackinfo.h.
25120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25121 * sysdeps/ia64/stackinfo.h: Likewise.
25122 * sysdeps/s390/stackinfo.h: Likewise.
25123 * sysdeps/sh/stackinfo.h: Likewise.
25124 * sysdeps/sparc/stackinfo.h: Likewise.
25125 * sysdeps/x86_64/stackinfo.h: Likewise.
25126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25127 PF_X for powerpc64. Retain PF_X for powerpc32.
25129 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25134 GETDENTS_64BIT_ALIGNED.
25136 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25140 2010-12-10 Andreas Schwab <schwab@redhat.com>
25142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25151 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25157 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25161 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25163 * po/it.po: Update from translation team.
25165 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25170 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25174 2010-11-24 Andreas Schwab <schwab@redhat.com>
25176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25178 (gaih_getanswer_slice): Likewise.
25180 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25184 2010-05-31 Petr Baudis <pasky@suse.cz>
25187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25188 silently even in the chroot mode.
25190 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25193 last patch a bit. Pretty printing
25195 2010-05-31 Petr Baudis <pasky@suse.cz>
25198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25199 initialization of skip_initgroups_dyn.
25201 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25206 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25210 2010-11-11 Andreas Schwab <schwab@redhat.com>
25212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25215 ($(objpfx)tst-fnmatch-mem): New rule.
25216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25217 * posix/tst-fnmatch.c (main): Call mtrace.
25219 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25222 Support Intel processor model 6 and model 0x2c.
25224 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25229 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25232 * string/test-strncasecmp.c (check_result): New function.
25233 (do_one_test): Use it.
25234 (check1): New function.
25235 (test_main): Use it.
25236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25237 Support strcasecmp and strncasecmp.
25239 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25245 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25251 * sysdeps/x86_64/multiarch/bzero.S: New file.
25252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25254 * sysdeps/x86_64/multiarch/memset.S: New file.
25255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25257 Set bit_Prefer_SSE_for_memop for Intel processors.
25258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25260 (index_Prefer_SSE_for_memop): Define.
25261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25263 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25268 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25272 (__x86_64_raw_data_cache_size_half): Likewise.
25273 (__x86_64_raw_shared_cache_size): Likewise.
25274 (__x86_64_raw_shared_cache_size_half): Likewise.
25276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25277 (__x86_64_raw_data_cache_size_half): Likewise.
25278 (__x86_64_raw_shared_cache_size): Likewise.
25279 (__x86_64_raw_shared_cache_size_half): Likewise.
25280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25282 and __x86_64_raw_shared_cache_size_half. Round
25283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25285 to multiple of 256 bytes.
25287 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25291 of inacessible symlinks. Verify result of symlink before returning it.
25292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25295 2010-10-28 Erich Ritz <erichritz@gmail.com>
25297 * math/math.h (isinf): Fix typo in comment.
25299 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25301 * po/da.po: Update from translation team.
25303 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25306 is added to the list.
25308 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25309 Ulrich Drepper <drepper@gmail.com>
25311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25312 the global list here. Move code to...
25313 (_dl_add_to_namespace_list): ...here. New function.
25314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25316 * elf/dl-load.c (lose): Don't remove the element from the list.
25317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25318 (_dl_map_object): Likewise.
25320 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25324 into all bytes of SSE register.
25325 Patch by Richard Li <richardpku@gmail.com>.
25327 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25333 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25343 2010-10-22 Andreas Schwab <schwab@redhat.com>
25345 * include/dlfcn.h (__RTLD_SECURE): Define.
25346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25347 mode & __RTLD_SECURE instead.
25348 (open_path): Rename preloaded parameter to secure.
25349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25351 * elf/dl-deps.c (openaux): Likewise.
25352 * elf/rtld.c (struct map_args): Remove is_preloaded.
25353 (map_doit): Don't use it.
25354 (dl_main): Likewise.
25355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25358 2010-09-09 Andreas Schwab <schwab@redhat.com>
25360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25361 (sysd-rules-targets): Remove duplicates.
25362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25363 rtld-%.$o dependency.
25365 2010-10-18 Andreas Schwab <schwab@redhat.com>
25367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25368 _dl_map_object do it.
25370 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25373 fast fma builtins, define the macros in the C99 standard.
25374 (FP_FAST_FMAF): Likewise.
25375 (FP_FAST_FMAL): Likewise.
25376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25378 * bits/mathdef.h: Update copyright year.
25379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25381 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25384 builtins, define the macros in the C99 standard.
25385 (FP_FAST_FMAF): Likewise.
25386 (FP_FAST_FMAL): Likewise.
25387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25389 (FP_FAST_FMAF): Likewise.
25391 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25394 * math/libm-test.inc (fma_test): Some new testcases.
25395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25397 y and infinite z. Do multiplication by C already in long double.
25398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25400 y and infinite z. Do bitwise or of inexact bit into u.d.
25401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25403 * sysdeps/i386/fpu/s_fma.S: Removed.
25404 * sysdeps/i386/fpu/s_fmal.S: Removed.
25406 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25411 computation is not scheduled after fetestexcept. Fix value
25412 of minimum denormal long double.
25414 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25417 * math/libm-test.inc (fma_test): Add some more tests.
25418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25421 2010-10-15 Andreas Schwab <schwab@redhat.com>
25423 * scripts/data/localplt-s390-linux-gnu.data: New file.
25424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25426 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25436 if one of x and y is very large and the other is subnormal.
25437 * sysdeps/s390/fpu/s_fmaf.c: New file.
25438 * sysdeps/s390/fpu/s_fma.c: New file.
25439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25440 * sysdeps/powerpc/fpu/s_fma.S: New file.
25441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25445 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25458 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25462 * posix/bug-regex31.input: Add test case.
25464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25467 * posix/bug-regex31.input: New file.
25470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25471 (parse_sub_exp): Fix last change, use postorder.
25473 * posix/bug-regex31.c: New file.
25474 * posix/Makefile: Add rules to build and run bug-regex31.
25476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25483 to have entries in sys_siglist.
25486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25489 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25505 * math/ftestexcept.c (fetestexcept): Likewise.
25506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25514 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25520 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25522 * string/bug-strstr1.c: New file.
25523 * string/Makefile: Add rules to build and run bug-strstr1.
25525 2010-10-05 Eric Blake <eblake@redhat.com>
25528 * string/str-two-way.h (two_way_long_needle): Always clear memory
25529 when skipping input due to the shift table.
25531 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25534 * malloc/mcheck.c: Handle large requests.
25537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25538 for strncmp and strncasecmp.
25539 * string/stratcliff.c: Add tests for strcmp and strncmp.
25540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25542 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25547 2010-09-30 Andreas Jaeger <aj@suse.de>
25549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25550 (CGROUP_SUPER_MAGIC): Define.
25551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25552 Handle btrfs and cgroup file systems.
25553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25556 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25561 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25565 trying to locate the ELF header.
25567 2010-09-27 Andreas Schwab <schwab@redhat.com>
25570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25571 Mask out sign-bit copies when constructing f_fsid.
25573 2010-09-24 Petr Baudis <pasky@suse.cz>
25575 * debug/stack_chk_fail_local.c: Add missing licence exception.
25576 * debug/warning-nop.c: Likewise.
25578 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25581 implementing getdents64 using getdents syscall, set d_type if
25582 __ASSUME_GETDENTS32_D_TYPE.
25584 2010-09-16 Andreas Schwab <schwab@redhat.com>
25586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25589 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25592 * posix/unistd.h: Undo change of feature selection for ftruncate from
25595 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25600 2010-09-20 Andreas Schwab <schwab@redhat.com>
25602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25606 2010-09-14 Andreas Schwab <schwab@redhat.com>
25608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25609 variables after CHECK_SP call.
25610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25612 2010-09-13 Andreas Schwab <schwab@redhat.com>
25613 Ulrich Drepper <drepper@redhat.com>
25615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25616 re-relocationg ld.so.
25617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25618 _dl_init_paths call.
25619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25622 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25624 * resolv/res_init.c (__res_vinit): Count the default server we added.
25626 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25627 Ulrich Drepper <drepper@redhat.com>
25630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25631 (____longjmp_chk): Use %ebx for saving value across system call.
25634 2010-09-06 Andreas Schwab <schwab@redhat.com>
25636 * manual/Makefile: Don't mix pattern rules with normal rules.
25638 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25649 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25655 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25658 * sysdeps/x86_64/addmul_1.S: Likewise.
25659 * sysdeps/x86_64/lshift.S: Likewise.
25660 * sysdeps/x86_64/mul_1.S: Likewise.
25661 * sysdeps/x86_64/rshift.S: Likewise.
25662 * sysdeps/x86_64/sub_n.S: Likewise.
25663 * sysdeps/x86_64/submul_1.S: Likewise.
25665 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25668 Define __sched_param instead of SCHED_* and sched_param when
25669 <bits/sched.h> is included with __need_schedparam defined.
25670 * bits/sched.h [__need_schedparam]
25671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25673 (__defined_schedparam): Define to 1.
25674 (__sched_param): New structure, identical to sched_param.
25675 (__need_schedparam): Undefine.
25677 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25680 (epoll_create1): Declare.
25682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25684 2010-08-31 Andreas Schwab <schwab@redhat.com>
25687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25688 shifting retval into place.
25690 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25692 * nis/rpcsvc/nis.h: Update copyright notice.
25693 * nis/rpcsvc/nis.x: Likewise.
25694 * nis/rpcsvc/nis_callback.h: Likewise.
25695 * nis/rpcsvc/nis_callback.x: Likewise.
25696 * nis/rpcsvc/nis_object.x: Likewise.
25697 * nis/rpcsvc/nis_tags.h: Likewise.
25698 * nis/rpcsvc/yp.h: Likewise.
25699 * nis/rpcsvc/yp.x: Likewise.
25700 * nis/rpcsvc/ypupd.h: Likewise.
25701 * nis/yp_xdr.c: Likewise.
25702 * nis/ypupdate_xdr.c: Likewise.
25704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25705 mainly the body of pmap_getport. Add parameters to specify timeouts.
25706 (pmap_getport): Use __libc_rpc_getport.
25707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25711 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25716 2010-08-27 Roland McGrath <roland@redhat.com>
25718 * sysdeps/i386/i686/multiarch/Makefile
25719 (CFLAGS-varshift.c): New variable.
25721 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25730 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25732 * sysdeps/x86_64/strlen.S: Unroll the loop.
25733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25734 strlen-sse2 strlen-sse2-bsf.
25735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25736 __strlen_no_bsf if bit_Slow_BSF is set.
25737 (__strlen_sse42): Removed.
25738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25741 2010-08-25 Roland McGrath <roland@redhat.com>
25743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25744 * sysdeps/x86_64/multiarch/varshift.c: New file.
25745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25750 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25753 strlen-sse2 strlen-sse2-bsf.
25754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25756 (__strlen_sse2): Removed.
25757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25760 bit_Slow_BSF for Atom.
25761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25762 (index_Slow_BSF): Define.
25763 (HAS_SLOW_BSF): Define.
25765 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25768 * resolv/res_init.c (__res_vinit): When no server address at all
25769 is given default to loopback.
25771 2010-08-24 Roland McGrath <roland@redhat.com>
25773 * configure.in: Remove config-name.h generation.
25774 * configure: Regenerated.
25775 * config-name.in: File removed.
25776 * scripts/config-uname.sh: New file.
25777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25778 ($(objdir)config-name.h): New target.
25780 * sunrpc/rpc_parse.h: Avoid nested comment.
25782 2010-08-24 Richard Henderson <rth@redhat.com>
25783 Ulrich Drepper <drepper@redhat.com>
25784 H.J. Lu <hongjiu.lu@intel.com>
25786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25790 _mm_alignr_epi8 with _mm_loadu_si128.
25791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25793 (__m128i_shift_right): Removed.
25794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25796 * sysdeps/x86_64/multiarch/varshift.h: New file.
25797 * sysdeps/x86_64/multiarch/varshift.S: New file.
25799 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25801 * configure.in: Move assembler checks to before sysdep dir checking.
25803 2010-08-20 Petr Baudis <pasky@suse.cz>
25805 * LICENSES: Sync the sunrpc license.
25807 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25809 * sunrpc/auth_des.c: Update copyright notice once again.
25810 * sunrpc/auth_none.c: Likewise.
25811 * sunrpc/auth_unix.c: Likewise.
25812 * sunrpc/authdes_prot.c: Likewise.
25813 * sunrpc/authuxprot.c: Likewise.
25814 * sunrpc/bindrsvprt.c: Likewise.
25815 * sunrpc/clnt_gen.c: Likewise.
25816 * sunrpc/clnt_perr.c: Likewise.
25817 * sunrpc/clnt_raw.c: Likewise.
25818 * sunrpc/clnt_simp.c: Likewise.
25819 * sunrpc/clnt_tcp.c: Likewise.
25820 * sunrpc/clnt_udp.c: Likewise.
25821 * sunrpc/clnt_unix.c: Likewise.
25822 * sunrpc/des_crypt.c: Likewise.
25823 * sunrpc/des_soft.c: Likewise.
25824 * sunrpc/get_myaddr.c: Likewise.
25825 * sunrpc/getrpcport.c: Likewise.
25826 * sunrpc/key_call.c: Likewise.
25827 * sunrpc/key_prot.c: Likewise.
25828 * sunrpc/openchild.c: Likewise.
25829 * sunrpc/pm_getmaps.c: Likewise.
25830 * sunrpc/pm_getport.c: Likewise.
25831 * sunrpc/pmap_clnt.c: Likewise.
25832 * sunrpc/pmap_prot.c: Likewise.
25833 * sunrpc/pmap_prot2.c: Likewise.
25834 * sunrpc/pmap_rmt.c: Likewise.
25835 * sunrpc/rpc/auth.h: Likewise.
25836 * sunrpc/rpc/auth_unix.h: Likewise.
25837 * sunrpc/rpc/clnt.h: Likewise.
25838 * sunrpc/rpc/des_crypt.h: Likewise.
25839 * sunrpc/rpc/key_prot.h: Likewise.
25840 * sunrpc/rpc/netdb.h: Likewise.
25841 * sunrpc/rpc/pmap_clnt.h: Likewise.
25842 * sunrpc/rpc/pmap_prot.h: Likewise.
25843 * sunrpc/rpc/pmap_rmt.h: Likewise.
25844 * sunrpc/rpc/rpc.h: Likewise.
25845 * sunrpc/rpc/rpc_des.h: Likewise.
25846 * sunrpc/rpc/rpc_msg.h: Likewise.
25847 * sunrpc/rpc/svc.h: Likewise.
25848 * sunrpc/rpc/svc_auth.h: Likewise.
25849 * sunrpc/rpc/types.h: Likewise.
25850 * sunrpc/rpc/xdr.h: Likewise.
25851 * sunrpc/rpc_clntout.c: Likewise.
25852 * sunrpc/rpc_cmsg.c: Likewise.
25853 * sunrpc/rpc_common.c: Likewise.
25854 * sunrpc/rpc_cout.c: Likewise.
25855 * sunrpc/rpc_dtable.c: Likewise.
25856 * sunrpc/rpc_hout.c: Likewise.
25857 * sunrpc/rpc_main.c: Likewise.
25858 * sunrpc/rpc_parse.c: Likewise.
25859 * sunrpc/rpc_parse.h: Likewise.
25860 * sunrpc/rpc_prot.c: Likewise.
25861 * sunrpc/rpc_sample.c: Likewise.
25862 * sunrpc/rpc_scan.c: Likewise.
25863 * sunrpc/rpc_scan.h: Likewise.
25864 * sunrpc/rpc_svcout.c: Likewise.
25865 * sunrpc/rpc_tblout.c: Likewise.
25866 * sunrpc/rpc_util.c: Likewise.
25867 * sunrpc/rpc_util.h: Likewise.
25868 * sunrpc/rpcinfo.c: Likewise.
25869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25870 * sunrpc/rpcsvc/key_prot.x: Likewise.
25871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25872 * sunrpc/rpcsvc/mount.x: Likewise.
25873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25875 * sunrpc/rpcsvc/rex.x: Likewise.
25876 * sunrpc/rpcsvc/rstat.x: Likewise.
25877 * sunrpc/rpcsvc/rusers.x: Likewise.
25878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25879 * sunrpc/rpcsvc/spray.x: Likewise.
25880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25881 * sunrpc/rtime.c: Likewise.
25882 * sunrpc/svc.c: Likewise.
25883 * sunrpc/svc_auth.c: Likewise.
25884 * sunrpc/svc_authux.c: Likewise.
25885 * sunrpc/svc_raw.c: Likewise.
25886 * sunrpc/svc_run.c: Likewise.
25887 * sunrpc/svc_simple.c: Likewise.
25888 * sunrpc/svc_tcp.c: Likewise.
25889 * sunrpc/svc_udp.c: Likewise.
25890 * sunrpc/svc_unix.c: Likewise.
25891 * sunrpc/svcauth_des.c: Likewise.
25892 * sunrpc/xcrypt.c: Likewise.
25893 * sunrpc/xdr.c: Likewise.
25894 * sunrpc/xdr_array.c: Likewise.
25895 * sunrpc/xdr_float.c: Likewise.
25896 * sunrpc/xdr_mem.c: Likewise.
25897 * sunrpc/xdr_rec.c: Likewise.
25898 * sunrpc/xdr_ref.c: Likewise.
25899 * sunrpc/xdr_sizeof.c: Likewise.
25900 * sunrpc/xdr_stdio.c: Likewise.
25902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25905 2010-08-19 Andreas Schwab <schwab@redhat.com>
25907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25909 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25926 2010-07-26 Anton Blanchard <anton@samba.org>
25928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25929 * malloc/arena.c (heap_trim): Likewise.
25931 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25938 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25940 * sysdeps/i386/elf/Makefile: New file.
25942 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25945 from fanotify_init.
25946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25949 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25953 * sysdeps/multiarch/strcmp.S: Likewise.
25955 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25958 strncase_l-nonascii.
25959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25960 Add strncase_l-ssse3.
25961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25962 * sysdeps/x86_64/strcmp.S: Likewise.
25963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25965 * sysdeps/x86_64/strncase.S: New file.
25966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25967 * sysdeps/x86_64/strncase_l.S: New file.
25968 * string/Makefile (strop-tests): Add strncasecmp.
25969 * string/test-strncasecmp.c: New file.
25971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25981 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25987 2010-05-01 Alan Modra <amodra@gmail.com>
25989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25994 tidying. Don't tail-call __sigjmp_save for static lib.
25995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25998 (CALL_MCOUNT): Add eh info, and nop after bl.
25999 (TAIL_CALL_SYSCALL_ERROR): New macro.
26000 (PSEUDO_RET): Use it.
26001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26002 Correct save location of integer regs and cr.
26003 (_dl_profile_resolve): Correct cr save location. Delete nops
26004 after bl when SHARED. Reduce cfi size a little by better
26005 placement of cfi directives.
26006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26007 make a stack frame. Instead use parm save area as a temp.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26011 Don't make a stack frame for parent, use parm save area.
26012 Increase child stack frame to 112 bytes. Don't save unused reg,
26013 and adjust reg usage. Set up cfi on error recovery and
26014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26016 (__makecontext): Add dummy nop after jump to exit.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26018 Use correct parm save area and cr save, reduce stack frame.
26019 Correct cfi for possible PSEUDO_RET frame setup.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26021 Branch to local label emitted by PSEUDO_RET rather than
26024 2010-08-12 Andreas Schwab <schwab@redhat.com>
26027 * locale/programs/locale.c (print_assignment): New function.
26028 (show_locale_vars): Use it.
26030 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26034 (struct statfs64): Likewise.
26035 (_STATFS_F_FLAGS): Define.
26036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26039 (ST_VALID): Define locally.
26040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26041 __statvfs_getflags, use the provided value.
26042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26043 __ASSUME_STATFS_F_FLAGS.
26045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26048 Add sys/fanotify.h.
26049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26050 fanotify_mask for GLIBC_2.13.
26051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26052 fanotify_init and fanotify_mark.
26053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26059 prlimit64 for GLIBC_2.13.
26060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26076 * nss/Makefile: Add rules to build and run tst-nss-test1.
26077 * shlib-versions: Add entry for libnss_test1.
26078 * nss/nss_test1.c: New file.
26079 * nss/tst-nss-test1.c: New file.
26081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26082 (__nss_configure_lookup): Set appropriate entry in
26083 __nss_configure_lookup to true.
26084 * nss/nsswitch.h: Define enum with indeces of databases in
26085 databases and __nss_database_custom arrays. Declare
26086 __nss_database_custom.
26087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26088 to avoid using nscd when custom rules are installed.
26089 * nss/getXXbyYY_r.c: Likewise.
26090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26092 * nss/nss_files/files-parse.c: Whitespace fixes.
26094 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26098 * posix/fnmatch_loop.c: Likewise.
26100 2010-07-17 Andi Kleen <ak@linux.intel.com>
26102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26105 * Versions.def [GLIBC_2.13]: Add.
26107 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26110 Also fail if tpwd after pwuid call is NULL.
26112 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26115 when converting to ms.
26117 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26120 EOPNOTSUPP errors with ENOTTY.
26121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26122 EOPNOTSUPP errors with ENOTTY.
26124 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26127 Add strcasecmp_l-ssse3.
26128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26134 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26138 * string/Makefile (strop-tests): Add strcasecmp.
26139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26140 strcasecmp_l-nonascii.
26141 (gen-as-const-headers): Add locale-defines.sym.
26142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26143 * sysdeps/x86_64/strcasecmp.S: New file.
26144 * sysdeps/x86_64/strcasecmp_l.S: New file.
26145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26146 * sysdeps/x86_64/locale-defines.sym: New file.
26147 * string/test-strcasecmp.c: New file.
26149 * string/test-strcasestr.c: Test both ends of the range of characters.
26150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26152 2010-07-29 Roland McGrath <roland@redhat.com>
26155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26157 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26162 2010-07-27 Andreas Schwab <schwab@redhat.com>
26164 * manual/memory.texi (Malloc Tunable Parameters): Document
26167 2010-07-26 Roland McGrath <roland@redhat.com>
26170 * configure.in (-fgnu89-inline check): Set and substitute
26171 gnu89_inline, not libc_cv_gnu89_inline.
26172 * configure: Regenerated.
26173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26175 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26177 * string/test-strnlen.c: New file.
26178 * string/Makefile (strop-tests): Add strnlen.
26179 * string/tester.c (test_strnlen): Add a few more test cases.
26180 * string/tst-strlen.c: Better error reporting.
26182 * sysdeps/x86_64/strnlen.S: New file.
26184 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26187 lower-latency instructions.
26189 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26191 * string/test-strcasestr.c: New file.
26192 * string/test-strstr.c: New file.
26193 * string/Makefile (strop-tests): Add strstr and strcasestr.
26194 * string/str-two-way.h: Don't undefine MAX.
26195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26197 2010-07-21 Andreas Schwab <schwab@redhat.com>
26199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26200 strcasestr-nonascii.
26201 (CFLAGS-strcasestr-nonascii.c): Define.
26202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26204 Remove unused attribute.
26206 2010-07-20 Roland McGrath <roland@redhat.com>
26208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26210 ld.so.cache was broken. With it, there is no way to disable dsocaps
26211 like LD_HWCAP_MASK can disable hwcaps.
26213 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26217 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26220 call in strcasestr.
26221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26222 __strcasestr_sse42_nonascii.
26223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26224 strcasestr-nonascii.c.
26225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26227 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26234 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26239 2010-07-06 Andreas Schwab <schwab@redhat.com>
26242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26245 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26248 _PC_PIPE_BUF using F_GETPIPE_SZ.
26250 2010-07-05 Roland McGrath <roland@redhat.com>
26252 * manual/arith.texi (Rounding Functions): Fix rint description
26253 implicit in round description.
26255 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26257 * elf/Makefile: Fix linking for a few tests to make recent linker
26260 2010-06-30 Andreas Schwab <schwab@redhat.com>
26262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26263 $(common-objpfx)libc_nonshared.a.
26265 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26316 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26320 * string/memmove.c (memmove): Renamed to ...
26321 (MEMMOVE): ...this. Default to memmove.
26322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26327 mempcpy-ssse3-back memmove-ssse3-back.
26328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26335 * sysdeps/x86_64/multiarch/memmove.c: New file.
26336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26343 (index_Fast_Copy_Backward): Define.
26344 (HAS_ARCH_FEATURE): Define.
26345 (HAS_FAST_REP_STRING): Define.
26346 (HAS_FAST_COPY_BACKWARD): Define.
26348 2010-06-21 Andreas Schwab <schwab@redhat.com>
26350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26351 Restore proper fallback handling.
26353 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26356 * posix/group_member.c (__group_member): Correct checking loop.
26358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26359 OOM in getpwuid_r correctly. Return error number when the caller
26360 should return, otherwise -1.
26361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26362 call returning > 0 value.
26363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26365 2010-06-07 Andreas Schwab <schwab@redhat.com>
26367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26368 libc_nonshared.a from targets in modules-names.
26370 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26375 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26382 2010-06-02 Andreas Schwab <schwab@redhat.com>
26384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26386 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26397 2010-06-14 Roland McGrath <roland@redhat.com>
26399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26401 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26404 __REDIRECT followed by __THROW.
26405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26406 * posix/getopt.h (getopt): Likewise.
26408 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26417 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26421 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26425 Properly check family and model.
26427 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26431 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26435 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26440 2010-05-19 Andreas Schwab <schwab@redhat.com>
26442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26445 2010-05-21 Andreas Schwab <schwab@redhat.com>
26447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26448 and internal_recvmmsg.
26449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26458 2010-05-20 Andreas Schwab <schwab@redhat.com>
26460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26462 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26464 POWER7 optimizations.
26465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26468 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26470 * version.h: Update for 2.13 development version.
26472 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26475 exceptions. Return 0.
26477 2010-05-07 Roland McGrath <roland@redhat.com>
26479 * elf/ldconfig.c (main): Add a const.
26481 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26484 (args_options): Add no-idn option.
26485 (ahosts_keys_int): Add idn_flags to ai_flags.
26486 (parse_option): Handle 'i' option to clear idn_flags.
26488 * malloc/malloc.c (_int_free): Possible race in the most recently
26489 added check. Only act on the data if no current modification
26492 See ChangeLog.17 for earlier changes.