1 2012-04-17 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18 * math/libm-test.inc: Add ilogb errno and exception tests.
19 * math/w_ilogb.c: New file: ilogb wrapper.
20 * math/w_ilogbf.c: New file: ilogbf wrapper.
21 * math/w_ilogbl.c: New file: ilogbl wrapper.
22 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25 exception being thrown with 0.0 as argument.
26 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28 exception being thrown with 0.0 as argument.
29 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31 exception being thrown with 0.0 as argument.
32 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34 exception being thrown with 0.0 as argument.
35 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37 * sysdeps/ieee754/flt-32/e_ilogbf.c: Moved to ...
38 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45 2012-04-17 Petr Baudis <pasky@ucw.cz>
47 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50 2012-04-16 Marek Polacek <polacek@redhat.com>
52 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54 2012-04-16 Marek Polacek <polacek@redhat.com>
56 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57 operands of fdivp instruction.
59 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62 * elf/tst-auditmod3b.c: Likewise.
63 * elf/tst-auditmod4b.c: Likewise.
64 * elf/tst-auditmod5b.c: Likewise.
65 * elf/tst-auditmod6b.c: Likewise.
66 * elf/tst-auditmod6c.c: Likewise.
67 * elf/tst-auditmod7b.c: Likewise.
68 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69 * sysdeps/x86_64/preconfigure.in: Likewise.
70 * sysdeps/x86_64/preconfigure: Regenerated.
72 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
79 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
85 * locale/iso-639.def: Fix gl language name. Spotted by
88 2012-04-12 Roland McGrath <roland@hack.frob.com>
91 * libio/libio.h (__io_write_fn): Update comment.
93 2012-04-12 Petr Baudis <pasky@ucw.cz>
96 * stdio.texi (Hook Functions): The user provided writer function
97 is not allowed to return -1.
99 2012-04-11 David S. Miller <davem@davemloft.net>
101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
103 2012-04-11 Mike Frysinger <vapier@gentoo.org>
105 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
106 Add a leading slash to rtkaio.
108 2012-04-11 Jim Meyering <meyering@redhat.com>
111 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
112 It is not necessarily an error to ignore fwrite's return
113 value. One can reliably use ferror to test for errors after
116 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
118 * bits/types.h (__snseconds_t): New type.
119 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
121 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
123 (__SNSECONDS_T_TYPE): Likewise.
124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
125 (__SNSECONDS_T_TYPE): Likewise.
126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
127 (__SNSECONDS_T_TYPE): Likewise.
129 2012-04-10 Andreas Jaeger <aj@suse.de>
132 * manual/time.texi (Processor Time): Return type of times is
133 elapsed real time since an arbitrary point in the past.
134 (CPU Time): Move CLK_TCK from here...
135 (Processor Time): ...to here. Correct description.
136 * manual/conf.texi (Constants for Sysconf): Correct description of
139 2012-04-10 David S. Miller <davem@davemloft.net>
142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
143 where the is a gap between DT_REL(A) and DT_JMPREL.
145 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
147 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
151 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
153 * elf/dl-support.c (_dl_inhibit_cache): New variable.
154 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
155 (dl_main): Handle --inhibit-cache.
156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
158 * elf/dl-load.c (_dl_map_object): Use it.
159 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
161 2012-04-09 Joseph Myers <joseph@codesourcery.com>
164 * sysdeps/i386/fpu/e_powl.S (p78): New object.
165 (__ieee754_powl): Saturate large exponents rather than testing for
166 overflow of y*log2(x).
167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
168 * math/libm-test.inc (pow_test): Do not permit spurious overflow
172 * math/s_ctan.c: Include <float.h>.
173 (__ctan): Avoid internal overflow or cancellation in calculating
175 * math/s_ctanf.c: Likewise.
176 * math/s_ctanl.c: Likewise.
177 * math/s_ctanh.c: Likewise.
178 * math/s_ctanhf.c: Likewise.
179 * math/s_ctanhl.c: Likewise.
180 * math/libm-test.inc (ctan_test): Add more tests.
181 (ctanh_test): Likewise.
182 * sysdeps/i386/fpu/libm-test-ulps: Update.
183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185 2012-04-09 Andreas Jaeger <aj@suse.de>
188 * manual/filesys.texi (Directory Entries): Mention that d_namlen
189 is an optional BSD extension.
192 * manual/stdio.texi (Opening Streams): Document additional fopen
195 2012-04-09 Roland McGrath <roland@hack.frob.com>
197 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
198 %eax without telling the compiler.
200 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
203 * manual/install.texi: Use sourceware.org.
205 2012-04-09 Joseph Myers <joseph@codesourcery.com>
208 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
209 (__ieee754_pow): Generate overflow and underflow using huge*huge
210 and tiny*tiny rather than just returning constant infinity or zero
212 * math/libm-test.inc (pow_test): Require overflow exceptions for
213 applicable cases of large exponents.
216 * sysdeps/i386/fpu/e_pow.S (p10): New object.
217 (__ieee754_pow): Use iterative multiplication algorithm only for
218 integer exponents with absolute value below 1024. Check for odd
219 integer exponents when using algorithm for real exponents.
220 * math/libm-test.inc (pow_test): Add more tests.
221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
223 2012-04-08 Joseph Myers <joseph@codesourcery.com>
226 * math/libm-test.inc (exp_test): Do not allow overflow exception
229 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
232 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
233 instead of __kernel_standard_f.
235 2012-04-08 Mike Frysinger <vapier@gentoo.org>
237 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
238 * sysdeps/x86_64/memset_chk.S: Likewise.
240 2012-04-08 Andreas Jaeger <aj@suse.de>
243 * manual/startup.texi (Environment Access): Describe return value
244 for putenv and setenv.
247 * manual/filesys.texi (Directory Entries): Add description for
251 * manual/filesys.texi (Directory Entries): Clarify that it's file
252 system not operating system in the description of DT_UNKNOWN.
255 * manual/syslog.texi (closelog): Fix reference, it's openlog.
257 2012-04-08 Stephen Compall <s11@member.fsf.org>
260 * manual/llio.texi (Opening and Closing Files): Add cross
261 reference to explain mode argument.
263 2012-04-07 Mike Frysinger <vapier@gentoo.org>
265 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
266 * sysdeps/x86_64/memset_chk.S: Likewise.
268 2012-04-07 David S. Miller <davem@davemloft.net>
270 * elf/elf.h (R_SPARC_WDISP10): Define.
271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
274 R_SPARC_SIZE64 and R_SPARC_H34.
276 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
279 conditions and remove no longer applicable assertion.
281 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
283 * bits/byteswap.h: Include <features.h>.
284 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
285 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
287 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
289 * bits/byteswap.h (__bswap_16): Removed.
290 Include <bits/byteswap-16.h> to get __bswap_16.
291 * sysdeps/i386/bits/byteswap.h: Likewise.
292 * sysdeps/s390/bits/byteswap.h: Likewise.
293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
294 * bits/byteswap-16.h: New file.
295 * sysdeps/i386/bits/byteswap-16.h: Likewise.
296 * sysdeps/s390/bits/byteswap-16.h: Likewise.
297 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
298 * string/Makefile (headers): Add bits/byteswap-16.h.
300 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
303 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
305 * nss/Makefile (tests-static, tests): Add tst-nss-static.
306 * nss/tst-nss-static.c: New.
308 2012-04-06 Robert Millan <rmh@gnu.org>
311 * manual/llio.texi (File Position Primitive): lseek
312 refers to WHENCE when it really means OFFSET.
314 2012-04-06 Andreas Jaeger <aj@suse.de>
316 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
317 strncmp declarations.
319 * abilist/libc.abilist: Add __poll and __ppoll.
321 2012-04-05 David S. Miller <davem@davemloft.net>
323 * scripts/check-local-headers.sh: Accept a host triplet in the
324 path matched by the exclude regexp.
326 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
328 * sysdeps/powerpc/powerpc32/dl-machine.h
329 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
330 * sysdeps/s390/s390-32/dl-machine.h
331 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
332 * sysdeps/sparc/sparc32/dl-machine.h
333 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
334 * sysdeps/sparc/sparc64/dl-machine.h
335 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
337 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
339 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
340 undefined symbol errors.
342 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
345 2012-04-05 Michael Matz <matz@suse.de>
348 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
350 2012-04-05 Andreas Jaeger <aj@suse.de>
353 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
356 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
358 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
359 which ROUND is no valid rounding mode.
361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
365 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
367 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
369 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
370 an exception using FPU order intentionally.
372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
374 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
375 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
376 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
377 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
379 2012-04-05 Simon Josefsson <simon@josefsson.org>
382 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
383 EINVAL when BUFLEN is too smal.
385 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
388 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
389 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
391 2012-04-03 Andreas Jaeger <aj@suse.de>
394 * manual/setjmp.texi (System V contexts): Fix sentence.
397 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
398 New macro for this case.
399 [!__GNUC__] (__bswap_64): New inline function for this case.
400 * sysdeps/x86_64/bits/byteswap.h: Likewise.
401 * bits/byteswap.h: Likewise.
402 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
403 ull, guard with __GLIBC_HAVE_LONG_LONG.
405 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
406 __GLIBC_HAVE_LONG_LONG.
408 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
409 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
411 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
414 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
415 inptr and inend, rather than using last_ch.
417 2012-04-02 David S. Miller <davem@davemloft.net>
419 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
420 * stdio-common/printf-parse.h (read_int): Change return type to
421 'int', return -1 on INT_MAX overflow.
422 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
423 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
424 overflows INT_MAX. Check for overflow of in-format-string precision
425 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
426 SIZE_MAX not INT_MAX for integer overflow test.
427 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
428 skip the construct in the format string but do not record anything.
429 * stdio-common/bug22.c: Adjust to test both width/prevision
430 INT_MAX overflow as well as total length INT_MAX overflow. Check
431 explicitly for proper errno values.
433 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
435 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
437 * string/test-strcmp.c [! WIDE]: Likewise.
438 * time/tst-mktime2.c: Likewise for INT_MAX.
439 * string/test-string.h: #include <sys/param.h> for MIN.
441 * csu/init-first.c (__libc_init_first): Call __ctype_init.
442 * sysdeps/i386/init-first.c (init): Likewise.
443 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
444 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
445 * sysdeps/sh/init-first.c (init): Likewise.
447 2012-04-01 Ulrich Drepper <drepper@gmail.com>
449 * po/ru.po: Update from translation team.
450 * po/vi.po: Likewise.
452 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
454 * resolv/nss_dns/dns-host.c: Merge copyright years.
456 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
459 Optimize memcpy with prefetch if
460 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
461 src, dst pointers have unequal 16 byte alignments.
463 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
466 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
467 from a CNAME entry and return the minimum ttl for the query.
468 (gaih_getanswer_slice): Likewise.
470 2012-03-30 Jeff Law <law@redhat.com>
472 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
474 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
475 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
477 * resolv/nss_dns/dns-host.c: Update copyright year.
479 2012-03-30 Ulrich Drepper <drepper@gmail.com>
481 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
482 requests to save a system call. Fix check that all bytes are sent.
484 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
485 comments for sendmmsg.
487 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
490 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
491 with only 1 character between 0x0041 and 0x01b0.
492 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
493 * wcsmbs/tst-mbsnrtowcs.c: New file.
495 2012-03-29 David S. Miller <davem@davemloft.net>
497 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
498 small copies by hand.
500 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
503 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
504 _nss_compat_initgroups_dyn): Fall back to malloc/free
505 for large group memberships.
507 2012-03-28 David S. Miller <davem@davemloft.net>
509 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
510 that branches into memcpy.
511 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
513 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
514 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
517 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
519 * sysdeps/sparc/mempcpy.S: New file.
521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
522 the IFUNC routine in the libc case.
523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
525 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
526 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
527 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
528 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
529 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
530 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
531 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
532 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
534 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
535 loop to 256 bytes instead of 64 bytes and fix test signedness.
537 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
538 * sysdeps/sparc/sparc32/Makefile: rather than here...
539 * sysdeps/sparc/sparc64/Makefile: and here.
541 2012-03-28 Ulrich Drepper <drepper@gmail.com>
543 * malloc/mallocbug.c: Avoid warnings about unused variables.
545 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
548 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
549 in the right place. Discard and retry query if response is
550 larger than input buffer size.
552 2012-03-28 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
558 x for large integer exponent.
559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
561 sign of result as needed afterwards.
562 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
564 result for underflowing pow the same as for overflow.
565 (__kernel_standard_l): Handle powl overflow and underflow here
566 rather than calling __kernel_standard.
567 * math/libm-test.inc (pow_test): Add more tests.
582 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
583 * sysdeps/ieee754/k_standard.c: Include <float.h>.
584 (__kernel_standard_l): New function.
585 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
587 * math/w_acosl.c (__acosl): Likewise.
588 * math/w_asinl.c (__asinl): Likewise.
589 * math/w_atan2l.c (__atan2l): Likewise.
590 * math/w_atanhl.c (__atanhl): Likewise.
591 * math/w_coshl.c (__coshl): Likewise.
592 * math/w_exp10l.c (__exp10l): Likewise.
593 * math/w_exp2l.c (__exp2l): Likewise.
594 * math/w_fmodl.c (__fmodl): Likewise.
595 * math/w_hypotl.c (__hypotl): Likewise.
596 * math/w_j0l.c (__j0l, __y0l): Likewise.
597 * math/w_j1l.c (__j1l, __y1l): Likewise.
598 * math/w_jnl.c (__jnl, __ynl): Likewise.
599 * math/w_lgammal.c (__lgammal): Likewise.
600 * math/w_log10l.c (__log10l): Likewise.
601 * math/w_log2l.c (__log2l): Likewise.
602 * math/w_logl.c (__logl): Likewise.
603 * math/w_powl.c (__powl): Likewise.
604 * math/w_remainderl.c (__remainderl): Likewise.
605 * math/w_scalbl.c (sysv_scalbl): Likewise.
606 * math/w_sinhl.c (__sinhl): Likewise.
607 * math/w_sqrtl.c (__sqrtl): Likewise.
608 * math/w_tgammal.c (__tgammal): Likewise.
609 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
610 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
611 * math/libm-test.inc (acos_test): Add more tests.
612 (acosh_test): Likewise.
613 (asin_test): Likewise.
614 (atanh_test): Likewise.
615 (exp_test): Likewise.
616 (exp10_test): Likewise.
617 (exp2_test): Likewise.
618 (expm1_test): Likewise.
619 (lgamma_test): Likewise.
620 (log_test): Likewise.
621 (log10_test): Likewise.
622 (log1p_test): Likewise.
623 (log2_test): Likewise.
624 (pow_test): Do not allow some spurious overflow exceptions.
625 (sqrt_test): Add more tests.
626 (tgamma_test): Likewise.
631 2012-03-27 Anton Blanchard <anton@samba.org>
633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
639 2012-03-27 David S. Miller <davem@davemloft.net>
641 * conform/Makefile: Run run-conformtest.sh using $(BASH).
643 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
646 2012-03-27 Andreas Jaeger <aj@suse.de>
648 * sysdeps/x86_64/elf/configure.in: Moved to ...
649 * sysdeps/x86_64/configure.in: ... here.
650 * sysdeps/x86_64/elf/start.S: Moved to ...
651 * sysdeps/x86_64/start.S: ... here.
652 * sysdeps/x86_64/elf/configure: Delete.
654 * sysdeps/x86_64/configure.in: Merge contents from
655 sysdeps/i386/configure.in (without i686 check).
657 * sysdeps/i386/elf/Versions: Merge into ...
658 * sysdeps/i386/Versions: ... this.
659 * sysdeps/i386/elf/Versions: Delete file.
660 * sysdeps/i386/elf/start.S: Moved to ...
661 * sysdeps/i386/start.S: ...here.
662 * sysdeps/i386/elf/configure.in: Merge into...
663 * sysdeps/i386/configure.in: ...here.
664 * sysdeps/i386/elf/configure.in: Delete file.
665 * sysdeps/i386/elf/configure: Delete file.
667 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
668 * debug/backtracesyms.c: ... here.
669 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
670 * debug/backtracesymsfd.c: ... here.
671 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
672 * sysdeps/generic/ifunc-sel.h: ... here.
674 * sysdeps/unix/i386/start.c: Delete file.
675 * sysdeps/unix/sparc/start.c: Delete file.
676 * sysdeps/unix/start.c: Delete file.
678 * sysdeps/sh/elf/configure.in: Moved to ...
679 * sysdeps/sh/configure.in: ... here.
680 * sysdeps/sh/elf/start.S: Moved to ...
681 * sysdeps/sh/start.S: ... here.
682 * sysdeps/sh/elf/configure: Delete file.
684 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
685 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
686 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
687 * sysdeps/powerpc/powerpc64/entry.h: ... here.
688 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
689 * sysdeps/powerpc/powerpc64/start.S: here.
690 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
691 * sysdeps/powerpc/powerpc64/Makefile: ... this.
692 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
693 * sysdeps/powerpc/powerpc64/configure.in: ... this.
694 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
696 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
697 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
698 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
699 * sysdeps/powerpc/powerpc32/start.S: ... here.
700 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
701 * sysdeps/powerpc/powerpc32/configure.in: ... this.
702 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
704 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
705 * sysdeps/powerpc/ifunc-sel.h: ... here.
706 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
707 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
709 * sysdeps/sparc/elf/configure.in: Moved to ...
710 * sysdeps/sparc/configure.in: ... here.
711 * sysdeps/sparc/elf/configure: Delete file.
712 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
713 * sysdeps/sparc/sparc32/start.S: ... here.
714 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
715 * sysdeps/sparc/sparc64/start.S: ... here.
716 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
717 * sysdeps/sparc/sparc32/Makefile: ... this.
718 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
719 * sysdeps/sparc/sparc64/Makefile: ... this.
721 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
722 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
723 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
724 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
725 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
726 * sysdeps/s390/s390-32/setjmp.S: ... here.
727 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
728 * sysdeps/s390/s390-32/configure.in: ... here.
729 * sysdeps/s390/s390-32/elf/configure: Delete file.
730 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
731 * sysdeps/s390/s390-32/start.S: ... here.
733 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
734 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
735 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
736 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
737 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
738 * sysdeps/s390/s390-64/setjmp.S: ... here.
739 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
740 * sysdeps/s390/s390-64/configure.in: ... here
741 * sysdeps/s390/s390-64/elf/configure: Delete file.
742 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
743 * sysdeps/s390/s390-64/start.S: ... here.
744 * sysdeps/s390/s390-64/elf/configure: Delete.
746 * configure.in: Remove support for elf directories in sysdeps.
748 * configure: Regenerated.
749 * sysdeps/i386/configure: Regenerated.
750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
752 * sysdeps/s390/s390-32/configure: Regenerated.
753 * sysdeps/s390/s390-64/configure: Regenerated.
754 * sysdeps/sh/configure: Regenerated.
755 * sysdeps/sparc/configure: Regenerated.
756 * sysdeps/x86_64/configure: Regenerated.
758 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
763 denormal result into account.
765 2012-03-25 Roland McGrath <roland@hack.frob.com>
767 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
768 Reported by Allan McRae <allan@archlinux.org>.
770 2012-03-23 Jeff Law <law@redhat.com>
772 * nss/getnssent.c (__nss_getent): Fix typo.
774 2012-03-23 David S. Miller <davem@davemloft.net>
776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
778 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
780 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
781 to pad to uint64_t for each field.
782 (dl_tls_index): Replace unsigned long with uint64_t.
784 2012-03-23 Daniel Jacobowitz <dmj@google.com>
785 Paul Pluzhnikov <ppluzhnikov@google.com>
788 * grp/Makefile (otherlibs): Don't set it.
789 * inet/Makefile (otherlibs): Likewise.
790 * login/Makefile (otherlibs): Likewise.
791 * nscd/Makefile (otherlibs): Likewise.
792 * posix/Makefile (otherlibs): Likewise.
793 * pwd/Makefile (otherlibs): Likewise.
794 * rt/Makefile (otherlibs): Likewise.
795 * sunrpc/Makefile (otherlibs): Likewise.
796 * nss/Makefile (otherlibs): Likewise.
797 Add libnss_files to routines and static-only-routines.
798 ($(objpfx)getent): Remove rule.
799 * resolv/Makefile: Add libnss_dns and libresolv to routines and
800 static-only-routines.
802 2012-03-22 Joseph Myers <joseph@codesourcery.com>
805 * math/s_cexp.c: Include <float.h>.
806 (__cexp): Handle exp result overflowing not necessarily
807 overflowing both real and imaginary parts of result.
808 * math/s_cexpf.c: Likewise.
809 * math/s_cexpl.c: Likewise.
810 * math/libm-test.inc (cexp_test): Add more tests.
811 * sysdeps/i386/fpu/libm-test-ulps: Update.
812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
814 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
816 * include/link.h (ELFW): New macro.
817 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
818 Replace ELF64_R_TYPE with ELFW(R_TYPE).
820 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
822 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
827 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
829 (struct La_x32_retval): Likewise.
831 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
833 * sysdeps/x86_64/preconfigure.in: New file.
834 * sysdeps/x86_64/preconfigure: New generated file.
836 2012-03-22 Joseph Myers <joseph@codesourcery.com>
839 * math/e_exp2l.c: Include <float.h>.
840 (__ieee754_exp2l): Handle overflow and underflow cases
841 separately. Only pass fractional part of argument to
843 * math/libm-test.inc (exp2_test): Add more tests.
845 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
846 negating x to take absolute value.
847 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
849 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
850 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
852 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
853 computing low part if x was negated.
854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
856 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
858 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
860 (pltexit): Cast int_retval to ptrdiff_t.
861 * elf/tst-auditmod3b.c: Likewise.
862 * elf/tst-auditmod4b.c: Likewise.
863 * elf/tst-auditmod5b.c: Likewise.
864 * elf/tst-auditmod6b.c: Likewise.
865 * elf/tst-auditmod6c.c: Likewise.
866 * elf/tst-auditmod7b.c: Likewise.
868 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
871 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
873 (La_x32_regs): New macro.
874 (La_x32_retval): Likewise.
875 (la_x32_gnu_pltenter): New function prototype.
876 (la_x32_gnu_pltexit): Likewise.
878 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
885 * configure.in (libc_cv_cc_nofma): Check for option to disable
886 generation of FMA instructions.
887 * configure: Regenerate.
888 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
889 * sysdeps/ieee754/dbl-64/Makefile: New file.
890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
891 Remove brandred-fma4.
892 (CFLAGS-brandred-fma4.c): Remove.
893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
899 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
901 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
902 LLONG_MAX != LONG_MAX.
903 (_itoa_word): Use _ITOA_WORD_TYPE on value.
904 (_fitoa_word): Likewise.
905 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
906 LLONG_MAX != LONG_MAX.
907 * stdio-common/_itowa.h: Include <_itoa.h>.
908 (_itowa_word): Use _ITOA_WORD_TYPE on value.
909 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
910 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
912 (_ITOA_WORD_TYPE): Likewise.
913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
914 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
916 2012-03-21 David S. Miller <davem@davemloft.net>
918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
920 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
922 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
923 of x86_64 when setting libc_cv_slibdir, libdir and
925 * sysdeps/unix/sysv/linux/configure: Regenerated.
927 2012-03-21 Joseph Myers <joseph@codesourcery.com>
929 * manual/lang.texi (Old Varargs): Remove section.
930 (How Variadic): Update menu.
931 (va_start): Do not mention varargs.h.
933 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
934 Joseph Myers <joseph@codesourcery.com>
936 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
938 * configure: Regenerated.
940 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
942 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
943 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
946 2012-03-21 Joseph Myers <joseph@codesourcery.com>
949 * Makefile (files-for-dist): Remove NOTES.
950 (NOTES): Remove rule.
951 * README: Don't refer to NOTES.
952 * manual/creature.texi: Don't include macros.texi.
953 * manual/intro.texi (creature.texi): Remove comment referring to
956 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
957 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
958 * configure: Regenerated.
959 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
961 (libc_cv_as_i686): Likewise.
962 (libc_cv_cc_avx): Likewise.
963 (libc_cv_cc_sse2avx): Likewise.
964 (libc_cv_cc_fma4): Likewise.
965 (libc_cv_cc_novzeroupper): Likewise.
966 * sysdeps/i386/configure: Regenerated.
969 * sysdeps/i386/fpu/s_cexp.S: Remove.
970 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
971 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
972 * math/libm-test.inc (cexp_test): Add more tests.
973 * sysdeps/i386/fpu/libm-test-ulps: Update.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976 2012-03-21 Allan McRae <allan@archlinux.org>
978 * timezone/Makefile: Do not install iso3166.tab and zone.tab
980 2012-03-21 Joseph Myers <joseph@codesourcery.com>
983 * math/w_exp2.c: Do not include <float.h>.
984 (o_threshold, u_threshold): Remove.
985 (__exp2): Calculate result before checking finiteness and calling
987 * math/w_exp2f.c: Likewise.
988 * math/w_exp2l.c: Likewise.
989 * math/libm-test.inc (exp2_test): Require overflow exception for
993 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
994 range of signed 64-bit integers before using fistpll. Remove
995 checks for whether integers fit in mantissa bits.
996 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
997 the range of signed 32-bit integers before using fistpl. Remove
998 checks for whether integers fit in mantissa bits.
999 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1000 (__ieee754_powl): Test for y outside the range of signed 64-bit
1001 integers before using fistpll. Reduce 64-bit values to 63-bit
1003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1004 divide-by-zero is raised for zero to large negative powers.
1005 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1006 (__ieee754_powl): Test for y outside the range of signed 64-bit
1007 integers before using fistpll. Reduce 64-bit values to 63-bit
1009 * math/libm-test.inc (pow_test): Add more tests.
1011 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1013 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1014 <stdio-common/_itoa.h>.
1015 * debug/segfault.c: Likewise.
1016 * elf/dl-cache.c: Likewise.
1017 * elf/dl-minimal.c: Likewise.
1018 * elf/dl-misc.c: Likewise.
1019 * elf/dl-sysdep.c: Likewise.
1020 * elf/dl-version.c: Likewise.
1021 * elf/rtld.c: Likewise.
1022 * hurd/hurdsock.c: Likewise.
1023 * hurd/lookup-retry.c: Likewise.
1024 * malloc/malloc.c: Likewise.
1025 * malloc/mtrace.c: Likewise.
1026 * nscd/nscd_getgr_r.c: Likewise.
1027 * nscd/nscd_getpw_r.c: Likewise.
1028 * nscd/nscd_getserv_r.c: Likewise.
1029 * posix/getopt_init.c: Likewise.
1030 * posix/wordexp.c: Likewise.
1031 * stdio-common/_itoa.c: Likewise.
1032 * stdio-common/printf_fphex.c: Likewise.
1033 * stdio-common/vfprintf.c: Likewise.
1034 * string/_strerror.c: Likewise.
1035 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1036 * sysdeps/i386/i686/hp-timing.h: Likewise.
1037 * sysdeps/mach/_strerror.c: Likewise.
1038 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1039 * sysdeps/mach/hurd/sethostid.c: Likewise.
1040 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1041 * sysdeps/mach/xpg-strerror.c: Likewise.
1042 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1044 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1045 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1047 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1048 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1049 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1050 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1051 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1052 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1053 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1055 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1056 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1057 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1060 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1061 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1064 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1066 * stdio-common/_itoa.h: Moved to ...
1067 * sysdeps/generic/_itoa.h: Here.
1069 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1071 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1072 instead of "_itoa.h" and "_itowa.h".
1073 * stdio-common/vfprintf.: Likewise.
1075 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1077 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1079 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1080 (__signbit): Likwise.
1084 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1086 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1089 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1091 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1092 OVERFLOW_EXCEPTION_OK.
1093 * math/libm-test.inc ("Philosophy"): Update comment about
1095 (OVERFLOW_EXCEPTION): Define.
1096 (OVERFLOW_EXCEPTION_OK): Likewise.
1097 (INVALID_EXCEPTION_OK): Renumber.
1098 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1099 (IGNORE_ZERO_INF_SIGN): Likewise.
1100 (test_exceptions): Handle FE_OVERFLOW.
1101 (exp10_test): Expect overflow exceptions.
1102 (exp2_test): Likewise.
1103 (expm1_test): Likewise.
1104 (nextafter_test): Likewise.
1105 (pow_test): Likewise.
1106 (scalbn_test): Likewise.
1107 (scalbln_test): Likewise.
1109 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1111 * sysdeps/x86_64/bits/atomic.h
1112 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1114 (atomic_exchange_acq): Likewise.
1115 (__arch_exchange_and_add_body): Likewise.
1116 (__arch_add_body): Likewise.
1117 (atomic_add_negative): Likewise.
1118 (atomic_add_zero): Likewise.
1120 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1122 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1123 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1127 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1128 Check __x86_64__ instead of __WORDSIZE.
1130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1132 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1134 2012-03-19 David S. Miller <davem@davemloft.net>
1136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1138 * sysdeps/sparc/fpu/fenv_private.h: New file.
1139 * sysdeps/sparc/fpu/math_private.h: Use it.
1140 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1142 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1143 (libc_feholdexcept_setroundl): Remove.
1144 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1146 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1147 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1151 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1152 int64_t instead of long int.
1153 (INSERT_WORDS64): Likwise.
1155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1157 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1158 _Unwind_GetCFA return to _Unwind_Ptr first.
1160 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1163 * math/s_clog.c: Include <float.h>.
1164 (__clog): Scale large or subnormal inputs.
1165 * math/s_clogf.c: Likewise.
1166 * math/s_clogl.c: Likewise.
1167 * math/s_clog10.c: Include <float.h>.
1168 (M_LOG10_2): Define.
1169 (__clog10): Scale large or subnormal inputs.
1170 * math/s_clog10f.c: Likewise.
1171 * math/s_clog10l.c: Likewise.
1172 * math/libm-test.inc (clog_test): Add more tests.
1173 (clog10_test): Likewise.
1174 * sysdeps/i386/fpu/libm-test-ulps: Update.
1175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1178 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1180 * math/libm-test.inc (atan2_test): Add another test.
1182 * Makerules (common-objdir-compile): Remove.
1183 * sysdeps/unix/Makefile (config-generated): Do not add
1184 $(unix-generated) to variable.
1185 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1186 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1188 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1190 [generic bits/local_lim.h] (before-compile): Do not append to
1192 [generic bits/local_lim.h] (common-generated): Likewise.
1193 [generic sys/param.h] (before-compile): Do not append to variable.
1194 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1195 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1196 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1197 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1199 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1200 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1201 [generic sys/param.h] ($(addprefix
1202 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1203 [generic sys/param.h] (common-generated): Do not append to
1205 [generic sys/param.h] (sysdep_headers): Likewise.
1206 [generic bits/errno.h] (before-compile): Do not append to
1208 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1210 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1211 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1212 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1213 [generic bits/errno.h] (common-generated): Do not append to
1215 [generic bits/ioctls.h] (before-compile): Do not append to
1217 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1219 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1220 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1221 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1223 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1224 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1225 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1226 [generic bits/ioctls.h] (common-generated): Do not append to
1228 [generic sys/syscall.h] (syscall.h): Remove variable.
1229 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1231 [generic sys/syscall.h] (before-compile): Do not append to
1233 [generic sys/syscall.h] (common-generated): Likewise.
1234 * sysdeps/unix/errnos-tmpl.c: Remove file.
1235 * sysdeps/unix/errnos.awk: Likewise.
1236 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1237 * sysdeps/unix/ioctls.awk: Likewise.
1238 * sysdeps/unix/mk-local_lim.c: Likewise.
1239 * sysdeps/unix/snarf-ioctls: Likewise.
1241 2012-03-19 Richard Henderson <rth@twiddle.net>
1243 * sysdeps/i386/fpu/fenv_private.h: New file.
1244 * sysdeps/i386/fpu/math_private.h: Use it.
1245 (math_opt_barrier, math_force_eval): Remove.
1246 (libc_feholdexcept_setround_53bit): Remove.
1247 (libc_feupdateenv_53bit): Remove.
1248 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1249 (math_opt_barrier, math_force_eval): Remove.
1250 (libc_feholdexcept): Remove.
1251 (libc_feholdexcept_setround): Remove.
1252 (libc_fetestexcept, libc_fesetenv): Remove.
1253 (libc_feupdateenv_test): Remove.
1254 (libc_feupdateenv, libc_feholdsetround): Remove.
1255 (libc_feresetround): Remove.
1257 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1258 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1260 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1261 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1262 (libc_feupdateenv_testl): New.
1263 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1264 (libc_feupdateenv_testf): New.
1265 (libc_feupdateenv): Use libc_feupdateenv_test.
1266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1269 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1270 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1271 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1272 (libc_feresetround_noex): New.
1273 (libc_feresetround_noexf): New.
1274 (libc_feresetround_noexl): New.
1275 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1276 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1277 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1278 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1283 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1284 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1285 SET_RESTORE_ROUND_NOEX.
1286 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1287 SET_RESTORE_ROUND_NOEXF.
1288 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1289 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1290 (libc_feholdsetroundf): New.
1291 (libc_feresetround, libc_feresetroundf): New.
1293 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1294 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1295 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1297 * sysdeps/generic/math_private.h: Include <fenv.h>.
1298 (default_libc_feholdexcept): New.
1299 (default_libc_feholdexcept_setround): New.
1300 (default_libc_fesetenv, default_libc_feupdateenv): New.
1301 (libc_feholdexcept): Only define if undefined.
1302 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1304 (libc_feholdexcept_setroundl): Likewise.
1305 (libc_feholdexcept_setround_53bit): Likewise.
1306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1309 (libc_feupdateenv_53bit): Likewise.
1310 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1311 (libc_feholdexcept): Convert from macro to inline function.
1312 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1313 (libc_fesetenv, libc_feupdateenv): Likewise.
1315 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1316 not previously defined.
1317 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1318 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1319 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1320 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1321 * sysdeps/ieee754/flt-32/math_private.h: New file.
1322 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1323 math_private.h below SET_FLOAT_WORD.
1324 (__isnan, __isinf_ns, __finite): Remove.
1325 (__isnanf, __isinf_nsf, __finitef): Remove.
1327 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1331 2012-03-17 David S. Miller <davem@davemloft.net>
1334 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1337 2012-03-16 David S. Miller <davem@davemloft.net>
1339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1343 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1345 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1346 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1347 sysdep_routines when subdir is sysvipc.
1348 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1351 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1353 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1355 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1361 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1362 (__lround): Renamed to ...
1363 (__llround): This. Replace long int with long long int.
1364 Define lround functions as aliases of llround functions.
1365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1367 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1369 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1370 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1371 adresses to uintptr_t. Replace "long int" and "unsigned long
1372 int" with "greg_t" on va_arg.
1374 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1376 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1377 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1379 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1380 Move e_machine check before EI_CLASS check. Handle x32
1381 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1382 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1383 SKIP_EM_IA_64 and include
1384 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1386 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1387 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1388 (add_system_dir): New macro.
1390 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1391 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1393 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1404 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1406 * math/w_j0f.c (j0f): Likewise.
1408 * math/w_j0l.c (__j0l): Likewise.
1410 * math/w_j1.c (j1): Likewise.
1412 * math/w_j1f.c (j1f): Likewise.
1414 * math/w_j1l.c (__j1l): Likewise.
1416 * math/w_jn.c (jn): Likewise.
1418 * math/w_jnf.c (jnf): Likewise.
1420 * math/w_jnl.c (__jnl): Likewise.
1422 * math/libm-test.inc (j0_test): Add more tests.
1423 (j1_test): Likewise.
1424 (jn_test): Likewise. Add trailing semicolon to existing test.
1425 (y0_test): Likewise.
1426 (y1_test): Likewise.
1427 * sysdeps/i386/fpu/libm-test-ulps: Update.
1428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1433 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1434 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1436 (__tanl): Set errno for infinite argument.
1437 * sysdeps/i386/fpu/mptan.c: Remove.
1438 * sysdeps/i386/fpu/s_tan.S: Likewise.
1439 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1440 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1441 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1442 * math/libm-test.inc (tan_test): Add more tests and enable more
1443 tests for double and long double.
1444 * sysdeps/i386/fpu/libm-test-ulps: Update.
1445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1447 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1449 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1450 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1452 2012-03-16 Roland McGrath <roland@hack.frob.com>
1454 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1455 * configure.in: Use it for both main tree and add-ons.
1456 * configure: Regenerated.
1458 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1460 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1462 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1464 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1468 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1469 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1472 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1474 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1477 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1478 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1479 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1480 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1481 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1482 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1483 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1484 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1485 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1486 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1487 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1488 * math/libm-test.inc (cos_test): Add more tests and enable more
1489 tests for long double.
1490 (sin_test): Likewise.
1491 (sincos_test): Likewise.
1492 * sysdeps/i386/fpu/libm-test-ulps: Update.
1493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495 2012-03-16 David S. Miller <davem@davemloft.net>
1497 * sysdeps/sparc/fpu/math_private.h: New file.
1499 2012-03-15 David S. Miller <davem@davemloft.net>
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1515 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1516 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1518 * sysdeps/sparc/sparc-ifunc.h: New file.
1519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1564 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1566 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1570 2012-03-15 Andreas Jaeger <aj@suse.de>
1573 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1574 ieee754/flt-32 implementation for sin, cos and sincos.
1575 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1576 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1577 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1578 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1579 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1580 ieee754/flt-32 implementation for tan.
1582 * math/libm-test.inc (cos_test): Enable some large input tests for
1584 (sin_test): Likewise.
1585 (sincos_test): Likewise.
1586 (tan_test): Add tests for large input.
1588 * sysdeps/i386/fpu/libm-test-ulps: Update.
1590 2012-03-15 Andreas Jaeger <aj@suse.de>
1593 * math/libm-test.inc (cos_test): Add more test cases.
1594 (sin_test): Likewise.
1595 (sincos_test): Likewise.
1597 2012-03-15 Andreas Jaeger <aj@suse.de>
1600 * math/libm-test.inc (cos_test): Add a test case for large input
1602 (sin_test): Likewise.
1603 (sincos_test): Likewise.
1605 2012-03-15 Andreas Jaeger <aj@suse.de>,
1606 Joseph Myers <joseph@codesourcery.com>
1609 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1610 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1611 * sysdeps/i386/fpu/branred.c: Likewise.
1612 * sysdeps/i386/fpu/dosincos.c: Likewise.
1613 * sysdeps/i386/fpu/mpa.c: Likewise.
1614 * sysdeps/i386/fpu/s_cos.S: Likewise.
1615 * sysdeps/i386/fpu/s_sin.S: Likewise.
1616 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1617 * sysdeps/i386/fpu/sincos32.c: Likewise.
1619 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1621 (libc_feupdateenv_53bit): Define.
1622 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1624 (libc_feupdateenv_53bit): Define.
1626 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1627 53 bit (without extend i386 double precision).
1629 * math/libm-test.inc (sincos_test): Add tests for large input.
1633 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1635 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1639 2012-03-15 David S. Miller <davem@davemloft.net>
1641 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1644 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1669 fmin/fmax sysdep routines.
1670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1672 2012-03-14 David S. Miller <davem@davemloft.net>
1674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1746 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1751 * sysdeps/sparc/configure.in: New file.
1752 * sysdeps/sparc/configure: Generate.
1753 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1754 * configure: Regenerate.
1755 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1756 * config.make.in (have-as-vis3): New.
1757 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1758 available use -Av9d instead of -Av9a.
1759 * sysdeps/sparc/sparc64/Makefile: Likewise.
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1775 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1776 fzeros/fnegs to load 0x80000000 into a float register instead of
1778 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1780 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1784 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1785 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1786 ($(inst_includedir)/bits/syscall.h): Remove rule.
1787 ($(objpfx)bits/syscall.d): Include instead of
1788 $(objpfx)syscall-list.d.
1789 (generated): Change syscall-list.h and syscall-list.d to
1790 bits/syscall.h and bits/syscall.d.
1792 2012-03-14 Roland McGrath <roland@hack.frob.com>
1795 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1797 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1800 * math/s_csqrt.c: Include <float.h>.
1801 (__csqrt): Scale large or subnormal inputs.
1802 * math/s_csqrtf.c: Likewise.
1803 * math/s_csqrtl.c: Likewise.
1804 * math/libm-test.inc (csqrt_test): Add more tests.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1809 * math/libm-test.inc (hypot_test): Add more tests.
1811 2012-03-13 David S. Miller <davem@davemloft.net>
1814 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1815 double-precision for the calculation instead of scaling.
1817 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1820 manipulate bits before adding and subtracting TWO52[sx].
1821 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1826 2012-03-13 David S. Miller <davem@davemloft.net>
1828 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1829 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1831 rtld-global-offsets.h
1832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1834 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1839 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1840 'err' in the ifdef scope in which it is actually used.
1842 * nss/nss_db/db-init.c: Include string.h
1844 2012-03-12 David S. Miller <davem@davemloft.net>
1846 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1847 masking out of the most significant byte of random value used.
1848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1849 Fix coding style in previous change.
1851 * sysdeps/unix/sysv/linux/kernel-features.h
1852 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1853 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1855 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1858 2012-03-11 David S. Miller <davem@davemloft.net>
1860 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1861 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1862 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1863 for 'resultvar' otherwise things get truncated on 64-bit.
1865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1866 Fix masking out of the most significant byte of random value used.
1868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1870 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1874 2012-03-09 David S. Miller <davem@davemloft.net>
1876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1877 variables with appropriate CPP guards.
1878 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1879 frame pointer, not the stack pointer. Correct layout comments. Fix test
1880 on resulting framesize and the management of the outregs buffer for pltexit.
1881 Preserve floating point return values across _dl_call_pltexit call.
1882 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1883 framesize and the management of the outregs buffer for pltexit.
1884 Preserve floating point return values across _dl_call_pltexit
1886 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1887 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1888 (print_exit): Fix format string for return register value.
1890 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1892 * sunrpc/Makefile (others): Add rpcgen.
1893 ($(objpfx)rpcgen): Remove special build rule and dependency on
1895 * sunrpc/rpcgen.c: New file.
1897 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1900 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1901 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1902 * sysdeps/i386/crti.S: Likewise.
1903 * sysdeps/i386/crtn.S: Likewise.
1904 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1905 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1906 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1907 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1908 * sysdeps/sh/crti.S: Likewise.
1909 * sysdeps/sh/crtn.S: Likewise.
1910 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1913 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1915 * locale/programs/locfile-kw.gperf: Likewise.
1916 * locale/programs/charmap-kw.h: Regenerated.
1917 * locale/programs/locfile-kw.h: Likewise.
1920 * intl/plural.y: Replace FSF snail mail address with URL.
1921 * intl/plural.c: Regenerated.
1923 2012-03-09 Richard Henderson <rth@twiddle.net>
1925 * include/math_private.h: Remove file.
1926 * math/math_private.h: Move file ...
1927 * sysdeps/generic/math_private.h: ... here.
1929 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1930 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1931 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1933 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1934 and <math_private.h>.
1935 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1936 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1937 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1938 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1939 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1970 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1971 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1972 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1973 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1974 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1975 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1976 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1977 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1978 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1979 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1980 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1981 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1982 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1984 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1986 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1987 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1989 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1991 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1992 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1994 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1995 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1996 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2023 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2026 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2028 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2029 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2030 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2032 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2033 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2034 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2035 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2036 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2037 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2038 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2039 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2040 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2041 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2042 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2043 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2045 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2046 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2047 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2048 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2049 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2050 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2052 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2053 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2054 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2056 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2058 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2059 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2061 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2062 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2063 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2064 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2065 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2066 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2068 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2069 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2070 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2071 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2072 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2073 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2074 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2075 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2076 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2077 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2078 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2079 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2081 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2082 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2083 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2084 * sysdeps/ieee754/k_standard.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2201 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2204 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2234 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2245 * sysdeps/ieee754/s_lib_version.c: Likewise.
2246 * sysdeps/ieee754/s_matherr.c: Likewise.
2247 * sysdeps/ieee754/s_signgam.c: Likewise.
2248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2250 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2251 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2252 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2253 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2254 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2255 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2256 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2257 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2258 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2259 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2260 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2261 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2262 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2264 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2265 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2266 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2270 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2272 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2273 * sunrpc/rpc_main.c: Likewise.
2274 * sunrpc/rpc_svcout.c: Likewise.
2276 2012-03-09 David S. Miller <davem@davemloft.net>
2278 * include/math_private.h: New file.
2280 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2282 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2283 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2284 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2285 from <bits/socket_type.h>.
2286 (enum __socket_type): Don't define here.
2287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2292 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2295 * Makerules ($(inst_includedir)/%.h): New rule.
2296 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2297 (install-others): Remove variable setting.
2298 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2300 2012-03-08 Richard Henderson <rth@twiddle.net>
2302 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2303 from macro to inline function; merge with the
2304 !__LIBC_INTERNAL_MATH_INLINES version.
2305 (__ieee754_sqrtf): Likewise.
2307 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2309 (__rintf, __floor, __floorf): Likewise.
2311 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2312 macro to inline function.
2313 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2316 not <math/math_private.h>.
2318 2012-03-08 David S. Miller <davem@davemloft.net>
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2322 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2324 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2326 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2328 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2329 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2331 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2333 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2334 be defined individually, they must be defined as a block. Define
2335 S for printing a string instead of hidint the different by using a
2336 macro for adding the 'l'.
2337 * stdio-common/tst-fphex-wide.c: Adjust.
2339 2012-03-07 Marek Polacek <polacek@redhat.com>
2341 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2343 2012-03-08 Marek Polacek <polacek@redhat.com>
2346 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2347 * stdio-common/tst-fphex.c: Define a few macros to make the
2348 test reusable. Use them.
2349 * stdio-common/tst-fphex-wide.c: New file.
2351 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2354 * manual/macros.texi (gnusystems): New macro.
2355 (nongnusystems): Likewise.
2356 (gnulinuxhurdsystems): Likewise.
2357 (gnuhurdsystems): Likewise..
2358 (gnulinuxsystems): Likewise.
2359 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2360 variants of the GNU system, not "GNU system".
2361 * manual/conf.texi: Likewise.
2362 * manual/errno.texi: Likewise. Update example of errno macro
2364 * manual/filesys.texi: Likewise.
2365 (getumask): Document as specific to GNU/Hurd.
2366 * manual/install.texi: Likewise. Reword some references to
2368 * manual/intro.texi: Likewise.
2369 * manual/io.texi: Likewise.
2370 (File Name Portability): Detail which constraints are inapplicable
2371 to all GNU systems and which are only inapplicable to GNU/Hurd.
2372 * manual/job.texi: Likewise.
2373 * manual/llio.texi: Likewise.
2374 (O_NOCTTY): Document as present on GNU/Linux.
2375 * manual/maint.texi: Likewise.
2376 * manual/memory.texi: Likewise.
2377 * manual/pattern.texi: Likewise.
2378 * manual/pipe.texi: Likewise.
2379 * manual/process.texi: Likewise.
2380 * manual/resource.texi: Likewise.
2381 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2383 * manual/setjmp.texi: Likewise.
2384 * manual/signal.texi: Likewise.
2385 * manual/startup.texi: Likewise.
2386 * manual/stdio.texi: Likewise.
2387 * manual/terminal.texi: Likewise.
2388 (ONLCR): Document as POSIX.
2389 (OXTABS): Document availability on GNU/Linux as XTABS.
2390 (ONOEOT): Document availability separately from other bits.
2391 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2392 * manual/time.texi: Likewise.
2393 * manual/users.texi: Likewise.
2394 * INSTALL: Regenerated.
2395 * sysdeps/gnu/errlist.c: Regenerated.
2397 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2398 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2399 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2401 * configure: Regenerated.
2403 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2406 default includes instead of AC_HEADER_CHECK.
2407 * sysdeps/i386/configure: Regenerated.
2410 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2411 * math/s_cacoshf.c (__cacoshf): Likewise.
2412 * math/s_cacoshl.c (__cacoshl): Likewise.
2413 * math/s_casinh.c (__casinh): Set signs of result from argument.
2414 * math/s_casinhf.c (__casinhf): Likewise.
2415 * math/s_casinhl.c (__casinhl): Likewise.
2416 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2417 (casinh_test): Add more tests.
2418 * sysdeps/i386/fpu/libm-test-ulps: Update.
2419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2423 * po/zh_TW.po: Update from translation team.
2425 * login/Makefile (distribute): Remove variable.
2426 * catgets/Makefile: Likewise.
2427 * mach/Makefile: Likewise.
2428 * malloc/Makefile: Likewise.
2429 * misc/Makefile: Likewise.
2430 * iconv/Makefile: Likewise.
2431 * nscd/Makefile: Likewise.
2432 * hurd/Makefile: Likewise.
2433 * manual/Makefile: Likewise.
2434 * locale/Makefile: Likewise.
2435 * intl/Makefile: Likewise.
2436 * conform/Makefile: Likewise.
2437 * nss/Makefile: Likewise.
2438 * time/Makefile: Likewise.
2439 * soft-fp/Makefile: Likewise.
2440 * dirent/Makefile: Likewise.
2441 * gmon/Makefile: Likewise.
2442 * po/Makefile: Likewise.
2443 * rt/Makefile: Likewise.
2444 * socket/Makefile: Likewise.
2445 * math/Makefile: Likewise.
2446 * signal/Makefile: Likewise.
2447 * debug/Makefile: Likewise.
2448 * elf/Makefile: Likewise.
2449 * timezone/Makefile: Likewise.
2450 * stdlib/Makefile: Likewise.
2451 * iconvdata/Makefile: Likewise.
2452 * sunrpc/Makefile: Likewise.
2453 * io/Makefile: Likewise.
2454 * argp/Makefile: Likewise.
2455 * inet/Makefile: Likewise.
2456 * hesiod/Makefile: Likewise.
2457 * grp/Makefile: Likewise.
2458 * csu/Makefile: Likewise.
2459 * wctype/Makefile: Likewise.
2460 * crypt/Makefile: Likewise.
2461 * libio/Makefile: Likewise.
2462 * string/Makefile: Likewise.
2463 * nis/Makefile: Likewise.
2464 * resolv/Makefile: Likewise.
2465 * stdio-common/Makefile: Likewise.
2466 * wcsmbs/Makefile: Likewise.
2467 * dlfcn/Makefile: Likewise.
2468 * posix/Makefile: Likewise.
2470 * timezone/Makefile: Don't install timezone files, just the programs
2473 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2475 * nss/databases.def: Add missing gshadow entry.
2477 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2479 2012-03-06 Marek Polacek <polacek@redhat.com>
2482 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2483 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2484 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2485 * stdio-common/tst-long-dbl-fphex.c: New file.
2487 2012-03-06 David S. Miller <davem@davemloft.net>
2489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2490 (set_obp_int): New function.
2491 (get_obp_int): New function.
2492 (__get_clockfreq_via_dev_openprom): Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2494 Avoid unused variable warnings on 'val' and use builtin_expect.
2495 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2497 (INLINE_CLONE_SYSCALL): Likewise.
2499 2012-03-05 David S. Miller <davem@davemloft.net>
2501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2503 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2509 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2511 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2514 Replace gettimeofday with __vdso_gettimeofday.
2516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2517 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2518 __vdso_clock_gettime and __vdso_getcpu.
2520 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2521 time with __vdso_time.
2523 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2525 * manual/lang.texi (size_t): Note types to which size_t may be
2526 equivalent with the GNU C Library, but do not describe when
2527 differences between them are significant.
2529 2012-03-05 Andreas Jaeger <aj@suse.de>
2531 * sysdeps/i386/fpu/libm-test-ulps: Update.
2533 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2536 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2537 (__ieee754_pow): Save and restore rounding mode and use
2538 round-to-nearest for main computations.
2539 * math/libm-test.inc (pow_test_tonearest): New function.
2540 (pow_test_towardzero): Likewise.
2541 (pow_test_downward): Likewise.
2542 (pow_test_upward): Likewise.
2543 (main): Call the new functions.
2544 * sysdeps/i386/fpu/libm-test-ulps: Update.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548 * math/libm-test.inc (cosh_test_tonearest): New function.
2549 (cosh_test_towardzero): Likewise.
2550 (cosh_test_downward): Likewise.
2551 (cosh_test_upward): Likewise.
2552 (sinh_test_tonearest): Likewise.
2553 (sinh_test_towardzero): Likewise.
2554 (sinh_test_downward): Likewise.
2555 (sinh_test_upward): Likewise.
2556 (main): Call the new functions.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560 2012-03-05 Tom de Vries <tom@codesourcery.com>
2562 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2563 default stack guard is set in last bytes.
2564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2566 2012-03-05 Kees Cook <keescook@chromium.org>
2568 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2571 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2572 possibly allocate from heap instead of stack.
2573 * stdio-common/bug-vfprintf-nargs.c: New file.
2574 * stdio-common/Makefile (tests): Add nargs overflow test.
2576 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2580 2012-03-03 Marek Polacek <polacek@redhat.com>
2582 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2583 * math/math_private.h: Likewise.
2584 * stdlib/tst-strtod.c: Likewise.
2585 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2586 * sysdeps/x86_64/bits/atomic.h: Likewise.
2588 2012-03-02 David S. Miller <davem@davemloft.net>
2590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2594 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2595 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2596 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2597 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2599 2012-03-02 Roland McGrath <roland@hack.frob.com>
2602 * manual/examples/README: New file, says the example source files
2603 can be used under GPL>=2.
2604 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2605 line containing just "*/".
2606 * manual/examples/add.c: Add copyright header (GPL>=2).
2607 * manual/examples/argp-ex1.c: Likewise.
2608 * manual/examples/argp-ex2.c: Likewise.
2609 * manual/examples/argp-ex3.c: Likewise.
2610 * manual/examples/argp-ex4.c: Likewise.
2611 * manual/examples/atexit.c: Likewise.
2612 * manual/examples/db.c: Likewise.
2613 * manual/examples/dir.c: Likewise.
2614 * manual/examples/dir2.c: Likewise.
2615 * manual/examples/execinfo.c: Likewise.
2616 * manual/examples/filecli.c: Likewise.
2617 * manual/examples/filesrv.c: Likewise.
2618 * manual/examples/fmtmsgexpl.c: Likewise.
2619 * manual/examples/genpass.c: Likewise.
2620 * manual/examples/inetcli.c: Likewise.
2621 * manual/examples/inetsrv.c: Likewise.
2622 * manual/examples/isockad.c: Likewise.
2623 * manual/examples/longopt.c: Likewise.
2624 * manual/examples/memopen.c: Likewise.
2625 * manual/examples/memstrm.c: Likewise.
2626 * manual/examples/mkfsock.c: Likewise.
2627 * manual/examples/mkisock.c: Likewise.
2628 * manual/examples/mygetpass.c: Likewise.
2629 * manual/examples/pipe.c: Likewise.
2630 * manual/examples/popen.c: Likewise.
2631 * manual/examples/rprintf.c: Likewise.
2632 * manual/examples/search.c: Likewise.
2633 * manual/examples/select.c: Likewise.
2634 * manual/examples/setjmp.c: Likewise.
2635 * manual/examples/sigh1.c: Likewise.
2636 * manual/examples/sigusr.c: Likewise.
2637 * manual/examples/stpcpy.c: Likewise.
2638 * manual/examples/strdupa.c: Likewise.
2639 * manual/examples/strftim.c: Likewise.
2640 * manual/examples/strncat.c: Likewise.
2641 * manual/examples/subopt.c: Likewise.
2642 * manual/examples/swapcontext.c: Likewise.
2643 * manual/examples/termios.c: Likewise.
2644 * manual/examples/testopt.c: Likewise.
2645 * manual/examples/testpass.c: Likewise.
2646 * manual/examples/timeval_subtract.c: Likewise.
2649 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2651 * manual/timeval_subtract.c.texi: ... here, new file.
2653 2012-03-02 David S. Miller <davem@davemloft.net>
2655 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2657 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2660 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2661 (__sin): Save and restore rounding mode and use round-to-nearest
2662 for all computations.
2663 (__cos): Save and restore rounding mode and use round-to-nearest
2664 for all computations.
2665 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2667 (tan): Save and restore rounding mode and use round-to-nearest for
2669 * math/libm-test.inc (cos_test_tonearest): New function.
2670 (cos_test_towardzero): Likewise.
2671 (cos_test_downward): Likewise.
2672 (cos_test_upward): Likewise.
2673 (sin_test_tonearest): Likewise.
2674 (sin_test_towardzero): Likewise.
2675 (sin_test_downward): Likewise.
2676 (sin_test_upward): Likewise.
2677 (tan_test_tonearest): Likewise.
2678 (tan_test_towardzero): Likewise.
2679 (tan_test_downward): Likewise.
2680 (tan_test_upward): Likewise.
2681 (main): Call the new functions.
2682 * sysdeps/i386/fpu/libm-test-ulps: Update.
2683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2686 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2687 small n, then large n, before computing and testing k+n.
2688 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2693 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2694 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2699 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2701 * math/libm-test.inc (scalbn_test): Add more tests.
2702 (scalbln_test): Likewise.
2704 * manual/filesys.texi (mode_t): Describe constraints on size and
2705 signedness, not exact equivalence to a particular type.
2707 (ino64_t): Likewise.
2709 (nlink_t): Likewise.
2710 (blkcnt_t): Likewise.
2711 (blkcnt64_t): Likewise.
2712 * manual/llio.texi (off_t): Likewise.
2715 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2716 (__ieee754_exp): Save and restore rounding mode and use
2717 round-to-nearest for all computations.
2718 * math/libm-test.inc (exp_test_tonearest): New function.
2719 (exp_test_towardzero): Likewise.
2720 (exp_test_downward): Likewise.
2721 (exp_test_upward): Likewise.
2722 (main): Call the new functions.
2723 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2726 2012-03-01 Chris Demetriou <cgd@google.com>
2728 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2729 have predictable order.
2731 2012-03-01 David S. Miller <davem@davemloft.net>
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2735 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2737 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2738 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2740 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2741 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2742 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2744 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2745 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2746 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2747 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2748 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2752 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2753 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2754 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2756 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2757 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2758 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2759 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2760 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2763 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2764 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2765 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2766 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2772 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2773 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2774 * sysdeps/sparc/elf/configure: Regenerated.
2776 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2778 * configure.in (AS, LD): Require binutils 2.20 or later.
2779 * configure: Regenerated.
2780 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2781 as required minimum version.
2782 * INSTALL: Regenerated.
2786 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2787 before squaring exponent.
2788 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2789 bottom long double and 27 bits of top long double before squaring
2791 * math/libm-test.inc (erfc_test): Add more tests.
2792 * sysdeps/i386/fpu/libm-test-ulps: Update.
2793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 2012-03-01 Kai Tietz <ktietz@redhat.com>
2798 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2799 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2800 containing bit-fields.
2801 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2802 * soft-fp/single.h (_FP_UNION_S): Likewise.
2803 * soft-fp/double.h (_FP_UNION_D): Likewise.
2805 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2808 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2809 not include ../strcmp.S.
2810 [USE_AS_STRNCASECMP_L]: Likewise.
2811 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2812 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2813 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2814 (__strncasecmp_l_ia32): Define as alias to
2815 __strncasecmp_l_nonascii.
2818 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2819 * sysdeps/i386/fpu/libm-test-ulps: Update.
2820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2822 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2825 2012-02-29 Jeff Law <law@redhat.com>
2827 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2830 2012-02-29 Marek Polacek <polacek@redhat.com>
2833 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2834 * elf/Makefile: Add rules to run tst-unused-dep.out.
2836 2012-02-28 David S. Miller <davem@davemloft.net>
2838 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2839 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2841 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2842 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2843 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2845 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2847 * math/libm-test.inc (llround_test): Move one test from
2848 lround_test. Use TEST_f_L in moved test.
2849 (lround_test): Move misplaced test to llround_test. Add testcase
2852 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2854 * sysdeps/x86_64/fpu/e_expf.S: New file.
2855 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2857 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2860 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2861 of remain_len that may cause incomplete multi-byte character and
2863 * posix/bug-regex33.c: New file.
2864 * posix/Makefile (tests): Add bug-regex33.
2866 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2868 * manual/macros.texi: New file.
2869 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2870 * manual/libc.texinfo: Include macros.texi.
2871 * manual/creatute.texi: Likewise.
2872 * manual/install.texi: Likewise.
2873 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2874 @glibcadj{} in references to the GNU C Library.
2875 * manual/charset.texi: Likewise.
2876 * manual/conf.texi: Likewise.
2877 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2878 when not using those macros.
2879 * manual/creature.texi: Likewise.
2880 * manual/crypt.texi: Likewise.
2881 * manual/errno.texi: Likewise.
2882 * manual/filesys.texi: Likewise.
2883 * manual/header.texi: Likewise.
2884 * manual/install.texi: Likewise.
2885 * manual/intro.texi: Likewise.
2886 * manual/io.texi: Likewise.
2887 * manual/job.texi: Likewise.
2888 * manual/lang.texi: Likewise.
2889 * manual/libc.texiinfo: Likewise.
2890 * manual/llio.texi: Likewise.
2891 * manual/locale.texi: Likewise.
2892 * manual/maint.texi: Likewise.
2893 * manual/math.texi: Likewise.
2894 * manual/memory.texi: Likewise.
2895 * manual/message.texi: Likewise.
2896 * manual/nss.texi: Likewise.
2897 * manual/pattern.texi: Likewise.
2898 * manual/process.texi: Likewise.
2899 * manual/resource.texi: Likewise.
2900 * manual/search.texi: Likewise.
2901 * manual/setjmp.texi: Likewise.
2902 * manual/signal.texi: Likewise.
2903 * manual/socket.texi: Likewise.
2904 * manual/startup.texi: Likewise.
2905 * manual/stdio.texi: Likewise.
2906 * manual/string.texi: Likewise.
2907 * manual/sysinfo.texi: Likewise.
2908 * manual/syslog.texi: Likewise.
2909 * manual/terminal.texi: Likewise.
2910 * manual/time.texi: Likewise.
2911 * manual/users.texi: Likewise.
2912 * INSTALL: Regenerated.
2913 * NOTES: Regenerated.
2914 * sysdeps/gnu/errlist.c: Regenerated.
2916 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2918 * include/dirent.h: Include <dirstream.h> before
2921 2012-02-28 David S. Miller <davem@davemloft.net>
2923 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2924 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2925 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2926 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2928 2012-02-27 David S. Miller <davem@davemloft.net>
2930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2932 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2933 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2936 frame pointer instead of stack pointer relative arg slot.
2937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2938 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2939 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2941 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2944 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2946 2012-02-27 David S. Miller <davem@davemloft.net>
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2952 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2953 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2954 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2955 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2957 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2959 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2960 later. Allow versions 5-9.
2961 * configure: Regenerated.
2962 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2963 required minimum version and 4.6 as recommended version. Do not
2964 mention bugs in GCC 2.7 and 2.8.
2965 * INSTALL: Regenerated.
2967 2012-02-27 David S. Miller <davem@davemloft.net>
2969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2973 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2974 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2975 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2976 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2979 manipulate bits before adding and subtracting TWO112[sx].
2980 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2982 2012-02-27 Roland McGrath <roland@hack.frob.com>
2985 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2986 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2987 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2988 being in POSIX, because they are in 1003.1-2008.
2990 * rt/tst-aio.c: Include <fcntl.h>.
2991 * rt/tst-aio7.c: Likewise.
2992 * rt/tst-aio64.c: Likewise.
2994 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2996 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2998 * manual/install.texi (--with-headers): Describe headers as
2999 interface headers, not private headers.
3000 (Specific advice for GNU/Linux systems): Describe use of headers
3001 from "make headers_install", not private headers from older
3003 * INSTALL: Regenerated.
3004 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3006 * sysdeps/unix/sysv/linux/configure: Regenerated.
3008 * manual/llio.texi (fclean): Remove documentation.
3010 * manual/Makefile (libc-texi-generated): New variable. Include
3012 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3013 $(libc-texi-generated), not duplicated list of files.
3014 (version.texi, stamp-version): New rules.
3015 (realclean): Remove $(libc-texi-generated), not individual files
3016 from that list. Do not remove dir-add.texinfo.
3017 * manual/libc.texinfo: Comment out uses of edition numbers and
3018 references to printed manual. Remove last-updated dates.
3019 (EDITION): Comment out.
3021 (VERSION, UPDATED): Remove.
3022 (version.texi): Include.
3024 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3026 * sysdeps/posix/spawni.c: Include <signal.h>.
3027 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3028 * sysdeps/pthread/aio_fsync.c: Likewise.
3030 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3032 * conform/Makefile (tests): Run only when not cross-compiling and
3033 when fast-check is not defined.
3035 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3036 * conform/data/limits.h-data: Fixes for POSIX2008.
3037 * conform/run-conformtest.sh: Run all tests.
3038 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3040 * include/bits/dlfcn.h: Likewise.
3041 * include/langinfo.h: Likewise.
3042 * include/monetary.h: Likewise.
3043 * include/sys/poll.h: Likewise.
3045 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3047 * posix/spawn.h: Define __need_sigset_t.
3048 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3049 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3050 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3051 to get sigevent_t only.
3052 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3055 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3056 process_vm_writev only for __USE_GNU.
3057 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3059 * conform/Makefile: For now ignore errors from run-conformtest.
3060 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3061 POSIX to avoid namespace pollution. Don't prepend headers.
3062 * conform/data/aio.h-data: Fixes for POSIX testing.
3063 * conform/data/fcntl.h-data: Likewise.
3064 * conform/data/glob.h-data: Likewise.
3065 * conform/data/grp.h-data: Likewise.
3066 * conform/data/pthread.h-data: Likewise.
3067 * conform/data/pwd.h-data: Likewise.
3068 * conform/data/signal.h-data: Likewise.
3069 * conform/data/spawn.h-data: Likewise.
3070 * conform/data/stdio.h-data: Likewise.
3071 * conform/data/stdlib.h-data: Likewise.
3072 * conform/data/stropts.h-data: Likewise.
3073 * conform/data/sys/mman.h-data: Likewise.
3074 * conform/data/sys/stat.h-data: Likewise.
3075 * conform/data/sys/types.h-data: Likewise.
3076 * conform/data/sys/wait.h-data: Likewise.
3077 * conform/data/time.h-data: Likewise.
3078 * conform/data/unistd.h-data: Likewise.
3079 * conform/data/utime.h-data: Likewise.
3081 * io/sys/stat.h: fchmod was always in POSIX.
3082 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3083 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3084 * rt/aio.h: Define __need_timespec before including <time.h>.
3085 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3086 struct. Add forward declaration of pthread_attr_t and use it in
3088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3090 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3091 always remove CLK_TCK definition.
3093 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3095 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3097 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3099 * conform/run-conformtest.sh: New file.
3100 * conform/Makefile: Run run-conformtest for tests.
3101 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3104 * conform/data/uchar.h-data: New file.
3105 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3106 * conform/data/arpa/inet.h-data: Likewise.
3107 * conform/data/assert.h-data: Likewise.
3108 * conform/data/complex.h-data: Likewise.
3109 * conform/data/cpio.h-data: Likewise.
3110 * conform/data/ctype.h-data: Likewise.
3111 * conform/data/dirent.h-data: Likewise.
3112 * conform/data/dlfcn.h-data: Likewise.
3113 * conform/data/errno.h-data: Likewise.
3114 * conform/data/fcntl.h-data: Likewise.
3115 * conform/data/float.h-data: Likewise.
3116 * conform/data/fmtmsg.h-data: Likewise.
3117 * conform/data/fnmatch.h-data: Likewise.
3118 * conform/data/ftw.h-data: Likewise.
3119 * conform/data/glob.h-data: Likewise.
3120 * conform/data/grp.h-data: Likewise.
3121 * conform/data/iconv.h-data: Likewise.
3122 * conform/data/inttypes.h-data: Likewise.
3123 * conform/data/langinfo.h-data: Likewise.
3124 * conform/data/libgen.h-data: Likewise.
3125 * conform/data/limits.h-data: Likewise.
3126 * conform/data/locale.h-data: Likewise.
3127 * conform/data/math.h-data: Likewise.
3128 * conform/data/monetary.h-data: Likewise.
3129 * conform/data/mqueue.h-data: Likewise.
3130 * conform/data/ndbm.h-data: Likewise.
3131 * conform/data/net/if.h-data: Likewise.
3132 * conform/data/netdb.h-data: Likewise.
3133 * conform/data/netinet/in.h-data: Likewise.
3134 * conform/data/nl_types.h-data: Likewise.
3135 * conform/data/poll.h-data: Likewise.
3136 * conform/data/pthread.h-data: Likewise.
3137 * conform/data/pwd.h-data: Likewise.
3138 * conform/data/regex.h-data: Likewise.
3139 * conform/data/sched.h-data: Likewise.
3140 * conform/data/search.h-data: Likewise.
3141 * conform/data/semaphore.h-data: Likewise.
3142 * conform/data/setjmp.h-data: Likewise.
3143 * conform/data/signal.h-data: Likewise.
3144 * conform/data/spawn.h-data: Likewise.
3145 * conform/data/stdarg.h-data: Likewise.
3146 * conform/data/stdio.h-data: Likewise.
3147 * conform/data/stdlib.h-data: Likewise.
3148 * conform/data/string.h-data: Likewise.
3149 * conform/data/strings.h-data: Likewise.
3150 * conform/data/stropts.h-data: Likewise.
3151 * conform/data/sys/ipc.h-data: Likewise.
3152 * conform/data/sys/mman.h-data: Likewise.
3153 * conform/data/sys/msg.h-data: Likewise.
3154 * conform/data/sys/resource.h-data: Likewise.
3155 * conform/data/sys/select.h-data: Likewise.
3156 * conform/data/sys/sem.h-data: Likewise.
3157 * conform/data/sys/shm.h-data: Likewise.
3158 * conform/data/sys/socket.h-data: Likewise.
3159 * conform/data/sys/stat.h-data: Likewise.
3160 * conform/data/sys/statvfs.h-data: Likewise.
3161 * conform/data/sys/time.h-data: Likewise.
3162 * conform/data/sys/timeb.h-data: Likewise.
3163 * conform/data/sys/times.h-data: Likewise.
3164 * conform/data/sys/types.h-data: Likewise.
3165 * conform/data/sys/uio.h-data: Likewise.
3166 * conform/data/sys/un.h-data: Likewise.
3167 * conform/data/sys/utsname.h-data: Likewise.
3168 * conform/data/sys/wait.h-data: Likewise.
3169 * conform/data/syslog.h-data: Likewise.
3170 * conform/data/tar.h-data: Likewise.
3171 * conform/data/termios.h-data: Likewise.
3172 * conform/data/utime.h-data: Likewise.
3173 * conform/data/utmpx.h-data: Likewise.
3174 * conform/data/varargs.h-data: Likewise.
3175 * conform/data/wchar.h-data: Likewise.
3176 * conform/data/wctype.h-data: Likewise.
3177 * conform/data/wordexp.h-data: Likewise.
3179 * include/stropts.h: New file.
3180 * include/uchar.h: New file.
3181 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3182 * include/assert.h: Likewise.
3183 * include/ctype.h: Likewise.
3184 * include/dirent.h: Likewise.
3185 * include/dlfcn.h: Likewise.
3186 * include/fcntl.h: Likewise.
3187 * include/fnmatch.h: Likewise.
3188 * include/glob.h: Likewise.
3189 * include/grp.h: Likewise.
3190 * include/libio.h: Likewise.
3191 * include/locale.h: Likewise.
3192 * include/math.h: Likewise.
3193 * include/net/if.h: Likewise.
3194 * include/netdb.h: Likewise.
3195 * include/netinet/in.h: Likewise.
3196 * include/pthread.h: Likewise.
3197 * include/pwd.h: Likewise.
3198 * include/regex.h: Likewise.
3199 * include/sched.h: Likewise.
3200 * include/search.h: Likewise.
3201 * include/setjmp.h: Likewise.
3202 * include/signal.h: Likewise.
3203 * include/stdio.h: Likewise.
3204 * include/stdlib.h: Likewise.
3205 * include/string.h: Likewise.
3206 * include/sys/cdefs.h: Likewise.
3207 * include/sys/mman.h: Likewise.
3208 * include/sys/msg.h: Likewise.
3209 * include/sys/resource.h: Likewise.
3210 * include/sys/select.h: Likewise.
3211 * include/sys/socket.h: Likewise.
3212 * include/sys/stat.h: Likewise.
3213 * include/sys/statvfs.h: Likewise.
3214 * include/sys/time.h: Likewise.
3215 * include/sys/times.h: Likewise.
3216 * include/sys/uio.h: Likewise.
3217 * include/sys/utsname.h: Likewise.
3218 * include/sys/wait.h: Likewise.
3219 * include/termios.h: Likewise.
3220 * include/time.h: Likewise.
3221 * include/ulimit.h: Likewise.
3222 * include/unistd.h: Likewise.
3223 * include/utime.h: Likewise.
3224 * include/wchar.h: Likewise.
3225 * include/wctype.h: Likewise.
3226 * include/wordexp.h: Likewise.
3228 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3230 * time/time.h: TIME_UTC must be a macro.
3231 Make timespec_get available for ISO C11 only as well.
3233 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3235 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3236 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3238 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3240 * configure.in: Use -o not -a in test for unsupported multi-arch.
3242 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3244 * manual/texinfo.tex: Update to version 2012-01-19.16.
3246 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3248 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3250 2012-02-24 Roland McGrath <roland@hack.frob.com>
3253 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3254 * manual/fdl-1.3.texi: New file.
3255 * manual/fdl-1.1.texi: File removed.
3258 * manual/libc.texinfo (FDL_VERSION): New @set.
3259 Use it for mention of FDL in cover text.
3260 (Documentation License): Use it in @include file name.
3262 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3263 Roland McGrath <roland@hack.frob.com>
3266 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3267 not LONG_LONG_MAX and LONG_LONG_MIN.
3268 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3269 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3271 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3273 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3277 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3278 manipulate bits before adding and subtracting TWO23[sx].
3279 * math/libm-test.inc (nearbyint_test): Add more tests.
3281 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3285 bits before adding and subtracting TWO23[sx].
3286 * math/libm-test.inc (rint_test): Add more tests.
3287 (rint_test_tonearest): Likewise.
3288 (rint_test_towardzero): Likewise.
3289 (rint_test_downward): Likewise.
3290 (rint_test_upward: Likewise.
3292 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3295 * include/stdc-predef.h: New file. Extracted from features.h.
3296 * include/features.h: Include stdc-predef.h.
3297 * Makefile (headers): Add stdc-predef.h.
3298 * CONFORMANCE (Compiler limitations): Update.
3300 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3302 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3304 2012-02-21 David S. Miller <davem@davemloft.net>
3306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3307 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3309 2012-02-20 David S. Miller <davem@davemloft.net>
3311 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3312 using a normal save/restore sequence, rather than allocating a
3313 dummy stack frame just to store a frame pointer and restore.
3314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3316 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3318 * manual/install.texi: Fix stray word in line-wrapped comment.
3320 2012-02-20 David S. Miller <davem@davemloft.net>
3322 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3323 both binutils and gcc support GOTDATA.
3325 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3326 "rd %pc" in the PIC register setup sequences.
3328 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3329 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3330 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3331 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3332 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3335 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3337 (SYSCALL_ERROR_HANDLER): Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3339 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3341 (SYSCALL_ERROR_HANDLER): Likewise.
3343 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3344 (HAVE_GCC_GOTDATA): New.
3345 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3346 relocation support in both binutils and gcc.
3347 * sysdeps/sparc/elf/configure: Regenerate.
3349 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3350 * sysdeps/sparc/sparc32/elf/configure: Delete.
3351 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3352 * sysdeps/sparc/sparc64/elf/configure: Delete.
3353 * sysdeps/sparc/elf/configure.in: New file.
3354 * sysdeps/sparc/elf/configure: Generate.
3356 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3357 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3358 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3359 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3360 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3362 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3364 * manual/install.texi: Do not mention specific glibc version
3366 * manual/libc.texinfo (VERSION, UPDATED): Update.
3367 (@copying): Use @copyright{} and range of years.
3369 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3372 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3373 [crti.S not in sysdirs] (generated): Do not append.
3374 [crti.S not in sysdirs] (omit-deps): Likewise.
3375 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3376 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3377 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3378 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3379 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3381 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3382 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3383 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3384 * csu/defs.awk: Remove file.
3385 * sysdeps/generic/initfini.c: Likewise.
3386 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3388 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3391 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3393 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3394 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3398 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3400 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3401 (__EPOLL_PACKED): Define to empty if not defined by
3403 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3407 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3409 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3410 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3411 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3412 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3414 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3418 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3420 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3423 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3429 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3430 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3432 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3434 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3435 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3437 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3439 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3442 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3444 * math/w_acos.c: Use non-signaling floating-point comparisons.
3445 * math/w_acosf.c: Likewise.
3446 * math/w_acosh.c: Likewise.
3447 * math/w_acoshf.c: Likewise.
3448 * math/w_acoshl.c: Likewise.
3449 * math/w_acosl.c: Likewise.
3450 * math/w_asin.c: Likewise.
3451 * math/w_asinf.c: Likewise.
3452 * math/w_asinl.c: Likewise.
3453 * math/w_atanh.c: Likewise.
3454 * math/w_atanhf.c: Likewise.
3455 * math/w_atanhl.c: Likewise.
3456 * math/w_exp2.c: Likewise.
3457 * math/w_exp2f.c: Likewise.
3458 * math/w_exp2l.c: Likewise.
3459 * math/w_j0.c: Likewise.
3460 * math/w_j0f.c: Likewise.
3461 * math/w_j0l.c: Likewise.
3462 * math/w_j1.c: Likewise.
3463 * math/w_j1f.c: Likewise.
3464 * math/w_j1l.c: Likewise.
3465 * math/w_jn.c: Likewise.
3466 * math/w_jnf.c: Likewise.
3467 * math/w_log.c: Likewise.
3468 * math/w_log10.c: Likewise.
3469 * math/w_log10f.c: Likewise.
3470 * math/w_log10l.c: Likewise.
3471 * math/w_log2.c: Likewise.
3472 * math/w_log2f.c: Likewise.
3473 * math/w_log2l.c: Likewise.
3474 * math/w_logf.c: Likewise.
3475 * math/w_logl.c: Likewise.
3476 * math/w_sqrt.c: Likewise.
3477 * math/w_sqrtf.c: Likewise.
3478 * math/w_sqrtl.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3482 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3488 * manual/string.texi (strnlen): Use correct parameter name in
3489 equivalent expression.
3491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3494 * manual/users.texi (seteuid): Consistently use neweuid for
3497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3500 * manual/nss.texi (Services in the NSS configuration): Correct
3501 list of services in example configuration file.
3503 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3506 * manual/arith.texi: Remove statements about negative zero
3507 behaving identically to zero.
3509 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3512 * manual/install.texi: Do not document upgrading from libc5.
3514 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3517 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3519 2012-02-18 David S. Miller <davem@davemloft.net>
3521 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3522 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3523 %o7 across the call.
3524 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3529 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3530 * sysdeps/sparc/crtn.S: Likewise.
3532 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3534 * aout/Makefile: Remove.
3536 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3539 * manual/examples/argp-ex1.c (main): Format definition in GNU
3541 * manual/examples/argp-ex2.c (main): Likewise.
3542 * manual/examples/argp-ex3.c (main): Likewise.
3543 * manual/examples/argp-ex4.c (main): Likewise.
3544 * manual/examples/longopt.c (main): Use new-style prototype
3546 * manual/examples/strncat.c (main): Specify return type and use
3547 (void) for arguments.
3548 * manual/examples/subopt.c (main): Use char **argv argument.
3550 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3553 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3556 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3559 * manual/string.texi (strchr): Change when strchrnul is
3562 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3565 * manual/locale.texi (setlocale): Document LOCPATH.
3567 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3570 * manual/process.texi (execle): Move @dots{} before last argument.
3572 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3575 * manual/charset.texi (Generic Charset Conversion): Fix typo
3576 (LC_TYPE -> LC_CTYPE).
3578 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3581 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3582 (scalbnf): Likewise.
3583 (scalbnl): Likewise.
3584 (scalbln): Likewise.
3585 (scalblnf): Likewise.
3586 (scalblnl): Likewise.
3587 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3591 * manual/filesys.texi (telldir): Use braces around return type.
3592 * manual/llio.texi (mmap): Add space after comma.
3594 * manual/math.texi (jn): Use @var{} on parameter names.
3600 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3602 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3604 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3605 (sched_get_priority_max): Likewise.
3606 * manual/signal.texi (sigvec): Add space after comma.
3607 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3609 (if_indextoname): Likewise.
3610 (if_freenameindex): Likewise.
3611 (sendto): Use ',' instead of '.' in prototype.
3612 * manual/startup.texi (syscall): Use @dots{} instead of literal
3614 * manual/stdio.texi (__fpending): Separate initial words of
3615 paragraph from @deftypefun line.
3616 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3618 (vsyslog): Use @var{} on parameter names.
3619 * manual/terminal.texi (stty): Use @var{} on parameter names.
3620 * manual/users.texi (getutmp): Use @var{} on parameter names.
3621 (getutmpx): Likewise.
3623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3626 * manual/stdio.texi (fopen): Fix typos in description of
3629 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3632 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3633 get clock_id definition.
3635 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3638 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3639 (madvise): Cast every argument to void on its own.
3641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3644 * manual/startup.texi (Exit Status): Fix typo.
3646 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3649 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3650 * manual/examples/argp-ex2.c: Likewise.
3651 * manual/examples/argp-ex3.c: Likewise.
3653 2012-02-16 Richard Henderson <rth@redhat.com>
3655 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3656 * sysdeps/s390/s390-32/initfini.c: Remove.
3657 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3658 * sysdeps/s390/s390-64/initfini.c: Remove.
3660 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3662 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3663 compiler output for sysdeps/generic/initfini.c.
3664 * sysdeps/sh/elf/initfini.c: Remove file.
3666 2012-02-16 David S. Miller <davem@davemloft.net>
3669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3671 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3672 * sysdeps/sparc/crti.S: New file.
3673 * sysdeps/sparc/crtn.S: New file.
3674 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3675 * sysdeps/sparc/sparc64/Makefile: Likewise.
3677 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3680 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3682 2012-02-15 Roland McGrath <roland@hack.frob.com>
3685 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3687 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3688 (write, read, close): Likewise.
3689 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3691 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3693 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3694 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3695 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3696 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3698 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3702 2012-02-14 Marek Polacek <polacek@redhat.com>
3704 * sysdeps/x86_64/crti.S: New file.
3705 * sysdeps/x86_64/crtn.S: New file.
3706 * sysdeps/x86_64/elf/initfini.c: Remove file.
3708 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3711 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3713 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3715 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3719 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3721 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3722 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3723 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3724 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3726 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3730 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3732 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3733 __feraiseexcept instead of feraiseexcept.
3735 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3736 nanosleep invocations.
3737 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3738 strings, and add error checking for a nanosleep invocations.
3740 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3742 Replace FSF snail mail address with URLs, as per GNU coding standards.
3743 Most of the snail mail addresses were wrong anyway, and omitting
3744 them makes the source code easier to maintain. Almost all of the
3745 changes are to license notices and to locale LC_IDENTIFICATION
3746 addresses, except for this one:
3747 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3748 not its snail mail address.
3750 2012-02-09 Richard Henderson <rth@twiddle.net>
3752 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3753 of kernel-features.h.
3755 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3757 2012-02-08 Marek Polacek <polacek@redhat.com>
3759 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3760 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3761 * sysdeps/gnu/_G_config.h: Likewise.
3762 * sysdeps/generic/_G_config.h: Likewise.
3764 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3766 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3770 * sysdeps/powerpc/powerpc32/crti.S: New file.
3771 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3772 * sysdeps/powerpc/powerpc64/crti.S: New file.
3773 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3775 * Makeconfig (have-initfini): Don't set.
3776 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3777 * configure.in (nopic_initfini): Don't substitute.
3778 * config.h.in (HAVE_INITFINI): Don't #undef.
3779 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3780 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3782 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3784 Support crti.S and crtn.S provided directly by architectures.
3785 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3786 [crti.S in sysdirs] (omit-deps): Likewise.
3787 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3788 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3789 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3790 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3791 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3792 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3793 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3794 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3795 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3796 compiler output for sysdeps/generic/initfini.c.
3797 * sysdeps/i386/elf/Makefile: Remove file.
3798 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3800 2012-02-07 Marek Polacek <polacek@redhat.com>
3802 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3803 * sysdeps/gnu/_G_config.h: Likewise.
3804 * sysdeps/mach/hurd/_G_config.h: Likewise.
3806 2012-02-07 Marek Polacek <polacek@redhat.com>
3808 * math/Makefile (tests): Add tst-CMPLX2.
3809 * math/tst-CMPLX2.c: New file.
3811 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3813 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3815 * math/libm-test.inc (jn_test): Add missing L suffix.
3817 2012-02-06 Marek Polacek <polacek@redhat.com>
3819 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3820 * sysdeps/i386/fpu/e_powf.S: Likewise.
3821 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3822 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3823 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3824 * sysdeps/i386/fpu/e_pow.S: Likewise.
3825 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3826 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3827 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3828 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3829 * sysdeps/i386/fpu/e_log2.S: Likewise.
3830 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3831 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3832 * sysdeps/i386/fpu/e_powl.S: Likewise.
3833 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3836 * sysdeps/i386/fpu/e_logl.S: Likewise.
3837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3838 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3843 * sysdeps/i386/fpu/e_log.S: Likewise.
3844 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3845 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3846 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3847 * sysdeps/i386/fpu/e_logf.S: Likewise.
3848 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3849 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3850 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3851 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3852 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3853 * sysdeps/i386/fpu/e_log10.S: Likewise.
3854 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3856 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3857 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3858 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3859 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3860 * sysdeps/i386/asm-syntax.h: Likewise.
3861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3864 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3865 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3867 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3868 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3870 * sysdeps/powerpc/sysdep.h: Likewise.
3871 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3872 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3874 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3877 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3879 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3881 * sysdeps/i386/sysdep.h: Include <features.h>.
3882 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3885 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3887 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3889 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3892 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3894 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3895 (SETUP_PIC_REG): Use GET_PC_THUNK.
3896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3899 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3901 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3902 for non-PIC compilation.
3903 (SETUP_PIC_REG): Add .p2align directive.
3904 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3905 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3906 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3907 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3909 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3910 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3912 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3913 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3914 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3915 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3916 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3917 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3918 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3919 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3920 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3921 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3922 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3923 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3926 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3927 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3930 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3931 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3932 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3936 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3938 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3946 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3948 * math/tst-CMPLX.c: Include <stdio.h>.
3950 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3952 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3954 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3955 * sysdeps/sparc/bits/mathdef.h: Likewise.
3957 2012-01-31 Marek Polacek <polacek@redhat.com>
3959 * libio/libio.h: Don't define _PARAMS.
3960 * locale/programs/config.h: Don't define PARAMS.
3961 * stdlib/strtol_l.c: Likewise.
3962 (__strtol_l): Remove PARAMS from the prototype.
3964 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3966 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3967 names. Just use the correct names. Remove unnecessary wrapper
3969 * malloc/arena.c: Likewise.
3970 * malloc/hooks.c: Likewise.
3972 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3973 ARENA_TEST says not to. Simplify test for creation of a new arena.
3974 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3976 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3978 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3980 (update_get_addr): New function.
3981 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3982 GET_ADDR_MODULE parameter.
3984 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3986 * crypt/cert.c: Remove __STDC__ conditionals.
3987 * crypt/crypt-entry.c: Likewise.
3988 * crypt/crypt_util.c: Likewise.
3989 * libio/filedoalloc.c: Likewise.
3990 * libio/fileops.c: Likewise.
3991 * libio/genops.c: Likewise.
3992 * libio/iofclose.c: Likewise.
3993 * libio/iofdopen.c: Likewise.
3994 * libio/iofopen.c: Likewise.
3995 * libio/iofopen64.c: Likewise.
3996 * libio/iogetdelim.c: Likewise.
3997 * libio/iopopen.c: Likewise.
3998 * libio/obprintf.c: Likewise.
3999 * libio/oldfileops.c: Likewise.
4000 * libio/oldiofclose.c: Likewise.
4001 * libio/oldiofdopen.c: Likewise.
4002 * libio/oldiofopen.c: Likewise.
4003 * libio/oldiopopen.c: Likewise.
4004 * libio/wfiledoalloc.c: Likewise.
4005 * libio/wgenops.c: Likewise.
4006 * locale/programs/xmalloc.c: Likewise.
4007 * misc/syslog.c: Likewise.
4008 * stdio-common/xbug.c: Likewise.
4009 * string/memchr.c: Likewise.
4010 * string/memcmp.c: Likewise.
4011 * string/memrchr.c: Likewise.
4012 * string/rawmemchr.c: Likewise.
4013 * sysdeps/posix/getcwd.c: Likewise.
4014 * time/strftime_l.c: Likewise.
4016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4018 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4019 * config.make.in (config-cflags-sse2avx): Define.
4020 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4023 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4025 * scripts/config.guess: Update from upstream config git repository.
4026 * scripts/config.sub: Likewise.
4028 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4030 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4032 (R_TILEPRO_*, R_TILEGX_*): New macros.
4034 * scripts/firstversions.awk: Fix bug in version range handling.
4036 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4038 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4040 * include/sys/epoll.h: New file.
4041 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4044 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4046 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4047 Avoid unnecessary __WORDSIZE == 64 test.
4048 (fmaxf): Use VEX format if possible.
4053 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4054 * math/math_private.h: Remove libc_fegetround* and
4056 * sysdeps/i386/configure.in: Check for -msse2avx.
4057 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4058 also if SSE2AVX is defined.
4059 Remove libc_fegetround* and libc_fesetround*.
4060 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4061 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4064 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4065 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4068 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4070 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4072 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4074 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4078 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4081 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4083 * Makeconfig (libm): Define.
4084 * elf/Makefile: Add rules to build and run tst-relsort1.
4085 * elf/tst-relsort1.c: New file.
4086 * elf/tst-relsort1mod1.c: New file.
4087 * elf/tst-relsort1mod2.c: New file.
4089 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4091 * math/s_ldexp.c: Remove __STDC__ conditionals.
4092 * math/s_ldexpf.c: Likewise.
4093 * math/s_ldexpl.c: Likewise.
4094 * math/s_nextafter.c: Likewise.
4095 * math/s_nexttowardf.c: Likewise.
4096 * math/s_significand.c: Likewise.
4097 * math/s_significandf.c: Likewise.
4098 * math/s_significandl.c: Likewise.
4099 * math/w_jnl.c: Likewise.
4100 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4101 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4102 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4103 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4104 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4121 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4122 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4124 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4125 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4128 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4129 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4130 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4131 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4132 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4134 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4137 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4138 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4139 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4140 * sysdeps/ieee754/k_standard.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4220 * sysdeps/ieee754/s_matherr.c: Likewise.
4221 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4222 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4228 * crypt/md5.h: Remove __STDC__ conditionals.
4229 * libio/libioP.h: Likewise.
4230 * locale/programs/config.h: Likewise.
4231 * sysdeps/generic/sysdep.h: Likewise.
4232 * sysdeps/i386/asm-syntax.h: Likewise.
4233 * sysdeps/s390/asm-syntax.h: Likewise.
4234 * sysdeps/unix/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4238 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4240 * libio/libio.h: Remove __STDC__ conditionals.
4241 * malloc/obstack.h: Likewise.
4242 * math/complex.h: Likewise.
4243 * math/math.h: Likewise.
4244 * sysdeps/generic/_G_config.h: Likewise.
4245 * sysdeps/gnu/_G_config.h: Likewise.
4246 * sysdeps/mach/hurd/_G_config.h: Likewise.
4247 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4248 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4249 * sysdeps/sparc/bits/mathdef.h: Likewise.
4251 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4254 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4255 Clean up HAS_* macros.
4256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4257 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4259 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4267 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4269 * elf/tst-unique3.cc (gets): Remove declaration.
4270 * elf/tst-unique3lib.cc (gets): Likewise.
4271 * elf/tst-unique3lib2.cc (gets): Likewise.
4272 * elf/tst-unique4.cc (gets): Likewise.
4274 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4276 * include/stdio.h: Add C++ protection. Add gets declarations and
4278 * debug/tst-chk1.c: Don't declare gets here.
4279 * stdio-common/tst-gets.c: Likewise.
4281 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4283 * posix/glob: Remove directory.
4285 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4287 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4289 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4291 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4292 of the non-standard EPFNOSUPPORT.
4294 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4296 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4297 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4298 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4300 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4302 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4304 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4306 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4308 * nscd/grpcache.c (cache_addgr): Likewise.
4309 * nscd/hstcache.c (cache_addhst): Likewise.
4310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4311 * nscd/pwdcache.c (cache_addpw): Likewise.
4312 * nscd/servicescache.c (cache_addserv): Likewise.
4314 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4316 * malloc/malloc.c: Various cleanups.
4317 * malloc/hooks.c: Likewise.
4319 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4320 * stdlib/bug-fmtmsg1.c: New file.
4322 * stdlib/fmtmsg.c (init): Add missing unlock.
4323 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4325 2012-01-12 Marek Polacek <polacek@redhat.com>
4327 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4330 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4332 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4333 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4334 macro to ensure uniqueness of label name.
4335 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4336 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4338 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4340 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4342 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4343 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4344 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4347 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4349 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4351 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4352 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4355 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4357 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4362 * math/bits/math-finite.h: Add ldexp support.
4364 2012-01-10 Marek Polacek <polacek@redhat.com>
4366 * locale/programs/localedef.h (show_archive_content): Add noreturn
4369 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4371 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4373 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4375 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4377 * io/Makefile (headers): Add bits/poll2.h.
4379 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4382 typo #include statement.
4384 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4386 * include/sys/cdefs.h: Define __attribute_alloc_size.
4387 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4388 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4389 * elf/pldd.c: Likewise.
4390 * iconv/iconv_charmap.c: Likewise.
4391 * iconv/iconvconfig.c: Likewise.
4392 * iconv/strtab.c: Likewise.
4393 * locale/programs/locale.c: Likewise.
4394 * locale/programs/localedef.h: Likewise.
4395 * locale/programs/simple-hash.c: Likewise.
4396 * nscd/nscd.h: Likewise.
4397 * nss/makedb.c: Likewise.
4398 * sysdeps/generic/ldconfig.h: Likewise.
4399 * locale/programs/localedef.c: Remove xmalloc prototype.
4400 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4402 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4404 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4409 * math/Makefile (tests): Add tst-CMPLX.
4410 * math/tst-CMPLX.c: New file.
4412 * math/complex.h (CMPLXL): Fix typo.
4414 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4415 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4417 * debug/tst-chk1.c: Add poll and ppoll tests.
4418 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4419 * include/sys/poll.h: Add hidden proto for ppoll.
4420 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4421 * sysdeps/mach/hurd/ppoll.c: Likewise.
4422 * io/ppoll.c: Likewise.
4423 * debug/poll_chk.c: New file.
4424 * debug/ppoll_chk.c: New file.
4425 * include/bits/poll2.h: New file.
4426 * io/bits/poll2.h: New file.
4429 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4431 * configure.in: static is always set to yes. Remove.
4432 * config.make.in: Don't set build-static.
4433 * Makeconfig: Remove use of build-static.
4434 * dlfcn/Makefile: Likewise.
4435 * elf/Makefile: Likewise.
4436 * math/Makefile: Likewise.
4437 * misc/Makefile: Likewise.
4438 * nptl/Makefile: Likewise.
4439 * sysdeps/mach/hurd/Makefile: Likewise.
4441 * configure.in: PWD_P is not used anymore.
4442 * config.make.in: Remove PWD_P entry.
4444 * configure.in: Remove last remnants of RANLIB.
4445 No need to check for signed size_t anymore.
4446 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4448 Remove __builtin_expect test because we require at least gcc 3.4.
4449 * aclocal.m4: Likewise.
4451 * wcsmbs/mbrtoc16.c: Implement using towc function.
4452 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4453 * wcsmbs/wcsmbsload.c: Likewise.
4454 * iconv/gconv_simple.c: Likewise.
4455 * iconv/gconv_int.h: Likewise.
4456 * iconv/gconv_builtin.h: Likewise.
4457 * iconv/iconv_prog.c: Remove CHAR16 handling.
4459 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4461 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4463 * configure.in: Remove --with-elf and --enable-bounded options.
4464 Dont set base_machine for ia64. More non-ELF conditions removed.
4465 Remove testing and setting of leading underscore information.
4466 * config.make.in (build-bounded): Set to no.
4467 * config.h.in: Remove NO_UNDERSCORES entry.
4468 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4470 * csu/start.c: Remove !NO_UNDERSCORE code.
4471 * locale/localeinfo.h: Likewise.
4472 * sysdeps/generic/machine-gmon.h: Likewise.
4473 * sysdeps/generic/sysdep.h: Likewise.
4474 * sysdeps/i386/sysdep.h: Likewise.
4475 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4476 * sysdeps/mach/sysdep.h: Likewise.
4477 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4478 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4479 * sysdeps/sh/sysdep.h: Likewise.
4480 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4481 * sysdeps/unix/i386/sysdep.S: Likewise.
4482 * sysdeps/unix/sparc/start.c: Likewise.
4483 * sysdeps/unix/sparc/sysdep.S: Likewise.
4484 * sysdeps/unix/sparc/sysdep.h: Likewise.
4485 * sysdeps/unix/start.c: Likewise.
4486 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4487 * sysdeps/x86_64/sysdep.h: Likewise.
4489 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4492 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4494 * argp/argp-fmtstream.h: Use const instead __const.
4495 * argp/argp.h: Likewise.
4496 * assert/assert.h: Likewise.
4497 * bits/fenv.h: Likewise.
4498 * bits/sched.h: Likewise.
4499 * bits/sigset.h: Likewise.
4500 * bits/sigthread.h: Likewise.
4501 * catgets/nl_types.h: Likewise.
4502 * conform/data/pthread.h-data: Likewise.
4503 * crypt/crypt-private.h: Likewise.
4504 * crypt/crypt.h: Likewise.
4505 * crypt/crypt_util.c: Likewise.
4506 * ctype/ctype.h: Likewise.
4507 * debug/execinfo.h: Likewise.
4508 * debug/mbsnrtowcs_chk.c: Likewise.
4509 * debug/mbsrtowcs_chk.c: Likewise.
4510 * debug/wcsnrtombs_chk.c: Likewise.
4511 * debug/wcsrtombs_chk.c: Likewise.
4512 * debug/wcstombs_chk.c: Likewise.
4513 * dirent/dirent.h: Likewise.
4514 * dlfcn/dlfcn.h: Likewise.
4515 * elf/neededtest4.c: Likewise.
4516 * grp/grp.h: Likewise.
4517 * gshadow/gshadow.h: Likewise.
4518 * iconv/gconv.h: Likewise.
4519 * iconv/gconv_int.h: Likewise.
4520 * iconv/gconv_simple.c: Likewise.
4521 * iconv/iconv.h: Likewise.
4522 * iconv/loop.c: Likewise.
4523 * iconv/skeleton.c: Likewise.
4524 * include/aio.h: Likewise.
4525 * include/aliases.h: Likewise.
4526 * include/argz.h: Likewise.
4527 * include/arpa/inet.h: Likewise.
4528 * include/assert.h: Likewise.
4529 * include/dirent.h: Likewise.
4530 * include/dlfcn.h: Likewise.
4531 * include/execinfo.h: Likewise.
4532 * include/fcntl.h: Likewise.
4533 * include/fenv.h: Likewise.
4534 * include/glob.h: Likewise.
4535 * include/grp.h: Likewise.
4536 * include/libintl.h: Likewise.
4537 * include/mntent.h: Likewise.
4538 * include/netdb.h: Likewise.
4539 * include/pwd.h: Likewise.
4540 * include/rpc/netdb.h: Likewise.
4541 * include/sched.h: Likewise.
4542 * include/search.h: Likewise.
4543 * include/shadow.h: Likewise.
4544 * include/signal.h: Likewise.
4545 * include/stdio.h: Likewise.
4546 * include/stdlib.h: Likewise.
4547 * include/string.h: Likewise.
4548 * include/sys/socket.h: Likewise.
4549 * include/sys/stat.h: Likewise.
4550 * include/sys/statfs.h: Likewise.
4551 * include/sys/statvfs.h: Likewise.
4552 * include/sys/syslog.h: Likewise.
4553 * include/sys/time.h: Likewise.
4554 * include/sys/uio.h: Likewise.
4555 * include/time.h: Likewise.
4556 * include/unistd.h: Likewise.
4557 * include/utmp.h: Likewise.
4558 * include/wchar.h: Likewise.
4559 * include/wctype.h: Likewise.
4560 * inet/aliases.h: Likewise.
4561 * inet/arpa/inet.h: Likewise.
4562 * inet/netinet/ether.h: Likewise.
4563 * inet/netinet/in.h: Likewise.
4564 * intl/libintl.h: Likewise.
4565 * io/bits/fcntl2.h: Likewise.
4566 * io/fcntl.h: Likewise.
4567 * io/ftw.h: Likewise.
4568 * io/sys/poll.h: Likewise.
4569 * io/sys/stat.h: Likewise.
4570 * io/sys/statfs.h: Likewise.
4571 * io/sys/statvfs.h: Likewise.
4572 * io/utime.h: Likewise.
4573 * libio/bits/stdio.h: Likewise.
4574 * libio/bits/stdio2.h: Likewise.
4575 * libio/libio.h: Likewise.
4576 * libio/libioP.h: Likewise.
4577 * libio/stdio.h: Likewise.
4578 * locale/lc-ctype.c: Likewise.
4579 * locale/locale.h: Likewise.
4580 * login/utmp.h: Likewise.
4581 * malloc/arena.c: Likewise.
4582 * malloc/malloc.c: Likewise.
4583 * malloc/malloc.h: Likewise.
4584 * malloc/mcheck.c: Likewise.
4585 * malloc/mtrace.c: Likewise.
4586 * math/bits/mathcalls.h: Likewise.
4587 * math/fenv.h: Likewise.
4588 * math/math_private.h: Likewise.
4589 * misc/bits/error.h: Likewise.
4590 * misc/bits/syslog.h: Likewise.
4591 * misc/err.h: Likewise.
4592 * misc/error.h: Likewise.
4593 * misc/fstab.h: Likewise.
4594 * misc/mntent.h: Likewise.
4595 * misc/regexp.h: Likewise.
4596 * misc/search.h: Likewise.
4597 * misc/sgtty.h: Likewise.
4598 * misc/sys/mman.h: Likewise.
4599 * misc/sys/syslog.h: Likewise.
4600 * misc/sys/uio.h: Likewise.
4601 * misc/sys/xattr.h: Likewise.
4602 * misc/ttyent.h: Likewise.
4603 * nis/rpcsvc/ypclnt.h: Likewise.
4604 * nss/nss.h: Likewise.
4605 * posix/bits/unistd.h: Likewise.
4606 * posix/fnmatch.h: Likewise.
4607 * posix/glob.h: Likewise.
4608 * posix/sched.h: Likewise.
4609 * posix/spawn.h: Likewise.
4610 * posix/sys/wait.h: Likewise.
4611 * posix/unistd.h: Likewise.
4612 * posix/wordexp.h: Likewise.
4613 * pwd/pwd.h: Likewise.
4614 * resolv/netdb.h: Likewise.
4615 * resource/sys/resource.h: Likewise.
4616 * rt/aio.h: Likewise.
4617 * rt/bits/mqueue2.h: Likewise.
4618 * rt/mqueue.h: Likewise.
4619 * shadow/shadow.h: Likewise.
4620 * signal/signal.h: Likewise.
4621 * socket/send.c: Likewise.
4622 * socket/sendto.c: Likewise.
4623 * socket/sys/socket.h: Likewise.
4624 * stdio-common/printf.h: Likewise.
4625 * stdlib/bits/stdlib.h: Likewise.
4626 * stdlib/fmtmsg.h: Likewise.
4627 * stdlib/monetary.h: Likewise.
4628 * stdlib/stdlib.h: Likewise.
4629 * stdlib/ucontext.h: Likewise.
4630 * streams/stropts.h: Likewise.
4631 * string/argz.h: Likewise.
4632 * string/bits/string2.h: Likewise.
4633 * string/string.h: Likewise.
4634 * string/strings.h: Likewise.
4635 * sunrpc/rpc/auth.h: Likewise.
4636 * sunrpc/rpc/auth_des.h: Likewise.
4637 * sunrpc/rpc/clnt.h: Likewise.
4638 * sunrpc/rpc/netdb.h: Likewise.
4639 * sunrpc/rpc/pmap_clnt.h: Likewise.
4640 * sunrpc/rpc/xdr.h: Likewise.
4641 * sysdeps/generic/inttypes.h: Likewise.
4642 * sysdeps/generic/net/if.h: Likewise.
4643 * sysdeps/generic/sys/swap.h: Likewise.
4644 * sysdeps/gnu/net/if.h: Likewise.
4645 * sysdeps/gnu/utmpx.h: Likewise.
4646 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4647 * sysdeps/i386/i486/bits/string.h: Likewise.
4648 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4649 * sysdeps/s390/bits/string.h: Likewise.
4650 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4651 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4652 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4653 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4654 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4655 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4656 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4657 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4658 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4659 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4660 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4661 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4662 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4663 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4664 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4668 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4671 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4672 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4673 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4674 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4675 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4676 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4677 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4678 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4679 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4680 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4681 * sysvipc/sys/ipc.h: Likewise.
4682 * sysvipc/sys/msg.h: Likewise.
4683 * sysvipc/sys/sem.h: Likewise.
4684 * sysvipc/sys/shm.h: Likewise.
4685 * termios/termios.h: Likewise.
4686 * time/sys/time.h: Likewise.
4687 * time/time.h: Likewise.
4688 * wcsmbs/bits/wchar2.h: Likewise.
4689 * wcsmbs/uchar.h: Likewise.
4690 * wcsmbs/wchar.h: Likewise.
4691 * wctype/wctype.h: Likewise.
4694 * Makeconfig: Remove all but ELF support including AIX support.
4695 * Makerules: Likewise.
4696 * config.h.in: Likewise.
4697 * config.make.in: Likewise.
4698 * configure: Likewise.
4699 * configure.in: Likewise.
4700 * csu/Makefile: Likewise.
4701 * csu/version.c: Likewise.
4702 * debug/Makefile: Likewise.
4703 * dlfcn/Makefile: Likewise.
4704 * elf/Makefile: Likewise.
4705 * extra-lib.mk: Likewise.
4706 * iconv/Makefile: Likewise.
4707 * include/libc-symbols.h: Likewise.
4708 * include/shlib-compat.h: Likewise.
4709 * resolv/Makefile: Likewise.
4710 * resolv/res_libc.c: Likewise.
4711 * rt/Makefile: Likewise.
4712 * sysdeps/i386/asm-syntax.h: Likewise.
4713 * sysdeps/i386/sysdep.h: Likewise.
4714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4715 * sysdeps/mach/sysdep.h: Likewise.
4716 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4717 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4718 * sysdeps/s390/asm-syntax.h: Likewise.
4719 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4721 * sysdeps/sh/sysdep.h: Likewise.
4722 * sysdeps/unix/sparc/sysdep.h: Likewise.
4723 * sysdeps/wordsize-32/divdi3.c: Likewise.
4724 * sysdeps/x86_64/sysdep.h: Likewise.
4726 * argp/Versions: Remove _argp_unlock_xxx.
4729 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4730 * abilist/libBrokenLocale.abilist: Likewise.
4731 * abilist/libanl.abilist: Likewise.
4732 * abilist/libc.abilist: Likewise.
4733 * abilist/libcrypt.abilist: Likewise.
4734 * abilist/libdl.abilist: Likewise.
4735 * abilist/libm.abilist: Likewise.
4736 * abilist/libnsl.abilist: Likewise.
4737 * abilist/libpthread.abilist: Likewise.
4738 * abilist/libresolv.abilist: Likewise.
4739 * abilist/librt.abilist: Likewise.
4740 * abilist/libthread_db.abilist: Likewise.
4741 * abilist/libutil.abilist: Likewise.
4742 * abilist/libnss_db.abilist: New file.
4744 * scripts/abilist.awk: Add support for indirect functions.
4746 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4748 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4750 * shlib-versions: Remove entries for ports architectures.
4752 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4754 * elf/stackguard-macros.h: Remove support for IA-64.
4755 * elf/tst-auditmod1.c: Likewise.
4756 * sysdeps/generic/ldsodefs.h: Likewise.
4758 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4759 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4763 * configure.in: Remove --enable-omitfp support.
4765 * config.make.in: Likewise.
4766 * Makeconfig: Likewise.
4767 * manual/install.texi: Likewise.
4769 In case anyone cares, the IA-64 architecture could move to ports.
4770 * sysdeps/ia64/*: Removed.
4771 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4772 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4775 * configure.in: Remove entries for unsupported architectures.
4778 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4779 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4781 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4782 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4783 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4784 fall back to using wcrtomb.
4785 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4786 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4788 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4789 * wcsmbs/tst-c16c32-1.c: New file.
4791 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4794 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4796 * elf/tst-unique3.cc: Add explicit declaration of gets.
4797 * elf/tst-unique3lib.cc: Likewise.
4798 * elf/tst-unique3lib2.cc: Likewise.
4799 * elf/tst-unique4.cc: Likewise.
4801 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4803 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4806 * assert/assert.h (static_assert): Don't define for C++.
4807 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4808 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4810 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4812 * iconv/loop.c (single loop): Fix assertion in storing of
4815 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4817 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4819 * posix/getconf.c: Update copyright year.
4820 * nss/getent.c: Likewise.
4821 * nss/makedb.c: Likewise.
4822 * iconv/iconvconfig.c: Likewise.
4823 * iconv/iconv_prog.c: Likewise.
4824 * elf/ldconfig.c: Likewise.
4825 * elf/pldd.c: Likewise.
4826 * elf/sotruss.ksh: Likewise.
4827 * catgets/gencat.c: Likewise.
4828 * csu/version.c: Likewise.
4829 * elf/ldd.bash.in: Likewise.
4830 * elf/sprof.c (print_version): Likewise.
4831 * locale/programs/locale.c: Likewise.
4832 * locale/programs/localedef.c: Likewise.
4833 * login/programs/pt_chown.c: Likewise.
4834 * nscd/nscd.c (print_version): Likewise.
4835 * debug/xtrace.sh: Likewise.
4836 * malloc/memusage.sh: Likewise.
4837 * malloc/mtrace.pl: Likewise.
4838 * debug/catchsegv.sh: Likewise.
4840 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4842 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4845 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4848 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4849 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4851 * iconv/gconv_int.h: Likewise.
4852 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4853 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4854 from libc for GLIBC_2.16.
4855 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4856 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4857 * wcsmbs/uchar.h: Really define mbstate_t.
4858 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4859 * wcsmbs/c16rtomb.c: New file.
4860 * wcsmbs/mbrtoc16.c: New file.
4861 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4863 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4864 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4866 * wcsmbs/wchar.h: Add missing __restrict.
4868 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4871 * time/Makefile (routines): Add timespec_get.
4872 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4873 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4874 timespec for ISO C11.
4875 * time/timespec_get.c: New file.
4876 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4877 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4880 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4881 * stdlib/stdlib.h: Declare aligned_alloc.
4882 * Versions.def: Add GLIBC_2.16 for libc.
4883 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4886 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4889 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4893 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4896 * assert/assert.h (static_assert): Define.
4898 * version.h: Update for 2.16 development version.
4901 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4904 * version.h (RELEASE): Bump for 2.15 release.
4905 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4907 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4908 Patch by Marek Polacek <mpolacek@redhat.com>.
4910 * bits/byteswap.h: Protect long long constants with __extension__.
4911 * sysdeps/i386/bits/byteswap.h: Likewise.
4912 * sysdeps/ia64/bits/byteswap.h: Likewise.
4913 * sysdeps/s390/bits/byteswap.h: Likewise.
4914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4916 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4921 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4923 2011-12-23 Marek Polacek <polacek@redhat.com>
4925 * elf/dl-addr.c (determine_info): Add inline keyword.
4926 * elf/tst-auditmod4b.c (check_avx): Likewise.
4927 * elf/tst-auditmod6b.c (check_avx): Likewise.
4928 * elf/tst-auditmod6c.c (check_avx): Likewise.
4929 * elf/tst-auditmod7b.c (check_avx): Likewise.
4931 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4933 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4936 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4939 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4940 processing for last bytes.
4942 2011-08-06 Bruno Haible <bruno@clisp.org>
4945 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4946 U+0385, not to U+1FEE.
4949 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4950 entry for U+00A5 U+0301.
4952 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4955 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4956 buffer for the output is too small.
4958 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4962 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4963 SSE flags if possible.
4965 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4969 processing for last bytes.
4971 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4973 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4974 (syscall-list-default-options, syscall-list-default-condition)
4975 (syscall-list-includes): Define.
4976 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4977 list of ABIs and options and #if conditions for each ABI. Do not
4978 handle common syscalls between ABIs specially.
4979 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4981 (syscall-list-variants, syscall-list-32bit-options)
4982 (syscall-list-32bit-condition, syscall-list-64bit-options)
4983 (syscall-list-64bit-condition): Define.
4984 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4985 (syscall-list-variants, syscall-list-32bit-options)
4986 (syscall-list-32bit-condition, syscall-list-64bit-options)
4987 (syscall-list-64bit-condition): Define.
4988 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4990 (syscall-list-variants, syscall-list-32bit-options)
4991 (syscall-list-32bit-condition, syscall-list-64bit-options)
4992 (syscall-list-64bit-condition): Define.
4993 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4995 (syscall-list-variants, syscall-list-32bit-options)
4996 (syscall-list-32bit-condition, syscall-list-64bit-options)
4997 (syscall-list-64bit-condition): Define.
4999 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5001 * locale/iso-639.def: Add brx entry.
5004 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5005 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5007 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5008 __feraiseexcept_renamed.
5010 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5013 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5014 EPOLLET with unsigned values.
5015 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5018 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5019 to large cancellation.
5020 * math/s_cacoshf.c: Likewise.
5021 * math/s_cacoshl.c: Likewise.
5023 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5027 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5028 * math/s_cacoshf.c: Likewise.
5029 * math/s_cacoshl.c: Likewise.
5031 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5034 * iconv/gconv.h: Define __GCONV_SWAP.
5035 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5036 * iconvdata/utf-16.c: Likewise.
5037 * iconvdata/utf-32.c: Likewise.
5039 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5043 numerator after shifting it by one limb.
5045 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5047 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5048 under [__USE_EXTERN_INLINES].
5050 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5053 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5055 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5058 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5060 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5061 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5062 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5063 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5064 for strncasecmp/strncasecmp_l compilation.
5065 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5066 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5068 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5071 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5074 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5077 * time/tzfile.c (__tzfile_read): Check values from file header.
5079 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5081 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5082 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5083 * powerpc/powerpc32/dl-start.S: Likewise.
5084 * powerpc/powerpc32/elf/start.S: Likewise.
5085 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5086 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5087 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5088 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5089 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5090 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5091 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5092 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5093 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5094 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5095 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5096 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5097 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5098 * powerpc/powerpc32/memset.S: Likewise.
5099 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5100 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5101 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5102 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5103 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5104 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5105 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5106 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5107 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5108 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5110 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5111 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5113 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115 * math/libm-test.inc: Added more nearbyint tests.
5116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5117 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5121 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5123 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5126 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5128 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5129 Add wcscpy-ssse3 wcscpy-c.
5130 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5131 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5132 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5133 * sysdeps/x86_64/wcschr.S: New file.
5134 * sysdeps/x86_64/wcsrchr.S: New file.
5135 * string/test-strcmp.c: Remove checking of wcscmp function for
5137 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5138 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5139 wcsrchr-sse2 wcsrchr-c.
5140 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5141 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5142 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5143 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5144 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5145 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5146 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5147 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5148 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5149 * wcsmbc/wcschr.c (WCSCHR): New macro.
5151 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5153 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5154 * wcsmbs/test-wcsrchr.c: New file.
5155 * string/test-strrchr.c: Add wcsrchr support.
5157 * wcsmbs/test-wcscpy.c: New file.
5158 * string/test-strcpy.c: Add wcscpy support.
5161 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5163 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5166 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5169 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5171 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5174 Minor optimizations.
5176 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5177 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5178 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5180 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5182 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5183 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5184 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5185 for gcc to avoid warnings.
5186 * inet/Makefile (tests): Add tst-checks.
5187 * inet/tst-checks.c: New file.
5189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5192 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5195 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5196 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5198 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5200 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5202 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5205 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5207 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5210 conditional on GCC version.
5211 (__arch_compare_and_exchange_val_8_acq)
5212 (__arch_compare_and_exchange_val_16_acq)
5213 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5214 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5215 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5217 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5219 * sysdeps/sh/backtrace.c: New file.
5221 2011-12-02 Andreas Schwab <schwab@redhat.com>
5223 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5226 2011-12-01 Andreas Schwab <schwab@redhat.com>
5228 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5229 falling back to utime.
5231 2011-11-30 Andreas Schwab <schwab@redhat.com>
5233 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5234 expectations for float.
5236 2011-11-29 Andreas Schwab <schwab@redhat.com>
5238 * locale/weight.h (findidx): Add parameter len.
5239 * locale/weightwc.h (findidx): Likewise.
5240 * posix/fnmatch_loop.c (FCT): Adjust caller.
5241 * posix/regcomp.c (build_equiv_class): Likewise.
5242 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5243 * posix/regexec.c (check_node_accept_bytes): Likewise.
5244 * string/strcoll_l.c (STRCOLL): Likewise.
5245 * string/strxfrm_l.c (STRXFRM): Likewise.
5247 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5249 * Makefile.in: Remove CVSOPT handling.
5250 * configure.in: Remove use of AC_REVISION.
5251 * iconvdata/Makefile (distribute): No need to filter out CVS.
5252 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5255 2011-11-16 Andreas Schwab <schwab@redhat.com>
5257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5258 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5259 [USE_AS_STRNCASECMP_L]: Likewise.
5260 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5261 NO_TLS_DIRECT_SEG_REFS.
5262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5263 Fix argument offsets for non-PIC.
5264 [USE_AS_STRNCASECMP_L]: Likewise.
5265 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5266 NO_TLS_DIRECT_SEG_REFS.
5268 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5270 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5272 * locale/loadlocale.c (_nl_load_locale): Likewise.
5274 2011-11-15 Andreas Schwab <schwab@redhat.com>
5276 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5277 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5278 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5279 (SYSCALL_GETTIME): Set errno on error.
5281 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5282 count references to noai6ai_cached.
5284 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5286 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5288 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5289 FD_CLOEXEC for /proc/self/maps.
5291 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5292 FD_CLOEXEC for /proc/meminfo.
5294 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5297 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5298 FD_CLOEXEC for given file.
5300 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5302 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5303 FD_CLOEXEC for /etc/hosts.
5304 (_gethtent): Likewise.
5306 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5308 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5309 cancellation and set FD_CLOEXEC for /etc/netgroup.
5311 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5312 reading /etc/publickey.
5314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5315 allow cancellation when reading /etc/group.
5317 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5319 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5321 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5322 when using data file.
5324 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5326 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5327 (write_nis_obj): Use "c" and "e" in fopen.
5329 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5331 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5333 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5335 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5337 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5340 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5342 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5344 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5346 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5347 file parsing and set FD_CLOEXEC.
5349 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5351 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5353 2011-11-14 Andreas Schwab <schwab@redhat.com>
5355 * malloc/arena.c (arena_get2): Don't call reused_arena when
5356 _int_new_arena failed.
5358 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5360 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5361 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5366 to compile strcasecmp and strncasecmp.
5367 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5368 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5372 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5374 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5375 locale-defines.sym to gen-as-const-headers.
5376 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5377 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5379 to compile strcasecmp and strncasecmp.
5380 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5381 strcasecmp_l and strncasecmp_l.
5382 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5383 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5384 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5385 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5386 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5387 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5388 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5389 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5390 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5391 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5392 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5394 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5396 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5397 result of SYSDEP_GETTIME_CPU to retval.
5398 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5399 parameter list to macro. Remove trailing semicolon. Adjust users.
5401 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5404 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5406 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5408 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5409 from unused variable.
5411 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5413 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5416 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5419 * sunrpc/rpc_prot.c (rejected): Fix case value.
5421 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5422 unsigned long long int to avoid warnings in shift.
5424 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5426 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5429 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5430 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5431 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5433 * nis/nis_table.c (nis_list): Use variable of correct type for
5434 result of __follow_path call.
5436 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5439 of math functions ceil, trunc, floor, round, and sqrt, when
5440 avaliable on the platform.
5441 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5444 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5445 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5447 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5449 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5450 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5452 2011-11-11 Roland McGrath <roland@hack.frob.com>
5454 * include/unistd.h: Fix __readlink return type.
5455 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5457 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5459 * stdlib/ucontext.h: Undo last change for makecontext.
5461 2011-11-11 Andreas Schwab <schwab@redhat.com>
5463 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5465 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5466 * setjmp/setjmp.h: Mark functions as non-leaf.
5467 * setjmp/bits/setjmp2.h: Likewise.
5468 * stdlib/ucontext.h: Likewise.
5470 2011-11-10 Andreas Schwab <schwab@redhat.com>
5472 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5473 (reused_arena): Don't check arena limit.
5474 (arena_get2): Atomically check arena limit.
5476 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5478 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5479 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5484 2011-11-07 Andreas Schwab <schwab@redhat.com>
5486 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5487 handler when locking.
5489 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5490 Fix size of allocated buffer.
5492 2011-11-04 Andreas Schwab <schwab@redhat.com>
5495 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5496 declarations for long double functions.
5497 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5499 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5501 2011-11-03 Andreas Schwab <schwab@redhat.com>
5503 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5506 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5509 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5511 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5513 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5515 * include/alloca.h (stackinfo_alloca_round): Define.
5516 (extend_alloca): Use it.
5517 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5518 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5521 * scripts/check-local-headers.sh: Ignore libaudit.h.
5523 * nscd/Makefile (extra-objs): Make recursively expanded.
5525 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5527 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5530 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5531 * posix/tst-rfc3484-2.c: Likewise.
5532 * posix/tst-rfc3484-3.c: Likewise.
5534 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5536 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5538 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5539 process_vm_writev from libc using GLIBC_2.15 version.
5541 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5543 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5545 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5548 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5551 * nss/getent.c (initgroups_keys): Show error message in case no group
5554 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5555 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5556 __bump_nl_timestamp.
5557 * nscd/connections (nscd_init): When host database is served open
5558 netlink socket and request notification about configuration changes.
5559 (main_loop_poll): Track netlink file descriptor and bump timestamp
5560 in case data becomes available.
5561 (main_loop_epoll): Likewise.
5562 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5563 (database_pers_head): Add extra_data fileds.
5564 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5565 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5566 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5568 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5569 in6ai data, call __free_in6ai.
5570 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5572 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5573 interface information. Reuse previous data if netlink timestamp
5575 (__bump_nl_timestamp): New function.
5576 (__free_in6ai): New function.
5578 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5580 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5581 close_not_cancel_no_status here.
5582 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5584 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5587 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5590 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5591 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5592 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5594 2011-07-03 Andreas Jaeger <aj@suse.de>
5597 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5598 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5599 * math/libm-test.inc (sin_test): Add test case.
5601 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5604 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5605 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5607 * elf/chroot_canon.c (chroot_canon): Cleanups.
5609 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5612 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5613 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5615 * string/test-strchr.c: Make usable for strchrnul testing.
5616 * string/test-strchrnul.c: New file.
5617 * string/Makefile (strop-tests): Add strchrnul.
5619 * po/it.po: Update from translation team.
5620 * po/es.po: Likewise.
5622 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5624 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5625 the three constants needed as parameters. Drop the others.
5626 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5627 __m128i_strloadu_tolower.
5628 Create and initialize variable zero and use it in all the places
5629 where _mm_setzero_si128 was used.
5631 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5632 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5633 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5634 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5636 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5637 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5638 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5639 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5640 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5641 __mpranred, __mptan.
5642 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5643 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5644 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5645 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5646 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5647 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5649 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5650 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5652 2011-10-28 Andreas Schwab <schwab@redhat.com>
5654 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5656 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5659 wide char related routines to wcsmbs subdir.
5661 2011-10-27 Andreas Schwab <schwab@redhat.com>
5664 * misc/sys/cdefs.h (__THROWNL): Define.
5665 * posix/unistd.h: Use __THREADNL instead of __THREAD
5666 for memory synchronization functions.
5668 2011-10-26 Roland McGrath <roland@hack.frob.com>
5671 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5673 * manual/stdio.texi (Obstack Streams): Node removed.
5675 2011-10-26 Andreas Schwab <schwab@redhat.com>
5677 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5681 * math/math_private.h (math_force_eval): Allow non-addressable
5683 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5685 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5697 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5699 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5700 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5701 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5702 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5703 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5704 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5705 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5706 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5707 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5708 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5709 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5710 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5711 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5712 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5713 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5714 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5715 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5716 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5717 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5719 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5720 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5723 place. Use VEX encoding when compiling for AVX.
5725 2011-10-25 Andreas Schwab <schwab@redhat.com>
5727 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5728 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5730 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5732 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5734 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5735 useless if() expression.
5736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5749 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5751 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5756 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5758 2011-10-25 Andreas Schwab <schwab@redhat.com>
5760 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5762 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5766 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5767 .text section. Avoid duplicate constants.
5768 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5780 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5785 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5791 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5792 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5793 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5794 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5795 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5797 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5798 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5799 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5801 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5802 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5803 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5804 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5806 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5807 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5810 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5811 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5812 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5814 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5816 * sysdeps/x86_64/dla.h: Move to ...
5817 * sysdeps/x86_64/fpu/dla.h: ...here.
5818 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5819 situations. Use __builtin_fma only for gcc 4.6 and up.
5821 * config.make.in: Add have-mfma4 entry.
5822 * configure.in: Substitute libc_cv_cc_fma4.
5823 * math/Makefile (dbl-only-routines): Add sincostab.
5824 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5825 Use __sincostab not sincos.
5826 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5833 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5834 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5835 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5836 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5838 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5839 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5841 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5842 define aliases when function name is a macro.
5843 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5844 sysdeps/ieee754/dbl-64/sincos.tbl.
5845 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5846 fma4-enabled routines.
5847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5852 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5854 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5856 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5857 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5858 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5859 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5860 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5861 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5862 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5863 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5864 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5865 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5867 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5868 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5869 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5874 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5875 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5876 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5878 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5889 2011-10-24 Andreas Schwab <schwab@redhat.com>
5891 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5893 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5895 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5897 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5899 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5901 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5902 Remove unused variable magic_bits.
5903 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5905 * string/strnlen.c: Define and use STRNLEN macro.
5906 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5907 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5908 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5909 * wcsmbs/wcslen.c: Define and use WCSLEN.
5910 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5911 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5912 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5913 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5914 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5915 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5916 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5918 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5921 strnlen-sse2-no-bsf.
5922 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5924 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5925 Add strnlen support.
5926 (USE_AS_STRNLEN): New macro.
5927 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5928 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5929 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5930 * sysdeps/x86_64/wcslen.S: New file.
5932 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5935 XMM-moves are used for copying on small sizes.
5937 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5939 * wcsmbs/Makefile (strop-tests): Add wcschr.
5940 * wcsmbs/test-wcschr.c: New file.
5941 * string/test-strchr.c: Update.
5945 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5947 * wcsmbs/Makefile (strop-tests): Add wcslen.
5948 * wcsmbs/test-wcslen.c: New file.
5949 * string/test-strlen.c: Update.
5953 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5955 * po/it.po: Update from translation team.
5957 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5959 * sysdeps/x86_64/wcscmp.S: Update.
5960 Fix wrong comparison semantics.
5961 wcscmp shall use signed comparison not unsigned.
5962 Don't use substraction to avoid overflow bug.
5963 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5964 * wcsmbc/wcscmp.c: Likewise.
5965 * string/test-strcmp.c: Likewise.
5966 Add new tests to check cases with negative values.
5968 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5970 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5971 * sysdeps/x86_64/dla.h: ...here. New file.
5972 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5982 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5985 __ynl_finite aliases.
5987 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5991 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5993 [DLA_FMA] (EMULV): Use DLA_FMA.
5994 [DLA_FMA] (MUL12): Use EMULV.
5995 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5996 that are not needed.
5997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6005 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6007 * math/s_nan.c: Undef __nan.
6008 * math/s_nanf.c: Undef __nanf.
6009 * math/s_nanl.c: Undef __nanl.
6010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6013 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6015 * math/s_catan.c: Add branch predictions.
6016 * math/s_catanf.c: Likewise.
6017 * math/s_catanh.c: Likewise.
6018 * math/s_catanhf.c: Likewise.
6019 * math/s_catanhl.c: Likewise.
6020 * math/s_catanl.c: Likewise.
6021 * math/s_cexp.c: Likewise.
6022 * math/s_cexpf.c: Likewise.
6023 * math/s_cexpl.c: Likewise.
6024 * math/s_clog.c: Likewise.
6025 * math/s_clog10.c: Likewise.
6026 * math/s_clog10f.c: Likewise.
6027 * math/s_clog10l.c: Likewise.
6028 * math/s_clogf.c: Likewise.
6029 * math/s_clogl.c: Likewise.
6030 * math/s_csqrt.c: Likewise.
6031 * math/s_csqrtf.c: Likewise.
6032 * math/s_csqrtl.c: Likewise.
6033 * math/s_ctanf.c: Likewise.
6034 * math/s_ctanh.c: Likewise.
6035 * math/s_ctanhf.c: Likewise.
6036 * math/s_ctanhl.c: Likewise.
6037 * math/s_ctanl.c: Likewise.
6039 * math/math_private.h: Define __nan, __nanf, __nanl.
6040 * math/s_cacosh.c: Include <math_private.h>.
6041 * math/s_cacoshl.c: Likewise.
6042 * math/s_casinh.c: Likewise.
6043 * math/s_casinhf.c: Likewise.
6044 * math/s_casinhl.c: Likewise.
6045 * math/s_ccos.c: Rely entire on ccosh.
6046 * math/s_ccosf.c: Rely entire on ccoshf.
6047 * math/s_ccosl.c: Rely entirely on ccoshl.
6048 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6049 Remove tests for FE_INVALID.
6050 * math/s_ccoshf.c: Likewise.
6051 * math/s_ccoshl.c: Likewise.
6052 * math/s_csin.c: Likewise.
6053 * math/s_csinf.c: Likewise.
6054 * math/s_csinh.c Likewise.
6055 * math/s_csinhf.c: Likewise.
6056 * math/s_csinhl.c: Likewise.
6057 * math/s_csinl.c: Likewise.
6058 * math/s_ctan.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6060 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6063 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6066 compilation problems.
6068 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6071 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6073 * sysdeps/i386/configure.in: Test for -mfma4 option.
6074 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6075 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6076 COMMON_CPUID_INDEX_80000001.
6077 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6078 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6079 use it if FMA3 is not supported.
6080 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6082 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6083 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6085 2011-10-20 Andreas Schwab <schwab@redhat.com>
6088 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6089 it would create a cycle with a link time dependency.
6091 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6093 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6095 * string/Makefile (strop-tests): Add rawmemchr.
6096 * string/test-rawmemchr.c: New file.
6098 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6100 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6101 when compiling str{,n}casecmp and when AVX is available. Hook up
6102 new optimized code in initializers.
6104 2011-10-19 Andreas Schwab <schwab@redhat.com>
6106 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6107 __feraiseexcept instead of feraiseexcept.
6109 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6111 * math/math_private.h: Define defaults for libc_fetestexcept and
6113 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6114 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6116 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6118 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6119 libc_fetestexcept and libc_feupdateenv.
6121 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6122 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6123 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6124 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6125 libc_feholdexcept_setround.
6127 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6128 Add s_nearbyint-c and s_nearbyintf-c.
6129 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6132 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6136 * math/math_private.h: Define defaults for libc_fegetround,
6137 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6138 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6139 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6141 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6144 Remove comments and hacks for old compiler versions.
6145 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6146 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6149 2011-10-18 Andreas Schwab <schwab@redhat.com>
6151 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6152 (__feraiseexcept_renamed): Add __NTH.
6153 (feraiseexcept): Add __NTH. Rename local variables to fix
6154 namespace violations.
6156 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6160 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6162 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6163 recently added interfaces.
6164 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6166 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6167 about macro parameter expansion.
6169 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6170 __NO_MATH_INLINES is defined. Cleanups.
6172 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6173 and __floorf is target has SSE4.1.
6174 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6175 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6176 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6177 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6179 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6183 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6185 2011-10-17 Andreas Schwab <schwab@redhat.com>
6187 * misc/sys/cdefs.h: Fix last change.
6189 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6192 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6194 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6196 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6197 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6202 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6205 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6206 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6207 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6208 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6209 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6211 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6212 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6213 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6214 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6215 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6216 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6217 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6219 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6220 ceil, ceilf, floor, floorf.
6222 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6223 Perform IRELATIVE relocations last.
6225 * elf/do-rel.h: Add another parameter nrelative, replacing the
6226 local variable with the same name. Change name of the function
6227 to end in Rel or Rela (uppercase).
6228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6229 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6230 elf_dynamic_do_##reloc function.
6232 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6234 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6235 is sufficient, at least on modern CPUs.
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6239 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6240 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6242 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6244 * math/bits/math-finite.h: Add entries for exp.
6245 * math/e_expl.c: Add __*_finite alias.
6246 * sysdeps/i386/fpu/e_exp.S: Likewise.
6247 * sysdeps/i386/fpu/e_expf.S: Likewise.
6248 * sysdeps/i386/fpu/e_expl.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6250 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6254 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6257 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6258 is sufficient, at least on modern CPUs.
6260 * ctype/ctype-info.c (__ctype_init): Define.
6261 * include/ctype.h (__ctype_init): Declare.
6262 (__ctype_b_loc): The variable is always initialized.
6263 (__ctype_toupper_loc): Likewise.
6264 (__ctype_tolower_loc): Likewise.
6265 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6266 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6268 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6270 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6272 * configure.in: Also look in $cxxmachine/include for C++ system
6275 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6277 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6278 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6279 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6280 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6281 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6282 (USE_AS_WMEMCMP): New macro.
6284 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6285 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6286 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6287 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6289 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6290 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6292 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6293 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6294 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6295 (USE_AS_WMEMCMP): New macro.
6296 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6297 * sysdeps/string/test-memcmp.c: Update.
6300 * wcsmbs/wmemcmp.c: Update.
6301 (WMEMCMP): New macro.
6304 2011-10-12 Andreas Jaeger <aj@suse.de>
6307 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6309 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6311 * libio/iofwide.c (do_length): Avoid warning.
6313 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6315 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6317 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6319 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6320 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6321 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6322 * sysdeps/i386/i686/fpu/e_log.S: New file.
6323 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6324 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6326 * ctype/ctype.h: Add support for inlined isXXX functions when
6329 2011-10-14 Andreas Schwab <schwab@redhat.com>
6331 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6335 2011-10-13 Roland McGrath <roland@hack.frob.com>
6338 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6340 2011-10-13 Andreas Schwab <schwab@redhat.com>
6342 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6343 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6346 * sysdeps/x86_64/memrchr.S: Check for zero size.
6348 * string/stratcliff.c: Add memrchr tests.
6350 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6353 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6354 rawmemchr-sse2 rawmemchr-sse2-bsf.
6355 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6356 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6357 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6358 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6359 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6360 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6361 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6362 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6363 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6364 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6365 * string/memrchr.c (MEMRCHR): New macro.
6367 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6369 Add integration with gcc's -ffinite-math-only and optimize wrapper
6371 * Versions.def: Define GLIBC_2.15 version for libm.
6372 * math/Makefile (headers): Add bits/math-finite.h.
6373 * math/bits/math-finite.h: New file.
6374 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6375 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6376 * math/e_acoshl.c: Add __*_finite alias.
6377 * math/e_acosl.c: Likewise.
6378 * math/e_asinl.c: Likewise.
6379 * math/e_atan2l.c: Likewise.
6380 * math/e_atanhl.c: Likewise.
6381 * math/e_coshl.c: Likewise.
6382 * math/e_exp10.c: Likewise.
6383 * math/e_exp10f.c: Likewise.
6384 * math/e_exp10l.c: Likewise.
6385 * math/e_exp2l.c: Likewise.
6386 * math/e_fmodl.c: Likewise.
6387 * math/e_gammal_r.c: Likewise.
6388 * math/e_hypotl.c: Likewise.
6389 * math/e_j0l.c: Likewise.
6390 * math/e_j1l.c: Likewise.
6391 * math/e_jnl.c: Likewise.
6392 * math/e_lgammal_r.c: Likewise.
6393 * math/e_log10l.c: Likewise.
6394 * math/e_log2l.c: Likewise.
6395 * math/e_logl.c: Likewise.
6396 * math/e_powl.c: Likewise.
6397 * math/e_sinhl.c: Likewise.
6398 * math/e_sqrtl.c: Likewise.
6399 * math/e_scalb.c: Completely rewritten and optimized.
6400 * math/e_scalbf.c: Likewise.
6401 * math/e_scalbl.c: Likewise.
6402 * math/w_acos.c: Likewise.
6403 * math/w_acosf.c: Likewise.
6404 * math/w_acosl.c: Likewise.
6405 * math/w_acosh.c: Likewise.
6406 * math/w_acoshf.c: Likewise.
6407 * math/w_acoshl.c: Likewise.
6408 * math/w_asin.c: Likewise.
6409 * math/w_asinf.c: Likewise.
6410 * math/w_asinl.c: Likewise.
6411 * math/w_atan2.c: Likewise.
6412 * math/w_atan2f.c: Likewise.
6413 * math/w_atan2l.c: Likewise.
6414 * math/w_atanh.c: Likewise.
6415 * math/w_atanhf.c: Likewise.
6416 * math/w_atanhl.c: Likewise.
6417 * math/w_exp10.c: Likewise.
6418 * math/w_exp10f.c: Likewise.
6419 * math/w_exp10l.c: Likewise.
6420 * math/w_fmod.c: Likewise.
6421 * math/w_fmodf.c: Likewise.
6422 * math/w_fmodl.c: Likewise.
6423 * math/w_j0.c: Likewise.
6424 * math/w_j0f.c: Likewise.
6425 * math/w_j0l.c: Likewise.
6426 * math/w_j1.c: Likewise.
6427 * math/w_j1f.c: Likewise.
6428 * math/w_j1l.c: Likewise.
6429 * math/w_jn.c: Likewise.
6430 * math/w_jnf.c: Likewise.
6431 * math/w_log.c: Likewise.
6432 * math/w_logf.c: Likewise.
6433 * math/w_logl.c: Likewise.
6434 * math/w_log10.c: Likewise.
6435 * math/w_log10f.c: Likewise.
6436 * math/w_log10l.c: Likewise.
6437 * math/w_log2.c: Likewise.
6438 * math/w_log2f.c: Likewise.
6439 * math/w_log2l.c: Likewise.
6440 * math/w_pow.c: Likewise.
6441 * math/w_powf.c: Likewise.
6442 * math/w_powl.c: Likewise.
6443 * math/w_remainder.c: Likewise.
6444 * math/w_remainderf.c: Likewise.
6445 * math/w_remainderl.c: Likewise.
6446 * math/w_scalb.c: Likewise.
6447 * math/w_scalbf.c: Likewise.
6448 * math/w_scalbl.c: Likewise.
6449 * math/w_sqrt.c: Likewise.
6450 * math/w_sqrtf.c: Likewise.
6451 * math/w_sqrtl.c: Likewise.
6452 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6453 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6455 * math/math_private.h: Declare __kernel_standard_f.
6456 * math/w_cosh.c: Remove cruft and optimize a bit.
6457 * math/w_coshf.c: Likewise.
6458 * math/w_coshl.c: Likewise.
6459 * math/w_exp2.c: Likewise.
6460 * math/w_exp2f.c: Likewise.
6461 * math/w_exp2l.c: Likewise.
6462 * math/w_hypot.c: Likewise.
6463 * math/w_hypotf.c: Likewise.
6464 * math/w_hypotl.c: Likewise.
6465 * math/w_lgamma.c: Likewise.
6466 * math/w_lgamma_r.c: Likewise.
6467 * math/w_lgammaf.c: Likewise.
6468 * math/w_lgammaf_r.c: Likewise.
6469 * math/w_lgammal.c: Likewise.
6470 * math/w_lgammal_r.c: Likewise.
6471 * math/w_sinh.c: Likewise.
6472 * math/w_sinhf.c: Likewise.
6473 * math/w_sinhl.c: Likewise.
6474 * math/w_tgamma.c: Likewise.
6475 * math/w_tgammaf.c: Likewise.
6476 * math/w_tgammal.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6479 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6480 Minor optimizations. Pretty printing. Remove cruft.
6481 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6484 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6485 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6486 * sysdeps/i386/fpu/e_asin.S: Likewise.
6487 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6488 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6489 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6490 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6492 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6493 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6494 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6495 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6496 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6497 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6498 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6499 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6500 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6501 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6502 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6503 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6504 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6505 * sysdeps/i386/fpu/e_log.S: Likewise.
6506 * sysdeps/i386/fpu/e_log10.S: Likewise.
6507 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6508 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6509 * sysdeps/i386/fpu/e_log2.S: Likewise.
6510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6511 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6512 * sysdeps/i386/fpu/e_logf.S: Likewise.
6513 * sysdeps/i386/fpu/e_logl.S: Likewise.
6514 * sysdeps/i386/fpu/e_pow.S: Likewise.
6515 * sysdeps/i386/fpu/e_powf.S: Likewise.
6516 * sysdeps/i386/fpu/e_powl.S: Likewise.
6517 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6518 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6519 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6520 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6521 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6522 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6523 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6524 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6525 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6547 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6549 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6551 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6553 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6554 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6555 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6556 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6557 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6560 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6561 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6562 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6617 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6618 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6619 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6623 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6624 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6625 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6626 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6627 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6628 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6629 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6633 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6634 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6635 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6636 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6637 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6638 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6639 (__isnanf): Likewise.
6640 (__isinf_ns): Likewise.
6641 (__isinf_nsf): Likewise.
6642 (__finite): Likewise.
6643 (__finitef): Likewise.
6644 (__ieee754_sqrt): Define as macro.
6645 (__ieee754_sqrtf): Define as macro.
6646 (__ieee754_sqrtl): Define as macro.
6647 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6649 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6650 __FINITE_MATH_ONLY__ consistent.
6651 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6653 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6655 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6658 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6660 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6662 * po/ja.po: Update from translation team.
6664 2011-10-08 Roland McGrath <roland@hack.frob.com>
6666 * locale/programs/locarchive.c (prepare_address_space): New function.
6667 (create_archive, enlarge_archive, open_archive): Use it.
6669 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6670 inside [SHARED], where it is used.
6672 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6674 * nss/getent.c (netgroup_keys): Remove unused variable.
6675 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6677 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6679 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6680 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6683 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6684 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6685 * math/Makefile (libm-calls): Add s_isinf_ns.
6686 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6687 * math/multc3.c: Likewise.
6688 * math/s_casin.c: Likewise.
6689 * math/s_casinf.c: Likewise.
6690 * math/s_casinl.c: Likewise.
6691 * math/s_ccos.c: Likewise.
6692 * math/s_ccosf.c: Likewise.
6693 * math/s_ccosl.c: Likewise.
6694 * math/s_ctan.c: Likewise.
6695 * math/s_ctanf.c: Likewise.
6696 * math/s_ctanh.c: Likewise.
6697 * math/s_ctanhf.c: Likewise.
6698 * math/s_ctanhl.c: Likewise.
6699 * math/s_ctanl.c: Likewise.
6700 * math/w_fmod.c: Likewise.
6701 * math/w_fmodf.c: Likewise.
6702 * math/w_fmodl.c: Likewise.
6703 * math/w_remainder.c: Likewise.
6704 * math/w_remainderf.c: Likewise.
6705 * math/w_remainderl.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6707 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6710 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6711 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6712 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6713 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6715 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6717 * stdio-common/printf_fphex.c: Likewise.
6718 * stdio-common/printf_size.c: Likewise.
6720 * math/e_exp10.c: Include math_private.h using <...> not "...".
6721 * math/e_exp10f.c: Likewise.
6722 * math/e_exp10l.c: Likewise.
6723 * math/e_exp2l.c: Likewise.
6724 * math/e_j0l.c: Likewise.
6725 * math/e_j1l.c: Likewise.
6726 * math/e_jnl.c: Likewise.
6727 * math/e_lgammal_r.c: Likewise.
6728 * math/e_rem_pio2l.c: Likewise.
6729 * math/e_scalb.c: Likewise.
6730 * math/e_scalbf.c: Likewise.
6731 * math/e_scalbl.c: Likewise.
6732 * math/k_cosl.c: Likewise.
6733 * math/k_sinl.c: Likewise.
6734 * math/k_tanl.c: Likewise.
6735 * math/s_cacoshf.c: Likewise.
6736 * math/s_catan.c: Likewise.
6737 * math/s_catanf.c: Likewise.
6738 * math/s_catanh.c: Likewise.
6739 * math/s_catanhf.c: Likewise.
6740 * math/s_catanhl.c: Likewise.
6741 * math/s_catanl.c: Likewise.
6742 * math/s_ccosh.c: Likewise.
6743 * math/s_ccoshf.c: Likewise.
6744 * math/s_ccoshl.c: Likewise.
6745 * math/s_cexp.c: Likewise.
6746 * math/s_cexpf.c: Likewise.
6747 * math/s_cexpl.c: Likewise.
6748 * math/s_clog.c: Likewise.
6749 * math/s_clog10.c: Likewise.
6750 * math/s_clog10f.c: Likewise.
6751 * math/s_clog10l.c: Likewise.
6752 * math/s_clogf.c: Likewise.
6753 * math/s_clogl.c: Likewise.
6754 * math/s_csin.c: Likewise.
6755 * math/s_csinf.c: Likewise.
6756 * math/s_csinh.c: Likewise.
6757 * math/s_csinhf.c: Likewise.
6758 * math/s_csinhl.c: Likewise.
6759 * math/s_csinl.c: Likewise.
6760 * math/s_csqrt.c: Likewise.
6761 * math/s_csqrtf.c: Likewise.
6762 * math/s_csqrtl.c: Likewise.
6763 * math/s_ctan.c: Likewise.
6764 * math/s_ctanf.c: Likewise.
6765 * math/s_ctanh.c: Likewise.
6766 * math/s_ctanhf.c: Likewise.
6767 * math/s_ctanhl.c: Likewise.
6768 * math/s_ctanl.c: Likewise.
6769 * math/s_ldexp.c: Likewise.
6770 * math/s_ldexpf.c: Likewise.
6771 * math/s_ldexpl.c: Likewise.
6772 * math/s_significand.c: Likewise.
6773 * math/s_significandf.c: Likewise.
6774 * math/s_significandl.c: Likewise.
6775 * math/w_acos.c: Likewise.
6776 * math/w_acosf.c: Likewise.
6777 * math/w_acosh.c: Likewise.
6778 * math/w_acoshf.c: Likewise.
6779 * math/w_acoshl.c: Likewise.
6780 * math/w_acosl.c: Likewise.
6781 * math/w_asin.c: Likewise.
6782 * math/w_asinf.c: Likewise.
6783 * math/w_asinl.c: Likewise.
6784 * math/w_atan2.c: Likewise.
6785 * math/w_atan2f.c: Likewise.
6786 * math/w_atan2l.c: Likewise.
6787 * math/w_atanh.c: Likewise.
6788 * math/w_atanhf.c: Likewise.
6789 * math/w_atanhl.c: Likewise.
6790 * math/w_cosh.c: Likewise.
6791 * math/w_coshf.c: Likewise.
6792 * math/w_coshl.c: Likewise.
6793 * math/w_dremf.c: Likewise.
6794 * math/w_exp10.c: Likewise.
6795 * math/w_exp10f.c: Likewise.
6796 * math/w_exp10l.c: Likewise.
6797 * math/w_exp2.c: Likewise.
6798 * math/w_exp2f.c: Likewise.
6799 * math/w_fmod.c: Likewise.
6800 * math/w_fmodf.c: Likewise.
6801 * math/w_fmodl.c: Likewise.
6802 * math/w_hypot.c: Likewise.
6803 * math/w_hypotf.c: Likewise.
6804 * math/w_hypotl.c: Likewise.
6805 * math/w_j0.c: Likewise.
6806 * math/w_j0f.c: Likewise.
6807 * math/w_j0l.c: Likewise.
6808 * math/w_j1.c: Likewise.
6809 * math/w_j1f.c: Likewise.
6810 * math/w_j1l.c: Likewise.
6811 * math/w_jn.c: Likewise.
6812 * math/w_jnf.c: Likewise.
6813 * math/w_jnl.c: Likewise.
6814 * math/w_lgamma.c: Likewise.
6815 * math/w_lgamma_r.c: Likewise.
6816 * math/w_lgammaf.c: Likewise.
6817 * math/w_lgammaf_r.c: Likewise.
6818 * math/w_lgammal.c: Likewise.
6819 * math/w_lgammal_r.c: Likewise.
6820 * math/w_log.c: Likewise.
6821 * math/w_log10.c: Likewise.
6822 * math/w_log10f.c: Likewise.
6823 * math/w_log10l.c: Likewise.
6824 * math/w_log2.c: Likewise.
6825 * math/w_log2f.c: Likewise.
6826 * math/w_log2l.c: Likewise.
6827 * math/w_logf.c: Likewise.
6828 * math/w_logl.c: Likewise.
6829 * math/w_pow.c: Likewise.
6830 * math/w_powf.c: Likewise.
6831 * math/w_powl.c: Likewise.
6832 * math/w_remainder.c: Likewise.
6833 * math/w_remainderf.c: Likewise.
6834 * math/w_remainderl.c: Likewise.
6835 * math/w_scalb.c: Likewise.
6836 * math/w_scalbf.c: Likewise.
6837 * math/w_scalbl.c: Likewise.
6838 * math/w_sinh.c: Likewise.
6839 * math/w_sinhf.c: Likewise.
6840 * math/w_sinhl.c: Likewise.
6841 * math/w_sqrt.c: Likewise.
6842 * math/w_sqrtf.c: Likewise.
6843 * math/w_sqrtl.c: Likewise.
6844 * math/w_tgamma.c: Likewise.
6845 * math/w_tgammaf.c: Likewise.
6846 * math/w_tgammal.c: Likewise.
6848 * po/ja.po: Update from translation team.
6850 2011-09-29 Andreas Jaeger <aj@suse.de>
6853 * sunrpc/netname.c (netname2host): Fix logic.
6857 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6859 * math/w_remainder.c (__remainder): Likewise.
6860 * math/w_remainderf.c (__remainderf): Likewise.
6861 * math/libm-test.inc (remainder_test): Add test cases.
6863 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6865 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6868 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6870 * string/test-memcmp.c: Avoid unncessary #defines.
6871 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6873 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6875 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6876 Use new sse2 version for core i3 - i7 as it's faster
6878 (bit_Prefer_PMINUB_for_stringop): New.
6879 * sysdeps/x86_64/rawmemchr.S: Update.
6880 Replace with faster SSE2 version.
6881 * sysdeps/x86_64/memrchr.S: New file.
6882 * sysdeps/x86_64/memchr.S: Update.
6883 Replace with faster SSE2 version.
6885 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6887 * elf/dl-load.c (lose): Add cast to avoid warning.
6889 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6891 * po/ca.po: Update from translation team.
6893 * inet/getnetgrent_r.c: Hook up nscd.
6894 * nscd/Makefile (routines): Add nscd_netgroup.
6895 (nscd-modules): Add netgroupcache.
6896 (CFLAGS-netgroupcache.c): Define.
6897 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6898 (cache_search): Add const to second parameter.
6899 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6901 (dbs): Add netgrdb entry.
6902 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6903 (verify_persistent_db): Handle netgrdb.
6904 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6905 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6907 (netgroup_response_header): Define.
6908 (innetgroup_response_header): Define.
6909 (datahead): Add netgroup_response_header and innetgroup_response_header
6911 * nscd/nscd.conf: Add entries for netgroup cache.
6912 * nscd/nscd.h (dbtype): Add netgrdb.
6913 (_PATH_NSCD_NETGROUP_DB): Define.
6914 (netgroup_iov_disabled): Declare.
6915 (xmalloc, xcalloc, xrealloc): Move declarations here.
6916 (cache_search): Adjust prototype.
6917 Add netgroup-related prototypes.
6918 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6919 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6920 (__nscd_innetgr): Declare.
6921 * nscd/selinux.c (perms): Use access_vector_t as element type and
6922 add netgroup-related initializers.
6923 * nscd/netgroupcache.c: New file.
6924 * nscd/nscd_netgroup.c: New file.
6925 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6926 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6927 For four parameters use innetgr.
6928 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6929 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6930 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6931 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6933 * nscd/connections.c (register_traced_file): Don't register file
6934 for disabled databases.
6936 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6938 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6940 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6941 from tree and freeing node.
6943 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6945 * nss/nsswitch.c (__nss_database_lookup): Handle
6946 nss_parse_service_list out of memory case.
6948 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6950 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6953 2011-10-04 Andreas Schwab <schwab@redhat.com>
6955 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6956 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6958 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6959 elf_machine_rela, elf_machine_lazy_rel.
6960 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6961 (ELF_DYNAMIC_DO_REL): Likewise.
6962 (ELF_DYNAMIC_DO_RELA): Likewise.
6963 (ELF_DYNAMIC_RELOCATE): Likewise.
6964 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6965 to ELF_DYNAMIC_DO_REL.
6966 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6967 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6968 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6971 skip_ifunc, don't call ifunc function if non-zero.
6972 (elf_machine_rela): Likewise.
6973 (elf_machine_lazy_rel): Likewise.
6974 (elf_machine_lazy_rela): Likewise.
6975 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6976 (elf_machine_lazy_rel): Likewise.
6977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6979 (elf_machine_lazy_rel): Likewise.
6980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6982 (elf_machine_lazy_rel): Likewise.
6983 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6984 (elf_machine_lazy_rel): Likewise.
6985 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6986 (elf_machine_lazy_rel): Likewise.
6987 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6988 (elf_machine_lazy_rel): Likewise.
6989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6990 (elf_machine_lazy_rel): Likewise.
6991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6992 (elf_machine_lazy_rel): Likewise.
6993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6994 (elf_machine_lazy_rel): Likewise.
6996 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6998 * nss/nss_files/files-init.c (_nss_files_init): Use static
6999 initialization for all the *_traced_file variables.
7001 2011-09-28 Andreas Schwab <schwab@redhat.com>
7003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7005 2011-09-27 Roland McGrath <roland@hack.frob.com>
7008 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7010 2011-09-27 Andreas Schwab <schwab@redhat.com>
7012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7013 Reread the line before reparsing it.
7015 2011-09-26 Andreas Schwab <schwab@redhat.com>
7017 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7019 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7020 Maxim Kuvyrkov <maxim@codesourcery.com>
7021 Joseph Myers <joseph@codesourcery.com>
7023 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7024 if needed for __stack_chk_guard.
7026 2011-09-19 Roland McGrath <roland@hack.frob.com>
7028 * sysdeps/posix/spawni.c (script_execute): Always define it.
7029 It will be optimized away if unused.
7030 (maybe_script_execute): New function.
7031 (__spawni): Call it.
7033 * Makerules: Don't include tls.make.
7034 (config-tls): Always set to thread.
7035 * tls.make.c: File removed.
7037 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7039 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7040 * config.make.in (CPPFLAGS-config): New substituted variable.
7042 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7047 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7048 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7050 2011-09-15 Roland McGrath <roland@hack.frob.com>
7052 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7053 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7055 (CALL_FAIL): Likewise.
7056 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7057 (CALL_FAIL): Macro removed.
7058 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7060 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7062 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7063 for __FINITE_MATH_ONLY__ == 1.
7065 2011-09-15 Andreas Schwab <schwab@redhat.com>
7067 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7068 __ieee754_sqrt instead of sqrt.
7069 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7070 __ieee754_sqrtf instead of sqrtf.
7071 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7072 __floorf instead of floorf.
7073 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7074 __floorf, __truncf instead of floorf, truncf.
7076 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7078 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7080 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7081 __extern_always_inline.
7082 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7085 2011-09-14 Andreas Schwab <schwab@redhat.com>
7087 * elf/rtld.c (dl_main): Also relocate in dependency order when
7088 doing symbol dependency testing.
7090 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7093 Always define `refsym'.
7095 2011-09-13 Andreas Schwab <schwab@redhat.com>
7097 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7098 (__FD_ELT): Renamed from __FDELT.
7099 * misc/bits/select2.h (__FD_ELT): Likewise.
7100 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7101 __FD_MASK instead of __FDELT, __FDMASK.
7102 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7104 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7107 * elf/Makefile (gen-ldd): Fix pattern.
7109 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7110 (init_tls): Likewise.
7112 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7116 2011-09-12 Andreas Schwab <schwab@redhat.com>
7118 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7119 `struct cmsghdr *' instead of `void *'.
7120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7123 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7125 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7127 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7130 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7132 * configure.in: Remove --with-tls option.
7133 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7134 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7135 out in case it is missing.
7136 * sysdeps/ia64/elf/configure.in: Likewise.
7137 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7138 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7139 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7140 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7141 * sysdeps/sh/elf/configure.in: Likewise.
7142 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7143 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7144 * sysdeps/x86_64/elf/configure.in: Likewise.
7145 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7146 * sysdeps/mach/hurd/tls.h: Likewise.
7149 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7152 * configure.in: Fix use of AC_INIT.
7154 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7156 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7158 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7160 * malloc/hooks.c: Likewise.
7163 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7164 variables statically.
7165 (narenas): Initialize.
7166 (list_lock): Initialize.
7167 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7168 initializtion of main_arena and list_lock. Small cleanups.
7169 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7170 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7171 Add initializers to main_arena and mp_.
7172 (malloc_state): Remove pagesize member. Change all users to use
7175 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7176 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7177 is always initialized.
7179 * malloc/malloc.c: Removed unused configurations and dead code.
7180 * malloc/arena.c: Likewise.
7181 * malloc/hooks.c: Likewise.
7182 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7184 * include/tls.h: Removed. USE___THREAD must always be defined.
7185 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7186 * elf/dl-libc.c: Likewise.
7187 * elf/dl-tsd.c: Likewise.
7188 * include/errno.h: Likewise.
7189 * include/netdb.h: Likewise.
7190 * include/resolv.h: Likewise.
7191 * inet/herrno-loc.c: Likewise.
7192 * inet/herrno.c: Likewise.
7193 * malloc/arena.c: Likewise.
7194 * malloc/hooks.c: Likewise.
7195 * malloc/malloc.c: Likewise.
7196 * resolv/res-state.c: Likewise.
7197 * resolv/res_libc.c: Likewise.
7198 * sysdeps/i386/dl-machine.h: Likewise.
7199 * sysdeps/ia64/dl-machine.h: Likewise.
7200 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7201 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7202 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7203 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7204 * sysdeps/sh/dl-machine.h: Likewise.
7205 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7206 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7207 * sysdeps/unix/i386/sysdep.S: Likewise.
7208 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7209 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7218 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7219 * sysdeps/x86_64/dl-machine.h: Likewise.
7220 * tls.make.c: Likewise.
7222 * configure.in: Remove --with-__thread option. Make tests for
7223 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7224 tls_model attribute fail if no support is available. Remove
7226 * Makeconfig: Adjust for dropped configure option. All features are
7228 * Makerules: Likewise.
7229 * Versions.def: Likewise.
7230 * argp/argp-fmtstream.c: Likewise.
7231 * argp/argp-fmtstream.h: Likewise.
7232 * argp/argp-help.c: Likewise.
7233 * assert/assert.c: Likewise.
7234 * config.h.in: Likewise.
7235 * config.make.in: Likewise.
7236 * configure: Likewise.
7237 * configure.in: Likewise.
7238 * csu/Versions: Likewise.
7239 * csu/init.c: Likewise.
7240 * elf/tst-audit2.c: Likewise.
7241 * elf/tst-tls10.c: Likewise.
7242 * elf/tst-tls10.h: Likewise.
7243 * elf/tst-tls11.c: Likewise.
7244 * elf/tst-tls12.c: Likewise.
7245 * elf/tst-tls14.c: Likewise.
7246 * elf/tst-tlsmod11.c: Likewise.
7247 * elf/tst-tlsmod12.c: Likewise.
7248 * elf/tst-tlsmod13.c: Likewise.
7249 * elf/tst-tlsmod13a.c: Likewise.
7250 * elf/tst-tlsmod14a.c: Likewise.
7251 * elf/tst-tlsmod15b.c: Likewise.
7252 * elf/tst-tlsmod16a.c: Likewise.
7253 * elf/tst-tlsmod16b.c: Likewise.
7254 * elf/tst-tlsmod7.c: Likewise.
7255 * elf/tst-tlsmod8.c: Likewise.
7256 * elf/tst-tlsmod9.c: Likewise.
7257 * gmon/gmon.c: Likewise.
7258 * grp/fgetgrent_r.c: Likewise.
7259 * grp/putgrent.c: Likewise.
7260 * hurd/fopenport.c: Likewise.
7261 * include/libc-symbols.h: Likewise.
7262 * include/tls.h: Likewise.
7263 * intl/gettextP.h: Likewise.
7264 * intl/loadinfo.h: Likewise.
7265 * locale/global-locale.c: Likewise.
7266 * locale/localeinfo.h: Likewise.
7267 * mach/devstream.c: Likewise.
7268 * malloc/arena.c: Likewise.
7269 * malloc/set-freeres.c: Likewise.
7270 * misc/err.c: Likewise.
7271 * misc/getttyent.c: Likewise.
7272 * misc/mntent_r.c: Likewise.
7273 * posix/getopt.c: Likewise.
7274 * posix/wordexp.c: Likewise.
7275 * pwd/fgetpwent_r.c: Likewise.
7276 * resolv/Versions: Likewise.
7277 * resolv/res_hconf.c: Likewise.
7278 * shadow/fgetspent_r.c: Likewise.
7279 * shadow/putspent.c: Likewise.
7280 * stdio-common/printf_fphex.c: Likewise.
7281 * stdio-common/tmpfile.c: Likewise.
7282 * stdlib/abort.c: Likewise.
7283 * stdlib/fmtmsg.c: Likewise.
7284 * sunrpc/auth_unix.c: Likewise.
7285 * sunrpc/clnt_perr.c: Likewise.
7286 * sunrpc/clnt_tcp.c: Likewise.
7287 * sunrpc/clnt_udp.c: Likewise.
7288 * sunrpc/clnt_unix.c: Likewise.
7289 * sunrpc/openchild.c: Likewise.
7290 * sunrpc/svc_simple.c: Likewise.
7291 * sunrpc/svc_tcp.c: Likewise.
7292 * sunrpc/svc_udp.c: Likewise.
7293 * sunrpc/svc_unix.c: Likewise.
7294 * sunrpc/xdr.c: Likewise.
7295 * sunrpc/xdr_array.c: Likewise.
7296 * sunrpc/xdr_rec.c: Likewise.
7297 * sunrpc/xdr_ref.c: Likewise.
7298 * sunrpc/xdr_stdio.c: Likewise.
7300 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7302 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7304 2011-07-03 Andreas Jaeger <aj@suse.de>
7306 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7307 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7308 regenerate with gen-libm-tests.pl.
7310 2010-05-12 Petr Baudis <pasky@suse.cz>
7313 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7314 around j0() zero points by switching to j1().
7315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7320 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7322 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7324 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7327 Patch in part by Pavel Roskin <proski@gnu.org>.
7330 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7332 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7333 Free memory block if necessary.
7336 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7337 be NULL. Don't lock in this case.
7339 2011-09-09 Roland McGrath <roland@hack.frob.com>
7341 * elf/elf.h (ELFOSABI_GNU): New macro.
7342 (ELFOSABI_LINUX): Define to that.
7344 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7346 * string/strncat.c (strncat): Undef the symbol in case it has been
7347 defined in bits/string.h.
7349 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7351 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7353 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7356 2011-08-17 Andreas Jaeger <aj@suse.de>
7358 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7360 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7361 Ian Lance Taylor <iant@google.com>
7363 * math/libm-test.inc (lround_test): New testcase.
7364 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7366 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7368 * Makefile: Remove support for automatic cvs check-ins.
7369 * Makerules: Likewise.
7370 * config.make.in: Likewise.
7371 * configure.in: Likewise.
7372 * intl/Makefile: Likewise.
7373 * locale/Makefile: Likewise.
7374 * po/Makefile: Likewise.
7375 * posix/Makefile: Likewise.
7376 * sysdeps/gnu/Makefile: Likewise.
7377 * sysdeps/mach/hurd/Makefile: Likewise.
7378 * sysdeps/sparc/sparc32/Makefile: Likewise.
7381 * posix/Makefile (bug-regex32-ENV): Define.
7382 Patch by John Stanley <jpsinthemix@verizon.net>.
7384 * misc/Makefile (headers): Add bits/select2.h.
7385 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7386 * misc/bits/select2.h: New file.
7387 * include/bits/select2.h: New file.
7388 * debug/Makefile (routines): Add fdelt_chk.
7389 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7390 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7392 * debug/fdelt_chk.c: New file.
7394 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7395 * wcsmbs/test-wmemcmp.c: Likewise.
7396 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7397 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7399 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7401 * string/Makefile (strop-tests): Add memcmp.
7402 * string/test-wmemcmp.c: New file.
7403 * string/test-memcmp.c: Add wmemcmp support.
7405 2011-09-08 Roland McGrath <roland@hack.frob.com>
7408 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7411 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7412 garbage value in a __mach_port_mod_refs call in the cases of the
7413 task-self and thread-self ports.
7415 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7417 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7419 2011-09-08 Andreas Schwab <schwab@redhat.com>
7421 * elf/dl-load.c (lose): Check for non-null L.
7423 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7425 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7427 * elf/dl-libc.c (dlerror_run): Pass back error code from
7431 * elf/dl-load.c (lose): Free l_origin if it is valid.
7433 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7435 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7439 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7440 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7442 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7444 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7445 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7446 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7447 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7448 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7449 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7450 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7451 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7452 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7453 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7455 2011-08-15 Alan Modra <amodra@gmail.com>
7458 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7459 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7460 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7461 ppc_mcount to static-only-routines.
7462 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7464 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7465 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7467 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7469 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7470 for finite and infinity parameters.
7472 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7475 and add nop instructions for throughput optimization.
7476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7478 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7481 aligned copy for power7 with vector-scalar instructions.
7482 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7484 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7489 2011-09-07 Andreas Schwab <schwab@redhat.com>
7492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7495 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7497 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7498 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7499 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7500 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7503 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7506 Forgot to demangle the pointer.
7508 * sysdeps/i386/sysdep.h: Define atom_text_section.
7509 * sysdeps/x86_64/sysdep.h: Likewise.
7510 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7511 section with atom_text_section.
7512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7514 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7516 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7519 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7520 already be defined. Change to take two parameters and don't assign
7521 result to variable. Adjust all users.
7522 Define INTERNAL_GETTIME if not already defined.
7523 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7526 HAVE_CLOCK_GETTIME_VSYSCALL.
7527 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7529 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7530 gettimeofday vsyscall, just use time.
7532 2011-09-06 Andreas Schwab <schwab@redhat.com>
7534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7537 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7539 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7543 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7545 syscall if possible.
7547 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7549 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7550 e_ident. Don't pass to find_mapsXX.
7551 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7553 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7556 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7557 * sysdeps/x86_64/multiarch/strchr.S: Update.
7558 Check bit_slow_BSF bit.
7559 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7560 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7561 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7563 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7566 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7569 (__spawni): Change last parameter to be flag. Test
7570 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7571 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7572 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7573 * posix/spawni.c: Likewise.
7574 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7575 * posix/spawnp.c: Likewise. Change normal version to use
7576 SPAWN_XFLAGS_USE_PATH.
7577 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7578 SPAWN_XFLAGS_TRY_SHELL.
7581 * posix/glob.h: Remove gcc 1.x support.
7584 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7586 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7589 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7591 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7592 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7593 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7594 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7595 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7598 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7600 * sysdeps/x86_64/wcscmp.S: New file.
7602 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7603 wcscmp-c wcscmp-sse2
7604 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7605 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7606 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7607 * wcsmbs/wcscmp.c: Allow renaming.
7609 2011-09-05 David S. Miller <davem@davemloft.net>
7611 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7612 stack slot, rather than the struct return pointer slot.
7613 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7614 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7618 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7620 * po/ja.po: Update from translation team.
7623 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7624 kernel in 64-bit binaries.
7626 2011-09-01 David S. Miller <davem@davemloft.net>
7628 * elf/elf.h (HWCAP_SPARC_*): Move to..
7629 * sysdeps/sparc/sysdep.h: this new file and add new values.
7630 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7631 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7632 _DL_HWCAP_COUNT to 24.
7633 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7635 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7636 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7637 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7639 instead of magic constants.
7640 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7642 2011-08-31 David S. Miller <davem@davemloft.net>
7644 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7646 Reimplement to do errno handling inline.
7647 (SYSCALL_ERROR_HANDLER): New macro.
7648 (__SYSCALL_STRING): Do not do errno handling in asm.
7649 (__CLONE_SYSCALL_STRING): Delete.
7650 (__INTERNAL_SYSCALL_STRING): Delete.
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7652 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7653 (PSEUDO): Reimplement to do errno handling inline.
7654 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7655 (SYSCALL_ERROR_HANDLER): New macro.
7656 (__SYSCALL_STRING): Do not do errno handling in asm.
7657 (__CLONE_SYSCALL_STRING): Delete.
7658 (__INTERNAL_SYSCALL_STRING): Delete.
7659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7660 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7662 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7663 (inline_syscall*): Add 'err' argument.
7664 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7665 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7666 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7667 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7669 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7670 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7672 2011-08-30 Andreas Schwab <schwab@redhat.com>
7674 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7676 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7678 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7681 2011-08-24 David S. Miller <davem@davemloft.net>
7683 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7685 2011-08-24 Andreas Schwab <schwab@redhat.com>
7687 * elf/Makefile: Add rules to build and run unload8 test.
7688 * elf/unload8.c: New file.
7689 * elf/unload8mod1.c: New file.
7690 * elf/unload8mod1x.c: New file.
7691 * elf/unload8mod2.c: New file.
7692 * elf/unload8mod3.c: New file.
7694 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7697 2011-08-23 David S. Miller <davem@davemloft.net>
7699 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7700 subtract stack bias.
7701 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7702 %sp not %fp in calculations.
7703 (_JMPBUF_UNWINDS_ADJ): Likewise.
7705 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7706 (aio_suspend): Call it to force an exception region around the
7707 AIO_MISC_WAIT() invocation.
7709 2011-08-23 Andreas Schwab <schwab@redhat.com>
7711 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7714 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7716 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7718 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7720 (Elf64_FuncDesc): Remove.
7722 2011-08-22 David S. Miller <davem@davemloft.net>
7724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7725 sigaltstack check, add missing cfi directives.
7726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7727 missing cfi directives, and sigaltstack handling.
7729 2011-08-16 Andreas Schwab <schwab@redhat.com>
7732 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7733 object is seen twice.
7734 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7736 * elf/Makefile (distribute): Add tst-initorder2.c.
7737 (tests): Add tst-initorder2.
7738 (modules-names): Add tst-initorder2a tst-initorder2b
7739 tst-initorder2c tst-initorder2d. Add rules to build them.
7740 ($(objpfx)tst-initorder2.out): New rule.
7741 * elf/tst-initorder2.c: New file.
7742 * elf/tst-initorder2.exp: New file.
7744 2011-08-22 Andreas Schwab <schwab@redhat.com>
7746 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7748 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7749 dependencies back to end of function.
7751 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7754 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7757 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7759 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7760 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7761 of __vdso_gettimeofday.
7762 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7763 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7765 (_libc_vdso_platform_setup): Remove initialization of
7766 __vdso_gettimeofday and __vdso_time.
7768 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7770 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7772 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7775 * elf/dl-open.c (add_to_global): Report additions to the global scope
7776 for LD_DEBUG=scopes.
7777 (dl_open_worker): Also print scope of newly loaded dependencies.
7778 (_dl_show_scope): Indicate if there is no scope.
7781 * stdio-common/Makefile (tests): Add bug24.
7782 * stdio-common/bug24.c: New file.
7784 2011-08-19 Andreas Jaeger <aj@suse.de>
7787 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7788 non-existant file when using close-on-exec mode.
7790 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7793 the very first instruction.
7795 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7796 the CFI state in the end.
7797 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7798 inclusion of dl-trampoline.h.
7799 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7801 2011-08-19 Andreas Schwab <schwab@redhat.com>
7803 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7804 expectations for long double.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7807 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7809 2011-08-14 David S. Miller <davem@davemloft.net>
7811 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7812 artificual limit depends upon the system page size.
7814 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7816 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7817 * resolv/Makefile: Define CFLAGS-libresolv.
7819 2011-08-17 Andreas Schwab <schwab@redhat.com>
7821 * nss/makedb.c (compute_tables): Make variables used in nested
7824 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7826 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7827 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7828 if buffer was too small.
7830 * elf/pldd.c (main): Attach to all threads in the process.
7831 Rewrite /proc handling to use *at functions.
7833 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7835 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7836 specifies first scope to show.
7837 (dl_open_worker): Update callers. Move printing scope of new
7838 object to before the relocation.
7839 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7840 * sysdeps/generic/ldsodefs.h: Update declaration.
7842 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7843 string for the scope number.
7845 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7847 * nscd/servicescache.c (cache_addserv): Make sure written is always
7850 2011-08-14 Roland McGrath <roland@hack.frob.com>
7852 * sysdeps/i386/i486/bits/atomic.h
7853 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7854 statement expression, so as to suppress "set but not used" warning.
7855 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7857 * string/strncat.c (STRNCAT): Use prototype definition.
7859 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7860 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7862 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7863 (localedef-modules): Add localedef.
7864 (locale-modules): Add locale.
7866 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7867 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7870 2011-08-14 David S. Miller <davem@davemloft.net>
7872 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7873 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7875 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7877 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7878 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7879 * elf/rtld.c (dl_main): Set l_name of vDSO.
7880 Call _dl_show_scope when DL_DEBUG_SCOPES.
7881 (process_dl_debug): Recognize scopes flag and also set it for all.
7882 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7883 Declare _dl_show_scope.
7885 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7886 (do_dlopen): Pass caller_dlopen to dl_open.
7887 (__libc_dlopen_mode): Initialize caller_dlopen.
7889 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7890 of libc. Make tolower call locale-independent. Optimize a bit by
7891 using isdigit instead of isalnum.
7892 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7894 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7896 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7897 was a dependency or dynamically loaded.
7899 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7901 * intl/l10nflist.c: Allow architecture-specific pop function.
7902 * sysdeps/x86_64/l10nflist.c: New file.
7904 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7907 2011-08-10 Andreas Schwab <schwab@redhat.com>
7909 * include/dirent.h: Add libc_hidden_proto for scandirat and
7910 scandirat64. Don't declare __scandirat64.
7911 * dirent/scandirat.c: Add libc_hidden_def.
7912 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7913 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7915 2011-08-10 David S. Miller <davem@davemloft.net>
7917 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7923 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7925 * Versions.def [libc]: Add GLIBC_2.15.
7926 * dirent/Makefile (routines): Add scandirat and scandirat64.
7927 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7929 * dirent/dirent.h: Declare scandirat and scandirat64.
7930 * dirent/scandirat.c: New file.
7931 * dirent/scandirat64.c: New file.
7932 * sysdeps/wordsize-64/scandirat.c: New file.
7933 * sysdeps/wordsize-64/scandirat64.c: New file.
7934 * dirent/opendir.c: Define opendirat.
7935 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7937 * dirent/scandir64.c: Adjust for scandir.c change.
7938 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7939 __scandirat64, and __scandir_cancel_handler.
7940 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7941 additional parameter and use openat instead of open (outside of ld.so).
7942 Add new __opendir as wrapper around __opendirat.
7943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7944 here without requiring old scandirat implementation.
7946 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7948 * dirent/scandir.c (cancel_handler): Renamed to
7949 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7950 defined. Adjust users.
7951 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7952 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7954 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7956 * string/test-string.h (IMPL): Use __STRING to expand name and then
7959 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7962 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7964 * string/Makefile: Update.
7965 (strop-tests): Append strncat.
7966 * string/test-wcscmp.c: New file.
7967 New comprehensive test for wcscmp.
7968 * string/test-strcmp.c: Update.
7971 2011-07-22 Andreas Schwab <schwab@redhat.com>
7973 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7976 2011-07-26 Andreas Schwab <schwab@redhat.com>
7978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7979 encoding to ACE if AI_IDN.
7981 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7984 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7986 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7989 Fix overflow bug in strncat.
7990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7992 * string/test-strncat.c: Update.
7993 Add new tests for checking overflow bugs.
7995 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7998 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7999 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8000 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8002 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8003 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8004 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8005 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8008 (USE_AS_STRCAT): Define.
8009 Add strcat and strncat support.
8010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8012 2011-07-25 Andreas Schwab <schwab@redhat.com>
8014 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8015 __n bigger than INT_MAX+1.
8016 (__strncmp_g): Likewise.
8018 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8020 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8021 * libio/stido.h: Likewise.
8023 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8028 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8031 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8035 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8040 (_dl_x86_64_save_sse): Likewise.
8042 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8046 (_dl_x86_64_save_sse): Likewise.
8048 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8050 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8052 2011-07-21 Andreas Schwab <schwab@redhat.com>
8054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8056 (_dl_x86_64_save_sse): Use correct AVX check.
8058 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8061 bug in strncpy/strncat.
8062 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8064 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8066 * string/tester.c (test_strcat): Add tests for different alignments
8067 of source and destination.
8068 (test_strncat): Likewise.
8070 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8073 * posix/glob.c (glob): Check passed in values before using them in
8074 expressions to avoid some overflows.
8075 (glob_in_dir): Likewise.
8078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8079 check for AVX enablement so that we don't crash with old kernels and
8081 * elf/tst-audit4.c: Add same checks here.
8082 * elf/tst-audit6.c: Likewise.
8084 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8086 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8088 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8090 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8092 * po/cs.po: Update from translation team.
8093 * po/bg.po: Likewise.
8095 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8097 * misc/sys/cdefs.h: Add support for const attribute.
8098 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8099 to gnu_dev_{major,minor,makedev} functions.
8101 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8103 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8105 2011-07-20 Andreas Schwab <schwab@redhat.com>
8107 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8110 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8113 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8114 register in order to avoid conflicts with the soft frame pointer
8115 being held in r11 when necessary.
8116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8117 (INTERNAL_VSYSCALL_NCS): Likewise.
8119 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8121 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8122 * elf/dl-fini.c (_dl_fini): Adjust caller.
8123 * elf/dl-close.c (_dl_close_worker): Likewise.
8124 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8126 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8128 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8129 "aux_cache->nlibs < 0".
8131 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8132 in the reload-count case.
8134 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8137 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8138 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8140 * sysdeps/x86_64/multiarch/strcat.S: New file.
8141 * sysdeps/x86_64/multiarch/strncat.S: New file.
8142 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8143 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8144 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8145 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8147 (USE_AS_STRCAT): Define.
8148 Add strcat and strncat support.
8149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8151 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8152 * string/strncat.c: Update.
8153 (USE_AS_STRNCAT): Define.
8154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8155 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8157 * sysdeps/x86_64/multiarch/init-arch.h
8158 (bit_Prefer_PMINUB_for_stringop): New.
8159 (index_Prefer_PMINUB_for_stringop): Likewise.
8160 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8161 bit_Prefer_PMINUB_for_stringop.
8163 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8165 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8167 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8168 of casting of buffer.
8169 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8170 buffer32 and buffer64.
8171 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8172 writes instead of casting of buffer.
8173 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8175 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8178 2011-07-19 Andreas Schwab <schwab@redhat.com>
8180 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8182 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8184 * nscd/nscd.c (termination_handler): Don't do anything for a database
8185 if it has not yet been initialized.
8187 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8189 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8191 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8193 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8195 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8197 * po/nl.po: Update from translation team.
8198 * po/sv.po: Likewise.
8200 2011-07-16 Roland McGrath <roland@hack.frob.com>
8202 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8203 now disallowed by GCC.
8205 * configure.in (use-default-link): Default to yes if a test -shared
8206 link meets our qualifications.
8207 * configure: Regenerated.
8209 * config.make.in (output-format): New variable.
8210 * configure.in: Check for ld --print-output-format support.
8211 * configure: Regenerated.
8212 * Makerules ($(common-objpfx)format.lds)
8213 [$(output-format) != unknown]: Just use $(output-format),
8214 instead of the linker-script munging.
8216 2011-07-14 Roland McGrath <roland@hack.frob.com>
8218 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8219 of $(common-objpfx)shlib.lds.
8220 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8222 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8223 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8225 * configure.in (-z relro check): Adjust test code to add a large
8226 writable data section after it.
8227 * configure: Regenerated.
8229 2011-07-11 Roland McGrath <roland@hack.frob.com>
8231 * configure.in (-z relro check): Fix test code to make the variable
8233 * configure: Regenerated.
8235 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8237 * nscd/nscd.h (struct traced_file): Define.
8238 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8239 elements. Add traced_files.
8240 (inotify_fd): Declare.
8241 (register_traced_file): Declare.
8242 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8243 (inotify_fd): Export.
8244 (resolv_conf_descr): Remove.
8245 (nscd_init): Move inotify descriptor creation to main.
8246 Don't register files for notification here.
8247 (register_traced_file): New function.
8248 (invalidate_cache): Don't use reset_res to determine whether to call
8249 res_init, go through the list of registered files.
8250 (main_loop_poll): The inotify descriptors are now stored in the
8251 structures for the traced files.
8252 (main_loop_epoll): Likewise
8253 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8254 to __nss_disable_nscd.
8255 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8256 for a database anymore. Check the records for all the registered
8258 * nss/Makefile (libnss_files-routines): Add files-init.
8259 (libnss_db-routines): Add db-init.
8260 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8261 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8262 * nss/nss_db/db-init.c: New file.
8263 * nss/nss_files/files-init.c: New file.
8264 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8265 __nss_lookup_function.
8266 (__nss_lookup_function): Call nss_load_library.
8267 (nss_load_all_libraries): New function.
8268 (__nss_disable_nscd): Take parameter with callback function for files
8269 to register. Set is_nscd. Load all the DSOs for the NSS modules
8270 used for the cached services.
8271 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8272 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8273 options for features to all the files in nscd.
8275 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8277 2011-07-10 Roland McGrath <roland@hack.frob.com>
8279 * csu/elf-init.c (__libc_csu_init): Comment typo.
8281 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8283 * po/pl.po: Update from translation team.
8284 * po/ja.po: Likewise.
8285 * po/ru.po: Likewise.
8286 * po/ko.po: Likewise.
8287 * po/fr.po: Likewise.
8289 2011-07-09 Roland McGrath <roland@hack.frob.com>
8291 * configure.in (.ctors/.dtors header and trailer check):
8292 Use an empirical test on a built program.
8293 * configure: Regenerated.
8295 * configure.in (-z relro check): Use an empirical test on a built DSO.
8296 Detect, but do not require, on ia64.
8297 * configure: Regenerated.
8299 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8300 Update tests that use readelf to use $READELF instead.
8301 * configure: Regenerated.
8303 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8305 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8306 if the result is not used.
8308 2011-07-05 Andreas Jaeger <aj@suse.de>
8311 * stdlib/tst-strtod.c: Add testcase.
8313 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8315 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8316 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8317 The latter has a higher limit. Take additional parameter to pass to
8319 (__pathconf): Pass file to __statfs_link_max.
8320 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8322 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8326 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8327 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8329 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8330 (__statfs_filesize_max): Likewise.
8331 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8333 2011-07-05 Andreas Jaeger <aj@suse.de>
8335 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8337 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8339 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8341 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8344 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8346 * Makefile (strop-tests): Add strncat.
8347 * string/test-strncat.c: New file.
8349 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8351 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8353 2011-06-21 Andreas Jaeger <aj@suse.de>
8355 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8356 Copy rule from iconvdata/Makefile.
8358 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8361 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8362 but no long options are defined, just return 'W'.
8364 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8367 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8369 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8371 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8373 (innetgr): Likewise.
8375 2011-07-05 Roland McGrath <roland@hack.frob.com>
8377 * config.make.in (install_root): Default to $(DESTDIR).
8379 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8383 2011-07-02 Roland McGrath <roland@hack.frob.com>
8385 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8387 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8388 containing directory rather than embedding absolute directory names.
8390 * scripts/check-local-headers.sh: Rewritten using awk.
8391 Match by word, not by line. Print error messages for matches.
8392 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8394 * Makerules [shlib-lds-flags empty]:
8395 ($(common-objpfx)libc_pic.opts): New target.
8396 ($(common-objpfx)libc_pic.os.clean): New target.
8397 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8399 * config.make.in (OBJCOPY): New variable.
8400 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8401 * configure: Regenerated.
8403 * config.make.in (use-default-link): New variable.
8404 * configure.in (use_default_link): Grok --with-default-link to set it.
8405 * configure: Regenerated.
8406 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8407 (shlib-lds, shlib-lds-flags): Define to empty.
8409 * Makerules (shlib-lds): New variable.
8410 (shlib-lds-flags): New variable.
8411 (build-shlib, build-moduile, build-module-asneeded): Use it.
8412 ($(common-objpfx)libc.so): Use $(shlib-lds).
8413 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8414 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8416 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8417 DT_FLAGS/DT_FLAGS_1 with zero flags.
8419 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8420 linker script munging.
8422 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8424 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8426 * crypt/sha512.c (sha512_process_block): Perform total addition using
8427 128-bit if possible.
8428 (__sha512_finish_ctx): Likewise.
8429 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8431 * crypt/sha256.c (SWAP64): Define.
8432 (sha256_process_block): Perform total addition using 64-bit if
8434 (__sha256_finish_ctx): Likewise.
8436 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8438 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8440 * nscd/hstcache.c (cache_addhst): Likewise.
8441 * nscd/grpcache.c (cache_addgr): Likewise.
8442 * nscd/aicache.c (addhstaiX): Likewise
8443 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8445 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8447 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8449 * nscd/hstcache.c (cache_addhst): Likewise.
8450 * nscd/grpcache.c (cache_addgr): Likewise.
8451 * nscd/aicache.c (addhstaiX): Likewise
8453 2011-07-01 Andreas Schwab <schwab@redhat.com>
8455 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8456 domain only when needed.
8458 2011-06-30 Andreas Schwab <schwab@redhat.com>
8460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8463 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8465 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8466 are re-adding the entry.
8467 * nscd/servicescache.c (cache_addserv): Likewise.
8469 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8471 * sysdeps/generic/dl-irel.h: fix protection against multiple
8473 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8475 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8478 * malloc/memusage.sh: Fix quoting in message.
8479 * debug/xtrace.sh: Likewise.
8481 * configure.in: Remove support for --experimental-malloc option, make
8483 * config.make.in: Likewise.
8484 * malloc/Makefile: Likewise.
8486 2011-06-27 Andreas Schwab <schwab@redhat.com>
8488 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8489 two-byte characters.
8491 2011-06-27 Roland McGrath <roland@hack.frob.com>
8493 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8494 AC_CACHE_CHECK invocation.
8495 * configure: Regenerated.
8497 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8499 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8502 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8503 bit from old_res_options.
8505 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8507 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8508 value type for setfct.
8510 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8513 __gettimeofday instead of gettimeofday.
8515 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8517 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8519 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8521 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8526 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8529 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8530 strcpy-sse2-unaligned strncpy-sse2-unaligned
8531 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8532 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8533 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8534 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8535 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8538 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8539 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8540 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8541 (STRCPY): Support SSE2 and SSSE3 versions.
8543 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8547 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8548 kernels which artificially limit size of requests.
8550 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8553 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8554 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8555 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8556 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8557 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8558 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8559 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8562 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8563 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8564 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8565 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8566 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8568 Enable unaligned load optimization for Intel Core i3, i5 and i7
8570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8572 (index_Fast_Unaligned_Load): Define.
8573 (HAS_FAST_UNALIGNED_LOAD): Define.
8575 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8577 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8579 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8583 until it is clear that the information is realy needed.
8584 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8586 2011-06-22 Andreas Schwab <schwab@redhat.com>
8588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8590 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8593 /sys/devices/system/cpu/online if it is usable.
8595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8596 reading the information from the /proc filesystem to once a second.
8598 2011-06-21 Andreas Jaeger <aj@suse.de>
8600 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8601 NULL after inclusion of kernel headers.
8603 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8605 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8606 calls to internal_setent.
8609 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8610 addresses using gethostbyname4_r ignore IPv4 addresses.
8612 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8613 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8615 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8617 2011-06-20 David S. Miller <davem@davemloft.net>
8619 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8621 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8623 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8625 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8626 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8627 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8628 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8629 * sysdeps/x86_64/dl-irel.h: Likewise.
8631 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8632 * elf/dl-sym.c: Likewise.
8634 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8636 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8637 need to dereference resplen2.
8639 2011-06-14 Andreas Schwab <schwab@redhat.com>
8641 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8643 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8645 * Makeconfig: Define vardbdir and inst_vardbdir.
8646 * nss/Makefile: Add rules to install db-Makefile.
8648 * nss/nss_db/db-XXX.c: Cleanup.
8650 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8651 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8653 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8654 * nss/makedb.c: Implement -g option to specify that value strings
8655 are generated and should not be added to table iterated over for
8657 * nss/nss_db/db-initgroups.c: New file.
8659 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8662 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8663 (internal_getgrouplist): Adjust to name change.
8664 Update use_initgroups_entry if this is not the first call.
8665 * nss/databases.def: Add initgroups entry.
8667 * nss/makedb.c (compute_tables): Check result of multiple hash table
8668 sizes to minimize maximum chain length.
8670 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8672 * Versions.def: Add entry for libnss_db.
8673 * shlib-versions: Likewise.
8674 * nss/Makefile: Add rules to build libnss_db.
8675 * nss/Versions: Add libnss_db information. Organize libnss_files
8677 * nss/db-Makefile: Add gshadow support. Change rules for the new
8678 makedb progra. Some minor improvements to generate smaller files.
8679 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8681 * nss/makedb.c: ...here.
8682 Improve database format to be smaller and require less memory at
8684 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8686 * nss/nss_db/db-netgrp.c: Likewise.
8687 * nss/nss_db/db-open.c: Likewise.
8688 * nss/nss_files/flies-XXX.x: Adjust comments.
8689 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8690 * nss/nss_files/files-grp.c: Likewise.
8691 * nss/nss_files/files-hosts.c: Likewise.
8692 * nss/nss_files/files-network.c: Likewise.
8693 * nss/nss_files/files-proto.c: Likewise.
8694 * nss/nss_files/files-pwd.c: Likewise.
8695 * nss/nss_files/files-rpc.c: Likewise.
8696 * nss/nss_files/files-service.c: Likewise.
8697 * nss/nss_files/files-sgrp.c: Likewise.
8698 * nss/nss_files/files-spwd.c: Likewise.
8699 * nss/nss_db/db-alias.c: Removed.
8700 * nss/nss_db/dummy-db.h: Removed.
8702 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8704 * nss/makedb.c: Rewritten to not use database library.
8705 * nss/Makefile: Update to build new makedb program.
8707 2011-06-14 Andreas Jaeger <aj@suse.de>
8709 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8712 2011-06-10 Andreas Schwab <schwab@redhat.com>
8714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8717 2011-06-10 Roland McGrath <roland@hack.frob.com>
8719 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8720 * elf/Makefile ($(objpfx)ld.so): Likewise.
8722 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8723 Don't list ld.so twice in dependencies.
8725 * posix/bug-regex31.c: Include <stdlib.h>.
8727 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8729 * nis/nss_compat/compat-spwd.c
8730 (getspent_next_nss_netgr): Remove unused variable.
8731 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8733 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8734 nonmembers" output to use the right array.
8736 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8738 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8740 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8741 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8742 * catgets/gencat.c (read_input_file): Likewise.
8743 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8745 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8746 variable definition inside #if's controlling its use.
8748 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8750 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8752 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8754 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8757 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8759 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8760 * configure: Regenerated.
8762 * Makerules: Revert last change.
8763 * elf/Makefile: Likewise.
8765 2011-06-09 Roland McGrath <roland@hack.frob.com>
8767 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8768 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8769 (reloc-link): Likewise.
8771 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8773 * elf/Makefile: Add rules to build pldd.
8774 * elf/pldd.c: New file.
8775 * elf/pldd-xx.c: New file.
8777 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8779 * version.h: Update for 2.15 development version.
8781 2011-06-07 David S. Miller <davem@davemloft.net>
8783 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8786 elf_machine_lazy_rel): Likewise.
8787 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8789 elf_machine_lazy_rel): Likewise.
8790 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8791 dl_hwcap via passed in argument.
8792 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8795 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8797 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8799 2011-06-06 Roland McGrath <roland@hack.frob.com>
8802 * manual/fdl-1.1.texi: New file, verbatim from:
8803 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8804 * manual/lgpl-2.1.texi: New file, verbatim from:
8805 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8806 * manual/Makefile (licenses): New variable, list those new file names.
8808 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8810 * manual/fdl.texi: File removed.
8811 * manual/lesser.texi: File removed.
8812 * manual/libc.texinfo (Copying, Documentation License):
8813 Use new @include file names, put @appendix directive before @include.
8815 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8818 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8819 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8820 (mq_open): Add __NTH.
8822 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8825 Assume Intel Core i3/i5/i7 processor if AVX is available.
8827 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8832 2011-05-31 Andreas Schwab <schwab@redhat.com>
8834 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8835 memory. Use alloca_account. Fix memory leak when retrying.
8837 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8839 * version.h (RELEASE): Bump for 2.14 release.
8840 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8842 * config.make.in (RANLIB): Remove entry.
8844 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8846 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8847 (libc.pot): Work around missing support for .ksh extension in xgettext.
8850 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8851 if both request failed.
8852 (send_dg): In case of server errors clear resplen or *resplen2.
8855 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8856 when there are multiple maps.
8857 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8858 (_dl_fini): Remove test here.
8860 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8862 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8865 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8866 bit from old_res_options.
8867 (gaih_inet): Likewise.
8870 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8873 * resolv/res_init.c (res_setoptions): Make the code more compact.
8876 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8880 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8882 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8885 * malloc/malloc.h: Declare malloc hook variables as volatile.
8887 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8891 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8892 raise in the comment.
8893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8895 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8897 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8900 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8901 grow the buffers more if it already has to be sufficient.
8902 (build_wcs_upper_buffer): Likewise.
8903 * posix/regexec.c (check_matching): Likewise.
8904 (clean_state_log_if_needed): Likewise.
8905 (extend_buffers): Don't enlarge buffers beyond size of the input
8907 Patches mostly by Emil Wojak <emil@wojak.eu>.
8908 * posix/bug-regex32.c: New file.
8909 * posix/Makefile (tests): Add bug-regex32.
8911 * locale/findlocale.c (_nl_find_locale): Return right away if
8912 _nl_explode_name failed.
8913 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8915 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8917 * debug/xtrace.sh: Unify messages.
8918 * malloc/memusage.sh: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8922 time symbol from vDSO. Substitute with vsyscall if not available.
8923 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8927 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8928 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8929 Add sendmmsg and internal_sendmmsg.
8930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8931 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8932 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8934 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8935 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8938 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8941 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8942 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8944 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8948 * iconvdata/Makefile (tests): Add bug-iconv9.
8949 * iconvdata/bug-iconv9.c: New file.
8951 2011-05-27 Andreas Schwab <schwab@redhat.com>
8954 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8956 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8959 (struct user_regs_struct): Change intcs field back to cs.
8961 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8963 * po/ja.po: Update from translation team.
8965 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8968 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8971 2011-05-20 Andreas Schwab <schwab@redhat.com>
8973 * stdlib/longlong.h: Update from GCC.
8975 2011-05-23 Andreas Schwab <schwab@redhat.com>
8977 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8979 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8981 (__sysconf): Pass it down.
8983 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8986 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8989 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8990 add in in __libc_use_alloca calls. Adjust callers.
8991 (glob): Use malloc in some situations.
8993 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8994 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8997 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8999 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9000 and CLOCK_BOOTTIME_ALARM.
9003 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9006 * string/_strerror.c (__strerror_r): Print negative errors as signed
9010 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9011 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9012 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9014 * configure.in: Fix typo in redirection and correct removal of test
9018 * locale/setlocale.c (new_composite_name): Fix test to check for
9019 identical name of all categories.
9022 * libio/filedoalloc.c (local_isatty): New function.
9023 (_IO_file_doallocate): Use local_isatty.
9024 * stdio-common/perror.c (perror): In case a new stream is used
9025 forward the stream error.
9026 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9029 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9034 * include/alloca.h (extend_alloca_account): Define.
9037 * posix/regex.h: Fix comments with documentation of user-accessible
9038 fields after compilation and describe correct free'ing of pattern
9039 after re_compile_pattern.
9040 Patch by Reuben Thomas <rrt@sc3d.org>.
9042 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9044 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9045 and -mno-altivec to prevent the compiler from using Altivec and/or
9046 VSX instructions when the corresponding registers are not available.
9048 2011-05-19 Andreas Schwab <schwab@redhat.com>
9050 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9052 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9054 * libio/freopen.c (freopen): Use __dup2, not dup2.
9055 * libio/freopen64.c (freopen64): Likewise.
9057 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9060 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9061 * math/Makefile (tests): Add test-powl.
9062 (CFLAGS-test-powl.c): Define.
9063 * math/test-powl.c: New file.
9065 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9067 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9069 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9072 * iconvdata/gb18030.c: Update to GB18020-2005.
9074 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9076 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9077 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9078 Patch by Aharon Robbins <arnold@skeeve.com>.
9081 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9085 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9089 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9090 point to strings before performing equality test for error_one_per_line
9094 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9098 (struct user_fpregs_struct): Avoid __uint*_t types.
9101 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9102 symbol info. Use it instead of calling _dl_addr locally.
9103 (lock_and_info): New function.
9104 (tr_freehook): Call lock_and_info and pass symbol info as additional
9105 parameter to tr_where.
9106 (tr_mallochook): Likewise.
9107 (tr_reallochook): Likewise.
9108 (tr_memalignhook): Likewise.
9110 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9111 used and couldn't be at all thread-safe.
9113 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9115 * libio/freopen.c (freopen): Don't close old file descriptor
9116 before the new one is opened. Instead dup the new file descriptor
9117 to the old one after the new stream is created.
9118 * libio/freopen64.c (freopen64): Likewise.
9119 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9120 * libio/fileops.c (_IO_new_file_close_it): Handle new
9121 _IO_FLAGS2_NOCLOSE flag.
9122 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9123 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9124 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9125 _IO_FLAGS2_NOCLOSE flag.
9126 * include/unistd.h: Add hidden_proto for dup3.
9128 * io/dup3.c: Define hidden symbol.
9129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9132 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9133 when an incomplete long option is used.
9134 * posix/tst-getopt_long1.c: New file.
9135 * posix/Makefile (tests): Add tst-getopt_long1.
9138 * scripts/config.guess: Update from autoconf-2.68.
9139 * scripts/config.sub: Likewise.
9142 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9144 (has_cpuclock): ...this. New function.
9145 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9146 macro here based on has_cpuclock code.
9149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9150 First byte (not low byte) is now always NUL.
9151 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9153 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9154 Use non-cancelable interfaces.
9157 * locale/iso-639.def: Add entry for Sorani.
9160 * include/stdlib.h: Move include protection to the right place.
9161 Define abort_msg_s. Declare __abort_msg with it.
9162 * stdlib/abort.c (__abort_msg): Adjust type.
9163 * assert/assert.c (__assert_fail_base): New function. Majority
9164 of code from __assert_fail. Allocate memory for __abort_msg with
9166 (__assert_fail): Now call __assert_fail_base.
9167 * assert/assert-perr.c: Remove bulk of implementation. Use
9169 * include/assert.hL Declare __assert_fail_base.
9170 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9172 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9174 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9178 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9179 until all modules are registered in the DTV.
9180 * elf/Makefile: Add rules to build and run tst-tls19.
9181 * elf/tst-tls19.c: New file.
9182 * elf/tst-tls19mod1.c: New file.
9183 * elf/tst-tls19mod2.c: New file.
9184 * elf/tst-tls19mod3.c: New file.
9185 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9188 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9192 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9193 two-byte sequence errors.
9194 * iconvdata/Makefile (tests): Add bug-iconv8.
9195 * iconvdata/bug-iconv8.c: New file.
9198 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9201 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9204 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9205 (dummy_getcfa): New function.
9206 (init): Get _Unwind_GetCFA address, use dummy if not found.
9207 (backtrace_helper): In recursion check, also check whether CFA changes.
9208 (__backtrace): Completely initialize arg.
9210 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9211 storing incomplete byte sequence in state object. Avoid testing for
9212 guaranteed too small input if we know there is enough data available.
9214 2011-05-11 Andreas Schwab <schwab@redhat.com>
9216 * Makeconfig (+link-pie): Indent.
9217 * Rules (binaries-pie): Define if $(have-fpie) and
9219 (binaries-shared): Also filter out $(binaries-pie).
9220 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9221 * nscd/Makefile (others-pie): Add nscd.
9222 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9223 ($(objpfx)nscd): Remove command override.
9224 * login/Makefile (others-pie): Add pt_chown.
9225 ($(objpfx)pt_chown): Remove command override.
9226 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9227 remove command overrides.
9229 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9231 * libio/tst_putwc.c: Fix error messages.
9234 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9235 currently writing and seek to current position when not.
9236 * libio/Makefile (tests): Add bug-fclose1.
9237 * libio/bug-fclose1.c: New file.
9239 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9242 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9243 don't set DF_1_NODELETE here.
9244 (do_lookup_x): When entering new entry test for copy relocation
9245 and if necessary set DF_1_NODELETE flag.
9246 * elf/tst-unique4.cc: New file.
9247 * elf/tst-unique4.h: New file.
9248 * elf/tst-unique4lib.cc: New file.
9249 * elf/Makefile: Add rules to build and run tst-unique4.
9250 Patch by Piotr Bury <pbury@goahead.com>.
9252 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9255 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9258 * misc/mntent_r.c (addmntent): Flush the stream after the output
9261 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9262 (is_trusted_path_normalize): Skip initial colon. Append slash
9263 to empty buffer. Duplicate is_trusted_path code but allow
9264 constructed patch to be prefix.
9265 (is_dst): Allow $ORIGIN followed by /.
9266 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9267 Correct testing of result of is_trusted_path_normalize
9268 (decompose_rpath): Fix warning.
9270 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9273 * grp/initgroups.c (internal_getgrouplist): When we found the service
9274 list through the initgroups entry in nsswitch.conf do not always
9275 continue on a successful lookup. Don't always use the
9276 __nss_group_database value if it is set.
9277 * nss/nsswitch.conf (initgroups): Change action for successful db
9278 lookup to continue for compatibility.
9280 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9283 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9285 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9287 * iconvdata/tst-tables.sh: Likewise.
9288 * iconvdata/cp770.c: New file.
9289 * iconvdata/cp771.c: New file.
9290 * iconvdata/cp772.c: New file.
9291 * iconvdata/cp773.c: New file.
9292 * iconvdata/cp774.c: New file.
9293 * iconvdata/testdata/CP770: New file.
9294 * iconvdata/testdata/CP770..UTF8: New file.
9295 * iconvdata/testdata/CP771: New file.
9296 * iconvdata/testdata/CP771..UTF8: New file.
9297 * iconvdata/testdata/CP772: New file.
9298 * iconvdata/testdata/CP772..UTF8: New file.
9299 * iconvdata/testdata/CP773: New file.
9300 * iconvdata/testdata/CP773..UTF8: New file.
9301 * iconvdata/testdata/CP774: New file.
9302 * iconvdata/testdata/CP774..UTF8: New file.
9304 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9306 * iconvdata/gen-8bit-gap.sh: Likewise.
9307 * iconvdata/gen-8bit.sh: Likewise.
9309 * locale/iso-639.def: Add ary entry.
9312 * locale/C-translit.h.in: Add U20A1 transliteration.
9315 * locale/iso-639.def: Add wae entry.
9316 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9319 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9323 * locale/C-translit.h.in: Add entry for U20B9.
9324 Patch by pravin.d.s@gmail.com.
9326 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9329 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9330 ENAMETOOLONG use generic getcwd.
9331 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9332 in rtld. Use *stat64.
9333 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9334 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9335 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9336 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9337 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9338 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9339 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9341 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9342 * dirent/rewinddir.c: Add libc_hidden_def.
9343 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9344 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9346 * include/dirent.h (__alloc_dir): Add flags parameter.
9347 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9348 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9350 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9351 from fdopendir if O_CLOEXEC is already set.
9353 2011-03-15 Alan Modra <amodra@gmail.com>
9355 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9356 l_tls_firstbyte_offset non-zero. Save padding offset in
9357 l_tls_firstbyte_offset for later use.
9358 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9359 freeing static tls block.
9361 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9363 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9364 where #ifdef was intended. The intent is to prevent ARG_MAX from
9365 being defined by the kernel headers.
9367 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9370 * resolv/resolv.h: Define RES_NOTLDQUERY.
9371 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9372 no-tld-query and set RES_NOTLDQUERY.
9373 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9374 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9375 modern BIND to search name as TLD unless forbidden.
9377 2011-05-07 Petr Baudis <pasky@suse.cz>
9378 Ulrich Drepper <drepper@gmail.com>
9381 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9382 (is_trusted_path): ...to here.
9383 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9384 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9385 using is_trusted_path_normalize() in setuid scripts.
9387 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9389 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9390 __BEGIN/__END_DECLS.
9392 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9395 NSS_STATUS_NOTFOUND if no record was found.
9397 2011-05-05 Andreas Schwab <schwab@redhat.com>
9399 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9400 (headers-not-in-tirpc): Remove rpc/netdb.h
9401 * resolv/netdb.h: Revert last change.
9403 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9405 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9406 circular dependency between libgcc.a and libc.a.
9408 2011-05-05 Andreas Schwab <schwab@redhat.com>
9410 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9411 * nis/Makefile: Don't install rpcsvc/*.
9412 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9413 instead of <rpc/types.h>.
9414 (MAXHOSTNAMELEN): Define.
9416 2011-05-03 Andreas Schwab <schwab@redhat.com>
9418 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9420 2011-04-28 Maciej Babinski <mbabinski@google.com>
9423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9424 gethostbyname4_r when IPv6 results are possible.
9426 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9429 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9430 _PC_PIPE_BUF handling.
9432 2011-04-30 Bruno Haible <bruno@clisp.org>
9435 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9436 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9438 * inet/getnameinfo.c (getnameinfo): Likewise.
9440 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9442 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9443 to groups setting in database lookup.
9444 * nss/nsswitch.conf: Add initgroups entry.
9446 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9449 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9451 Patch by Eric Blake <eblake@redhat.com>.
9453 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9455 * sunrpc/Makefile (need-export-routines): Add svc_run.
9456 (routines): Remove svc_run.
9457 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9458 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9459 * sunrpc/svc_run.c (svc_run): Likewise.
9460 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9462 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9464 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9465 problem in reallocation in last patch.
9467 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9469 * sunrpc/Makefile: Move inclusion of Rules.
9471 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9473 * nss/nss_files/files-initgroups.c: New file.
9474 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9475 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9476 _nss_files_initgroups_dyn.
9478 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9480 * elf/elf.h (R_ARM_IRELATIVE): Define.
9482 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9484 * po/ru.po: Update from translation team.
9486 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9488 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9491 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9494 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9495 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9500 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9502 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9504 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9508 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9511 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9513 * stdlib/bug-getcontext.c: New file.
9514 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9516 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9518 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9519 instructions into .machine "z9-109".
9520 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9521 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9523 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9526 between environment variables and auxiliary vector.
9528 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9530 * Makefile: Add rules to build linkobj/libc.so.
9531 * include/libc-symbols.h: Define libc_hidden_nolink.
9532 * include/rpc/auth.h: Mark functions which are to be hidden.
9533 * include/rpc/auth_des.h: Likewise.
9534 * include/rpc/auth_unix.h: Likewise.
9535 * include/rpc/clnt.h: Likewise.
9536 * include/rpc/des_crypt.h: Likewise.
9537 * include/rpc/key_prot.h: Likewise.
9538 * include/rpc/pmap_clnt.h: Likewise.
9539 * include/rpc/pmap_prot.h: Likewise.
9540 * include/rpc/pmap_rmt.h: Likewise.
9541 * include/rpc/rpc_msg.h: Likewise.
9542 * include/rpc/svc.h: Likewise.
9543 * include/rpc/svc_auth.h: Likewise.
9544 * include/rpc/xdr.h: Likewise.
9545 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9546 * nss/Makefile: Likewise.
9547 * sunrpc/Makefile: Don't install headers. Build library with normal
9548 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9549 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9550 for the compat linking library. Remove use of INTDEF/INTUSE.
9551 * sunrpc/auth_none.c: Likewise.
9552 * sunrpc/auth_unix.c: Likewise.
9553 * sunrpc/authdes_prot.c: Likewise.
9554 * sunrpc/authuxprot.c: Likewise.
9555 * sunrpc/clnt_gen.c: Likewise.
9556 * sunrpc/clnt_perr.c: Likewise.
9557 * sunrpc/clnt_raw.c: Likewise.
9558 * sunrpc/clnt_simp.c: Likewise.
9559 * sunrpc/clnt_tcp.c: Likewise.
9560 * sunrpc/clnt_udp.c: Likewise.
9561 * sunrpc/clnt_unix.c: Likewise.
9562 * sunrpc/des_crypt.c: Likewise.
9563 * sunrpc/des_soft.c: Likewise.
9564 * sunrpc/get_myaddr.c: Likewise.
9565 * sunrpc/key_call.c: Likewise.
9566 * sunrpc/key_prot.c: Likewise.
9567 * sunrpc/netname.c: Likewise.
9568 * sunrpc/pm_getmaps.c: Likewise.
9569 * sunrpc/pm_getport.c: Likewise.
9570 * sunrpc/pmap_clnt.c: Likewise.
9571 * sunrpc/pmap_prot.c: Likewise.
9572 * sunrpc/pmap_prot2.c: Likewise.
9573 * sunrpc/pmap_rmt.c: Likewise.
9574 * sunrpc/publickey.c: Likewise.
9575 * sunrpc/rpc_cmsg.c: Likewise.
9576 * sunrpc/rpc_common.c: Likewise.
9577 * sunrpc/rpc_dtable.c: Likewise.
9578 * sunrpc/rpc_prot.c: Likewise.
9579 * sunrpc/rpc_thread.c: Likewise.
9580 * sunrpc/rtime.c: Likewise.
9581 * sunrpc/svc.c: Likewise.
9582 * sunrpc/svc_auth.c: Likewise.
9583 * sunrpc/svc_authux.c: Likewise.
9584 * sunrpc/svc_raw.c: Likewise.
9585 * sunrpc/svc_run.c: Likewise.
9586 * sunrpc/svc_simple.c: Likewise.
9587 * sunrpc/svc_tcp.c: Likewise.
9588 * sunrpc/svc_udp.c: Likewise.
9589 * sunrpc/svc_unix.c: Likewise.
9590 * sunrpc/svcauth_des.c: Likewise.
9591 * sunrpc/xcrypt.c: Likewise.
9592 * sunrpc/xdr.c: Likewise.
9593 * sunrpc/xdr_array.c: Likewise.
9594 * sunrpc/xdr_float.c: Likewise.
9595 * sunrpc/xdr_intXX_t.c: Likewise.
9596 * sunrpc/xdr_mem.c: Likewise.
9597 * sunrpc/xdr_rec.c: Likewise.
9598 * sunrpc/xdr_ref.c: Likewise.
9599 * sunrpc/xdr_sizeof.c: Likewise.
9600 * sunrpc/xdr_stdio.c: Likewise.
9602 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9605 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9606 * sysdeps/ia64/dl-tls.h: Likewise.
9607 * sysdeps/powerpc/dl-tls.h: Likewise.
9608 * sysdeps/s390/dl-tls.h: Likewise.
9609 * sysdeps/sh/dl-tls.h: Likewise.
9610 * sysdeps/sparc/dl-tls.h: Likewise.
9611 * sysdeps/x86_64/dl-tls.h: Likewise.
9612 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9614 2011-03-14 Andreas Schwab <schwab@redhat.com>
9616 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9617 rpath element also skip the following colon.
9618 (expand_dynamic_string_token): Add is_path parameter and pass
9619 down to DL_DST_REQUIRED and _dl_dst_substitute.
9620 (decompose_rpath): Call expand_dynamic_string_token with
9621 non-zero is_path. Ignore empty rpaths.
9622 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9625 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9630 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9633 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9634 Patch by Filipe David Manana <fdmanana@apache.org>.
9636 2011-04-07 Andreas Schwab <schwab@redhat.com>
9638 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9639 Maintain aligned stack.
9640 (CHECK_RSP): Remove unused macro.
9642 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9644 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9645 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9647 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9649 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9651 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9653 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9656 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9657 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9658 * sysdeps/x86_64/memmove.c: New file.
9659 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9660 (memcpy): Renamed to ...
9661 (__new_memcpy): This.
9662 (memcpy): Provide GLIBC_2_14 memcpy.
9663 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9664 (memcpy): Provide GLIBC_2_2_5 memcpy.
9666 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9669 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9671 2011-03-30 Andreas Schwab <schwab@redhat.com>
9673 * misc/syncfs.c: New file.
9674 * misc/Makefile (routines): Add syncfs.
9675 * posix/unistd.h: Declare syncfs.
9676 * sysdeps/unix/syscalls.list: Add syncfs.
9678 2011-04-01 Andreas Schwab <schwab@redhat.com>
9680 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9683 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9687 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9690 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9696 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9700 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9701 sync_file_range.c with -fexceptions.
9702 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9703 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9704 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9705 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9706 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9707 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9709 sync_file_range as cancellation point
9710 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9711 now a wrapper around __call_sync_file_range with cancellation handling.
9712 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9713 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9714 function name to __call_sync_file_range.
9715 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9716 Add call_sync_file_range.
9718 2011-04-01 Andreas Schwab <schwab@redhat.com>
9720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9723 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9725 * iconv/iconv.h: Fix typo in comment.
9726 * io/fcntl.h: Likewise.
9727 * libio/stdio.h: Likewise.
9728 * posix/spawn.h: Likewise.
9729 * posix/unistd.h: Likewise.
9730 * stdlib/stdlib.h: Likewise.
9731 * time/time.h: Likewise.
9732 * wcsmbs/wchar.h: Likewise.
9734 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9735 open_by_handle): Add.
9736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9737 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9738 Augment a few comments.
9739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9744 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9747 * io/fcntl.h (AT_EMPTY_PATH): Define.
9749 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9751 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9752 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9753 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9755 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9756 * Versions.def: Add GLIBC_2.14.
9757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9760 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9762 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9764 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9766 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9769 * string/test-strncmp.c (do_page_test): New function.
9771 (test_main): Call check2.
9772 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9774 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9778 Handle cache information in CPU leaf 4.
9779 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9781 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9784 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9785 character representation.
9786 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9788 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9790 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9791 END(__isnan) to END(__isnanf) to match function entry point/label
9792 EALIGN(__isnanf,...).
9794 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9796 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9798 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9801 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9802 copy from the symbol referenced in the relocation to initialize the
9804 Patch by Piotr Bury <pbury@goahead.com>.
9805 * elf/Makefile: Add rules to build and tst-unique3.
9806 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9807 * elf/tst-unique3.cc: New file.
9808 * elf/tst-unique3.h: New file.
9809 * elf/tst-unique3lib.cc: New file.
9810 * elf/tst-unique3lib2.cc: New file.
9812 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9814 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9816 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9817 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9820 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9822 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9823 to-be-loaded object along a path to loader is ld.so.
9825 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9826 Ulrich Drepper <drepper@gmail.com>
9828 * sysdeps/x86_64/memset.S: After aligning destination, code
9829 branches to different locations depending on the value of
9830 misalignment, when multiarch is enabled. Fix this.
9832 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9834 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9835 Set _x86_64_preferred_memory_instruction for AMD processsors.
9836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9837 Set bit_Prefer_SSE_for_memop for AMD processors.
9839 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9841 * libio/fmemopen.c (fmemopen): Optimize a bit.
9843 2011-03-03 Andreas Schwab <schwab@redhat.com>
9845 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9847 2011-03-03 Roland McGrath <roland@redhat.com>
9849 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9851 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9853 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9854 __bzero_ultra1 instead of __memset_ultra1.
9856 2011-02-23 Andreas Schwab <schwab@redhat.com>
9857 Ulrich Drepper <drepper@gmail.com>
9860 * include/link.h (struct link_map): Add l_orig_initfini.
9861 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9862 returning unsuccessfully.
9863 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9864 close of a file loaded at startup, restore the original l_initfini
9866 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9867 list, store the pointer.
9868 * elf/Makefile ($(objpfx)noload-mem): New rule.
9869 (noload-ENV): Define.
9870 (tests): Add $(objpfx)noload-mem.
9871 * elf/noload.c: Include <memcheck.h>.
9872 (main): Call mtrace. Close all opened handles.
9874 2011-02-17 Andreas Schwab <schwab@redhat.com>
9877 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9878 dependencies are missing.
9880 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9882 Fix __if_freereq crash: Unlike the generic version which uses free,
9884 * sysdeps/mach/hurd/ifreq.h: New file.
9886 2011-01-27 Petr Baudis <pasky@suse.cz>
9887 Ulrich Drepper <drepper@gmail.com>
9890 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9892 * stdio-common/bug23.c: New file.
9893 * stdio-common/Makefile (tests): Add bug23.
9895 2010-09-28 Andreas Schwab <schwab@redhat.com>
9896 Ulrich Drepper <drepper@gmail.com>
9899 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9900 before performing relro protection. At old place add assertion
9901 to make sure nothing changed.
9903 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9904 Glauber de Oliveira Costa <glommer@gmail.com>
9906 * elf/elf.h: Add new ARM TLS relocs.
9908 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9911 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9913 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9915 * sysdeps/wordsize-64/tst-writev.c: New file.
9917 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9919 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9920 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9921 insns in _dl_start to prevent a TOC reference before relocs are
9924 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9927 * Makeconfig: Remove RANLIB definition.
9928 * Makerules: Don't use RANLIB.
9929 * aclocal.m4: Remove ranlib test.
9930 * configure.in: No need to check for ranlib.
9931 * elf/rtld-Rules: Don't use RANLIB.
9933 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9935 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9937 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9938 inclusion protection macro.
9940 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9941 SIGRTMIN and SIGRTMAX and print information in that case only when
9942 SIGRTMIN is defined.
9944 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9946 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9947 arginfo fn returning -1.
9949 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9950 and thousands string is zero terminated.
9952 2011-02-03 Andreas Schwab <schwab@redhat.com>
9954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9955 sysdeps/unix/sysv/linux/bits/socket.h.
9957 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9959 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9960 (__CPU_COUNT): Remove old macros.
9961 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9962 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9963 (__CPU_ALLOC, __CPU_FREE): Add macros.
9964 (__sched_cpualloc, __sched_cpufree): Add declarations.
9966 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9968 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9969 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9970 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9971 (readdhstai): Return value of addhstaiX call.
9972 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9973 (addgrbyX): Return value returned by cache_addgr.
9974 (readdgrbyname): Return value returned by addgrbyX.
9975 (readdgrbygid): Likewise.
9976 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9977 (addpwbyX): Return value returned by cache_addpw.
9978 (readdpwbyname): Return value returned by addhstbyX.
9979 (readdpwbyuid): Likewise.
9980 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9981 (addservbyX): Return value returned by cache_addserv.
9982 (readdservbyname): Return value returned by addservbyX:
9983 (readdservbyport): Likewise.
9984 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9985 (addhstbyX): Return value returned by cache_addhst.
9986 (readdhstbyname): Return value returned by addhstbyX.
9987 (readdhstbyaddr): Likewise.
9988 (readdhstbynamev6): Likewise.
9989 (readdhstbyaddrv6): Likewise.
9990 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9991 (readdinitgroups): Return value returned by addinitgroupsX.
9992 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9993 (prune_cache): Keep track of timeout value of re-added entries.
9994 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9995 * nscd/nscd.h: Adjust prototypes of readd* functions.
9997 2011-02-04 Roland McGrath <roland@redhat.com>
9999 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10000 (nis_stats): Likewise.
10001 * nis/nis_modify.c (nis_modify): Likewise.
10002 * nis/nis_remove.c (nis_remove): Likewise.
10003 * nis/nis_add.c (nis_add): Likewise.
10005 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10007 * posix/fnmatch_loop.c: Add some consts.
10009 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10011 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10014 * config.make.in (config-cflags-novzeroupper): Define.
10015 * configure.in: Substitute libc_cv_cc_novzeroupper.
10016 * elf/Makefile (AVX-CFLAGS): Define.
10017 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10018 (CFLAGS-tst-auditmod4a.c): Likewise.
10019 (CFLAGS-tst-auditmod4b.c): Likewise.
10020 (CFLAGS-tst-auditmod6b.c): Likewise.
10021 (CFLAGS-tst-auditmod6c.c): Likewise.
10022 (CFLAGS-tst-auditmod7b.c): Likewise.
10023 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10025 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10027 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10028 function to the callback.
10029 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10031 2011-02-02 Andreas Schwab <schwab@redhat.com>
10033 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10036 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10039 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10041 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10043 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10046 * elf/Makefile: Add rules to build and run new test.
10047 * elf/tst-initorder.c: New file.
10048 * elf/tst-initorder.exp: New file.
10049 * elf/tst-initordera1.c: New file.
10050 * elf/tst-initordera2.c: New file.
10051 * elf/tst-initordera3.c: New file.
10052 * elf/tst-initordera4.c: New file.
10053 * elf/tst-initorderb1.c: New file.
10054 * elf/tst-initorderb2.c: New file.
10055 * elf/tst-order-a1.c: New file.
10056 * elf/tst-order-a2.c: New file.
10057 * elf/tst-order-a3.c: New file.
10058 * elf/tst-order-a4.c: New file.
10059 * elf/tst-order-b1.c: New file.
10060 * elf/tst-order-b2.c: New file.
10061 * elf/tst-order-main.c: New file.
10062 New test case by George Gensure <werkt0@gmail.com>.
10064 2010-10-01 Andreas Schwab <schwab@redhat.com>
10066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10067 decoding ACE if AI_CANONIDN.
10069 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10071 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10073 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10075 * version.h (RELEASE): Bump for 2.13 release.
10076 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10078 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10080 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10082 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10083 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10085 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10089 * posix/getconf.c: Update copyright year.
10090 * catgets/gencat.c: Likewise.
10091 * csu/version.c: Likewise.
10092 * debug/catchsegv.sh: Likewise.
10093 * debug/xtrace.sh: Likewise.
10094 * elf/ldconfig.c: Likewise.
10095 * elf/ldd.bash.in: Likewise.
10096 * elf/sprof.c (print_version): Likewise.
10097 * iconv/iconv_prog.c: Likewise.
10098 * iconv/iconvconfig.c: Likewise.
10099 * locale/programs/locale.c: Likewise.
10100 * locale/programs/localedef.c: Likewise.
10101 * malloc/memusage.sh: Likewise.
10102 * malloc/mtrace.pl: Likewise.
10103 * nscd/nscd.c (print_version): Likewise.
10104 * nss/getent.c: Likewise.
10106 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10107 PF_CAIF, and PF_ALG.
10108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10110 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10112 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10113 (modules-names): Use them.
10114 (ifunc-test-modules, ifunc-pie-tests): Define.
10115 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10116 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10117 (test-extras): Likewise.
10118 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10119 $(compile-command.c).
10120 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10121 (all-built-dso): Define.
10122 (check-textrel.out, check-execstack.out): Depend on it.
10124 * configure.in: Don't override --enable-multi-arch.
10126 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10129 * nscd/hstcache.c (tryagain): Define.
10130 (cache_addhst): Return tryagain not notfound for temporary errors.
10131 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10134 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10137 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10138 to make the syscall.
10139 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10142 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10143 and fall back to matching as normal character if the string ends before
10144 the matching ']' is found. This is what POSIX requires.
10145 * posix/testfnm.c: Adjust test result.
10146 * posix/globtest.sh: Adjust test result. Add new test.
10147 * posix/tst-fnmatch.input: Likewise.
10148 * posix/tst-fnmatch2.c: Add new test.
10150 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10152 * elf/Makefile (check-execstack): Revert last change. Depend on
10154 (check-execstack.h): New target.
10155 (generated): Add check-execstack.h.
10156 * elf/check-execstack.c: Include "check-execstack.h".
10157 (main): Revert last change.
10158 (handle_file): Return zero if GNU_STACK is absent and
10159 DEFAULT_STACK_PERMS doesn't include PF_X.
10161 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10163 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10164 in child fails because the descriptor is already closed.
10165 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10166 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10167 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10170 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10174 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10175 temporary buffer used to handle multi lookups locally.
10176 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10178 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10180 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10183 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10185 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10186 alignment for SSE2.
10188 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10191 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10192 characters. When rounding increased number of integer digits recompute
10194 * stdio-common/tst-grouping.c: New file.
10195 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10197 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10199 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10200 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10202 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10204 * bits/select.h: Likewise.
10206 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10208 * po/ja.po: Update from translation team.
10210 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10213 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10214 implementation just like for lxstat, fxstatat, et al.
10216 2010-12-27 Jim Meyering <meyering@redhat.com>
10219 * posix/regexec.c (build_trtable): Return failure indication upon
10220 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10222 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10225 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10226 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10227 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10228 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10231 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10234 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10235 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10237 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10239 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10240 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10241 script has SORT_BY_INIT_PRIORITY.
10242 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10243 NO_CTORS_DTORS_SECTIONS is defined.
10244 * elf/soinit.c: Likewise.
10245 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10246 NO_CTORS_DTORS_SECTIONS is defined.
10247 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10248 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10249 * sysdeps/sh/init-first.c: Likewise.
10250 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10252 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10254 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10255 always use the slow path.
10257 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10259 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10260 similar rule which adds the sysdep directories to the header search in
10261 order to pick up the correct platform stackinfo.h.
10262 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10263 perform test if it is, otherwise return successfully without testing.
10264 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10265 DEFAULT_STACK_PERMS define in stackinfo.h.
10266 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10267 defined in stackinfo.h.
10268 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10269 DEFAULT_STACK_PERMS defined in stackinfo.h.
10270 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10271 * sysdeps/ia64/stackinfo.h: Likewise.
10272 * sysdeps/s390/stackinfo.h: Likewise.
10273 * sysdeps/sh/stackinfo.h: Likewise.
10274 * sysdeps/sparc/stackinfo.h: Likewise.
10275 * sysdeps/x86_64/stackinfo.h: Likewise.
10276 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10277 PF_X for powerpc64. Retain PF_X for powerpc32.
10279 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10281 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10283 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10284 GETDENTS_64BIT_ALIGNED.
10286 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10288 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10290 2010-12-10 Andreas Schwab <schwab@redhat.com>
10292 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10295 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10296 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10298 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10299 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10301 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10304 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10307 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10309 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10311 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10313 * po/it.po: Update from translation team.
10315 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10320 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10322 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10324 2010-11-24 Andreas Schwab <schwab@redhat.com>
10326 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10328 (gaih_getanswer_slice): Likewise.
10330 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10334 2010-05-31 Petr Baudis <pasky@suse.cz>
10337 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10338 silently even in the chroot mode.
10340 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10342 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10343 last patch a bit. Pretty printing
10345 2010-05-31 Petr Baudis <pasky@suse.cz>
10348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10349 initialization of skip_initgroups_dyn.
10351 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10353 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10356 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10358 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10360 2010-11-11 Andreas Schwab <schwab@redhat.com>
10362 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10363 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10364 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10365 ($(objpfx)tst-fnmatch-mem): New rule.
10366 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10367 * posix/tst-fnmatch.c (main): Call mtrace.
10369 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10372 Support Intel processor model 6 and model 0x2c.
10374 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10376 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10379 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10382 * string/test-strncasecmp.c (check_result): New function.
10383 (do_one_test): Use it.
10384 (check1): New function.
10385 (test_main): Use it.
10386 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10387 Support strcasecmp and strncasecmp.
10389 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10392 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10395 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10397 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10401 * sysdeps/x86_64/multiarch/bzero.S: New file.
10402 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10403 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10404 * sysdeps/x86_64/multiarch/memset.S: New file.
10405 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10407 Set bit_Prefer_SSE_for_memop for Intel processors.
10408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10410 (index_Prefer_SSE_for_memop): Define.
10411 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10413 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10415 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10416 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10418 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10421 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10422 (__x86_64_raw_data_cache_size_half): Likewise.
10423 (__x86_64_raw_shared_cache_size): Likewise.
10424 (__x86_64_raw_shared_cache_size_half): Likewise.
10426 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10427 (__x86_64_raw_data_cache_size_half): Likewise.
10428 (__x86_64_raw_shared_cache_size): Likewise.
10429 (__x86_64_raw_shared_cache_size_half): Likewise.
10430 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10431 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10432 and __x86_64_raw_shared_cache_size_half. Round
10433 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10434 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10435 to multiple of 256 bytes.
10437 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10440 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10441 of inacessible symlinks. Verify result of symlink before returning it.
10442 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10443 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10445 2010-10-28 Erich Ritz <erichritz@gmail.com>
10447 * math/math.h (isinf): Fix typo in comment.
10449 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10451 * po/da.po: Update from translation team.
10453 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10455 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10456 is added to the list.
10458 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10459 Ulrich Drepper <drepper@gmail.com>
10461 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10462 the global list here. Move code to...
10463 (_dl_add_to_namespace_list): ...here. New function.
10464 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10465 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10466 * elf/dl-load.c (lose): Don't remove the element from the list.
10467 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10468 (_dl_map_object): Likewise.
10470 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10473 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10474 into all bytes of SSE register.
10475 Patch by Richard Li <richardpku@gmail.com>.
10477 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10480 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10483 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10485 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10486 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10487 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10488 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10493 2010-10-22 Andreas Schwab <schwab@redhat.com>
10495 * include/dlfcn.h (__RTLD_SECURE): Define.
10496 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10497 mode & __RTLD_SECURE instead.
10498 (open_path): Rename preloaded parameter to secure.
10499 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10500 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10501 * elf/dl-deps.c (openaux): Likewise.
10502 * elf/rtld.c (struct map_args): Remove is_preloaded.
10503 (map_doit): Don't use it.
10504 (dl_main): Likewise.
10505 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10506 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10508 2010-09-09 Andreas Schwab <schwab@redhat.com>
10510 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10511 (sysd-rules-targets): Remove duplicates.
10512 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10513 rtld-%.$o dependency.
10515 2010-10-18 Andreas Schwab <schwab@redhat.com>
10517 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10518 _dl_map_object do it.
10520 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10522 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10523 fast fma builtins, define the macros in the C99 standard.
10524 (FP_FAST_FMAF): Likewise.
10525 (FP_FAST_FMAL): Likewise.
10526 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10528 * bits/mathdef.h: Update copyright year.
10529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10531 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10533 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10534 builtins, define the macros in the C99 standard.
10535 (FP_FAST_FMAF): Likewise.
10536 (FP_FAST_FMAL): Likewise.
10537 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10539 (FP_FAST_FMAF): Likewise.
10541 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10544 * math/libm-test.inc (fma_test): Some new testcases.
10545 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10547 y and infinite z. Do multiplication by C already in long double.
10548 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10550 y and infinite z. Do bitwise or of inexact bit into u.d.
10551 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10552 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10553 * sysdeps/i386/fpu/s_fma.S: Removed.
10554 * sysdeps/i386/fpu/s_fmal.S: Removed.
10556 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10559 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10561 computation is not scheduled after fetestexcept. Fix value
10562 of minimum denormal long double.
10564 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10567 * math/libm-test.inc (fma_test): Add some more tests.
10568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10571 2010-10-15 Andreas Schwab <schwab@redhat.com>
10573 * scripts/data/localplt-s390-linux-gnu.data: New file.
10574 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10576 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10579 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10580 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10582 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10584 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10586 if one of x and y is very large and the other is subnormal.
10587 * sysdeps/s390/fpu/s_fmaf.c: New file.
10588 * sysdeps/s390/fpu/s_fma.c: New file.
10589 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10590 * sysdeps/powerpc/fpu/s_fma.S: New file.
10591 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10592 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10593 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10595 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10598 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10601 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10602 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10603 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10604 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10605 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10608 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10611 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10612 * posix/bug-regex31.input: Add test case.
10614 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10616 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10617 * posix/bug-regex31.input: New file.
10620 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10621 (parse_sub_exp): Fix last change, use postorder.
10623 * posix/bug-regex31.c: New file.
10624 * posix/Makefile: Add rules to build and run bug-regex31.
10626 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10629 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10632 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10633 to have entries in sys_siglist.
10636 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10639 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10642 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10643 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10644 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10645 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10647 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10648 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10649 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10650 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10651 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10652 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10653 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10654 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10655 * math/ftestexcept.c (fetestexcept): Likewise.
10656 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10657 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10658 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10659 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10660 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10661 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10662 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10664 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10667 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10670 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10672 * string/bug-strstr1.c: New file.
10673 * string/Makefile: Add rules to build and run bug-strstr1.
10675 2010-10-05 Eric Blake <eblake@redhat.com>
10678 * string/str-two-way.h (two_way_long_needle): Always clear memory
10679 when skipping input due to the shift table.
10681 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10684 * malloc/mcheck.c: Handle large requests.
10687 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10688 for strncmp and strncasecmp.
10689 * string/stratcliff.c: Add tests for strcmp and strncmp.
10690 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10692 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10694 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10697 2010-09-30 Andreas Jaeger <aj@suse.de>
10699 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10700 (CGROUP_SUPER_MAGIC): Define.
10701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10702 Handle btrfs and cgroup file systems.
10703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10706 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10708 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10709 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10711 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10714 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10715 trying to locate the ELF header.
10717 2010-09-27 Andreas Schwab <schwab@redhat.com>
10720 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10721 Mask out sign-bit copies when constructing f_fsid.
10723 2010-09-24 Petr Baudis <pasky@suse.cz>
10725 * debug/stack_chk_fail_local.c: Add missing licence exception.
10726 * debug/warning-nop.c: Likewise.
10728 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10731 implementing getdents64 using getdents syscall, set d_type if
10732 __ASSUME_GETDENTS32_D_TYPE.
10734 2010-09-16 Andreas Schwab <schwab@redhat.com>
10736 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10737 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10739 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10742 * posix/unistd.h: Undo change of feature selection for ftruncate from
10745 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10747 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10750 2010-09-20 Andreas Schwab <schwab@redhat.com>
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10754 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10756 2010-09-14 Andreas Schwab <schwab@redhat.com>
10758 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10759 variables after CHECK_SP call.
10760 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10762 2010-09-13 Andreas Schwab <schwab@redhat.com>
10763 Ulrich Drepper <drepper@redhat.com>
10765 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10766 re-relocationg ld.so.
10767 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10768 _dl_init_paths call.
10769 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10772 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10774 * resolv/res_init.c (__res_vinit): Count the default server we added.
10776 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10777 Ulrich Drepper <drepper@redhat.com>
10780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10781 (____longjmp_chk): Use %ebx for saving value across system call.
10784 2010-09-06 Andreas Schwab <schwab@redhat.com>
10786 * manual/Makefile: Don't mix pattern rules with normal rules.
10788 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10790 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10792 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10793 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10794 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10795 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10799 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10802 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10803 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10805 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10807 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10808 * sysdeps/x86_64/addmul_1.S: Likewise.
10809 * sysdeps/x86_64/lshift.S: Likewise.
10810 * sysdeps/x86_64/mul_1.S: Likewise.
10811 * sysdeps/x86_64/rshift.S: Likewise.
10812 * sysdeps/x86_64/sub_n.S: Likewise.
10813 * sysdeps/x86_64/submul_1.S: Likewise.
10815 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10817 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10818 Define __sched_param instead of SCHED_* and sched_param when
10819 <bits/sched.h> is included with __need_schedparam defined.
10820 * bits/sched.h [__need_schedparam]
10821 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10822 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10823 (__defined_schedparam): Define to 1.
10824 (__sched_param): New structure, identical to sched_param.
10825 (__need_schedparam): Undefine.
10827 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10830 (epoll_create1): Declare.
10832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10834 2010-08-31 Andreas Schwab <schwab@redhat.com>
10837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10838 shifting retval into place.
10840 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10842 * nis/rpcsvc/nis.h: Update copyright notice.
10843 * nis/rpcsvc/nis.x: Likewise.
10844 * nis/rpcsvc/nis_callback.h: Likewise.
10845 * nis/rpcsvc/nis_callback.x: Likewise.
10846 * nis/rpcsvc/nis_object.x: Likewise.
10847 * nis/rpcsvc/nis_tags.h: Likewise.
10848 * nis/rpcsvc/yp.h: Likewise.
10849 * nis/rpcsvc/yp.x: Likewise.
10850 * nis/rpcsvc/ypupd.h: Likewise.
10851 * nis/yp_xdr.c: Likewise.
10852 * nis/ypupdate_xdr.c: Likewise.
10854 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10855 mainly the body of pmap_getport. Add parameters to specify timeouts.
10856 (pmap_getport): Use __libc_rpc_getport.
10857 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10858 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10859 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10861 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10866 2010-08-27 Roland McGrath <roland@redhat.com>
10868 * sysdeps/i386/i686/multiarch/Makefile
10869 (CFLAGS-varshift.c): New variable.
10871 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10873 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10874 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10878 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10880 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10882 * sysdeps/x86_64/strlen.S: Unroll the loop.
10883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10884 strlen-sse2 strlen-sse2-bsf.
10885 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10886 __strlen_no_bsf if bit_Slow_BSF is set.
10887 (__strlen_sse42): Removed.
10888 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10889 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10891 2010-08-25 Roland McGrath <roland@redhat.com>
10893 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10894 * sysdeps/x86_64/multiarch/varshift.c: New file.
10895 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10896 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10897 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10898 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10900 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10903 strlen-sse2 strlen-sse2-bsf.
10904 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10905 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10906 (__strlen_sse2): Removed.
10907 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10908 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10910 bit_Slow_BSF for Atom.
10911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10912 (index_Slow_BSF): Define.
10913 (HAS_SLOW_BSF): Define.
10915 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10918 * resolv/res_init.c (__res_vinit): When no server address at all
10919 is given default to loopback.
10921 2010-08-24 Roland McGrath <roland@redhat.com>
10923 * configure.in: Remove config-name.h generation.
10924 * configure: Regenerated.
10925 * config-name.in: File removed.
10926 * scripts/config-uname.sh: New file.
10927 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10928 ($(objdir)config-name.h): New target.
10930 * sunrpc/rpc_parse.h: Avoid nested comment.
10932 2010-08-24 Richard Henderson <rth@redhat.com>
10933 Ulrich Drepper <drepper@redhat.com>
10934 H.J. Lu <hongjiu.lu@intel.com>
10936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10938 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10939 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10940 _mm_alignr_epi8 with _mm_loadu_si128.
10941 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10942 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10943 (__m128i_shift_right): Removed.
10944 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10945 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10946 * sysdeps/x86_64/multiarch/varshift.h: New file.
10947 * sysdeps/x86_64/multiarch/varshift.S: New file.
10949 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10951 * configure.in: Move assembler checks to before sysdep dir checking.
10953 2010-08-20 Petr Baudis <pasky@suse.cz>
10955 * LICENSES: Sync the sunrpc license.
10957 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10959 * sunrpc/auth_des.c: Update copyright notice once again.
10960 * sunrpc/auth_none.c: Likewise.
10961 * sunrpc/auth_unix.c: Likewise.
10962 * sunrpc/authdes_prot.c: Likewise.
10963 * sunrpc/authuxprot.c: Likewise.
10964 * sunrpc/bindrsvprt.c: Likewise.
10965 * sunrpc/clnt_gen.c: Likewise.
10966 * sunrpc/clnt_perr.c: Likewise.
10967 * sunrpc/clnt_raw.c: Likewise.
10968 * sunrpc/clnt_simp.c: Likewise.
10969 * sunrpc/clnt_tcp.c: Likewise.
10970 * sunrpc/clnt_udp.c: Likewise.
10971 * sunrpc/clnt_unix.c: Likewise.
10972 * sunrpc/des_crypt.c: Likewise.
10973 * sunrpc/des_soft.c: Likewise.
10974 * sunrpc/get_myaddr.c: Likewise.
10975 * sunrpc/getrpcport.c: Likewise.
10976 * sunrpc/key_call.c: Likewise.
10977 * sunrpc/key_prot.c: Likewise.
10978 * sunrpc/openchild.c: Likewise.
10979 * sunrpc/pm_getmaps.c: Likewise.
10980 * sunrpc/pm_getport.c: Likewise.
10981 * sunrpc/pmap_clnt.c: Likewise.
10982 * sunrpc/pmap_prot.c: Likewise.
10983 * sunrpc/pmap_prot2.c: Likewise.
10984 * sunrpc/pmap_rmt.c: Likewise.
10985 * sunrpc/rpc/auth.h: Likewise.
10986 * sunrpc/rpc/auth_unix.h: Likewise.
10987 * sunrpc/rpc/clnt.h: Likewise.
10988 * sunrpc/rpc/des_crypt.h: Likewise.
10989 * sunrpc/rpc/key_prot.h: Likewise.
10990 * sunrpc/rpc/netdb.h: Likewise.
10991 * sunrpc/rpc/pmap_clnt.h: Likewise.
10992 * sunrpc/rpc/pmap_prot.h: Likewise.
10993 * sunrpc/rpc/pmap_rmt.h: Likewise.
10994 * sunrpc/rpc/rpc.h: Likewise.
10995 * sunrpc/rpc/rpc_des.h: Likewise.
10996 * sunrpc/rpc/rpc_msg.h: Likewise.
10997 * sunrpc/rpc/svc.h: Likewise.
10998 * sunrpc/rpc/svc_auth.h: Likewise.
10999 * sunrpc/rpc/types.h: Likewise.
11000 * sunrpc/rpc/xdr.h: Likewise.
11001 * sunrpc/rpc_clntout.c: Likewise.
11002 * sunrpc/rpc_cmsg.c: Likewise.
11003 * sunrpc/rpc_common.c: Likewise.
11004 * sunrpc/rpc_cout.c: Likewise.
11005 * sunrpc/rpc_dtable.c: Likewise.
11006 * sunrpc/rpc_hout.c: Likewise.
11007 * sunrpc/rpc_main.c: Likewise.
11008 * sunrpc/rpc_parse.c: Likewise.
11009 * sunrpc/rpc_parse.h: Likewise.
11010 * sunrpc/rpc_prot.c: Likewise.
11011 * sunrpc/rpc_sample.c: Likewise.
11012 * sunrpc/rpc_scan.c: Likewise.
11013 * sunrpc/rpc_scan.h: Likewise.
11014 * sunrpc/rpc_svcout.c: Likewise.
11015 * sunrpc/rpc_tblout.c: Likewise.
11016 * sunrpc/rpc_util.c: Likewise.
11017 * sunrpc/rpc_util.h: Likewise.
11018 * sunrpc/rpcinfo.c: Likewise.
11019 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11020 * sunrpc/rpcsvc/key_prot.x: Likewise.
11021 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11022 * sunrpc/rpcsvc/mount.x: Likewise.
11023 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11024 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11025 * sunrpc/rpcsvc/rex.x: Likewise.
11026 * sunrpc/rpcsvc/rstat.x: Likewise.
11027 * sunrpc/rpcsvc/rusers.x: Likewise.
11028 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11029 * sunrpc/rpcsvc/spray.x: Likewise.
11030 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11031 * sunrpc/rtime.c: Likewise.
11032 * sunrpc/svc.c: Likewise.
11033 * sunrpc/svc_auth.c: Likewise.
11034 * sunrpc/svc_authux.c: Likewise.
11035 * sunrpc/svc_raw.c: Likewise.
11036 * sunrpc/svc_run.c: Likewise.
11037 * sunrpc/svc_simple.c: Likewise.
11038 * sunrpc/svc_tcp.c: Likewise.
11039 * sunrpc/svc_udp.c: Likewise.
11040 * sunrpc/svc_unix.c: Likewise.
11041 * sunrpc/svcauth_des.c: Likewise.
11042 * sunrpc/xcrypt.c: Likewise.
11043 * sunrpc/xdr.c: Likewise.
11044 * sunrpc/xdr_array.c: Likewise.
11045 * sunrpc/xdr_float.c: Likewise.
11046 * sunrpc/xdr_mem.c: Likewise.
11047 * sunrpc/xdr_rec.c: Likewise.
11048 * sunrpc/xdr_ref.c: Likewise.
11049 * sunrpc/xdr_sizeof.c: Likewise.
11050 * sunrpc/xdr_stdio.c: Likewise.
11052 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11055 2010-08-19 Andreas Schwab <schwab@redhat.com>
11057 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11059 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11061 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11062 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11063 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11064 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11065 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11066 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11067 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11068 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11070 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11071 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11072 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11073 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11074 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11076 2010-07-26 Anton Blanchard <anton@samba.org>
11078 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11079 * malloc/arena.c (heap_trim): Likewise.
11081 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11083 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11086 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11088 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/i386/elf/Makefile: New file.
11092 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11094 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11095 from fanotify_init.
11096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11099 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11101 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11103 * sysdeps/multiarch/strcmp.S: Likewise.
11105 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11107 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11108 strncase_l-nonascii.
11109 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11110 Add strncase_l-ssse3.
11111 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11112 * sysdeps/x86_64/strcmp.S: Likewise.
11113 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11114 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11115 * sysdeps/x86_64/strncase.S: New file.
11116 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11117 * sysdeps/x86_64/strncase_l.S: New file.
11118 * string/Makefile (strop-tests): Add strncasecmp.
11119 * string/test-strncasecmp.c: New file.
11121 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11124 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11125 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11127 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11129 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11131 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11133 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11134 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11135 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11137 2010-05-01 Alan Modra <amodra@gmail.com>
11139 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11140 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11141 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11142 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11143 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11144 tidying. Don't tail-call __sigjmp_save for static lib.
11145 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11147 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11148 (CALL_MCOUNT): Add eh info, and nop after bl.
11149 (TAIL_CALL_SYSCALL_ERROR): New macro.
11150 (PSEUDO_RET): Use it.
11151 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11152 Correct save location of integer regs and cr.
11153 (_dl_profile_resolve): Correct cr save location. Delete nops
11154 after bl when SHARED. Reduce cfi size a little by better
11155 placement of cfi directives.
11156 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11157 make a stack frame. Instead use parm save area as a temp.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11159 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11161 Don't make a stack frame for parent, use parm save area.
11162 Increase child stack frame to 112 bytes. Don't save unused reg,
11163 and adjust reg usage. Set up cfi on error recovery and
11164 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11166 (__makecontext): Add dummy nop after jump to exit.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11168 Use correct parm save area and cr save, reduce stack frame.
11169 Correct cfi for possible PSEUDO_RET frame setup.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11171 Branch to local label emitted by PSEUDO_RET rather than
11174 2010-08-12 Andreas Schwab <schwab@redhat.com>
11177 * locale/programs/locale.c (print_assignment): New function.
11178 (show_locale_vars): Use it.
11180 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11182 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11184 (struct statfs64): Likewise.
11185 (_STATFS_F_FLAGS): Define.
11186 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11188 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11189 (ST_VALID): Define locally.
11190 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11191 __statvfs_getflags, use the provided value.
11192 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11193 __ASSUME_STATFS_F_FLAGS.
11195 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11197 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11198 Add sys/fanotify.h.
11199 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11200 fanotify_mask for GLIBC_2.13.
11201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11202 fanotify_init and fanotify_mark.
11203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11204 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11206 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11208 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11209 prlimit64 for GLIBC_2.13.
11210 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11216 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11217 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11220 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11223 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11224 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11226 * nss/Makefile: Add rules to build and run tst-nss-test1.
11227 * shlib-versions: Add entry for libnss_test1.
11228 * nss/nss_test1.c: New file.
11229 * nss/tst-nss-test1.c: New file.
11231 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11232 (__nss_configure_lookup): Set appropriate entry in
11233 __nss_configure_lookup to true.
11234 * nss/nsswitch.h: Define enum with indeces of databases in
11235 databases and __nss_database_custom arrays. Declare
11236 __nss_database_custom.
11237 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11238 to avoid using nscd when custom rules are installed.
11239 * nss/getXXbyYY_r.c: Likewise.
11240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11242 * nss/nss_files/files-parse.c: Whitespace fixes.
11244 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11247 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11248 * posix/fnmatch_loop.c: Likewise.
11250 2010-07-17 Andi Kleen <ak@linux.intel.com>
11252 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11253 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11254 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11255 * Versions.def [GLIBC_2.13]: Add.
11257 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11260 Also fail if tpwd after pwuid call is NULL.
11262 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11264 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11265 when converting to ms.
11267 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11269 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11270 EOPNOTSUPP errors with ENOTTY.
11271 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11272 EOPNOTSUPP errors with ENOTTY.
11274 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11276 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11277 Add strcasecmp_l-ssse3.
11278 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11280 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11281 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11282 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11284 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11286 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11288 * string/Makefile (strop-tests): Add strcasecmp.
11289 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11290 strcasecmp_l-nonascii.
11291 (gen-as-const-headers): Add locale-defines.sym.
11292 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11293 * sysdeps/x86_64/strcasecmp.S: New file.
11294 * sysdeps/x86_64/strcasecmp_l.S: New file.
11295 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11296 * sysdeps/x86_64/locale-defines.sym: New file.
11297 * string/test-strcasecmp.c: New file.
11299 * string/test-strcasestr.c: Test both ends of the range of characters.
11300 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11302 2010-07-29 Roland McGrath <roland@redhat.com>
11305 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11307 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11309 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11312 2010-07-27 Andreas Schwab <schwab@redhat.com>
11314 * manual/memory.texi (Malloc Tunable Parameters): Document
11317 2010-07-26 Roland McGrath <roland@redhat.com>
11320 * configure.in (-fgnu89-inline check): Set and substitute
11321 gnu89_inline, not libc_cv_gnu89_inline.
11322 * configure: Regenerated.
11323 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11325 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11327 * string/test-strnlen.c: New file.
11328 * string/Makefile (strop-tests): Add strnlen.
11329 * string/tester.c (test_strnlen): Add a few more test cases.
11330 * string/tst-strlen.c: Better error reporting.
11332 * sysdeps/x86_64/strnlen.S: New file.
11334 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11336 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11337 lower-latency instructions.
11339 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11341 * string/test-strcasestr.c: New file.
11342 * string/test-strstr.c: New file.
11343 * string/Makefile (strop-tests): Add strstr and strcasestr.
11344 * string/str-two-way.h: Don't undefine MAX.
11345 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11347 2010-07-21 Andreas Schwab <schwab@redhat.com>
11349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11350 strcasestr-nonascii.
11351 (CFLAGS-strcasestr-nonascii.c): Define.
11352 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11354 Remove unused attribute.
11356 2010-07-20 Roland McGrath <roland@redhat.com>
11358 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11359 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11360 ld.so.cache was broken. With it, there is no way to disable dsocaps
11361 like LD_HWCAP_MASK can disable hwcaps.
11363 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11365 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11367 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11369 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11370 call in strcasestr.
11371 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11372 __strcasestr_sse42_nonascii.
11373 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11374 strcasestr-nonascii.c.
11375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11377 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11380 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11381 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11382 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11384 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11389 2010-07-06 Andreas Schwab <schwab@redhat.com>
11392 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11395 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11398 _PC_PIPE_BUF using F_GETPIPE_SZ.
11400 2010-07-05 Roland McGrath <roland@redhat.com>
11402 * manual/arith.texi (Rounding Functions): Fix rint description
11403 implicit in round description.
11405 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11407 * elf/Makefile: Fix linking for a few tests to make recent linker
11410 2010-06-30 Andreas Schwab <schwab@redhat.com>
11412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11413 $(common-objpfx)libc_nonshared.a.
11415 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11417 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11418 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11419 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11420 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11421 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11422 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11424 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11439 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11440 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11441 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11442 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11443 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11444 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11445 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11446 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11447 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11448 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11449 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11450 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11466 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11468 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11469 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11470 * string/memmove.c (memmove): Renamed to ...
11471 (MEMMOVE): ...this. Default to memmove.
11472 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11473 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11476 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11477 mempcpy-ssse3-back memmove-ssse3-back.
11478 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11480 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11481 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11482 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11483 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11484 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11485 * sysdeps/x86_64/multiarch/memmove.c: New file.
11486 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11487 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11488 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11489 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11493 (index_Fast_Copy_Backward): Define.
11494 (HAS_ARCH_FEATURE): Define.
11495 (HAS_FAST_REP_STRING): Define.
11496 (HAS_FAST_COPY_BACKWARD): Define.
11498 2010-06-21 Andreas Schwab <schwab@redhat.com>
11500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11501 Restore proper fallback handling.
11503 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11506 * posix/group_member.c (__group_member): Correct checking loop.
11508 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11509 OOM in getpwuid_r correctly. Return error number when the caller
11510 should return, otherwise -1.
11511 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11512 call returning > 0 value.
11513 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11515 2010-06-07 Andreas Schwab <schwab@redhat.com>
11517 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11518 libc_nonshared.a from targets in modules-names.
11520 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11522 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11525 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11528 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11532 2010-06-02 Andreas Schwab <schwab@redhat.com>
11534 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11536 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11538 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11547 2010-06-14 Roland McGrath <roland@redhat.com>
11549 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11551 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11553 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11554 __REDIRECT followed by __THROW.
11555 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11556 * posix/getopt.h (getopt): Likewise.
11558 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11560 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11561 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11562 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11564 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11565 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11567 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11569 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11571 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11575 Properly check family and model.
11577 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11579 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11581 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11583 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11585 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11587 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11590 2010-05-19 Andreas Schwab <schwab@redhat.com>
11592 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11595 2010-05-21 Andreas Schwab <schwab@redhat.com>
11597 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11598 and internal_recvmmsg.
11599 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11600 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11601 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11602 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11604 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11605 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11606 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11608 2010-05-20 Andreas Schwab <schwab@redhat.com>
11610 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11612 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11614 POWER7 optimizations.
11615 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11616 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11618 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11620 * version.h: Update for 2.13 development version.
11622 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11624 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11625 exceptions. Return 0.
11627 2010-05-07 Roland McGrath <roland@redhat.com>
11629 * elf/ldconfig.c (main): Add a const.
11631 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11633 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11634 (args_options): Add no-idn option.
11635 (ahosts_keys_int): Add idn_flags to ai_flags.
11636 (parse_option): Handle 'i' option to clear idn_flags.
11638 * malloc/malloc.c (_int_free): Possible race in the most recently
11639 added check. Only act on the data if no current modification
11642 See ChangeLog.17 for earlier changes.