1 2012-04-16 Marek Polacek <polacek@redhat.com>
3 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4 operands of fdivp instruction.
6 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9 * elf/tst-auditmod3b.c: Likewise.
10 * elf/tst-auditmod4b.c: Likewise.
11 * elf/tst-auditmod5b.c: Likewise.
12 * elf/tst-auditmod6b.c: Likewise.
13 * elf/tst-auditmod6c.c: Likewise.
14 * elf/tst-auditmod7b.c: Likewise.
15 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16 * sysdeps/x86_64/preconfigure.in: Likewise.
17 * sysdeps/x86_64/preconfigure: Regenerated.
19 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32 * locale/iso-639.def: Fix gl language name. Spotted by
35 2012-04-12 Roland McGrath <roland@hack.frob.com>
38 * libio/libio.h (__io_write_fn): Update comment.
40 2012-04-12 Petr Baudis <pasky@ucw.cz>
43 * stdio.texi (Hook Functions): The user provided writer function
44 is not allowed to return -1.
46 2012-04-11 David S. Miller <davem@davemloft.net>
48 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50 2012-04-11 Mike Frysinger <vapier@gentoo.org>
52 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53 Add a leading slash to rtkaio.
55 2012-04-11 Jim Meyering <meyering@redhat.com>
58 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59 It is not necessarily an error to ignore fwrite's return
60 value. One can reliably use ferror to test for errors after
63 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
65 * bits/types.h (__snseconds_t): New type.
66 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70 (__SNSECONDS_T_TYPE): Likewise.
71 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72 (__SNSECONDS_T_TYPE): Likewise.
73 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74 (__SNSECONDS_T_TYPE): Likewise.
76 2012-04-10 Andreas Jaeger <aj@suse.de>
79 * manual/time.texi (Processor Time): Return type of times is
80 elapsed real time since an arbitrary point in the past.
81 (CPU Time): Move CLK_TCK from here...
82 (Processor Time): ...to here. Correct description.
83 * manual/conf.texi (Constants for Sysconf): Correct description of
86 2012-04-10 David S. Miller <davem@davemloft.net>
89 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
90 where the is a gap between DT_REL(A) and DT_JMPREL.
92 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
94 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
95 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
96 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
98 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
100 * elf/dl-support.c (_dl_inhibit_cache): New variable.
101 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
102 (dl_main): Handle --inhibit-cache.
103 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
105 * elf/dl-load.c (_dl_map_object): Use it.
106 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
108 2012-04-09 Joseph Myers <joseph@codesourcery.com>
111 * sysdeps/i386/fpu/e_powl.S (p78): New object.
112 (__ieee754_powl): Saturate large exponents rather than testing for
113 overflow of y*log2(x).
114 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
115 * math/libm-test.inc (pow_test): Do not permit spurious overflow
119 * math/s_ctan.c: Include <float.h>.
120 (__ctan): Avoid internal overflow or cancellation in calculating
122 * math/s_ctanf.c: Likewise.
123 * math/s_ctanl.c: Likewise.
124 * math/s_ctanh.c: Likewise.
125 * math/s_ctanhf.c: Likewise.
126 * math/s_ctanhl.c: Likewise.
127 * math/libm-test.inc (ctan_test): Add more tests.
128 (ctanh_test): Likewise.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132 2012-04-09 Andreas Jaeger <aj@suse.de>
135 * manual/filesys.texi (Directory Entries): Mention that d_namlen
136 is an optional BSD extension.
139 * manual/stdio.texi (Opening Streams): Document additional fopen
142 2012-04-09 Roland McGrath <roland@hack.frob.com>
144 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
145 %eax without telling the compiler.
147 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
150 * manual/install.texi: Use sourceware.org.
152 2012-04-09 Joseph Myers <joseph@codesourcery.com>
155 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
156 (__ieee754_pow): Generate overflow and underflow using huge*huge
157 and tiny*tiny rather than just returning constant infinity or zero
159 * math/libm-test.inc (pow_test): Require overflow exceptions for
160 applicable cases of large exponents.
163 * sysdeps/i386/fpu/e_pow.S (p10): New object.
164 (__ieee754_pow): Use iterative multiplication algorithm only for
165 integer exponents with absolute value below 1024. Check for odd
166 integer exponents when using algorithm for real exponents.
167 * math/libm-test.inc (pow_test): Add more tests.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
170 2012-04-08 Joseph Myers <joseph@codesourcery.com>
173 * math/libm-test.inc (exp_test): Do not allow overflow exception
176 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
179 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
180 instead of __kernel_standard_f.
182 2012-04-08 Mike Frysinger <vapier@gentoo.org>
184 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
185 * sysdeps/x86_64/memset_chk.S: Likewise.
187 2012-04-08 Andreas Jaeger <aj@suse.de>
190 * manual/startup.texi (Environment Access): Describe return value
191 for putenv and setenv.
194 * manual/filesys.texi (Directory Entries): Add description for
198 * manual/filesys.texi (Directory Entries): Clarify that it's file
199 system not operating system in the description of DT_UNKNOWN.
202 * manual/syslog.texi (closelog): Fix reference, it's openlog.
204 2012-04-08 Stephen Compall <s11@member.fsf.org>
207 * manual/llio.texi (Opening and Closing Files): Add cross
208 reference to explain mode argument.
210 2012-04-07 Mike Frysinger <vapier@gentoo.org>
212 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
213 * sysdeps/x86_64/memset_chk.S: Likewise.
215 2012-04-07 David S. Miller <davem@davemloft.net>
217 * elf/elf.h (R_SPARC_WDISP10): Define.
218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
221 R_SPARC_SIZE64 and R_SPARC_H34.
223 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
226 conditions and remove no longer applicable assertion.
228 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
230 * bits/byteswap.h: Include <features.h>.
231 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
232 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
234 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
236 * bits/byteswap.h (__bswap_16): Removed.
237 Include <bits/byteswap-16.h> to get __bswap_16.
238 * sysdeps/i386/bits/byteswap.h: Likewise.
239 * sysdeps/s390/bits/byteswap.h: Likewise.
240 * sysdeps/x86_64/bits/byteswap.h: Likewise.
241 * bits/byteswap-16.h: New file.
242 * sysdeps/i386/bits/byteswap-16.h: Likewise.
243 * sysdeps/s390/bits/byteswap-16.h: Likewise.
244 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
245 * string/Makefile (headers): Add bits/byteswap-16.h.
247 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
250 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
252 * nss/Makefile (tests-static, tests): Add tst-nss-static.
253 * nss/tst-nss-static.c: New.
255 2012-04-06 Robert Millan <rmh@gnu.org>
258 * manual/llio.texi (File Position Primitive): lseek
259 refers to WHENCE when it really means OFFSET.
261 2012-04-06 Andreas Jaeger <aj@suse.de>
263 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
264 strncmp declarations.
266 * abilist/libc.abilist: Add __poll and __ppoll.
268 2012-04-05 David S. Miller <davem@davemloft.net>
270 * scripts/check-local-headers.sh: Accept a host triplet in the
271 path matched by the exclude regexp.
273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
275 * sysdeps/powerpc/powerpc32/dl-machine.h
276 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
277 * sysdeps/s390/s390-32/dl-machine.h
278 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
279 * sysdeps/sparc/sparc32/dl-machine.h
280 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
281 * sysdeps/sparc/sparc64/dl-machine.h
282 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
284 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
286 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
287 undefined symbol errors.
289 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
292 2012-04-05 Michael Matz <matz@suse.de>
295 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
297 2012-04-05 Andreas Jaeger <aj@suse.de>
300 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
303 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
305 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
306 which ROUND is no valid rounding mode.
308 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
312 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
314 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
316 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
317 an exception using FPU order intentionally.
319 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
321 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
322 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
323 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
324 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
326 2012-04-05 Simon Josefsson <simon@josefsson.org>
329 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
330 EINVAL when BUFLEN is too smal.
332 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
335 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
336 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
338 2012-04-03 Andreas Jaeger <aj@suse.de>
341 * manual/setjmp.texi (System V contexts): Fix sentence.
344 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
345 New macro for this case.
346 [!__GNUC__] (__bswap_64): New inline function for this case.
347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
348 * bits/byteswap.h: Likewise.
349 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
350 ull, guard with __GLIBC_HAVE_LONG_LONG.
352 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
353 __GLIBC_HAVE_LONG_LONG.
355 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
356 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
358 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
361 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
362 inptr and inend, rather than using last_ch.
364 2012-04-02 David S. Miller <davem@davemloft.net>
366 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
367 * stdio-common/printf-parse.h (read_int): Change return type to
368 'int', return -1 on INT_MAX overflow.
369 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
370 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
371 overflows INT_MAX. Check for overflow of in-format-string precision
372 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
373 SIZE_MAX not INT_MAX for integer overflow test.
374 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
375 skip the construct in the format string but do not record anything.
376 * stdio-common/bug22.c: Adjust to test both width/prevision
377 INT_MAX overflow as well as total length INT_MAX overflow. Check
378 explicitly for proper errno values.
380 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
382 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
384 * string/test-strcmp.c [! WIDE]: Likewise.
385 * time/tst-mktime2.c: Likewise for INT_MAX.
386 * string/test-string.h: #include <sys/param.h> for MIN.
388 * csu/init-first.c (__libc_init_first): Call __ctype_init.
389 * sysdeps/i386/init-first.c (init): Likewise.
390 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
391 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
392 * sysdeps/sh/init-first.c (init): Likewise.
394 2012-04-01 Ulrich Drepper <drepper@gmail.com>
396 * po/ru.po: Update from translation team.
397 * po/vi.po: Likewise.
399 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
401 * resolv/nss_dns/dns-host.c: Merge copyright years.
403 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
406 Optimize memcpy with prefetch if
407 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
408 src, dst pointers have unequal 16 byte alignments.
410 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
413 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
414 from a CNAME entry and return the minimum ttl for the query.
415 (gaih_getanswer_slice): Likewise.
417 2012-03-30 Jeff Law <law@redhat.com>
419 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
421 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
422 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
424 * resolv/nss_dns/dns-host.c: Update copyright year.
426 2012-03-30 Ulrich Drepper <drepper@gmail.com>
428 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
429 requests to save a system call. Fix check that all bytes are sent.
431 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
432 comments for sendmmsg.
434 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
437 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
438 with only 1 character between 0x0041 and 0x01b0.
439 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
440 * wcsmbs/tst-mbsnrtowcs.c: New file.
442 2012-03-29 David S. Miller <davem@davemloft.net>
444 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
445 small copies by hand.
447 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
450 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
451 _nss_compat_initgroups_dyn): Fall back to malloc/free
452 for large group memberships.
454 2012-03-28 David S. Miller <davem@davemloft.net>
456 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
457 that branches into memcpy.
458 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
461 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
464 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
466 * sysdeps/sparc/mempcpy.S: New file.
468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
469 the IFUNC routine in the libc case.
470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
472 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
473 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
474 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
475 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
476 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
477 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
478 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
479 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
481 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
482 loop to 256 bytes instead of 64 bytes and fix test signedness.
484 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
485 * sysdeps/sparc/sparc32/Makefile: rather than here...
486 * sysdeps/sparc/sparc64/Makefile: and here.
488 2012-03-28 Ulrich Drepper <drepper@gmail.com>
490 * malloc/mallocbug.c: Avoid warnings about unused variables.
492 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
495 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
496 in the right place. Discard and retry query if response is
497 larger than input buffer size.
499 2012-03-28 Joseph Myers <joseph@codesourcery.com>
504 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
505 x for large integer exponent.
506 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
507 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
508 sign of result as needed afterwards.
509 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
510 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
511 result for underflowing pow the same as for overflow.
512 (__kernel_standard_l): Handle powl overflow and underflow here
513 rather than calling __kernel_standard.
514 * math/libm-test.inc (pow_test): Add more tests.
529 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
530 * sysdeps/ieee754/k_standard.c: Include <float.h>.
531 (__kernel_standard_l): New function.
532 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
534 * math/w_acosl.c (__acosl): Likewise.
535 * math/w_asinl.c (__asinl): Likewise.
536 * math/w_atan2l.c (__atan2l): Likewise.
537 * math/w_atanhl.c (__atanhl): Likewise.
538 * math/w_coshl.c (__coshl): Likewise.
539 * math/w_exp10l.c (__exp10l): Likewise.
540 * math/w_exp2l.c (__exp2l): Likewise.
541 * math/w_fmodl.c (__fmodl): Likewise.
542 * math/w_hypotl.c (__hypotl): Likewise.
543 * math/w_j0l.c (__j0l, __y0l): Likewise.
544 * math/w_j1l.c (__j1l, __y1l): Likewise.
545 * math/w_jnl.c (__jnl, __ynl): Likewise.
546 * math/w_lgammal.c (__lgammal): Likewise.
547 * math/w_log10l.c (__log10l): Likewise.
548 * math/w_log2l.c (__log2l): Likewise.
549 * math/w_logl.c (__logl): Likewise.
550 * math/w_powl.c (__powl): Likewise.
551 * math/w_remainderl.c (__remainderl): Likewise.
552 * math/w_scalbl.c (sysv_scalbl): Likewise.
553 * math/w_sinhl.c (__sinhl): Likewise.
554 * math/w_sqrtl.c (__sqrtl): Likewise.
555 * math/w_tgammal.c (__tgammal): Likewise.
556 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
557 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
558 * math/libm-test.inc (acos_test): Add more tests.
559 (acosh_test): Likewise.
560 (asin_test): Likewise.
561 (atanh_test): Likewise.
562 (exp_test): Likewise.
563 (exp10_test): Likewise.
564 (exp2_test): Likewise.
565 (expm1_test): Likewise.
566 (lgamma_test): Likewise.
567 (log_test): Likewise.
568 (log10_test): Likewise.
569 (log1p_test): Likewise.
570 (log2_test): Likewise.
571 (pow_test): Do not allow some spurious overflow exceptions.
572 (sqrt_test): Add more tests.
573 (tgamma_test): Likewise.
578 2012-03-27 Anton Blanchard <anton@samba.org>
580 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
582 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
586 2012-03-27 David S. Miller <davem@davemloft.net>
588 * conform/Makefile: Run run-conformtest.sh using $(BASH).
590 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
593 2012-03-27 Andreas Jaeger <aj@suse.de>
595 * sysdeps/x86_64/elf/configure.in: Moved to ...
596 * sysdeps/x86_64/configure.in: ... here.
597 * sysdeps/x86_64/elf/start.S: Moved to ...
598 * sysdeps/x86_64/start.S: ... here.
599 * sysdeps/x86_64/elf/configure: Delete.
601 * sysdeps/x86_64/configure.in: Merge contents from
602 sysdeps/i386/configure.in (without i686 check).
604 * sysdeps/i386/elf/Versions: Merge into ...
605 * sysdeps/i386/Versions: ... this.
606 * sysdeps/i386/elf/Versions: Delete file.
607 * sysdeps/i386/elf/start.S: Moved to ...
608 * sysdeps/i386/start.S: ...here.
609 * sysdeps/i386/elf/configure.in: Merge into...
610 * sysdeps/i386/configure.in: ...here.
611 * sysdeps/i386/elf/configure.in: Delete file.
612 * sysdeps/i386/elf/configure: Delete file.
614 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
615 * debug/backtracesyms.c: ... here.
616 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
617 * debug/backtracesymsfd.c: ... here.
618 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
619 * sysdeps/generic/ifunc-sel.h: ... here.
621 * sysdeps/unix/i386/start.c: Delete file.
622 * sysdeps/unix/sparc/start.c: Delete file.
623 * sysdeps/unix/start.c: Delete file.
625 * sysdeps/sh/elf/configure.in: Moved to ...
626 * sysdeps/sh/configure.in: ... here.
627 * sysdeps/sh/elf/start.S: Moved to ...
628 * sysdeps/sh/start.S: ... here.
629 * sysdeps/sh/elf/configure: Delete file.
631 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
632 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
633 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
634 * sysdeps/powerpc/powerpc64/entry.h: ... here.
635 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
636 * sysdeps/powerpc/powerpc64/start.S: here.
637 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
638 * sysdeps/powerpc/powerpc64/Makefile: ... this.
639 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
640 * sysdeps/powerpc/powerpc64/configure.in: ... this.
641 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
643 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
644 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
645 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
646 * sysdeps/powerpc/powerpc32/start.S: ... here.
647 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
648 * sysdeps/powerpc/powerpc32/configure.in: ... this.
649 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
651 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
652 * sysdeps/powerpc/ifunc-sel.h: ... here.
653 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
654 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
656 * sysdeps/sparc/elf/configure.in: Moved to ...
657 * sysdeps/sparc/configure.in: ... here.
658 * sysdeps/sparc/elf/configure: Delete file.
659 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
660 * sysdeps/sparc/sparc32/start.S: ... here.
661 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
662 * sysdeps/sparc/sparc64/start.S: ... here.
663 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
664 * sysdeps/sparc/sparc32/Makefile: ... this.
665 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
666 * sysdeps/sparc/sparc64/Makefile: ... this.
668 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
669 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
670 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
671 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
672 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
673 * sysdeps/s390/s390-32/setjmp.S: ... here.
674 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
675 * sysdeps/s390/s390-32/configure.in: ... here.
676 * sysdeps/s390/s390-32/elf/configure: Delete file.
677 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
678 * sysdeps/s390/s390-32/start.S: ... here.
680 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
681 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
682 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
683 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
684 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
685 * sysdeps/s390/s390-64/setjmp.S: ... here.
686 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
687 * sysdeps/s390/s390-64/configure.in: ... here
688 * sysdeps/s390/s390-64/elf/configure: Delete file.
689 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
690 * sysdeps/s390/s390-64/start.S: ... here.
691 * sysdeps/s390/s390-64/elf/configure: Delete.
693 * configure.in: Remove support for elf directories in sysdeps.
695 * configure: Regenerated.
696 * sysdeps/i386/configure: Regenerated.
697 * sysdeps/powerpc/powerpc32/configure: Regenerated.
698 * sysdeps/powerpc/powerpc64/configure: Regenerated.
699 * sysdeps/s390/s390-32/configure: Regenerated.
700 * sysdeps/s390/s390-64/configure: Regenerated.
701 * sysdeps/sh/configure: Regenerated.
702 * sysdeps/sparc/configure: Regenerated.
703 * sysdeps/x86_64/configure: Regenerated.
705 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
710 denormal result into account.
712 2012-03-25 Roland McGrath <roland@hack.frob.com>
714 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
715 Reported by Allan McRae <allan@archlinux.org>.
717 2012-03-23 Jeff Law <law@redhat.com>
719 * nss/getnssent.c (__nss_getent): Fix typo.
721 2012-03-23 David S. Miller <davem@davemloft.net>
723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
725 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
727 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
728 to pad to uint64_t for each field.
729 (dl_tls_index): Replace unsigned long with uint64_t.
731 2012-03-23 Daniel Jacobowitz <dmj@google.com>
732 Paul Pluzhnikov <ppluzhnikov@google.com>
735 * grp/Makefile (otherlibs): Don't set it.
736 * inet/Makefile (otherlibs): Likewise.
737 * login/Makefile (otherlibs): Likewise.
738 * nscd/Makefile (otherlibs): Likewise.
739 * posix/Makefile (otherlibs): Likewise.
740 * pwd/Makefile (otherlibs): Likewise.
741 * rt/Makefile (otherlibs): Likewise.
742 * sunrpc/Makefile (otherlibs): Likewise.
743 * nss/Makefile (otherlibs): Likewise.
744 Add libnss_files to routines and static-only-routines.
745 ($(objpfx)getent): Remove rule.
746 * resolv/Makefile: Add libnss_dns and libresolv to routines and
747 static-only-routines.
749 2012-03-22 Joseph Myers <joseph@codesourcery.com>
752 * math/s_cexp.c: Include <float.h>.
753 (__cexp): Handle exp result overflowing not necessarily
754 overflowing both real and imaginary parts of result.
755 * math/s_cexpf.c: Likewise.
756 * math/s_cexpl.c: Likewise.
757 * math/libm-test.inc (cexp_test): Add more tests.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
761 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
763 * include/link.h (ELFW): New macro.
764 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
765 Replace ELF64_R_TYPE with ELFW(R_TYPE).
767 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
769 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
772 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
774 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
776 (struct La_x32_retval): Likewise.
778 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
780 * sysdeps/x86_64/preconfigure.in: New file.
781 * sysdeps/x86_64/preconfigure: New generated file.
783 2012-03-22 Joseph Myers <joseph@codesourcery.com>
786 * math/e_exp2l.c: Include <float.h>.
787 (__ieee754_exp2l): Handle overflow and underflow cases
788 separately. Only pass fractional part of argument to
790 * math/libm-test.inc (exp2_test): Add more tests.
792 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
793 negating x to take absolute value.
794 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
796 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
799 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
800 computing low part if x was negated.
801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
803 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
805 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
807 (pltexit): Cast int_retval to ptrdiff_t.
808 * elf/tst-auditmod3b.c: Likewise.
809 * elf/tst-auditmod4b.c: Likewise.
810 * elf/tst-auditmod5b.c: Likewise.
811 * elf/tst-auditmod6b.c: Likewise.
812 * elf/tst-auditmod6c.c: Likewise.
813 * elf/tst-auditmod7b.c: Likewise.
815 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
818 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
820 (La_x32_regs): New macro.
821 (La_x32_retval): Likewise.
822 (la_x32_gnu_pltenter): New function prototype.
823 (la_x32_gnu_pltexit): Likewise.
825 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
832 * configure.in (libc_cv_cc_nofma): Check for option to disable
833 generation of FMA instructions.
834 * configure: Regenerate.
835 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
836 * sysdeps/ieee754/dbl-64/Makefile: New file.
837 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
838 Remove brandred-fma4.
839 (CFLAGS-brandred-fma4.c): Remove.
840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
846 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
848 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
849 LLONG_MAX != LONG_MAX.
850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
851 (_fitoa_word): Likewise.
852 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
853 LLONG_MAX != LONG_MAX.
854 * stdio-common/_itowa.h: Include <_itoa.h>.
855 (_itowa_word): Use _ITOA_WORD_TYPE on value.
856 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
857 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
859 (_ITOA_WORD_TYPE): Likewise.
860 (_itoa_word): Use _ITOA_WORD_TYPE on value.
861 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
863 2012-03-21 David S. Miller <davem@davemloft.net>
865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
867 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
869 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
870 of x86_64 when setting libc_cv_slibdir, libdir and
872 * sysdeps/unix/sysv/linux/configure: Regenerated.
874 2012-03-21 Joseph Myers <joseph@codesourcery.com>
876 * manual/lang.texi (Old Varargs): Remove section.
877 (How Variadic): Update menu.
878 (va_start): Do not mention varargs.h.
880 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
881 Joseph Myers <joseph@codesourcery.com>
883 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
885 * configure: Regenerated.
887 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
889 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
890 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
893 2012-03-21 Joseph Myers <joseph@codesourcery.com>
896 * Makefile (files-for-dist): Remove NOTES.
897 (NOTES): Remove rule.
898 * README: Don't refer to NOTES.
899 * manual/creature.texi: Don't include macros.texi.
900 * manual/intro.texi (creature.texi): Remove comment referring to
903 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
904 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
905 * configure: Regenerated.
906 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
908 (libc_cv_as_i686): Likewise.
909 (libc_cv_cc_avx): Likewise.
910 (libc_cv_cc_sse2avx): Likewise.
911 (libc_cv_cc_fma4): Likewise.
912 (libc_cv_cc_novzeroupper): Likewise.
913 * sysdeps/i386/configure: Regenerated.
916 * sysdeps/i386/fpu/s_cexp.S: Remove.
917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
918 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
919 * math/libm-test.inc (cexp_test): Add more tests.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923 2012-03-21 Allan McRae <allan@archlinux.org>
925 * timezone/Makefile: Do not install iso3166.tab and zone.tab
927 2012-03-21 Joseph Myers <joseph@codesourcery.com>
930 * math/w_exp2.c: Do not include <float.h>.
931 (o_threshold, u_threshold): Remove.
932 (__exp2): Calculate result before checking finiteness and calling
934 * math/w_exp2f.c: Likewise.
935 * math/w_exp2l.c: Likewise.
936 * math/libm-test.inc (exp2_test): Require overflow exception for
940 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
941 range of signed 64-bit integers before using fistpll. Remove
942 checks for whether integers fit in mantissa bits.
943 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
944 the range of signed 32-bit integers before using fistpl. Remove
945 checks for whether integers fit in mantissa bits.
946 * sysdeps/i386/fpu/e_powl.S (p64): New object.
947 (__ieee754_powl): Test for y outside the range of signed 64-bit
948 integers before using fistpll. Reduce 64-bit values to 63-bit
950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
951 divide-by-zero is raised for zero to large negative powers.
952 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
953 (__ieee754_powl): Test for y outside the range of signed 64-bit
954 integers before using fistpll. Reduce 64-bit values to 63-bit
956 * math/libm-test.inc (pow_test): Add more tests.
958 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
960 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
961 <stdio-common/_itoa.h>.
962 * debug/segfault.c: Likewise.
963 * elf/dl-cache.c: Likewise.
964 * elf/dl-minimal.c: Likewise.
965 * elf/dl-misc.c: Likewise.
966 * elf/dl-sysdep.c: Likewise.
967 * elf/dl-version.c: Likewise.
968 * elf/rtld.c: Likewise.
969 * hurd/hurdsock.c: Likewise.
970 * hurd/lookup-retry.c: Likewise.
971 * malloc/malloc.c: Likewise.
972 * malloc/mtrace.c: Likewise.
973 * nscd/nscd_getgr_r.c: Likewise.
974 * nscd/nscd_getpw_r.c: Likewise.
975 * nscd/nscd_getserv_r.c: Likewise.
976 * posix/getopt_init.c: Likewise.
977 * posix/wordexp.c: Likewise.
978 * stdio-common/_itoa.c: Likewise.
979 * stdio-common/printf_fphex.c: Likewise.
980 * stdio-common/vfprintf.c: Likewise.
981 * string/_strerror.c: Likewise.
982 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
983 * sysdeps/i386/i686/hp-timing.h: Likewise.
984 * sysdeps/mach/_strerror.c: Likewise.
985 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
986 * sysdeps/mach/hurd/sethostid.c: Likewise.
987 * sysdeps/mach/hurd/xmknodat.c: Likewise.
988 * sysdeps/mach/xpg-strerror.c: Likewise.
989 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
990 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
991 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
992 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
993 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
994 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
995 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
996 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
997 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
998 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
999 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1000 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1002 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1004 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1007 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1008 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1011 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1013 * stdio-common/_itoa.h: Moved to ...
1014 * sysdeps/generic/_itoa.h: Here.
1016 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1018 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1019 instead of "_itoa.h" and "_itowa.h".
1020 * stdio-common/vfprintf.: Likewise.
1022 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1024 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1026 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1027 (__signbit): Likwise.
1031 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1033 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1036 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1038 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1039 OVERFLOW_EXCEPTION_OK.
1040 * math/libm-test.inc ("Philosophy"): Update comment about
1042 (OVERFLOW_EXCEPTION): Define.
1043 (OVERFLOW_EXCEPTION_OK): Likewise.
1044 (INVALID_EXCEPTION_OK): Renumber.
1045 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1046 (IGNORE_ZERO_INF_SIGN): Likewise.
1047 (test_exceptions): Handle FE_OVERFLOW.
1048 (exp10_test): Expect overflow exceptions.
1049 (exp2_test): Likewise.
1050 (expm1_test): Likewise.
1051 (nextafter_test): Likewise.
1052 (pow_test): Likewise.
1053 (scalbn_test): Likewise.
1054 (scalbln_test): Likewise.
1056 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1058 * sysdeps/x86_64/bits/atomic.h
1059 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1061 (atomic_exchange_acq): Likewise.
1062 (__arch_exchange_and_add_body): Likewise.
1063 (__arch_add_body): Likewise.
1064 (atomic_add_negative): Likewise.
1065 (atomic_add_zero): Likewise.
1067 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1070 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1074 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1075 Check __x86_64__ instead of __WORDSIZE.
1077 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1079 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1081 2012-03-19 David S. Miller <davem@davemloft.net>
1083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1085 * sysdeps/sparc/fpu/fenv_private.h: New file.
1086 * sysdeps/sparc/fpu/math_private.h: Use it.
1087 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1089 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1090 (libc_feholdexcept_setroundl): Remove.
1091 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1093 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1094 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1098 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1099 int64_t instead of long int.
1100 (INSERT_WORDS64): Likwise.
1102 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1104 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1105 _Unwind_GetCFA return to _Unwind_Ptr first.
1107 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1110 * math/s_clog.c: Include <float.h>.
1111 (__clog): Scale large or subnormal inputs.
1112 * math/s_clogf.c: Likewise.
1113 * math/s_clogl.c: Likewise.
1114 * math/s_clog10.c: Include <float.h>.
1115 (M_LOG10_2): Define.
1116 (__clog10): Scale large or subnormal inputs.
1117 * math/s_clog10f.c: Likewise.
1118 * math/s_clog10l.c: Likewise.
1119 * math/libm-test.inc (clog_test): Add more tests.
1120 (clog10_test): Likewise.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1127 * math/libm-test.inc (atan2_test): Add another test.
1129 * Makerules (common-objdir-compile): Remove.
1130 * sysdeps/unix/Makefile (config-generated): Do not add
1131 $(unix-generated) to variable.
1132 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1133 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1135 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1137 [generic bits/local_lim.h] (before-compile): Do not append to
1139 [generic bits/local_lim.h] (common-generated): Likewise.
1140 [generic sys/param.h] (before-compile): Do not append to variable.
1141 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1142 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1143 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1144 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1146 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1147 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1148 [generic sys/param.h] ($(addprefix
1149 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1150 [generic sys/param.h] (common-generated): Do not append to
1152 [generic sys/param.h] (sysdep_headers): Likewise.
1153 [generic bits/errno.h] (before-compile): Do not append to
1155 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1157 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1158 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1159 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1160 [generic bits/errno.h] (common-generated): Do not append to
1162 [generic bits/ioctls.h] (before-compile): Do not append to
1164 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1166 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1167 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1168 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1170 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1171 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1172 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1173 [generic bits/ioctls.h] (common-generated): Do not append to
1175 [generic sys/syscall.h] (syscall.h): Remove variable.
1176 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1178 [generic sys/syscall.h] (before-compile): Do not append to
1180 [generic sys/syscall.h] (common-generated): Likewise.
1181 * sysdeps/unix/errnos-tmpl.c: Remove file.
1182 * sysdeps/unix/errnos.awk: Likewise.
1183 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1184 * sysdeps/unix/ioctls.awk: Likewise.
1185 * sysdeps/unix/mk-local_lim.c: Likewise.
1186 * sysdeps/unix/snarf-ioctls: Likewise.
1188 2012-03-19 Richard Henderson <rth@twiddle.net>
1190 * sysdeps/i386/fpu/fenv_private.h: New file.
1191 * sysdeps/i386/fpu/math_private.h: Use it.
1192 (math_opt_barrier, math_force_eval): Remove.
1193 (libc_feholdexcept_setround_53bit): Remove.
1194 (libc_feupdateenv_53bit): Remove.
1195 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1196 (math_opt_barrier, math_force_eval): Remove.
1197 (libc_feholdexcept): Remove.
1198 (libc_feholdexcept_setround): Remove.
1199 (libc_fetestexcept, libc_fesetenv): Remove.
1200 (libc_feupdateenv_test): Remove.
1201 (libc_feupdateenv, libc_feholdsetround): Remove.
1202 (libc_feresetround): Remove.
1204 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1205 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1207 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1208 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1209 (libc_feupdateenv_testl): New.
1210 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1211 (libc_feupdateenv_testf): New.
1212 (libc_feupdateenv): Use libc_feupdateenv_test.
1213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1216 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1217 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1218 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1219 (libc_feresetround_noex): New.
1220 (libc_feresetround_noexf): New.
1221 (libc_feresetround_noexl): New.
1222 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1223 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1224 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1225 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1230 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1231 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1232 SET_RESTORE_ROUND_NOEX.
1233 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1234 SET_RESTORE_ROUND_NOEXF.
1235 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1236 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1237 (libc_feholdsetroundf): New.
1238 (libc_feresetround, libc_feresetroundf): New.
1240 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1241 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1242 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1244 * sysdeps/generic/math_private.h: Include <fenv.h>.
1245 (default_libc_feholdexcept): New.
1246 (default_libc_feholdexcept_setround): New.
1247 (default_libc_fesetenv, default_libc_feupdateenv): New.
1248 (libc_feholdexcept): Only define if undefined.
1249 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1250 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1251 (libc_feholdexcept_setroundl): Likewise.
1252 (libc_feholdexcept_setround_53bit): Likewise.
1253 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1254 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1255 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1256 (libc_feupdateenv_53bit): Likewise.
1257 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1258 (libc_feholdexcept): Convert from macro to inline function.
1259 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1260 (libc_fesetenv, libc_feupdateenv): Likewise.
1262 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1263 not previously defined.
1264 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1265 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1266 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1267 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1268 * sysdeps/ieee754/flt-32/math_private.h: New file.
1269 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1270 math_private.h below SET_FLOAT_WORD.
1271 (__isnan, __isinf_ns, __finite): Remove.
1272 (__isnanf, __isinf_nsf, __finitef): Remove.
1274 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1278 2012-03-17 David S. Miller <davem@davemloft.net>
1281 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1284 2012-03-16 David S. Miller <davem@davemloft.net>
1286 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1290 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1292 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1293 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1294 sysdep_routines when subdir is sysvipc.
1295 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1298 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1300 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1302 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1305 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1308 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1309 (__lround): Renamed to ...
1310 (__llround): This. Replace long int with long long int.
1311 Define lround functions as aliases of llround functions.
1312 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1314 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1316 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1317 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1318 adresses to uintptr_t. Replace "long int" and "unsigned long
1319 int" with "greg_t" on va_arg.
1321 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1323 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1324 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1326 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1327 Move e_machine check before EI_CLASS check. Handle x32
1328 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1329 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1330 SKIP_EM_IA_64 and include
1331 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1333 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1334 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1335 (add_system_dir): New macro.
1337 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1338 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1340 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1351 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1353 * math/w_j0f.c (j0f): Likewise.
1355 * math/w_j0l.c (__j0l): Likewise.
1357 * math/w_j1.c (j1): Likewise.
1359 * math/w_j1f.c (j1f): Likewise.
1361 * math/w_j1l.c (__j1l): Likewise.
1363 * math/w_jn.c (jn): Likewise.
1365 * math/w_jnf.c (jnf): Likewise.
1367 * math/w_jnl.c (__jnl): Likewise.
1369 * math/libm-test.inc (j0_test): Add more tests.
1370 (j1_test): Likewise.
1371 (jn_test): Likewise. Add trailing semicolon to existing test.
1372 (y0_test): Likewise.
1373 (y1_test): Likewise.
1374 * sysdeps/i386/fpu/libm-test-ulps: Update.
1375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1380 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1381 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1383 (__tanl): Set errno for infinite argument.
1384 * sysdeps/i386/fpu/mptan.c: Remove.
1385 * sysdeps/i386/fpu/s_tan.S: Likewise.
1386 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1387 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1388 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1389 * math/libm-test.inc (tan_test): Add more tests and enable more
1390 tests for double and long double.
1391 * sysdeps/i386/fpu/libm-test-ulps: Update.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1396 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1397 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1399 2012-03-16 Roland McGrath <roland@hack.frob.com>
1401 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1402 * configure.in: Use it for both main tree and add-ons.
1403 * configure: Regenerated.
1405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1407 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1409 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1415 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1416 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1421 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1422 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1424 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1425 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1426 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1427 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1428 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1429 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1430 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1431 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1432 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1433 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1434 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1435 * math/libm-test.inc (cos_test): Add more tests and enable more
1436 tests for long double.
1437 (sin_test): Likewise.
1438 (sincos_test): Likewise.
1439 * sysdeps/i386/fpu/libm-test-ulps: Update.
1440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442 2012-03-16 David S. Miller <davem@davemloft.net>
1444 * sysdeps/sparc/fpu/math_private.h: New file.
1446 2012-03-15 David S. Miller <davem@davemloft.net>
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1462 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1463 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1465 * sysdeps/sparc/sparc-ifunc.h: New file.
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1511 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1513 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1517 2012-03-15 Andreas Jaeger <aj@suse.de>
1520 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1521 ieee754/flt-32 implementation for sin, cos and sincos.
1522 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1523 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1524 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1525 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1526 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1527 ieee754/flt-32 implementation for tan.
1529 * math/libm-test.inc (cos_test): Enable some large input tests for
1531 (sin_test): Likewise.
1532 (sincos_test): Likewise.
1533 (tan_test): Add tests for large input.
1535 * sysdeps/i386/fpu/libm-test-ulps: Update.
1537 2012-03-15 Andreas Jaeger <aj@suse.de>
1540 * math/libm-test.inc (cos_test): Add more test cases.
1541 (sin_test): Likewise.
1542 (sincos_test): Likewise.
1544 2012-03-15 Andreas Jaeger <aj@suse.de>
1547 * math/libm-test.inc (cos_test): Add a test case for large input
1549 (sin_test): Likewise.
1550 (sincos_test): Likewise.
1552 2012-03-15 Andreas Jaeger <aj@suse.de>,
1553 Joseph Myers <joseph@codesourcery.com>
1556 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1557 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1558 * sysdeps/i386/fpu/branred.c: Likewise.
1559 * sysdeps/i386/fpu/dosincos.c: Likewise.
1560 * sysdeps/i386/fpu/mpa.c: Likewise.
1561 * sysdeps/i386/fpu/s_cos.S: Likewise.
1562 * sysdeps/i386/fpu/s_sin.S: Likewise.
1563 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1564 * sysdeps/i386/fpu/sincos32.c: Likewise.
1566 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1568 (libc_feupdateenv_53bit): Define.
1569 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1571 (libc_feupdateenv_53bit): Define.
1573 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1574 53 bit (without extend i386 double precision).
1576 * math/libm-test.inc (sincos_test): Add tests for large input.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1582 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1586 2012-03-15 David S. Miller <davem@davemloft.net>
1588 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1589 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1590 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1616 fmin/fmax sysdep routines.
1617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1619 2012-03-14 David S. Miller <davem@davemloft.net>
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1693 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1698 * sysdeps/sparc/configure.in: New file.
1699 * sysdeps/sparc/configure: Generate.
1700 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1701 * configure: Regenerate.
1702 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1703 * config.make.in (have-as-vis3): New.
1704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1705 available use -Av9d instead of -Av9a.
1706 * sysdeps/sparc/sparc64/Makefile: Likewise.
1707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1722 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1723 fzeros/fnegs to load 0x80000000 into a float register instead of
1725 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1727 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1731 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1732 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1733 ($(inst_includedir)/bits/syscall.h): Remove rule.
1734 ($(objpfx)bits/syscall.d): Include instead of
1735 $(objpfx)syscall-list.d.
1736 (generated): Change syscall-list.h and syscall-list.d to
1737 bits/syscall.h and bits/syscall.d.
1739 2012-03-14 Roland McGrath <roland@hack.frob.com>
1742 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1744 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1747 * math/s_csqrt.c: Include <float.h>.
1748 (__csqrt): Scale large or subnormal inputs.
1749 * math/s_csqrtf.c: Likewise.
1750 * math/s_csqrtl.c: Likewise.
1751 * math/libm-test.inc (csqrt_test): Add more tests.
1752 * sysdeps/i386/fpu/libm-test-ulps: Update.
1753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1756 * math/libm-test.inc (hypot_test): Add more tests.
1758 2012-03-13 David S. Miller <davem@davemloft.net>
1761 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1762 double-precision for the calculation instead of scaling.
1764 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1766 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1767 manipulate bits before adding and subtracting TWO52[sx].
1768 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1773 2012-03-13 David S. Miller <davem@davemloft.net>
1775 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1776 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1778 rtld-global-offsets.h
1779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1786 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1787 'err' in the ifdef scope in which it is actually used.
1789 * nss/nss_db/db-init.c: Include string.h
1791 2012-03-12 David S. Miller <davem@davemloft.net>
1793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1794 masking out of the most significant byte of random value used.
1795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1796 Fix coding style in previous change.
1798 * sysdeps/unix/sysv/linux/kernel-features.h
1799 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1800 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1802 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1805 2012-03-11 David S. Miller <davem@davemloft.net>
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1808 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1809 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1810 for 'resultvar' otherwise things get truncated on 64-bit.
1812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1813 Fix masking out of the most significant byte of random value used.
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1817 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1821 2012-03-09 David S. Miller <davem@davemloft.net>
1823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1824 variables with appropriate CPP guards.
1825 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1826 frame pointer, not the stack pointer. Correct layout comments. Fix test
1827 on resulting framesize and the management of the outregs buffer for pltexit.
1828 Preserve floating point return values across _dl_call_pltexit call.
1829 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1830 framesize and the management of the outregs buffer for pltexit.
1831 Preserve floating point return values across _dl_call_pltexit
1833 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1834 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1835 (print_exit): Fix format string for return register value.
1837 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1839 * sunrpc/Makefile (others): Add rpcgen.
1840 ($(objpfx)rpcgen): Remove special build rule and dependency on
1842 * sunrpc/rpcgen.c: New file.
1844 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1847 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1848 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1849 * sysdeps/i386/crti.S: Likewise.
1850 * sysdeps/i386/crtn.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1853 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1855 * sysdeps/sh/crti.S: Likewise.
1856 * sysdeps/sh/crtn.S: Likewise.
1857 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1860 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1862 * locale/programs/locfile-kw.gperf: Likewise.
1863 * locale/programs/charmap-kw.h: Regenerated.
1864 * locale/programs/locfile-kw.h: Likewise.
1867 * intl/plural.y: Replace FSF snail mail address with URL.
1868 * intl/plural.c: Regenerated.
1870 2012-03-09 Richard Henderson <rth@twiddle.net>
1872 * include/math_private.h: Remove file.
1873 * math/math_private.h: Move file ...
1874 * sysdeps/generic/math_private.h: ... here.
1876 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1877 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1880 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1881 and <math_private.h>.
1882 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1883 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1884 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1885 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1886 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1970 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1975 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1977 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1978 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1979 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1982 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1983 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1984 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1987 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1994 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1996 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1997 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1998 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1999 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2000 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2001 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2004 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2005 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2006 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2007 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2008 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2009 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2010 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2011 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2013 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2020 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2021 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2022 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2023 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2024 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2025 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2026 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2027 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2028 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2029 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2030 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2031 * sysdeps/ieee754/k_standard.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2192 * sysdeps/ieee754/s_lib_version.c: Likewise.
2193 * sysdeps/ieee754/s_matherr.c: Likewise.
2194 * sysdeps/ieee754/s_signgam.c: Likewise.
2195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2198 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2199 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2200 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2201 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2202 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2203 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2204 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2205 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2206 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2207 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2208 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2209 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2210 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2211 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2212 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2217 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2219 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2220 * sunrpc/rpc_main.c: Likewise.
2221 * sunrpc/rpc_svcout.c: Likewise.
2223 2012-03-09 David S. Miller <davem@davemloft.net>
2225 * include/math_private.h: New file.
2227 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2229 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2230 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2231 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2232 from <bits/socket_type.h>.
2233 (enum __socket_type): Don't define here.
2234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2239 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2242 * Makerules ($(inst_includedir)/%.h): New rule.
2243 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2244 (install-others): Remove variable setting.
2245 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2247 2012-03-08 Richard Henderson <rth@twiddle.net>
2249 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2250 from macro to inline function; merge with the
2251 !__LIBC_INTERNAL_MATH_INLINES version.
2252 (__ieee754_sqrtf): Likewise.
2254 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2256 (__rintf, __floor, __floorf): Likewise.
2258 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2259 macro to inline function.
2260 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2263 not <math/math_private.h>.
2265 2012-03-08 David S. Miller <davem@davemloft.net>
2267 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2269 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2271 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2273 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2275 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2276 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2278 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2280 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2281 be defined individually, they must be defined as a block. Define
2282 S for printing a string instead of hidint the different by using a
2283 macro for adding the 'l'.
2284 * stdio-common/tst-fphex-wide.c: Adjust.
2286 2012-03-07 Marek Polacek <polacek@redhat.com>
2288 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2290 2012-03-08 Marek Polacek <polacek@redhat.com>
2293 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2294 * stdio-common/tst-fphex.c: Define a few macros to make the
2295 test reusable. Use them.
2296 * stdio-common/tst-fphex-wide.c: New file.
2298 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2301 * manual/macros.texi (gnusystems): New macro.
2302 (nongnusystems): Likewise.
2303 (gnulinuxhurdsystems): Likewise.
2304 (gnuhurdsystems): Likewise..
2305 (gnulinuxsystems): Likewise.
2306 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2307 variants of the GNU system, not "GNU system".
2308 * manual/conf.texi: Likewise.
2309 * manual/errno.texi: Likewise. Update example of errno macro
2311 * manual/filesys.texi: Likewise.
2312 (getumask): Document as specific to GNU/Hurd.
2313 * manual/install.texi: Likewise. Reword some references to
2315 * manual/intro.texi: Likewise.
2316 * manual/io.texi: Likewise.
2317 (File Name Portability): Detail which constraints are inapplicable
2318 to all GNU systems and which are only inapplicable to GNU/Hurd.
2319 * manual/job.texi: Likewise.
2320 * manual/llio.texi: Likewise.
2321 (O_NOCTTY): Document as present on GNU/Linux.
2322 * manual/maint.texi: Likewise.
2323 * manual/memory.texi: Likewise.
2324 * manual/pattern.texi: Likewise.
2325 * manual/pipe.texi: Likewise.
2326 * manual/process.texi: Likewise.
2327 * manual/resource.texi: Likewise.
2328 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2330 * manual/setjmp.texi: Likewise.
2331 * manual/signal.texi: Likewise.
2332 * manual/startup.texi: Likewise.
2333 * manual/stdio.texi: Likewise.
2334 * manual/terminal.texi: Likewise.
2335 (ONLCR): Document as POSIX.
2336 (OXTABS): Document availability on GNU/Linux as XTABS.
2337 (ONOEOT): Document availability separately from other bits.
2338 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2339 * manual/time.texi: Likewise.
2340 * manual/users.texi: Likewise.
2341 * INSTALL: Regenerated.
2342 * sysdeps/gnu/errlist.c: Regenerated.
2344 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2345 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2346 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2348 * configure: Regenerated.
2350 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2352 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2353 default includes instead of AC_HEADER_CHECK.
2354 * sysdeps/i386/configure: Regenerated.
2357 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2358 * math/s_cacoshf.c (__cacoshf): Likewise.
2359 * math/s_cacoshl.c (__cacoshl): Likewise.
2360 * math/s_casinh.c (__casinh): Set signs of result from argument.
2361 * math/s_casinhf.c (__casinhf): Likewise.
2362 * math/s_casinhl.c (__casinhl): Likewise.
2363 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2364 (casinh_test): Add more tests.
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2368 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2370 * po/zh_TW.po: Update from translation team.
2372 * login/Makefile (distribute): Remove variable.
2373 * catgets/Makefile: Likewise.
2374 * mach/Makefile: Likewise.
2375 * malloc/Makefile: Likewise.
2376 * misc/Makefile: Likewise.
2377 * iconv/Makefile: Likewise.
2378 * nscd/Makefile: Likewise.
2379 * hurd/Makefile: Likewise.
2380 * manual/Makefile: Likewise.
2381 * locale/Makefile: Likewise.
2382 * intl/Makefile: Likewise.
2383 * conform/Makefile: Likewise.
2384 * nss/Makefile: Likewise.
2385 * time/Makefile: Likewise.
2386 * soft-fp/Makefile: Likewise.
2387 * dirent/Makefile: Likewise.
2388 * gmon/Makefile: Likewise.
2389 * po/Makefile: Likewise.
2390 * rt/Makefile: Likewise.
2391 * socket/Makefile: Likewise.
2392 * math/Makefile: Likewise.
2393 * signal/Makefile: Likewise.
2394 * debug/Makefile: Likewise.
2395 * elf/Makefile: Likewise.
2396 * timezone/Makefile: Likewise.
2397 * stdlib/Makefile: Likewise.
2398 * iconvdata/Makefile: Likewise.
2399 * sunrpc/Makefile: Likewise.
2400 * io/Makefile: Likewise.
2401 * argp/Makefile: Likewise.
2402 * inet/Makefile: Likewise.
2403 * hesiod/Makefile: Likewise.
2404 * grp/Makefile: Likewise.
2405 * csu/Makefile: Likewise.
2406 * wctype/Makefile: Likewise.
2407 * crypt/Makefile: Likewise.
2408 * libio/Makefile: Likewise.
2409 * string/Makefile: Likewise.
2410 * nis/Makefile: Likewise.
2411 * resolv/Makefile: Likewise.
2412 * stdio-common/Makefile: Likewise.
2413 * wcsmbs/Makefile: Likewise.
2414 * dlfcn/Makefile: Likewise.
2415 * posix/Makefile: Likewise.
2417 * timezone/Makefile: Don't install timezone files, just the programs
2420 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2422 * nss/databases.def: Add missing gshadow entry.
2424 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2426 2012-03-06 Marek Polacek <polacek@redhat.com>
2429 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2430 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2431 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2432 * stdio-common/tst-long-dbl-fphex.c: New file.
2434 2012-03-06 David S. Miller <davem@davemloft.net>
2436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2437 (set_obp_int): New function.
2438 (get_obp_int): New function.
2439 (__get_clockfreq_via_dev_openprom): Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2441 Avoid unused variable warnings on 'val' and use builtin_expect.
2442 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2444 (INLINE_CLONE_SYSCALL): Likewise.
2446 2012-03-05 David S. Miller <davem@davemloft.net>
2448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2450 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2456 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2458 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2461 Replace gettimeofday with __vdso_gettimeofday.
2463 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2464 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2465 __vdso_clock_gettime and __vdso_getcpu.
2467 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2468 time with __vdso_time.
2470 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2472 * manual/lang.texi (size_t): Note types to which size_t may be
2473 equivalent with the GNU C Library, but do not describe when
2474 differences between them are significant.
2476 2012-03-05 Andreas Jaeger <aj@suse.de>
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2480 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2484 (__ieee754_pow): Save and restore rounding mode and use
2485 round-to-nearest for main computations.
2486 * math/libm-test.inc (pow_test_tonearest): New function.
2487 (pow_test_towardzero): Likewise.
2488 (pow_test_downward): Likewise.
2489 (pow_test_upward): Likewise.
2490 (main): Call the new functions.
2491 * sysdeps/i386/fpu/libm-test-ulps: Update.
2492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2495 * math/libm-test.inc (cosh_test_tonearest): New function.
2496 (cosh_test_towardzero): Likewise.
2497 (cosh_test_downward): Likewise.
2498 (cosh_test_upward): Likewise.
2499 (sinh_test_tonearest): Likewise.
2500 (sinh_test_towardzero): Likewise.
2501 (sinh_test_downward): Likewise.
2502 (sinh_test_upward): Likewise.
2503 (main): Call the new functions.
2504 * sysdeps/i386/fpu/libm-test-ulps: Update.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507 2012-03-05 Tom de Vries <tom@codesourcery.com>
2509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2510 default stack guard is set in last bytes.
2511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2513 2012-03-05 Kees Cook <keescook@chromium.org>
2515 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2518 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2519 possibly allocate from heap instead of stack.
2520 * stdio-common/bug-vfprintf-nargs.c: New file.
2521 * stdio-common/Makefile (tests): Add nargs overflow test.
2523 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2527 2012-03-03 Marek Polacek <polacek@redhat.com>
2529 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2530 * math/math_private.h: Likewise.
2531 * stdlib/tst-strtod.c: Likewise.
2532 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2533 * sysdeps/x86_64/bits/atomic.h: Likewise.
2535 2012-03-02 David S. Miller <davem@davemloft.net>
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2541 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2542 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2543 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2544 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2546 2012-03-02 Roland McGrath <roland@hack.frob.com>
2549 * manual/examples/README: New file, says the example source files
2550 can be used under GPL>=2.
2551 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2552 line containing just "*/".
2553 * manual/examples/add.c: Add copyright header (GPL>=2).
2554 * manual/examples/argp-ex1.c: Likewise.
2555 * manual/examples/argp-ex2.c: Likewise.
2556 * manual/examples/argp-ex3.c: Likewise.
2557 * manual/examples/argp-ex4.c: Likewise.
2558 * manual/examples/atexit.c: Likewise.
2559 * manual/examples/db.c: Likewise.
2560 * manual/examples/dir.c: Likewise.
2561 * manual/examples/dir2.c: Likewise.
2562 * manual/examples/execinfo.c: Likewise.
2563 * manual/examples/filecli.c: Likewise.
2564 * manual/examples/filesrv.c: Likewise.
2565 * manual/examples/fmtmsgexpl.c: Likewise.
2566 * manual/examples/genpass.c: Likewise.
2567 * manual/examples/inetcli.c: Likewise.
2568 * manual/examples/inetsrv.c: Likewise.
2569 * manual/examples/isockad.c: Likewise.
2570 * manual/examples/longopt.c: Likewise.
2571 * manual/examples/memopen.c: Likewise.
2572 * manual/examples/memstrm.c: Likewise.
2573 * manual/examples/mkfsock.c: Likewise.
2574 * manual/examples/mkisock.c: Likewise.
2575 * manual/examples/mygetpass.c: Likewise.
2576 * manual/examples/pipe.c: Likewise.
2577 * manual/examples/popen.c: Likewise.
2578 * manual/examples/rprintf.c: Likewise.
2579 * manual/examples/search.c: Likewise.
2580 * manual/examples/select.c: Likewise.
2581 * manual/examples/setjmp.c: Likewise.
2582 * manual/examples/sigh1.c: Likewise.
2583 * manual/examples/sigusr.c: Likewise.
2584 * manual/examples/stpcpy.c: Likewise.
2585 * manual/examples/strdupa.c: Likewise.
2586 * manual/examples/strftim.c: Likewise.
2587 * manual/examples/strncat.c: Likewise.
2588 * manual/examples/subopt.c: Likewise.
2589 * manual/examples/swapcontext.c: Likewise.
2590 * manual/examples/termios.c: Likewise.
2591 * manual/examples/testopt.c: Likewise.
2592 * manual/examples/testpass.c: Likewise.
2593 * manual/examples/timeval_subtract.c: Likewise.
2596 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2598 * manual/timeval_subtract.c.texi: ... here, new file.
2600 2012-03-02 David S. Miller <davem@davemloft.net>
2602 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2604 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2608 (__sin): Save and restore rounding mode and use round-to-nearest
2609 for all computations.
2610 (__cos): Save and restore rounding mode and use round-to-nearest
2611 for all computations.
2612 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2614 (tan): Save and restore rounding mode and use round-to-nearest for
2616 * math/libm-test.inc (cos_test_tonearest): New function.
2617 (cos_test_towardzero): Likewise.
2618 (cos_test_downward): Likewise.
2619 (cos_test_upward): Likewise.
2620 (sin_test_tonearest): Likewise.
2621 (sin_test_towardzero): Likewise.
2622 (sin_test_downward): Likewise.
2623 (sin_test_upward): Likewise.
2624 (tan_test_tonearest): Likewise.
2625 (tan_test_towardzero): Likewise.
2626 (tan_test_downward): Likewise.
2627 (tan_test_upward): Likewise.
2628 (main): Call the new functions.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2633 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2634 small n, then large n, before computing and testing k+n.
2635 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2640 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2641 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2646 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2648 * math/libm-test.inc (scalbn_test): Add more tests.
2649 (scalbln_test): Likewise.
2651 * manual/filesys.texi (mode_t): Describe constraints on size and
2652 signedness, not exact equivalence to a particular type.
2654 (ino64_t): Likewise.
2656 (nlink_t): Likewise.
2657 (blkcnt_t): Likewise.
2658 (blkcnt64_t): Likewise.
2659 * manual/llio.texi (off_t): Likewise.
2662 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2663 (__ieee754_exp): Save and restore rounding mode and use
2664 round-to-nearest for all computations.
2665 * math/libm-test.inc (exp_test_tonearest): New function.
2666 (exp_test_towardzero): Likewise.
2667 (exp_test_downward): Likewise.
2668 (exp_test_upward): Likewise.
2669 (main): Call the new functions.
2670 * sysdeps/i386/fpu/libm-test-ulps: Update.
2671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2673 2012-03-01 Chris Demetriou <cgd@google.com>
2675 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2676 have predictable order.
2678 2012-03-01 David S. Miller <davem@davemloft.net>
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2682 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2687 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2688 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2689 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2700 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2701 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2703 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2704 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2705 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2706 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2707 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2711 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2712 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2713 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2719 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2720 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2721 * sysdeps/sparc/elf/configure: Regenerated.
2723 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2725 * configure.in (AS, LD): Require binutils 2.20 or later.
2726 * configure: Regenerated.
2727 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2728 as required minimum version.
2729 * INSTALL: Regenerated.
2733 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2734 before squaring exponent.
2735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2736 bottom long double and 27 bits of top long double before squaring
2738 * math/libm-test.inc (erfc_test): Add more tests.
2739 * sysdeps/i386/fpu/libm-test-ulps: Update.
2740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743 2012-03-01 Kai Tietz <ktietz@redhat.com>
2745 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2746 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2747 containing bit-fields.
2748 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2749 * soft-fp/single.h (_FP_UNION_S): Likewise.
2750 * soft-fp/double.h (_FP_UNION_D): Likewise.
2752 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2755 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2756 not include ../strcmp.S.
2757 [USE_AS_STRNCASECMP_L]: Likewise.
2758 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2759 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2760 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2761 (__strncasecmp_l_ia32): Define as alias to
2762 __strncasecmp_l_nonascii.
2765 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2766 * sysdeps/i386/fpu/libm-test-ulps: Update.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2769 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772 2012-02-29 Jeff Law <law@redhat.com>
2774 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2777 2012-02-29 Marek Polacek <polacek@redhat.com>
2780 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2781 * elf/Makefile: Add rules to run tst-unused-dep.out.
2783 2012-02-28 David S. Miller <davem@davemloft.net>
2785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2792 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2794 * math/libm-test.inc (llround_test): Move one test from
2795 lround_test. Use TEST_f_L in moved test.
2796 (lround_test): Move misplaced test to llround_test. Add testcase
2799 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2801 * sysdeps/x86_64/fpu/e_expf.S: New file.
2802 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2804 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2807 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2808 of remain_len that may cause incomplete multi-byte character and
2810 * posix/bug-regex33.c: New file.
2811 * posix/Makefile (tests): Add bug-regex33.
2813 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2815 * manual/macros.texi: New file.
2816 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2817 * manual/libc.texinfo: Include macros.texi.
2818 * manual/creatute.texi: Likewise.
2819 * manual/install.texi: Likewise.
2820 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2821 @glibcadj{} in references to the GNU C Library.
2822 * manual/charset.texi: Likewise.
2823 * manual/conf.texi: Likewise.
2824 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2825 when not using those macros.
2826 * manual/creature.texi: Likewise.
2827 * manual/crypt.texi: Likewise.
2828 * manual/errno.texi: Likewise.
2829 * manual/filesys.texi: Likewise.
2830 * manual/header.texi: Likewise.
2831 * manual/install.texi: Likewise.
2832 * manual/intro.texi: Likewise.
2833 * manual/io.texi: Likewise.
2834 * manual/job.texi: Likewise.
2835 * manual/lang.texi: Likewise.
2836 * manual/libc.texiinfo: Likewise.
2837 * manual/llio.texi: Likewise.
2838 * manual/locale.texi: Likewise.
2839 * manual/maint.texi: Likewise.
2840 * manual/math.texi: Likewise.
2841 * manual/memory.texi: Likewise.
2842 * manual/message.texi: Likewise.
2843 * manual/nss.texi: Likewise.
2844 * manual/pattern.texi: Likewise.
2845 * manual/process.texi: Likewise.
2846 * manual/resource.texi: Likewise.
2847 * manual/search.texi: Likewise.
2848 * manual/setjmp.texi: Likewise.
2849 * manual/signal.texi: Likewise.
2850 * manual/socket.texi: Likewise.
2851 * manual/startup.texi: Likewise.
2852 * manual/stdio.texi: Likewise.
2853 * manual/string.texi: Likewise.
2854 * manual/sysinfo.texi: Likewise.
2855 * manual/syslog.texi: Likewise.
2856 * manual/terminal.texi: Likewise.
2857 * manual/time.texi: Likewise.
2858 * manual/users.texi: Likewise.
2859 * INSTALL: Regenerated.
2860 * NOTES: Regenerated.
2861 * sysdeps/gnu/errlist.c: Regenerated.
2863 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2865 * include/dirent.h: Include <dirstream.h> before
2868 2012-02-28 David S. Miller <davem@davemloft.net>
2870 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2871 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2872 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2873 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2875 2012-02-27 David S. Miller <davem@davemloft.net>
2877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2879 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2880 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2883 frame pointer instead of stack pointer relative arg slot.
2884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2885 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2886 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2888 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2891 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2893 2012-02-27 David S. Miller <davem@davemloft.net>
2895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2901 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2904 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2906 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2907 later. Allow versions 5-9.
2908 * configure: Regenerated.
2909 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2910 required minimum version and 4.6 as recommended version. Do not
2911 mention bugs in GCC 2.7 and 2.8.
2912 * INSTALL: Regenerated.
2914 2012-02-27 David S. Miller <davem@davemloft.net>
2916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2922 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2923 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2926 manipulate bits before adding and subtracting TWO112[sx].
2927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2929 2012-02-27 Roland McGrath <roland@hack.frob.com>
2932 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2933 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2934 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2935 being in POSIX, because they are in 1003.1-2008.
2937 * rt/tst-aio.c: Include <fcntl.h>.
2938 * rt/tst-aio7.c: Likewise.
2939 * rt/tst-aio64.c: Likewise.
2941 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2943 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2945 * manual/install.texi (--with-headers): Describe headers as
2946 interface headers, not private headers.
2947 (Specific advice for GNU/Linux systems): Describe use of headers
2948 from "make headers_install", not private headers from older
2950 * INSTALL: Regenerated.
2951 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2953 * sysdeps/unix/sysv/linux/configure: Regenerated.
2955 * manual/llio.texi (fclean): Remove documentation.
2957 * manual/Makefile (libc-texi-generated): New variable. Include
2959 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2960 $(libc-texi-generated), not duplicated list of files.
2961 (version.texi, stamp-version): New rules.
2962 (realclean): Remove $(libc-texi-generated), not individual files
2963 from that list. Do not remove dir-add.texinfo.
2964 * manual/libc.texinfo: Comment out uses of edition numbers and
2965 references to printed manual. Remove last-updated dates.
2966 (EDITION): Comment out.
2968 (VERSION, UPDATED): Remove.
2969 (version.texi): Include.
2971 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2973 * sysdeps/posix/spawni.c: Include <signal.h>.
2974 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2975 * sysdeps/pthread/aio_fsync.c: Likewise.
2977 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2979 * conform/Makefile (tests): Run only when not cross-compiling and
2980 when fast-check is not defined.
2982 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2983 * conform/data/limits.h-data: Fixes for POSIX2008.
2984 * conform/run-conformtest.sh: Run all tests.
2985 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2987 * include/bits/dlfcn.h: Likewise.
2988 * include/langinfo.h: Likewise.
2989 * include/monetary.h: Likewise.
2990 * include/sys/poll.h: Likewise.
2992 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2994 * posix/spawn.h: Define __need_sigset_t.
2995 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2996 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2997 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2998 to get sigevent_t only.
2999 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3002 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3003 process_vm_writev only for __USE_GNU.
3004 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3006 * conform/Makefile: For now ignore errors from run-conformtest.
3007 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3008 POSIX to avoid namespace pollution. Don't prepend headers.
3009 * conform/data/aio.h-data: Fixes for POSIX testing.
3010 * conform/data/fcntl.h-data: Likewise.
3011 * conform/data/glob.h-data: Likewise.
3012 * conform/data/grp.h-data: Likewise.
3013 * conform/data/pthread.h-data: Likewise.
3014 * conform/data/pwd.h-data: Likewise.
3015 * conform/data/signal.h-data: Likewise.
3016 * conform/data/spawn.h-data: Likewise.
3017 * conform/data/stdio.h-data: Likewise.
3018 * conform/data/stdlib.h-data: Likewise.
3019 * conform/data/stropts.h-data: Likewise.
3020 * conform/data/sys/mman.h-data: Likewise.
3021 * conform/data/sys/stat.h-data: Likewise.
3022 * conform/data/sys/types.h-data: Likewise.
3023 * conform/data/sys/wait.h-data: Likewise.
3024 * conform/data/time.h-data: Likewise.
3025 * conform/data/unistd.h-data: Likewise.
3026 * conform/data/utime.h-data: Likewise.
3028 * io/sys/stat.h: fchmod was always in POSIX.
3029 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3030 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3031 * rt/aio.h: Define __need_timespec before including <time.h>.
3032 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3033 struct. Add forward declaration of pthread_attr_t and use it in
3035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3037 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3038 always remove CLK_TCK definition.
3040 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3042 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3044 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3046 * conform/run-conformtest.sh: New file.
3047 * conform/Makefile: Run run-conformtest for tests.
3048 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3051 * conform/data/uchar.h-data: New file.
3052 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3053 * conform/data/arpa/inet.h-data: Likewise.
3054 * conform/data/assert.h-data: Likewise.
3055 * conform/data/complex.h-data: Likewise.
3056 * conform/data/cpio.h-data: Likewise.
3057 * conform/data/ctype.h-data: Likewise.
3058 * conform/data/dirent.h-data: Likewise.
3059 * conform/data/dlfcn.h-data: Likewise.
3060 * conform/data/errno.h-data: Likewise.
3061 * conform/data/fcntl.h-data: Likewise.
3062 * conform/data/float.h-data: Likewise.
3063 * conform/data/fmtmsg.h-data: Likewise.
3064 * conform/data/fnmatch.h-data: Likewise.
3065 * conform/data/ftw.h-data: Likewise.
3066 * conform/data/glob.h-data: Likewise.
3067 * conform/data/grp.h-data: Likewise.
3068 * conform/data/iconv.h-data: Likewise.
3069 * conform/data/inttypes.h-data: Likewise.
3070 * conform/data/langinfo.h-data: Likewise.
3071 * conform/data/libgen.h-data: Likewise.
3072 * conform/data/limits.h-data: Likewise.
3073 * conform/data/locale.h-data: Likewise.
3074 * conform/data/math.h-data: Likewise.
3075 * conform/data/monetary.h-data: Likewise.
3076 * conform/data/mqueue.h-data: Likewise.
3077 * conform/data/ndbm.h-data: Likewise.
3078 * conform/data/net/if.h-data: Likewise.
3079 * conform/data/netdb.h-data: Likewise.
3080 * conform/data/netinet/in.h-data: Likewise.
3081 * conform/data/nl_types.h-data: Likewise.
3082 * conform/data/poll.h-data: Likewise.
3083 * conform/data/pthread.h-data: Likewise.
3084 * conform/data/pwd.h-data: Likewise.
3085 * conform/data/regex.h-data: Likewise.
3086 * conform/data/sched.h-data: Likewise.
3087 * conform/data/search.h-data: Likewise.
3088 * conform/data/semaphore.h-data: Likewise.
3089 * conform/data/setjmp.h-data: Likewise.
3090 * conform/data/signal.h-data: Likewise.
3091 * conform/data/spawn.h-data: Likewise.
3092 * conform/data/stdarg.h-data: Likewise.
3093 * conform/data/stdio.h-data: Likewise.
3094 * conform/data/stdlib.h-data: Likewise.
3095 * conform/data/string.h-data: Likewise.
3096 * conform/data/strings.h-data: Likewise.
3097 * conform/data/stropts.h-data: Likewise.
3098 * conform/data/sys/ipc.h-data: Likewise.
3099 * conform/data/sys/mman.h-data: Likewise.
3100 * conform/data/sys/msg.h-data: Likewise.
3101 * conform/data/sys/resource.h-data: Likewise.
3102 * conform/data/sys/select.h-data: Likewise.
3103 * conform/data/sys/sem.h-data: Likewise.
3104 * conform/data/sys/shm.h-data: Likewise.
3105 * conform/data/sys/socket.h-data: Likewise.
3106 * conform/data/sys/stat.h-data: Likewise.
3107 * conform/data/sys/statvfs.h-data: Likewise.
3108 * conform/data/sys/time.h-data: Likewise.
3109 * conform/data/sys/timeb.h-data: Likewise.
3110 * conform/data/sys/times.h-data: Likewise.
3111 * conform/data/sys/types.h-data: Likewise.
3112 * conform/data/sys/uio.h-data: Likewise.
3113 * conform/data/sys/un.h-data: Likewise.
3114 * conform/data/sys/utsname.h-data: Likewise.
3115 * conform/data/sys/wait.h-data: Likewise.
3116 * conform/data/syslog.h-data: Likewise.
3117 * conform/data/tar.h-data: Likewise.
3118 * conform/data/termios.h-data: Likewise.
3119 * conform/data/utime.h-data: Likewise.
3120 * conform/data/utmpx.h-data: Likewise.
3121 * conform/data/varargs.h-data: Likewise.
3122 * conform/data/wchar.h-data: Likewise.
3123 * conform/data/wctype.h-data: Likewise.
3124 * conform/data/wordexp.h-data: Likewise.
3126 * include/stropts.h: New file.
3127 * include/uchar.h: New file.
3128 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3129 * include/assert.h: Likewise.
3130 * include/ctype.h: Likewise.
3131 * include/dirent.h: Likewise.
3132 * include/dlfcn.h: Likewise.
3133 * include/fcntl.h: Likewise.
3134 * include/fnmatch.h: Likewise.
3135 * include/glob.h: Likewise.
3136 * include/grp.h: Likewise.
3137 * include/libio.h: Likewise.
3138 * include/locale.h: Likewise.
3139 * include/math.h: Likewise.
3140 * include/net/if.h: Likewise.
3141 * include/netdb.h: Likewise.
3142 * include/netinet/in.h: Likewise.
3143 * include/pthread.h: Likewise.
3144 * include/pwd.h: Likewise.
3145 * include/regex.h: Likewise.
3146 * include/sched.h: Likewise.
3147 * include/search.h: Likewise.
3148 * include/setjmp.h: Likewise.
3149 * include/signal.h: Likewise.
3150 * include/stdio.h: Likewise.
3151 * include/stdlib.h: Likewise.
3152 * include/string.h: Likewise.
3153 * include/sys/cdefs.h: Likewise.
3154 * include/sys/mman.h: Likewise.
3155 * include/sys/msg.h: Likewise.
3156 * include/sys/resource.h: Likewise.
3157 * include/sys/select.h: Likewise.
3158 * include/sys/socket.h: Likewise.
3159 * include/sys/stat.h: Likewise.
3160 * include/sys/statvfs.h: Likewise.
3161 * include/sys/time.h: Likewise.
3162 * include/sys/times.h: Likewise.
3163 * include/sys/uio.h: Likewise.
3164 * include/sys/utsname.h: Likewise.
3165 * include/sys/wait.h: Likewise.
3166 * include/termios.h: Likewise.
3167 * include/time.h: Likewise.
3168 * include/ulimit.h: Likewise.
3169 * include/unistd.h: Likewise.
3170 * include/utime.h: Likewise.
3171 * include/wchar.h: Likewise.
3172 * include/wctype.h: Likewise.
3173 * include/wordexp.h: Likewise.
3175 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3177 * time/time.h: TIME_UTC must be a macro.
3178 Make timespec_get available for ISO C11 only as well.
3180 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3182 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3183 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3185 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3187 * configure.in: Use -o not -a in test for unsupported multi-arch.
3189 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3191 * manual/texinfo.tex: Update to version 2012-01-19.16.
3193 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3195 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3197 2012-02-24 Roland McGrath <roland@hack.frob.com>
3200 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3201 * manual/fdl-1.3.texi: New file.
3202 * manual/fdl-1.1.texi: File removed.
3205 * manual/libc.texinfo (FDL_VERSION): New @set.
3206 Use it for mention of FDL in cover text.
3207 (Documentation License): Use it in @include file name.
3209 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3210 Roland McGrath <roland@hack.frob.com>
3213 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3214 not LONG_LONG_MAX and LONG_LONG_MIN.
3215 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3216 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3218 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3220 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3224 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3225 manipulate bits before adding and subtracting TWO23[sx].
3226 * math/libm-test.inc (nearbyint_test): Add more tests.
3228 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3231 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3232 bits before adding and subtracting TWO23[sx].
3233 * math/libm-test.inc (rint_test): Add more tests.
3234 (rint_test_tonearest): Likewise.
3235 (rint_test_towardzero): Likewise.
3236 (rint_test_downward): Likewise.
3237 (rint_test_upward: Likewise.
3239 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3242 * include/stdc-predef.h: New file. Extracted from features.h.
3243 * include/features.h: Include stdc-predef.h.
3244 * Makefile (headers): Add stdc-predef.h.
3245 * CONFORMANCE (Compiler limitations): Update.
3247 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3249 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3251 2012-02-21 David S. Miller <davem@davemloft.net>
3253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3256 2012-02-20 David S. Miller <davem@davemloft.net>
3258 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3259 using a normal save/restore sequence, rather than allocating a
3260 dummy stack frame just to store a frame pointer and restore.
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3263 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3265 * manual/install.texi: Fix stray word in line-wrapped comment.
3267 2012-02-20 David S. Miller <davem@davemloft.net>
3269 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3270 both binutils and gcc support GOTDATA.
3272 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3273 "rd %pc" in the PIC register setup sequences.
3275 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3276 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3277 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3278 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3279 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3284 (SYSCALL_ERROR_HANDLER): Likewise.
3285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3288 (SYSCALL_ERROR_HANDLER): Likewise.
3290 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3291 (HAVE_GCC_GOTDATA): New.
3292 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3293 relocation support in both binutils and gcc.
3294 * sysdeps/sparc/elf/configure: Regenerate.
3296 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3297 * sysdeps/sparc/sparc32/elf/configure: Delete.
3298 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3299 * sysdeps/sparc/sparc64/elf/configure: Delete.
3300 * sysdeps/sparc/elf/configure.in: New file.
3301 * sysdeps/sparc/elf/configure: Generate.
3303 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3304 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3306 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3307 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3309 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3311 * manual/install.texi: Do not mention specific glibc version
3313 * manual/libc.texinfo (VERSION, UPDATED): Update.
3314 (@copying): Use @copyright{} and range of years.
3316 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3319 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3320 [crti.S not in sysdirs] (generated): Do not append.
3321 [crti.S not in sysdirs] (omit-deps): Likewise.
3322 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3323 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3324 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3325 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3326 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3328 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3329 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3330 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3331 * csu/defs.awk: Remove file.
3332 * sysdeps/generic/initfini.c: Likewise.
3333 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3335 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3338 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3341 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3347 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3348 (__EPOLL_PACKED): Define to empty if not defined by
3350 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3354 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3356 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3357 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3361 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3365 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3367 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3370 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3377 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3379 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3381 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3382 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3384 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3386 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3389 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3391 * math/w_acos.c: Use non-signaling floating-point comparisons.
3392 * math/w_acosf.c: Likewise.
3393 * math/w_acosh.c: Likewise.
3394 * math/w_acoshf.c: Likewise.
3395 * math/w_acoshl.c: Likewise.
3396 * math/w_acosl.c: Likewise.
3397 * math/w_asin.c: Likewise.
3398 * math/w_asinf.c: Likewise.
3399 * math/w_asinl.c: Likewise.
3400 * math/w_atanh.c: Likewise.
3401 * math/w_atanhf.c: Likewise.
3402 * math/w_atanhl.c: Likewise.
3403 * math/w_exp2.c: Likewise.
3404 * math/w_exp2f.c: Likewise.
3405 * math/w_exp2l.c: Likewise.
3406 * math/w_j0.c: Likewise.
3407 * math/w_j0f.c: Likewise.
3408 * math/w_j0l.c: Likewise.
3409 * math/w_j1.c: Likewise.
3410 * math/w_j1f.c: Likewise.
3411 * math/w_j1l.c: Likewise.
3412 * math/w_jn.c: Likewise.
3413 * math/w_jnf.c: Likewise.
3414 * math/w_log.c: Likewise.
3415 * math/w_log10.c: Likewise.
3416 * math/w_log10f.c: Likewise.
3417 * math/w_log10l.c: Likewise.
3418 * math/w_log2.c: Likewise.
3419 * math/w_log2f.c: Likewise.
3420 * math/w_log2l.c: Likewise.
3421 * math/w_logf.c: Likewise.
3422 * math/w_logl.c: Likewise.
3423 * math/w_sqrt.c: Likewise.
3424 * math/w_sqrtf.c: Likewise.
3425 * math/w_sqrtl.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3429 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3432 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3435 * manual/string.texi (strnlen): Use correct parameter name in
3436 equivalent expression.
3438 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3441 * manual/users.texi (seteuid): Consistently use neweuid for
3444 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3447 * manual/nss.texi (Services in the NSS configuration): Correct
3448 list of services in example configuration file.
3450 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3453 * manual/arith.texi: Remove statements about negative zero
3454 behaving identically to zero.
3456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3459 * manual/install.texi: Do not document upgrading from libc5.
3461 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3464 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3466 2012-02-18 David S. Miller <davem@davemloft.net>
3468 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3469 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3470 %o7 across the call.
3471 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3476 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3477 * sysdeps/sparc/crtn.S: Likewise.
3479 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3481 * aout/Makefile: Remove.
3483 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3486 * manual/examples/argp-ex1.c (main): Format definition in GNU
3488 * manual/examples/argp-ex2.c (main): Likewise.
3489 * manual/examples/argp-ex3.c (main): Likewise.
3490 * manual/examples/argp-ex4.c (main): Likewise.
3491 * manual/examples/longopt.c (main): Use new-style prototype
3493 * manual/examples/strncat.c (main): Specify return type and use
3494 (void) for arguments.
3495 * manual/examples/subopt.c (main): Use char **argv argument.
3497 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3500 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3503 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3506 * manual/string.texi (strchr): Change when strchrnul is
3509 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3512 * manual/locale.texi (setlocale): Document LOCPATH.
3514 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3517 * manual/process.texi (execle): Move @dots{} before last argument.
3519 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3522 * manual/charset.texi (Generic Charset Conversion): Fix typo
3523 (LC_TYPE -> LC_CTYPE).
3525 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3528 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3529 (scalbnf): Likewise.
3530 (scalbnl): Likewise.
3531 (scalbln): Likewise.
3532 (scalblnf): Likewise.
3533 (scalblnl): Likewise.
3534 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3538 * manual/filesys.texi (telldir): Use braces around return type.
3539 * manual/llio.texi (mmap): Add space after comma.
3541 * manual/math.texi (jn): Use @var{} on parameter names.
3547 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3549 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3551 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3552 (sched_get_priority_max): Likewise.
3553 * manual/signal.texi (sigvec): Add space after comma.
3554 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3556 (if_indextoname): Likewise.
3557 (if_freenameindex): Likewise.
3558 (sendto): Use ',' instead of '.' in prototype.
3559 * manual/startup.texi (syscall): Use @dots{} instead of literal
3561 * manual/stdio.texi (__fpending): Separate initial words of
3562 paragraph from @deftypefun line.
3563 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3565 (vsyslog): Use @var{} on parameter names.
3566 * manual/terminal.texi (stty): Use @var{} on parameter names.
3567 * manual/users.texi (getutmp): Use @var{} on parameter names.
3568 (getutmpx): Likewise.
3570 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3573 * manual/stdio.texi (fopen): Fix typos in description of
3576 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3579 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3580 get clock_id definition.
3582 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3585 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3586 (madvise): Cast every argument to void on its own.
3588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3591 * manual/startup.texi (Exit Status): Fix typo.
3593 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3596 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3597 * manual/examples/argp-ex2.c: Likewise.
3598 * manual/examples/argp-ex3.c: Likewise.
3600 2012-02-16 Richard Henderson <rth@redhat.com>
3602 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3603 * sysdeps/s390/s390-32/initfini.c: Remove.
3604 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3605 * sysdeps/s390/s390-64/initfini.c: Remove.
3607 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3609 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3610 compiler output for sysdeps/generic/initfini.c.
3611 * sysdeps/sh/elf/initfini.c: Remove file.
3613 2012-02-16 David S. Miller <davem@davemloft.net>
3616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3618 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3619 * sysdeps/sparc/crti.S: New file.
3620 * sysdeps/sparc/crtn.S: New file.
3621 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3622 * sysdeps/sparc/sparc64/Makefile: Likewise.
3624 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3627 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3629 2012-02-15 Roland McGrath <roland@hack.frob.com>
3632 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3634 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3635 (write, read, close): Likewise.
3636 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3638 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3640 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3641 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3643 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3645 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3649 2012-02-14 Marek Polacek <polacek@redhat.com>
3651 * sysdeps/x86_64/crti.S: New file.
3652 * sysdeps/x86_64/crtn.S: New file.
3653 * sysdeps/x86_64/elf/initfini.c: Remove file.
3655 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3657 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3658 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3659 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3660 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3662 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3666 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3668 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3669 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3670 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3671 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3673 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3677 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3679 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3680 __feraiseexcept instead of feraiseexcept.
3682 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3683 nanosleep invocations.
3684 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3685 strings, and add error checking for a nanosleep invocations.
3687 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3689 Replace FSF snail mail address with URLs, as per GNU coding standards.
3690 Most of the snail mail addresses were wrong anyway, and omitting
3691 them makes the source code easier to maintain. Almost all of the
3692 changes are to license notices and to locale LC_IDENTIFICATION
3693 addresses, except for this one:
3694 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3695 not its snail mail address.
3697 2012-02-09 Richard Henderson <rth@twiddle.net>
3699 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3700 of kernel-features.h.
3702 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3704 2012-02-08 Marek Polacek <polacek@redhat.com>
3706 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3707 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3708 * sysdeps/gnu/_G_config.h: Likewise.
3709 * sysdeps/generic/_G_config.h: Likewise.
3711 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3713 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3717 * sysdeps/powerpc/powerpc32/crti.S: New file.
3718 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3719 * sysdeps/powerpc/powerpc64/crti.S: New file.
3720 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3722 * Makeconfig (have-initfini): Don't set.
3723 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3724 * configure.in (nopic_initfini): Don't substitute.
3725 * config.h.in (HAVE_INITFINI): Don't #undef.
3726 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3727 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3729 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3731 Support crti.S and crtn.S provided directly by architectures.
3732 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3733 [crti.S in sysdirs] (omit-deps): Likewise.
3734 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3735 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3736 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3737 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3738 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3739 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3740 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3741 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3742 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3743 compiler output for sysdeps/generic/initfini.c.
3744 * sysdeps/i386/elf/Makefile: Remove file.
3745 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3747 2012-02-07 Marek Polacek <polacek@redhat.com>
3749 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3750 * sysdeps/gnu/_G_config.h: Likewise.
3751 * sysdeps/mach/hurd/_G_config.h: Likewise.
3753 2012-02-07 Marek Polacek <polacek@redhat.com>
3755 * math/Makefile (tests): Add tst-CMPLX2.
3756 * math/tst-CMPLX2.c: New file.
3758 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3762 * math/libm-test.inc (jn_test): Add missing L suffix.
3764 2012-02-06 Marek Polacek <polacek@redhat.com>
3766 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3767 * sysdeps/i386/fpu/e_powf.S: Likewise.
3768 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3769 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3770 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3771 * sysdeps/i386/fpu/e_pow.S: Likewise.
3772 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3774 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3775 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3776 * sysdeps/i386/fpu/e_log2.S: Likewise.
3777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3778 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3779 * sysdeps/i386/fpu/e_powl.S: Likewise.
3780 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3781 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3782 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3783 * sysdeps/i386/fpu/e_logl.S: Likewise.
3784 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3785 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3786 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3787 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3789 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3790 * sysdeps/i386/fpu/e_log.S: Likewise.
3791 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3792 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3793 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3794 * sysdeps/i386/fpu/e_logf.S: Likewise.
3795 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3797 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3798 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3799 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3800 * sysdeps/i386/fpu/e_log10.S: Likewise.
3801 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3803 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3804 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3805 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3806 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3807 * sysdeps/i386/asm-syntax.h: Likewise.
3808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3811 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3812 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3813 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3814 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3815 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3817 * sysdeps/powerpc/sysdep.h: Likewise.
3818 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3819 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3824 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3826 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3828 * sysdeps/i386/sysdep.h: Include <features.h>.
3829 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3832 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3834 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3836 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3841 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3842 (SETUP_PIC_REG): Use GET_PC_THUNK.
3843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3846 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3848 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3849 for non-PIC compilation.
3850 (SETUP_PIC_REG): Add .p2align directive.
3851 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3852 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3866 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3867 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3877 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3887 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3888 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3889 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3890 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3891 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3893 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3895 * math/tst-CMPLX.c: Include <stdio.h>.
3897 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3899 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3901 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3902 * sysdeps/sparc/bits/mathdef.h: Likewise.
3904 2012-01-31 Marek Polacek <polacek@redhat.com>
3906 * libio/libio.h: Don't define _PARAMS.
3907 * locale/programs/config.h: Don't define PARAMS.
3908 * stdlib/strtol_l.c: Likewise.
3909 (__strtol_l): Remove PARAMS from the prototype.
3911 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3913 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3914 names. Just use the correct names. Remove unnecessary wrapper
3916 * malloc/arena.c: Likewise.
3917 * malloc/hooks.c: Likewise.
3919 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3920 ARENA_TEST says not to. Simplify test for creation of a new arena.
3921 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3923 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3925 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3927 (update_get_addr): New function.
3928 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3929 GET_ADDR_MODULE parameter.
3931 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3933 * crypt/cert.c: Remove __STDC__ conditionals.
3934 * crypt/crypt-entry.c: Likewise.
3935 * crypt/crypt_util.c: Likewise.
3936 * libio/filedoalloc.c: Likewise.
3937 * libio/fileops.c: Likewise.
3938 * libio/genops.c: Likewise.
3939 * libio/iofclose.c: Likewise.
3940 * libio/iofdopen.c: Likewise.
3941 * libio/iofopen.c: Likewise.
3942 * libio/iofopen64.c: Likewise.
3943 * libio/iogetdelim.c: Likewise.
3944 * libio/iopopen.c: Likewise.
3945 * libio/obprintf.c: Likewise.
3946 * libio/oldfileops.c: Likewise.
3947 * libio/oldiofclose.c: Likewise.
3948 * libio/oldiofdopen.c: Likewise.
3949 * libio/oldiofopen.c: Likewise.
3950 * libio/oldiopopen.c: Likewise.
3951 * libio/wfiledoalloc.c: Likewise.
3952 * libio/wgenops.c: Likewise.
3953 * locale/programs/xmalloc.c: Likewise.
3954 * misc/syslog.c: Likewise.
3955 * stdio-common/xbug.c: Likewise.
3956 * string/memchr.c: Likewise.
3957 * string/memcmp.c: Likewise.
3958 * string/memrchr.c: Likewise.
3959 * string/rawmemchr.c: Likewise.
3960 * sysdeps/posix/getcwd.c: Likewise.
3961 * time/strftime_l.c: Likewise.
3963 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3965 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3966 * config.make.in (config-cflags-sse2avx): Define.
3967 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3970 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3972 * scripts/config.guess: Update from upstream config git repository.
3973 * scripts/config.sub: Likewise.
3975 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3977 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3979 (R_TILEPRO_*, R_TILEGX_*): New macros.
3981 * scripts/firstversions.awk: Fix bug in version range handling.
3983 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3985 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3987 * include/sys/epoll.h: New file.
3988 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3991 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3993 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3994 Avoid unnecessary __WORDSIZE == 64 test.
3995 (fmaxf): Use VEX format if possible.
4000 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4001 * math/math_private.h: Remove libc_fegetround* and
4003 * sysdeps/i386/configure.in: Check for -msse2avx.
4004 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4005 also if SSE2AVX is defined.
4006 Remove libc_fegetround* and libc_fesetround*.
4007 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4008 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4017 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4019 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4023 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4025 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4028 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4030 * Makeconfig (libm): Define.
4031 * elf/Makefile: Add rules to build and run tst-relsort1.
4032 * elf/tst-relsort1.c: New file.
4033 * elf/tst-relsort1mod1.c: New file.
4034 * elf/tst-relsort1mod2.c: New file.
4036 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4038 * math/s_ldexp.c: Remove __STDC__ conditionals.
4039 * math/s_ldexpf.c: Likewise.
4040 * math/s_ldexpl.c: Likewise.
4041 * math/s_nextafter.c: Likewise.
4042 * math/s_nexttowardf.c: Likewise.
4043 * math/s_significand.c: Likewise.
4044 * math/s_significandf.c: Likewise.
4045 * math/s_significandl.c: Likewise.
4046 * math/w_jnl.c: Likewise.
4047 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4048 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4049 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4050 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4051 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4066 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4069 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4071 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4072 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4083 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4084 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4085 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4086 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4087 * sysdeps/ieee754/k_standard.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4162 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4163 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4167 * sysdeps/ieee754/s_matherr.c: Likewise.
4168 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4169 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4173 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4175 * crypt/md5.h: Remove __STDC__ conditionals.
4176 * libio/libioP.h: Likewise.
4177 * locale/programs/config.h: Likewise.
4178 * sysdeps/generic/sysdep.h: Likewise.
4179 * sysdeps/i386/asm-syntax.h: Likewise.
4180 * sysdeps/s390/asm-syntax.h: Likewise.
4181 * sysdeps/unix/sysdep.h: Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4185 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4187 * libio/libio.h: Remove __STDC__ conditionals.
4188 * malloc/obstack.h: Likewise.
4189 * math/complex.h: Likewise.
4190 * math/math.h: Likewise.
4191 * sysdeps/generic/_G_config.h: Likewise.
4192 * sysdeps/gnu/_G_config.h: Likewise.
4193 * sysdeps/mach/hurd/_G_config.h: Likewise.
4194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4195 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4196 * sysdeps/sparc/bits/mathdef.h: Likewise.
4198 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4202 Clean up HAS_* macros.
4203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4204 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4206 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4214 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4216 * elf/tst-unique3.cc (gets): Remove declaration.
4217 * elf/tst-unique3lib.cc (gets): Likewise.
4218 * elf/tst-unique3lib2.cc (gets): Likewise.
4219 * elf/tst-unique4.cc (gets): Likewise.
4221 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4223 * include/stdio.h: Add C++ protection. Add gets declarations and
4225 * debug/tst-chk1.c: Don't declare gets here.
4226 * stdio-common/tst-gets.c: Likewise.
4228 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4230 * posix/glob: Remove directory.
4232 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4234 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4236 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4238 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4239 of the non-standard EPFNOSUPPORT.
4241 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4243 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4244 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4245 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4247 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4249 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4251 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4253 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4255 * nscd/grpcache.c (cache_addgr): Likewise.
4256 * nscd/hstcache.c (cache_addhst): Likewise.
4257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4258 * nscd/pwdcache.c (cache_addpw): Likewise.
4259 * nscd/servicescache.c (cache_addserv): Likewise.
4261 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4263 * malloc/malloc.c: Various cleanups.
4264 * malloc/hooks.c: Likewise.
4266 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4267 * stdlib/bug-fmtmsg1.c: New file.
4269 * stdlib/fmtmsg.c (init): Add missing unlock.
4270 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4272 2012-01-12 Marek Polacek <polacek@redhat.com>
4274 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4277 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4279 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4280 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4281 macro to ensure uniqueness of label name.
4282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4285 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4289 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4290 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4294 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4298 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4299 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4302 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4304 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4305 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4309 * math/bits/math-finite.h: Add ldexp support.
4311 2012-01-10 Marek Polacek <polacek@redhat.com>
4313 * locale/programs/localedef.h (show_archive_content): Add noreturn
4316 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4318 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4320 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4322 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4324 * io/Makefile (headers): Add bits/poll2.h.
4326 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4329 typo #include statement.
4331 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4333 * include/sys/cdefs.h: Define __attribute_alloc_size.
4334 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4335 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4336 * elf/pldd.c: Likewise.
4337 * iconv/iconv_charmap.c: Likewise.
4338 * iconv/iconvconfig.c: Likewise.
4339 * iconv/strtab.c: Likewise.
4340 * locale/programs/locale.c: Likewise.
4341 * locale/programs/localedef.h: Likewise.
4342 * locale/programs/simple-hash.c: Likewise.
4343 * nscd/nscd.h: Likewise.
4344 * nss/makedb.c: Likewise.
4345 * sysdeps/generic/ldconfig.h: Likewise.
4346 * locale/programs/localedef.c: Remove xmalloc prototype.
4347 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4349 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4351 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4354 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4356 * math/Makefile (tests): Add tst-CMPLX.
4357 * math/tst-CMPLX.c: New file.
4359 * math/complex.h (CMPLXL): Fix typo.
4361 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4362 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4364 * debug/tst-chk1.c: Add poll and ppoll tests.
4365 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4366 * include/sys/poll.h: Add hidden proto for ppoll.
4367 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4368 * sysdeps/mach/hurd/ppoll.c: Likewise.
4369 * io/ppoll.c: Likewise.
4370 * debug/poll_chk.c: New file.
4371 * debug/ppoll_chk.c: New file.
4372 * include/bits/poll2.h: New file.
4373 * io/bits/poll2.h: New file.
4376 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4378 * configure.in: static is always set to yes. Remove.
4379 * config.make.in: Don't set build-static.
4380 * Makeconfig: Remove use of build-static.
4381 * dlfcn/Makefile: Likewise.
4382 * elf/Makefile: Likewise.
4383 * math/Makefile: Likewise.
4384 * misc/Makefile: Likewise.
4385 * nptl/Makefile: Likewise.
4386 * sysdeps/mach/hurd/Makefile: Likewise.
4388 * configure.in: PWD_P is not used anymore.
4389 * config.make.in: Remove PWD_P entry.
4391 * configure.in: Remove last remnants of RANLIB.
4392 No need to check for signed size_t anymore.
4393 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4395 Remove __builtin_expect test because we require at least gcc 3.4.
4396 * aclocal.m4: Likewise.
4398 * wcsmbs/mbrtoc16.c: Implement using towc function.
4399 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4400 * wcsmbs/wcsmbsload.c: Likewise.
4401 * iconv/gconv_simple.c: Likewise.
4402 * iconv/gconv_int.h: Likewise.
4403 * iconv/gconv_builtin.h: Likewise.
4404 * iconv/iconv_prog.c: Remove CHAR16 handling.
4406 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4408 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4410 * configure.in: Remove --with-elf and --enable-bounded options.
4411 Dont set base_machine for ia64. More non-ELF conditions removed.
4412 Remove testing and setting of leading underscore information.
4413 * config.make.in (build-bounded): Set to no.
4414 * config.h.in: Remove NO_UNDERSCORES entry.
4415 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4417 * csu/start.c: Remove !NO_UNDERSCORE code.
4418 * locale/localeinfo.h: Likewise.
4419 * sysdeps/generic/machine-gmon.h: Likewise.
4420 * sysdeps/generic/sysdep.h: Likewise.
4421 * sysdeps/i386/sysdep.h: Likewise.
4422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4423 * sysdeps/mach/sysdep.h: Likewise.
4424 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4426 * sysdeps/sh/sysdep.h: Likewise.
4427 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4428 * sysdeps/unix/i386/sysdep.S: Likewise.
4429 * sysdeps/unix/sparc/start.c: Likewise.
4430 * sysdeps/unix/sparc/sysdep.S: Likewise.
4431 * sysdeps/unix/sparc/sysdep.h: Likewise.
4432 * sysdeps/unix/start.c: Likewise.
4433 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4434 * sysdeps/x86_64/sysdep.h: Likewise.
4436 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4439 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4441 * argp/argp-fmtstream.h: Use const instead __const.
4442 * argp/argp.h: Likewise.
4443 * assert/assert.h: Likewise.
4444 * bits/fenv.h: Likewise.
4445 * bits/sched.h: Likewise.
4446 * bits/sigset.h: Likewise.
4447 * bits/sigthread.h: Likewise.
4448 * catgets/nl_types.h: Likewise.
4449 * conform/data/pthread.h-data: Likewise.
4450 * crypt/crypt-private.h: Likewise.
4451 * crypt/crypt.h: Likewise.
4452 * crypt/crypt_util.c: Likewise.
4453 * ctype/ctype.h: Likewise.
4454 * debug/execinfo.h: Likewise.
4455 * debug/mbsnrtowcs_chk.c: Likewise.
4456 * debug/mbsrtowcs_chk.c: Likewise.
4457 * debug/wcsnrtombs_chk.c: Likewise.
4458 * debug/wcsrtombs_chk.c: Likewise.
4459 * debug/wcstombs_chk.c: Likewise.
4460 * dirent/dirent.h: Likewise.
4461 * dlfcn/dlfcn.h: Likewise.
4462 * elf/neededtest4.c: Likewise.
4463 * grp/grp.h: Likewise.
4464 * gshadow/gshadow.h: Likewise.
4465 * iconv/gconv.h: Likewise.
4466 * iconv/gconv_int.h: Likewise.
4467 * iconv/gconv_simple.c: Likewise.
4468 * iconv/iconv.h: Likewise.
4469 * iconv/loop.c: Likewise.
4470 * iconv/skeleton.c: Likewise.
4471 * include/aio.h: Likewise.
4472 * include/aliases.h: Likewise.
4473 * include/argz.h: Likewise.
4474 * include/arpa/inet.h: Likewise.
4475 * include/assert.h: Likewise.
4476 * include/dirent.h: Likewise.
4477 * include/dlfcn.h: Likewise.
4478 * include/execinfo.h: Likewise.
4479 * include/fcntl.h: Likewise.
4480 * include/fenv.h: Likewise.
4481 * include/glob.h: Likewise.
4482 * include/grp.h: Likewise.
4483 * include/libintl.h: Likewise.
4484 * include/mntent.h: Likewise.
4485 * include/netdb.h: Likewise.
4486 * include/pwd.h: Likewise.
4487 * include/rpc/netdb.h: Likewise.
4488 * include/sched.h: Likewise.
4489 * include/search.h: Likewise.
4490 * include/shadow.h: Likewise.
4491 * include/signal.h: Likewise.
4492 * include/stdio.h: Likewise.
4493 * include/stdlib.h: Likewise.
4494 * include/string.h: Likewise.
4495 * include/sys/socket.h: Likewise.
4496 * include/sys/stat.h: Likewise.
4497 * include/sys/statfs.h: Likewise.
4498 * include/sys/statvfs.h: Likewise.
4499 * include/sys/syslog.h: Likewise.
4500 * include/sys/time.h: Likewise.
4501 * include/sys/uio.h: Likewise.
4502 * include/time.h: Likewise.
4503 * include/unistd.h: Likewise.
4504 * include/utmp.h: Likewise.
4505 * include/wchar.h: Likewise.
4506 * include/wctype.h: Likewise.
4507 * inet/aliases.h: Likewise.
4508 * inet/arpa/inet.h: Likewise.
4509 * inet/netinet/ether.h: Likewise.
4510 * inet/netinet/in.h: Likewise.
4511 * intl/libintl.h: Likewise.
4512 * io/bits/fcntl2.h: Likewise.
4513 * io/fcntl.h: Likewise.
4514 * io/ftw.h: Likewise.
4515 * io/sys/poll.h: Likewise.
4516 * io/sys/stat.h: Likewise.
4517 * io/sys/statfs.h: Likewise.
4518 * io/sys/statvfs.h: Likewise.
4519 * io/utime.h: Likewise.
4520 * libio/bits/stdio.h: Likewise.
4521 * libio/bits/stdio2.h: Likewise.
4522 * libio/libio.h: Likewise.
4523 * libio/libioP.h: Likewise.
4524 * libio/stdio.h: Likewise.
4525 * locale/lc-ctype.c: Likewise.
4526 * locale/locale.h: Likewise.
4527 * login/utmp.h: Likewise.
4528 * malloc/arena.c: Likewise.
4529 * malloc/malloc.c: Likewise.
4530 * malloc/malloc.h: Likewise.
4531 * malloc/mcheck.c: Likewise.
4532 * malloc/mtrace.c: Likewise.
4533 * math/bits/mathcalls.h: Likewise.
4534 * math/fenv.h: Likewise.
4535 * math/math_private.h: Likewise.
4536 * misc/bits/error.h: Likewise.
4537 * misc/bits/syslog.h: Likewise.
4538 * misc/err.h: Likewise.
4539 * misc/error.h: Likewise.
4540 * misc/fstab.h: Likewise.
4541 * misc/mntent.h: Likewise.
4542 * misc/regexp.h: Likewise.
4543 * misc/search.h: Likewise.
4544 * misc/sgtty.h: Likewise.
4545 * misc/sys/mman.h: Likewise.
4546 * misc/sys/syslog.h: Likewise.
4547 * misc/sys/uio.h: Likewise.
4548 * misc/sys/xattr.h: Likewise.
4549 * misc/ttyent.h: Likewise.
4550 * nis/rpcsvc/ypclnt.h: Likewise.
4551 * nss/nss.h: Likewise.
4552 * posix/bits/unistd.h: Likewise.
4553 * posix/fnmatch.h: Likewise.
4554 * posix/glob.h: Likewise.
4555 * posix/sched.h: Likewise.
4556 * posix/spawn.h: Likewise.
4557 * posix/sys/wait.h: Likewise.
4558 * posix/unistd.h: Likewise.
4559 * posix/wordexp.h: Likewise.
4560 * pwd/pwd.h: Likewise.
4561 * resolv/netdb.h: Likewise.
4562 * resource/sys/resource.h: Likewise.
4563 * rt/aio.h: Likewise.
4564 * rt/bits/mqueue2.h: Likewise.
4565 * rt/mqueue.h: Likewise.
4566 * shadow/shadow.h: Likewise.
4567 * signal/signal.h: Likewise.
4568 * socket/send.c: Likewise.
4569 * socket/sendto.c: Likewise.
4570 * socket/sys/socket.h: Likewise.
4571 * stdio-common/printf.h: Likewise.
4572 * stdlib/bits/stdlib.h: Likewise.
4573 * stdlib/fmtmsg.h: Likewise.
4574 * stdlib/monetary.h: Likewise.
4575 * stdlib/stdlib.h: Likewise.
4576 * stdlib/ucontext.h: Likewise.
4577 * streams/stropts.h: Likewise.
4578 * string/argz.h: Likewise.
4579 * string/bits/string2.h: Likewise.
4580 * string/string.h: Likewise.
4581 * string/strings.h: Likewise.
4582 * sunrpc/rpc/auth.h: Likewise.
4583 * sunrpc/rpc/auth_des.h: Likewise.
4584 * sunrpc/rpc/clnt.h: Likewise.
4585 * sunrpc/rpc/netdb.h: Likewise.
4586 * sunrpc/rpc/pmap_clnt.h: Likewise.
4587 * sunrpc/rpc/xdr.h: Likewise.
4588 * sysdeps/generic/inttypes.h: Likewise.
4589 * sysdeps/generic/net/if.h: Likewise.
4590 * sysdeps/generic/sys/swap.h: Likewise.
4591 * sysdeps/gnu/net/if.h: Likewise.
4592 * sysdeps/gnu/utmpx.h: Likewise.
4593 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4594 * sysdeps/i386/i486/bits/string.h: Likewise.
4595 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4596 * sysdeps/s390/bits/string.h: Likewise.
4597 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4598 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4599 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4600 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4601 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4602 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4603 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4605 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4606 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4607 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4608 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4609 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4610 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4611 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4612 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4613 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4619 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4620 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4621 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4622 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4623 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4625 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4627 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4628 * sysvipc/sys/ipc.h: Likewise.
4629 * sysvipc/sys/msg.h: Likewise.
4630 * sysvipc/sys/sem.h: Likewise.
4631 * sysvipc/sys/shm.h: Likewise.
4632 * termios/termios.h: Likewise.
4633 * time/sys/time.h: Likewise.
4634 * time/time.h: Likewise.
4635 * wcsmbs/bits/wchar2.h: Likewise.
4636 * wcsmbs/uchar.h: Likewise.
4637 * wcsmbs/wchar.h: Likewise.
4638 * wctype/wctype.h: Likewise.
4641 * Makeconfig: Remove all but ELF support including AIX support.
4642 * Makerules: Likewise.
4643 * config.h.in: Likewise.
4644 * config.make.in: Likewise.
4645 * configure: Likewise.
4646 * configure.in: Likewise.
4647 * csu/Makefile: Likewise.
4648 * csu/version.c: Likewise.
4649 * debug/Makefile: Likewise.
4650 * dlfcn/Makefile: Likewise.
4651 * elf/Makefile: Likewise.
4652 * extra-lib.mk: Likewise.
4653 * iconv/Makefile: Likewise.
4654 * include/libc-symbols.h: Likewise.
4655 * include/shlib-compat.h: Likewise.
4656 * resolv/Makefile: Likewise.
4657 * resolv/res_libc.c: Likewise.
4658 * rt/Makefile: Likewise.
4659 * sysdeps/i386/asm-syntax.h: Likewise.
4660 * sysdeps/i386/sysdep.h: Likewise.
4661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4662 * sysdeps/mach/sysdep.h: Likewise.
4663 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4664 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4665 * sysdeps/s390/asm-syntax.h: Likewise.
4666 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4668 * sysdeps/sh/sysdep.h: Likewise.
4669 * sysdeps/unix/sparc/sysdep.h: Likewise.
4670 * sysdeps/wordsize-32/divdi3.c: Likewise.
4671 * sysdeps/x86_64/sysdep.h: Likewise.
4673 * argp/Versions: Remove _argp_unlock_xxx.
4676 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4677 * abilist/libBrokenLocale.abilist: Likewise.
4678 * abilist/libanl.abilist: Likewise.
4679 * abilist/libc.abilist: Likewise.
4680 * abilist/libcrypt.abilist: Likewise.
4681 * abilist/libdl.abilist: Likewise.
4682 * abilist/libm.abilist: Likewise.
4683 * abilist/libnsl.abilist: Likewise.
4684 * abilist/libpthread.abilist: Likewise.
4685 * abilist/libresolv.abilist: Likewise.
4686 * abilist/librt.abilist: Likewise.
4687 * abilist/libthread_db.abilist: Likewise.
4688 * abilist/libutil.abilist: Likewise.
4689 * abilist/libnss_db.abilist: New file.
4691 * scripts/abilist.awk: Add support for indirect functions.
4693 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4695 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4697 * shlib-versions: Remove entries for ports architectures.
4699 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4701 * elf/stackguard-macros.h: Remove support for IA-64.
4702 * elf/tst-auditmod1.c: Likewise.
4703 * sysdeps/generic/ldsodefs.h: Likewise.
4705 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4706 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4710 * configure.in: Remove --enable-omitfp support.
4712 * config.make.in: Likewise.
4713 * Makeconfig: Likewise.
4714 * manual/install.texi: Likewise.
4716 In case anyone cares, the IA-64 architecture could move to ports.
4717 * sysdeps/ia64/*: Removed.
4718 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4719 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4722 * configure.in: Remove entries for unsupported architectures.
4725 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4726 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4728 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4729 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4730 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4731 fall back to using wcrtomb.
4732 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4733 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4735 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4736 * wcsmbs/tst-c16c32-1.c: New file.
4738 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4741 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4743 * elf/tst-unique3.cc: Add explicit declaration of gets.
4744 * elf/tst-unique3lib.cc: Likewise.
4745 * elf/tst-unique3lib2.cc: Likewise.
4746 * elf/tst-unique4.cc: Likewise.
4748 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4750 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4753 * assert/assert.h (static_assert): Don't define for C++.
4754 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4755 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4757 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4759 * iconv/loop.c (single loop): Fix assertion in storing of
4762 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4764 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4766 * posix/getconf.c: Update copyright year.
4767 * nss/getent.c: Likewise.
4768 * nss/makedb.c: Likewise.
4769 * iconv/iconvconfig.c: Likewise.
4770 * iconv/iconv_prog.c: Likewise.
4771 * elf/ldconfig.c: Likewise.
4772 * elf/pldd.c: Likewise.
4773 * elf/sotruss.ksh: Likewise.
4774 * catgets/gencat.c: Likewise.
4775 * csu/version.c: Likewise.
4776 * elf/ldd.bash.in: Likewise.
4777 * elf/sprof.c (print_version): Likewise.
4778 * locale/programs/locale.c: Likewise.
4779 * locale/programs/localedef.c: Likewise.
4780 * login/programs/pt_chown.c: Likewise.
4781 * nscd/nscd.c (print_version): Likewise.
4782 * debug/xtrace.sh: Likewise.
4783 * malloc/memusage.sh: Likewise.
4784 * malloc/mtrace.pl: Likewise.
4785 * debug/catchsegv.sh: Likewise.
4787 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4789 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4792 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4795 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4796 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4798 * iconv/gconv_int.h: Likewise.
4799 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4800 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4801 from libc for GLIBC_2.16.
4802 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4803 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4804 * wcsmbs/uchar.h: Really define mbstate_t.
4805 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4806 * wcsmbs/c16rtomb.c: New file.
4807 * wcsmbs/mbrtoc16.c: New file.
4808 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4810 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4811 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4813 * wcsmbs/wchar.h: Add missing __restrict.
4815 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4818 * time/Makefile (routines): Add timespec_get.
4819 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4820 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4821 timespec for ISO C11.
4822 * time/timespec_get.c: New file.
4823 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4824 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4827 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4828 * stdlib/stdlib.h: Declare aligned_alloc.
4829 * Versions.def: Add GLIBC_2.16 for libc.
4830 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4833 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4836 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4840 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4843 * assert/assert.h (static_assert): Define.
4845 * version.h: Update for 2.16 development version.
4848 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4851 * version.h (RELEASE): Bump for 2.15 release.
4852 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4854 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4855 Patch by Marek Polacek <mpolacek@redhat.com>.
4857 * bits/byteswap.h: Protect long long constants with __extension__.
4858 * sysdeps/i386/bits/byteswap.h: Likewise.
4859 * sysdeps/ia64/bits/byteswap.h: Likewise.
4860 * sysdeps/s390/bits/byteswap.h: Likewise.
4861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4863 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4866 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4868 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4870 2011-12-23 Marek Polacek <polacek@redhat.com>
4872 * elf/dl-addr.c (determine_info): Add inline keyword.
4873 * elf/tst-auditmod4b.c (check_avx): Likewise.
4874 * elf/tst-auditmod6b.c (check_avx): Likewise.
4875 * elf/tst-auditmod6c.c (check_avx): Likewise.
4876 * elf/tst-auditmod7b.c (check_avx): Likewise.
4878 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4880 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4883 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4887 processing for last bytes.
4889 2011-08-06 Bruno Haible <bruno@clisp.org>
4892 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4893 U+0385, not to U+1FEE.
4896 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4897 entry for U+00A5 U+0301.
4899 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4902 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4903 buffer for the output is too small.
4905 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4909 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4910 SSE flags if possible.
4912 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4916 processing for last bytes.
4918 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4921 (syscall-list-default-options, syscall-list-default-condition)
4922 (syscall-list-includes): Define.
4923 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4924 list of ABIs and options and #if conditions for each ABI. Do not
4925 handle common syscalls between ABIs specially.
4926 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4928 (syscall-list-variants, syscall-list-32bit-options)
4929 (syscall-list-32bit-condition, syscall-list-64bit-options)
4930 (syscall-list-64bit-condition): Define.
4931 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4932 (syscall-list-variants, syscall-list-32bit-options)
4933 (syscall-list-32bit-condition, syscall-list-64bit-options)
4934 (syscall-list-64bit-condition): Define.
4935 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4937 (syscall-list-variants, syscall-list-32bit-options)
4938 (syscall-list-32bit-condition, syscall-list-64bit-options)
4939 (syscall-list-64bit-condition): Define.
4940 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4942 (syscall-list-variants, syscall-list-32bit-options)
4943 (syscall-list-32bit-condition, syscall-list-64bit-options)
4944 (syscall-list-64bit-condition): Define.
4946 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4948 * locale/iso-639.def: Add brx entry.
4951 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4952 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4954 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4955 __feraiseexcept_renamed.
4957 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4960 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4961 EPOLLET with unsigned values.
4962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4965 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4966 to large cancellation.
4967 * math/s_cacoshf.c: Likewise.
4968 * math/s_cacoshl.c: Likewise.
4970 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4974 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4975 * math/s_cacoshf.c: Likewise.
4976 * math/s_cacoshl.c: Likewise.
4978 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4981 * iconv/gconv.h: Define __GCONV_SWAP.
4982 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4983 * iconvdata/utf-16.c: Likewise.
4984 * iconvdata/utf-32.c: Likewise.
4986 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4990 numerator after shifting it by one limb.
4992 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4994 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4995 under [__USE_EXTERN_INLINES].
4997 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5000 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5002 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5005 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5007 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5008 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5009 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5010 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5011 for strncasecmp/strncasecmp_l compilation.
5012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5013 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5015 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5018 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5021 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5024 * time/tzfile.c (__tzfile_read): Check values from file header.
5026 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5028 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5029 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5030 * powerpc/powerpc32/dl-start.S: Likewise.
5031 * powerpc/powerpc32/elf/start.S: Likewise.
5032 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5033 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5034 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5035 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5036 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5037 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5038 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5039 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5040 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5041 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5042 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5043 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5044 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5045 * powerpc/powerpc32/memset.S: Likewise.
5046 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5047 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5048 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5049 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5050 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5051 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5052 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5053 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5054 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5055 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5056 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5057 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5058 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5060 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062 * math/libm-test.inc: Added more nearbyint tests.
5063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5064 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5068 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5070 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5073 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5075 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5076 Add wcscpy-ssse3 wcscpy-c.
5077 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5078 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5079 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5080 * sysdeps/x86_64/wcschr.S: New file.
5081 * sysdeps/x86_64/wcsrchr.S: New file.
5082 * string/test-strcmp.c: Remove checking of wcscmp function for
5084 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5085 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5086 wcsrchr-sse2 wcsrchr-c.
5087 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5088 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5089 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5090 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5091 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5092 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5093 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5094 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5095 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5096 * wcsmbc/wcschr.c (WCSCHR): New macro.
5098 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5100 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5101 * wcsmbs/test-wcsrchr.c: New file.
5102 * string/test-strrchr.c: Add wcsrchr support.
5104 * wcsmbs/test-wcscpy.c: New file.
5105 * string/test-strcpy.c: Add wcscpy support.
5108 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5110 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5113 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5116 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5118 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5120 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5121 Minor optimizations.
5123 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5124 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5125 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5127 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5129 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5130 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5131 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5132 for gcc to avoid warnings.
5133 * inet/Makefile (tests): Add tst-checks.
5134 * inet/tst-checks.c: New file.
5136 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5139 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5142 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5143 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5145 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5147 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5149 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5152 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5154 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5156 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5157 conditional on GCC version.
5158 (__arch_compare_and_exchange_val_8_acq)
5159 (__arch_compare_and_exchange_val_16_acq)
5160 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5161 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5162 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5164 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5166 * sysdeps/sh/backtrace.c: New file.
5168 2011-12-02 Andreas Schwab <schwab@redhat.com>
5170 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5173 2011-12-01 Andreas Schwab <schwab@redhat.com>
5175 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5176 falling back to utime.
5178 2011-11-30 Andreas Schwab <schwab@redhat.com>
5180 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5181 expectations for float.
5183 2011-11-29 Andreas Schwab <schwab@redhat.com>
5185 * locale/weight.h (findidx): Add parameter len.
5186 * locale/weightwc.h (findidx): Likewise.
5187 * posix/fnmatch_loop.c (FCT): Adjust caller.
5188 * posix/regcomp.c (build_equiv_class): Likewise.
5189 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5190 * posix/regexec.c (check_node_accept_bytes): Likewise.
5191 * string/strcoll_l.c (STRCOLL): Likewise.
5192 * string/strxfrm_l.c (STRXFRM): Likewise.
5194 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5196 * Makefile.in: Remove CVSOPT handling.
5197 * configure.in: Remove use of AC_REVISION.
5198 * iconvdata/Makefile (distribute): No need to filter out CVS.
5199 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5202 2011-11-16 Andreas Schwab <schwab@redhat.com>
5204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5205 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5206 [USE_AS_STRNCASECMP_L]: Likewise.
5207 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5208 NO_TLS_DIRECT_SEG_REFS.
5209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5210 Fix argument offsets for non-PIC.
5211 [USE_AS_STRNCASECMP_L]: Likewise.
5212 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5213 NO_TLS_DIRECT_SEG_REFS.
5215 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5217 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5219 * locale/loadlocale.c (_nl_load_locale): Likewise.
5221 2011-11-15 Andreas Schwab <schwab@redhat.com>
5223 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5224 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5225 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5226 (SYSCALL_GETTIME): Set errno on error.
5228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5229 count references to noai6ai_cached.
5231 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5233 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5235 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5236 FD_CLOEXEC for /proc/self/maps.
5238 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5239 FD_CLOEXEC for /proc/meminfo.
5241 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5244 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5245 FD_CLOEXEC for given file.
5247 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5249 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5250 FD_CLOEXEC for /etc/hosts.
5251 (_gethtent): Likewise.
5253 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5255 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5256 cancellation and set FD_CLOEXEC for /etc/netgroup.
5258 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5259 reading /etc/publickey.
5261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5262 allow cancellation when reading /etc/group.
5264 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5266 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5268 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5269 when using data file.
5271 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5273 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5274 (write_nis_obj): Use "c" and "e" in fopen.
5276 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5278 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5280 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5282 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5284 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5287 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5289 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5291 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5293 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5294 file parsing and set FD_CLOEXEC.
5296 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5298 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5300 2011-11-14 Andreas Schwab <schwab@redhat.com>
5302 * malloc/arena.c (arena_get2): Don't call reused_arena when
5303 _int_new_arena failed.
5305 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5307 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5308 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5310 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5313 to compile strcasecmp and strncasecmp.
5314 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5315 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5319 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5321 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5322 locale-defines.sym to gen-as-const-headers.
5323 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5324 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5326 to compile strcasecmp and strncasecmp.
5327 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5328 strcasecmp_l and strncasecmp_l.
5329 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5330 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5331 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5332 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5333 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5334 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5335 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5336 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5337 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5338 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5339 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5341 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5343 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5344 result of SYSDEP_GETTIME_CPU to retval.
5345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5346 parameter list to macro. Remove trailing semicolon. Adjust users.
5348 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5351 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5353 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5355 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5356 from unused variable.
5358 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5360 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5363 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5366 * sunrpc/rpc_prot.c (rejected): Fix case value.
5368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5369 unsigned long long int to avoid warnings in shift.
5371 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5373 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5376 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5377 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5380 * nis/nis_table.c (nis_list): Use variable of correct type for
5381 result of __follow_path call.
5383 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5386 of math functions ceil, trunc, floor, round, and sqrt, when
5387 avaliable on the platform.
5388 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5391 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5392 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5394 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5396 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5399 2011-11-11 Roland McGrath <roland@hack.frob.com>
5401 * include/unistd.h: Fix __readlink return type.
5402 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5404 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5406 * stdlib/ucontext.h: Undo last change for makecontext.
5408 2011-11-11 Andreas Schwab <schwab@redhat.com>
5410 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5412 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5413 * setjmp/setjmp.h: Mark functions as non-leaf.
5414 * setjmp/bits/setjmp2.h: Likewise.
5415 * stdlib/ucontext.h: Likewise.
5417 2011-11-10 Andreas Schwab <schwab@redhat.com>
5419 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5420 (reused_arena): Don't check arena limit.
5421 (arena_get2): Atomically check arena limit.
5423 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5425 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5426 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5431 2011-11-07 Andreas Schwab <schwab@redhat.com>
5433 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5434 handler when locking.
5436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5437 Fix size of allocated buffer.
5439 2011-11-04 Andreas Schwab <schwab@redhat.com>
5442 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5443 declarations for long double functions.
5444 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5446 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5448 2011-11-03 Andreas Schwab <schwab@redhat.com>
5450 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5453 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5456 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5458 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5460 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5462 * include/alloca.h (stackinfo_alloca_round): Define.
5463 (extend_alloca): Use it.
5464 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5465 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5468 * scripts/check-local-headers.sh: Ignore libaudit.h.
5470 * nscd/Makefile (extra-objs): Make recursively expanded.
5472 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5474 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5477 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5478 * posix/tst-rfc3484-2.c: Likewise.
5479 * posix/tst-rfc3484-3.c: Likewise.
5481 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5483 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5485 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5486 process_vm_writev from libc using GLIBC_2.15 version.
5488 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5490 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5492 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5495 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5498 * nss/getent.c (initgroups_keys): Show error message in case no group
5501 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5502 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5503 __bump_nl_timestamp.
5504 * nscd/connections (nscd_init): When host database is served open
5505 netlink socket and request notification about configuration changes.
5506 (main_loop_poll): Track netlink file descriptor and bump timestamp
5507 in case data becomes available.
5508 (main_loop_epoll): Likewise.
5509 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5510 (database_pers_head): Add extra_data fileds.
5511 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5512 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5513 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5516 in6ai data, call __free_in6ai.
5517 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5519 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5520 interface information. Reuse previous data if netlink timestamp
5522 (__bump_nl_timestamp): New function.
5523 (__free_in6ai): New function.
5525 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5528 close_not_cancel_no_status here.
5529 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5531 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5534 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5537 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5538 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5539 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5541 2011-07-03 Andreas Jaeger <aj@suse.de>
5544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5545 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5546 * math/libm-test.inc (sin_test): Add test case.
5548 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5551 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5552 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5554 * elf/chroot_canon.c (chroot_canon): Cleanups.
5556 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5559 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5560 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5562 * string/test-strchr.c: Make usable for strchrnul testing.
5563 * string/test-strchrnul.c: New file.
5564 * string/Makefile (strop-tests): Add strchrnul.
5566 * po/it.po: Update from translation team.
5567 * po/es.po: Likewise.
5569 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5572 the three constants needed as parameters. Drop the others.
5573 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5574 __m128i_strloadu_tolower.
5575 Create and initialize variable zero and use it in all the places
5576 where _mm_setzero_si128 was used.
5578 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5579 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5580 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5583 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5584 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5585 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5586 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5588 __mpranred, __mptan.
5589 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5590 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5591 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5592 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5593 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5594 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5596 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5599 2011-10-28 Andreas Schwab <schwab@redhat.com>
5601 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5603 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5606 wide char related routines to wcsmbs subdir.
5608 2011-10-27 Andreas Schwab <schwab@redhat.com>
5611 * misc/sys/cdefs.h (__THROWNL): Define.
5612 * posix/unistd.h: Use __THREADNL instead of __THREAD
5613 for memory synchronization functions.
5615 2011-10-26 Roland McGrath <roland@hack.frob.com>
5618 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5620 * manual/stdio.texi (Obstack Streams): Node removed.
5622 2011-10-26 Andreas Schwab <schwab@redhat.com>
5624 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5628 * math/math_private.h (math_force_eval): Allow non-addressable
5630 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5632 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5634 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5637 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5644 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5646 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5647 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5648 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5649 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5650 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5652 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5653 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5654 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5655 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5656 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5657 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5664 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5666 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5667 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5670 place. Use VEX encoding when compiling for AVX.
5672 2011-10-25 Andreas Schwab <schwab@redhat.com>
5674 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5675 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5677 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5679 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5681 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5682 useless if() expression.
5683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5692 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5697 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5701 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5703 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5705 2011-10-25 Andreas Schwab <schwab@redhat.com>
5707 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5709 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5711 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5713 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5714 .text section. Avoid duplicate constants.
5715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5725 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5727 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5742 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5745 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5751 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5753 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5756 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5757 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5758 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5759 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5761 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5763 * sysdeps/x86_64/dla.h: Move to ...
5764 * sysdeps/x86_64/fpu/dla.h: ...here.
5765 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5766 situations. Use __builtin_fma only for gcc 4.6 and up.
5768 * config.make.in: Add have-mfma4 entry.
5769 * configure.in: Substitute libc_cv_cc_fma4.
5770 * math/Makefile (dbl-only-routines): Add sincostab.
5771 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5772 Use __sincostab not sincos.
5773 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5780 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5781 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5782 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5783 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5786 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5788 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5789 define aliases when function name is a macro.
5790 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5791 sysdeps/ieee754/dbl-64/sincos.tbl.
5792 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5793 fma4-enabled routines.
5794 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5796 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5799 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5801 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5804 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5805 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5806 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5807 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5809 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5810 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5811 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5812 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5815 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5821 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5822 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5823 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5825 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5836 2011-10-24 Andreas Schwab <schwab@redhat.com>
5838 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5840 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5844 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5848 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5849 Remove unused variable magic_bits.
5850 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5852 * string/strnlen.c: Define and use STRNLEN macro.
5853 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5854 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5856 * wcsmbs/wcslen.c: Define and use WCSLEN.
5857 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5858 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5859 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5860 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5861 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5862 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5865 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5868 strnlen-sse2-no-bsf.
5869 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5871 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5872 Add strnlen support.
5873 (USE_AS_STRNLEN): New macro.
5874 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5876 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5877 * sysdeps/x86_64/wcslen.S: New file.
5879 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5882 XMM-moves are used for copying on small sizes.
5884 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5886 * wcsmbs/Makefile (strop-tests): Add wcschr.
5887 * wcsmbs/test-wcschr.c: New file.
5888 * string/test-strchr.c: Update.
5892 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5894 * wcsmbs/Makefile (strop-tests): Add wcslen.
5895 * wcsmbs/test-wcslen.c: New file.
5896 * string/test-strlen.c: Update.
5900 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5902 * po/it.po: Update from translation team.
5904 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5906 * sysdeps/x86_64/wcscmp.S: Update.
5907 Fix wrong comparison semantics.
5908 wcscmp shall use signed comparison not unsigned.
5909 Don't use substraction to avoid overflow bug.
5910 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5911 * wcsmbc/wcscmp.c: Likewise.
5912 * string/test-strcmp.c: Likewise.
5913 Add new tests to check cases with negative values.
5915 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5917 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5918 * sysdeps/x86_64/dla.h: ...here. New file.
5919 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5929 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5932 __ynl_finite aliases.
5934 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5938 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5940 [DLA_FMA] (EMULV): Use DLA_FMA.
5941 [DLA_FMA] (MUL12): Use EMULV.
5942 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5943 that are not needed.
5944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5952 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5954 * math/s_nan.c: Undef __nan.
5955 * math/s_nanf.c: Undef __nanf.
5956 * math/s_nanl.c: Undef __nanl.
5957 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5960 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5962 * math/s_catan.c: Add branch predictions.
5963 * math/s_catanf.c: Likewise.
5964 * math/s_catanh.c: Likewise.
5965 * math/s_catanhf.c: Likewise.
5966 * math/s_catanhl.c: Likewise.
5967 * math/s_catanl.c: Likewise.
5968 * math/s_cexp.c: Likewise.
5969 * math/s_cexpf.c: Likewise.
5970 * math/s_cexpl.c: Likewise.
5971 * math/s_clog.c: Likewise.
5972 * math/s_clog10.c: Likewise.
5973 * math/s_clog10f.c: Likewise.
5974 * math/s_clog10l.c: Likewise.
5975 * math/s_clogf.c: Likewise.
5976 * math/s_clogl.c: Likewise.
5977 * math/s_csqrt.c: Likewise.
5978 * math/s_csqrtf.c: Likewise.
5979 * math/s_csqrtl.c: Likewise.
5980 * math/s_ctanf.c: Likewise.
5981 * math/s_ctanh.c: Likewise.
5982 * math/s_ctanhf.c: Likewise.
5983 * math/s_ctanhl.c: Likewise.
5984 * math/s_ctanl.c: Likewise.
5986 * math/math_private.h: Define __nan, __nanf, __nanl.
5987 * math/s_cacosh.c: Include <math_private.h>.
5988 * math/s_cacoshl.c: Likewise.
5989 * math/s_casinh.c: Likewise.
5990 * math/s_casinhf.c: Likewise.
5991 * math/s_casinhl.c: Likewise.
5992 * math/s_ccos.c: Rely entire on ccosh.
5993 * math/s_ccosf.c: Rely entire on ccoshf.
5994 * math/s_ccosl.c: Rely entirely on ccoshl.
5995 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5996 Remove tests for FE_INVALID.
5997 * math/s_ccoshf.c: Likewise.
5998 * math/s_ccoshl.c: Likewise.
5999 * math/s_csin.c: Likewise.
6000 * math/s_csinf.c: Likewise.
6001 * math/s_csinh.c Likewise.
6002 * math/s_csinhf.c: Likewise.
6003 * math/s_csinhl.c: Likewise.
6004 * math/s_csinl.c: Likewise.
6005 * math/s_ctan.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6007 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6008 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6010 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6013 compilation problems.
6015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6018 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6020 * sysdeps/i386/configure.in: Test for -mfma4 option.
6021 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6022 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6023 COMMON_CPUID_INDEX_80000001.
6024 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6025 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6026 use it if FMA3 is not supported.
6027 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6029 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6030 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6032 2011-10-20 Andreas Schwab <schwab@redhat.com>
6035 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6036 it would create a cycle with a link time dependency.
6038 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6040 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6042 * string/Makefile (strop-tests): Add rawmemchr.
6043 * string/test-rawmemchr.c: New file.
6045 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6047 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6048 when compiling str{,n}casecmp and when AVX is available. Hook up
6049 new optimized code in initializers.
6051 2011-10-19 Andreas Schwab <schwab@redhat.com>
6053 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6054 __feraiseexcept instead of feraiseexcept.
6056 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6058 * math/math_private.h: Define defaults for libc_fetestexcept and
6060 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6061 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6062 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6063 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6064 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6065 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6066 libc_fetestexcept and libc_feupdateenv.
6068 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6069 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6070 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6071 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6072 libc_feholdexcept_setround.
6074 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6075 Add s_nearbyint-c and s_nearbyintf-c.
6076 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6078 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6079 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6080 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6081 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6083 * math/math_private.h: Define defaults for libc_fegetround,
6084 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6085 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6086 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6087 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6088 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6091 Remove comments and hacks for old compiler versions.
6092 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6093 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6096 2011-10-18 Andreas Schwab <schwab@redhat.com>
6098 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6099 (__feraiseexcept_renamed): Add __NTH.
6100 (feraiseexcept): Add __NTH. Rename local variables to fix
6101 namespace violations.
6103 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6109 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6110 recently added interfaces.
6111 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6113 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6114 about macro parameter expansion.
6116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6117 __NO_MATH_INLINES is defined. Cleanups.
6119 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6120 and __floorf is target has SSE4.1.
6121 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6122 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6123 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6124 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6126 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6130 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6132 2011-10-17 Andreas Schwab <schwab@redhat.com>
6134 * misc/sys/cdefs.h: Fix last change.
6136 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6139 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6141 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6143 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6152 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6153 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6154 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6155 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6156 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6157 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6158 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6159 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6160 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6161 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6162 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6163 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6164 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6166 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6167 ceil, ceilf, floor, floorf.
6169 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6170 Perform IRELATIVE relocations last.
6172 * elf/do-rel.h: Add another parameter nrelative, replacing the
6173 local variable with the same name. Change name of the function
6174 to end in Rel or Rela (uppercase).
6175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6176 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6177 elf_dynamic_do_##reloc function.
6179 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6181 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6182 is sufficient, at least on modern CPUs.
6184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6186 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6187 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6189 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6191 * math/bits/math-finite.h: Add entries for exp.
6192 * math/e_expl.c: Add __*_finite alias.
6193 * sysdeps/i386/fpu/e_exp.S: Likewise.
6194 * sysdeps/i386/fpu/e_expf.S: Likewise.
6195 * sysdeps/i386/fpu/e_expl.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6201 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6202 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6204 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6205 is sufficient, at least on modern CPUs.
6207 * ctype/ctype-info.c (__ctype_init): Define.
6208 * include/ctype.h (__ctype_init): Declare.
6209 (__ctype_b_loc): The variable is always initialized.
6210 (__ctype_toupper_loc): Likewise.
6211 (__ctype_tolower_loc): Likewise.
6212 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6213 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6215 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6217 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6219 * configure.in: Also look in $cxxmachine/include for C++ system
6222 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6224 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6225 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6226 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6227 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6228 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6229 (USE_AS_WMEMCMP): New macro.
6231 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6232 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6233 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6234 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6236 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6237 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6238 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6239 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6240 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6241 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6242 (USE_AS_WMEMCMP): New macro.
6243 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6244 * sysdeps/string/test-memcmp.c: Update.
6247 * wcsmbs/wmemcmp.c: Update.
6248 (WMEMCMP): New macro.
6251 2011-10-12 Andreas Jaeger <aj@suse.de>
6254 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6256 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6258 * libio/iofwide.c (do_length): Avoid warning.
6260 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6262 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6264 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6266 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6267 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6268 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6269 * sysdeps/i386/i686/fpu/e_log.S: New file.
6270 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6271 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6273 * ctype/ctype.h: Add support for inlined isXXX functions when
6276 2011-10-14 Andreas Schwab <schwab@redhat.com>
6278 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6282 2011-10-13 Roland McGrath <roland@hack.frob.com>
6285 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6287 2011-10-13 Andreas Schwab <schwab@redhat.com>
6289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6290 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6293 * sysdeps/x86_64/memrchr.S: Check for zero size.
6295 * string/stratcliff.c: Add memrchr tests.
6297 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6300 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6301 rawmemchr-sse2 rawmemchr-sse2-bsf.
6302 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6303 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6304 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6305 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6306 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6307 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6308 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6309 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6310 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6311 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6312 * string/memrchr.c (MEMRCHR): New macro.
6314 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6316 Add integration with gcc's -ffinite-math-only and optimize wrapper
6318 * Versions.def: Define GLIBC_2.15 version for libm.
6319 * math/Makefile (headers): Add bits/math-finite.h.
6320 * math/bits/math-finite.h: New file.
6321 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6322 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6323 * math/e_acoshl.c: Add __*_finite alias.
6324 * math/e_acosl.c: Likewise.
6325 * math/e_asinl.c: Likewise.
6326 * math/e_atan2l.c: Likewise.
6327 * math/e_atanhl.c: Likewise.
6328 * math/e_coshl.c: Likewise.
6329 * math/e_exp10.c: Likewise.
6330 * math/e_exp10f.c: Likewise.
6331 * math/e_exp10l.c: Likewise.
6332 * math/e_exp2l.c: Likewise.
6333 * math/e_fmodl.c: Likewise.
6334 * math/e_gammal_r.c: Likewise.
6335 * math/e_hypotl.c: Likewise.
6336 * math/e_j0l.c: Likewise.
6337 * math/e_j1l.c: Likewise.
6338 * math/e_jnl.c: Likewise.
6339 * math/e_lgammal_r.c: Likewise.
6340 * math/e_log10l.c: Likewise.
6341 * math/e_log2l.c: Likewise.
6342 * math/e_logl.c: Likewise.
6343 * math/e_powl.c: Likewise.
6344 * math/e_sinhl.c: Likewise.
6345 * math/e_sqrtl.c: Likewise.
6346 * math/e_scalb.c: Completely rewritten and optimized.
6347 * math/e_scalbf.c: Likewise.
6348 * math/e_scalbl.c: Likewise.
6349 * math/w_acos.c: Likewise.
6350 * math/w_acosf.c: Likewise.
6351 * math/w_acosl.c: Likewise.
6352 * math/w_acosh.c: Likewise.
6353 * math/w_acoshf.c: Likewise.
6354 * math/w_acoshl.c: Likewise.
6355 * math/w_asin.c: Likewise.
6356 * math/w_asinf.c: Likewise.
6357 * math/w_asinl.c: Likewise.
6358 * math/w_atan2.c: Likewise.
6359 * math/w_atan2f.c: Likewise.
6360 * math/w_atan2l.c: Likewise.
6361 * math/w_atanh.c: Likewise.
6362 * math/w_atanhf.c: Likewise.
6363 * math/w_atanhl.c: Likewise.
6364 * math/w_exp10.c: Likewise.
6365 * math/w_exp10f.c: Likewise.
6366 * math/w_exp10l.c: Likewise.
6367 * math/w_fmod.c: Likewise.
6368 * math/w_fmodf.c: Likewise.
6369 * math/w_fmodl.c: Likewise.
6370 * math/w_j0.c: Likewise.
6371 * math/w_j0f.c: Likewise.
6372 * math/w_j0l.c: Likewise.
6373 * math/w_j1.c: Likewise.
6374 * math/w_j1f.c: Likewise.
6375 * math/w_j1l.c: Likewise.
6376 * math/w_jn.c: Likewise.
6377 * math/w_jnf.c: Likewise.
6378 * math/w_log.c: Likewise.
6379 * math/w_logf.c: Likewise.
6380 * math/w_logl.c: Likewise.
6381 * math/w_log10.c: Likewise.
6382 * math/w_log10f.c: Likewise.
6383 * math/w_log10l.c: Likewise.
6384 * math/w_log2.c: Likewise.
6385 * math/w_log2f.c: Likewise.
6386 * math/w_log2l.c: Likewise.
6387 * math/w_pow.c: Likewise.
6388 * math/w_powf.c: Likewise.
6389 * math/w_powl.c: Likewise.
6390 * math/w_remainder.c: Likewise.
6391 * math/w_remainderf.c: Likewise.
6392 * math/w_remainderl.c: Likewise.
6393 * math/w_scalb.c: Likewise.
6394 * math/w_scalbf.c: Likewise.
6395 * math/w_scalbl.c: Likewise.
6396 * math/w_sqrt.c: Likewise.
6397 * math/w_sqrtf.c: Likewise.
6398 * math/w_sqrtl.c: Likewise.
6399 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6400 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6402 * math/math_private.h: Declare __kernel_standard_f.
6403 * math/w_cosh.c: Remove cruft and optimize a bit.
6404 * math/w_coshf.c: Likewise.
6405 * math/w_coshl.c: Likewise.
6406 * math/w_exp2.c: Likewise.
6407 * math/w_exp2f.c: Likewise.
6408 * math/w_exp2l.c: Likewise.
6409 * math/w_hypot.c: Likewise.
6410 * math/w_hypotf.c: Likewise.
6411 * math/w_hypotl.c: Likewise.
6412 * math/w_lgamma.c: Likewise.
6413 * math/w_lgamma_r.c: Likewise.
6414 * math/w_lgammaf.c: Likewise.
6415 * math/w_lgammaf_r.c: Likewise.
6416 * math/w_lgammal.c: Likewise.
6417 * math/w_lgammal_r.c: Likewise.
6418 * math/w_sinh.c: Likewise.
6419 * math/w_sinhf.c: Likewise.
6420 * math/w_sinhl.c: Likewise.
6421 * math/w_tgamma.c: Likewise.
6422 * math/w_tgammaf.c: Likewise.
6423 * math/w_tgammal.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6426 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6427 Minor optimizations. Pretty printing. Remove cruft.
6428 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6429 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6432 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6433 * sysdeps/i386/fpu/e_asin.S: Likewise.
6434 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6435 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6436 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6437 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6438 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6440 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6441 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6442 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6443 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6444 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6445 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6446 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6447 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6448 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6449 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6450 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6451 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6452 * sysdeps/i386/fpu/e_log.S: Likewise.
6453 * sysdeps/i386/fpu/e_log10.S: Likewise.
6454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6456 * sysdeps/i386/fpu/e_log2.S: Likewise.
6457 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6459 * sysdeps/i386/fpu/e_logf.S: Likewise.
6460 * sysdeps/i386/fpu/e_logl.S: Likewise.
6461 * sysdeps/i386/fpu/e_pow.S: Likewise.
6462 * sysdeps/i386/fpu/e_powf.S: Likewise.
6463 * sysdeps/i386/fpu/e_powl.S: Likewise.
6464 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6465 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6466 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6467 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6470 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6471 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6472 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6494 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6497 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6498 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6499 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6500 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6511 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6512 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6513 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6514 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6561 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6564 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6565 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6566 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6567 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6568 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6569 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6570 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6571 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6572 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6573 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6574 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6575 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6576 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6579 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6581 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6582 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6583 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6584 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6585 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6586 (__isnanf): Likewise.
6587 (__isinf_ns): Likewise.
6588 (__isinf_nsf): Likewise.
6589 (__finite): Likewise.
6590 (__finitef): Likewise.
6591 (__ieee754_sqrt): Define as macro.
6592 (__ieee754_sqrtf): Define as macro.
6593 (__ieee754_sqrtl): Define as macro.
6594 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6596 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6597 __FINITE_MATH_ONLY__ consistent.
6598 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6600 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6602 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6605 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6607 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6609 * po/ja.po: Update from translation team.
6611 2011-10-08 Roland McGrath <roland@hack.frob.com>
6613 * locale/programs/locarchive.c (prepare_address_space): New function.
6614 (create_archive, enlarge_archive, open_archive): Use it.
6616 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6617 inside [SHARED], where it is used.
6619 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6621 * nss/getent.c (netgroup_keys): Remove unused variable.
6622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6624 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6626 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6627 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6630 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6631 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6632 * math/Makefile (libm-calls): Add s_isinf_ns.
6633 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6634 * math/multc3.c: Likewise.
6635 * math/s_casin.c: Likewise.
6636 * math/s_casinf.c: Likewise.
6637 * math/s_casinl.c: Likewise.
6638 * math/s_ccos.c: Likewise.
6639 * math/s_ccosf.c: Likewise.
6640 * math/s_ccosl.c: Likewise.
6641 * math/s_ctan.c: Likewise.
6642 * math/s_ctanf.c: Likewise.
6643 * math/s_ctanh.c: Likewise.
6644 * math/s_ctanhf.c: Likewise.
6645 * math/s_ctanhl.c: Likewise.
6646 * math/s_ctanl.c: Likewise.
6647 * math/w_fmod.c: Likewise.
6648 * math/w_fmodf.c: Likewise.
6649 * math/w_fmodl.c: Likewise.
6650 * math/w_remainder.c: Likewise.
6651 * math/w_remainderf.c: Likewise.
6652 * math/w_remainderl.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6654 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6655 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6657 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6658 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6659 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6660 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6662 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6664 * stdio-common/printf_fphex.c: Likewise.
6665 * stdio-common/printf_size.c: Likewise.
6667 * math/e_exp10.c: Include math_private.h using <...> not "...".
6668 * math/e_exp10f.c: Likewise.
6669 * math/e_exp10l.c: Likewise.
6670 * math/e_exp2l.c: Likewise.
6671 * math/e_j0l.c: Likewise.
6672 * math/e_j1l.c: Likewise.
6673 * math/e_jnl.c: Likewise.
6674 * math/e_lgammal_r.c: Likewise.
6675 * math/e_rem_pio2l.c: Likewise.
6676 * math/e_scalb.c: Likewise.
6677 * math/e_scalbf.c: Likewise.
6678 * math/e_scalbl.c: Likewise.
6679 * math/k_cosl.c: Likewise.
6680 * math/k_sinl.c: Likewise.
6681 * math/k_tanl.c: Likewise.
6682 * math/s_cacoshf.c: Likewise.
6683 * math/s_catan.c: Likewise.
6684 * math/s_catanf.c: Likewise.
6685 * math/s_catanh.c: Likewise.
6686 * math/s_catanhf.c: Likewise.
6687 * math/s_catanhl.c: Likewise.
6688 * math/s_catanl.c: Likewise.
6689 * math/s_ccosh.c: Likewise.
6690 * math/s_ccoshf.c: Likewise.
6691 * math/s_ccoshl.c: Likewise.
6692 * math/s_cexp.c: Likewise.
6693 * math/s_cexpf.c: Likewise.
6694 * math/s_cexpl.c: Likewise.
6695 * math/s_clog.c: Likewise.
6696 * math/s_clog10.c: Likewise.
6697 * math/s_clog10f.c: Likewise.
6698 * math/s_clog10l.c: Likewise.
6699 * math/s_clogf.c: Likewise.
6700 * math/s_clogl.c: Likewise.
6701 * math/s_csin.c: Likewise.
6702 * math/s_csinf.c: Likewise.
6703 * math/s_csinh.c: Likewise.
6704 * math/s_csinhf.c: Likewise.
6705 * math/s_csinhl.c: Likewise.
6706 * math/s_csinl.c: Likewise.
6707 * math/s_csqrt.c: Likewise.
6708 * math/s_csqrtf.c: Likewise.
6709 * math/s_csqrtl.c: Likewise.
6710 * math/s_ctan.c: Likewise.
6711 * math/s_ctanf.c: Likewise.
6712 * math/s_ctanh.c: Likewise.
6713 * math/s_ctanhf.c: Likewise.
6714 * math/s_ctanhl.c: Likewise.
6715 * math/s_ctanl.c: Likewise.
6716 * math/s_ldexp.c: Likewise.
6717 * math/s_ldexpf.c: Likewise.
6718 * math/s_ldexpl.c: Likewise.
6719 * math/s_significand.c: Likewise.
6720 * math/s_significandf.c: Likewise.
6721 * math/s_significandl.c: Likewise.
6722 * math/w_acos.c: Likewise.
6723 * math/w_acosf.c: Likewise.
6724 * math/w_acosh.c: Likewise.
6725 * math/w_acoshf.c: Likewise.
6726 * math/w_acoshl.c: Likewise.
6727 * math/w_acosl.c: Likewise.
6728 * math/w_asin.c: Likewise.
6729 * math/w_asinf.c: Likewise.
6730 * math/w_asinl.c: Likewise.
6731 * math/w_atan2.c: Likewise.
6732 * math/w_atan2f.c: Likewise.
6733 * math/w_atan2l.c: Likewise.
6734 * math/w_atanh.c: Likewise.
6735 * math/w_atanhf.c: Likewise.
6736 * math/w_atanhl.c: Likewise.
6737 * math/w_cosh.c: Likewise.
6738 * math/w_coshf.c: Likewise.
6739 * math/w_coshl.c: Likewise.
6740 * math/w_dremf.c: Likewise.
6741 * math/w_exp10.c: Likewise.
6742 * math/w_exp10f.c: Likewise.
6743 * math/w_exp10l.c: Likewise.
6744 * math/w_exp2.c: Likewise.
6745 * math/w_exp2f.c: Likewise.
6746 * math/w_fmod.c: Likewise.
6747 * math/w_fmodf.c: Likewise.
6748 * math/w_fmodl.c: Likewise.
6749 * math/w_hypot.c: Likewise.
6750 * math/w_hypotf.c: Likewise.
6751 * math/w_hypotl.c: Likewise.
6752 * math/w_j0.c: Likewise.
6753 * math/w_j0f.c: Likewise.
6754 * math/w_j0l.c: Likewise.
6755 * math/w_j1.c: Likewise.
6756 * math/w_j1f.c: Likewise.
6757 * math/w_j1l.c: Likewise.
6758 * math/w_jn.c: Likewise.
6759 * math/w_jnf.c: Likewise.
6760 * math/w_jnl.c: Likewise.
6761 * math/w_lgamma.c: Likewise.
6762 * math/w_lgamma_r.c: Likewise.
6763 * math/w_lgammaf.c: Likewise.
6764 * math/w_lgammaf_r.c: Likewise.
6765 * math/w_lgammal.c: Likewise.
6766 * math/w_lgammal_r.c: Likewise.
6767 * math/w_log.c: Likewise.
6768 * math/w_log10.c: Likewise.
6769 * math/w_log10f.c: Likewise.
6770 * math/w_log10l.c: Likewise.
6771 * math/w_log2.c: Likewise.
6772 * math/w_log2f.c: Likewise.
6773 * math/w_log2l.c: Likewise.
6774 * math/w_logf.c: Likewise.
6775 * math/w_logl.c: Likewise.
6776 * math/w_pow.c: Likewise.
6777 * math/w_powf.c: Likewise.
6778 * math/w_powl.c: Likewise.
6779 * math/w_remainder.c: Likewise.
6780 * math/w_remainderf.c: Likewise.
6781 * math/w_remainderl.c: Likewise.
6782 * math/w_scalb.c: Likewise.
6783 * math/w_scalbf.c: Likewise.
6784 * math/w_scalbl.c: Likewise.
6785 * math/w_sinh.c: Likewise.
6786 * math/w_sinhf.c: Likewise.
6787 * math/w_sinhl.c: Likewise.
6788 * math/w_sqrt.c: Likewise.
6789 * math/w_sqrtf.c: Likewise.
6790 * math/w_sqrtl.c: Likewise.
6791 * math/w_tgamma.c: Likewise.
6792 * math/w_tgammaf.c: Likewise.
6793 * math/w_tgammal.c: Likewise.
6795 * po/ja.po: Update from translation team.
6797 2011-09-29 Andreas Jaeger <aj@suse.de>
6800 * sunrpc/netname.c (netname2host): Fix logic.
6804 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6806 * math/w_remainder.c (__remainder): Likewise.
6807 * math/w_remainderf.c (__remainderf): Likewise.
6808 * math/libm-test.inc (remainder_test): Add test cases.
6810 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6812 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6815 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6817 * string/test-memcmp.c: Avoid unncessary #defines.
6818 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6820 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6822 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6823 Use new sse2 version for core i3 - i7 as it's faster
6825 (bit_Prefer_PMINUB_for_stringop): New.
6826 * sysdeps/x86_64/rawmemchr.S: Update.
6827 Replace with faster SSE2 version.
6828 * sysdeps/x86_64/memrchr.S: New file.
6829 * sysdeps/x86_64/memchr.S: Update.
6830 Replace with faster SSE2 version.
6832 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6834 * elf/dl-load.c (lose): Add cast to avoid warning.
6836 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6838 * po/ca.po: Update from translation team.
6840 * inet/getnetgrent_r.c: Hook up nscd.
6841 * nscd/Makefile (routines): Add nscd_netgroup.
6842 (nscd-modules): Add netgroupcache.
6843 (CFLAGS-netgroupcache.c): Define.
6844 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6845 (cache_search): Add const to second parameter.
6846 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6848 (dbs): Add netgrdb entry.
6849 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6850 (verify_persistent_db): Handle netgrdb.
6851 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6852 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6854 (netgroup_response_header): Define.
6855 (innetgroup_response_header): Define.
6856 (datahead): Add netgroup_response_header and innetgroup_response_header
6858 * nscd/nscd.conf: Add entries for netgroup cache.
6859 * nscd/nscd.h (dbtype): Add netgrdb.
6860 (_PATH_NSCD_NETGROUP_DB): Define.
6861 (netgroup_iov_disabled): Declare.
6862 (xmalloc, xcalloc, xrealloc): Move declarations here.
6863 (cache_search): Adjust prototype.
6864 Add netgroup-related prototypes.
6865 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6866 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6867 (__nscd_innetgr): Declare.
6868 * nscd/selinux.c (perms): Use access_vector_t as element type and
6869 add netgroup-related initializers.
6870 * nscd/netgroupcache.c: New file.
6871 * nscd/nscd_netgroup.c: New file.
6872 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6873 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6874 For four parameters use innetgr.
6875 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6876 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6877 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6878 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6880 * nscd/connections.c (register_traced_file): Don't register file
6881 for disabled databases.
6883 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6885 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6887 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6888 from tree and freeing node.
6890 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6892 * nss/nsswitch.c (__nss_database_lookup): Handle
6893 nss_parse_service_list out of memory case.
6895 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6897 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6900 2011-10-04 Andreas Schwab <schwab@redhat.com>
6902 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6903 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6905 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6906 elf_machine_rela, elf_machine_lazy_rel.
6907 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6908 (ELF_DYNAMIC_DO_REL): Likewise.
6909 (ELF_DYNAMIC_DO_RELA): Likewise.
6910 (ELF_DYNAMIC_RELOCATE): Likewise.
6911 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6912 to ELF_DYNAMIC_DO_REL.
6913 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6914 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6915 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6918 skip_ifunc, don't call ifunc function if non-zero.
6919 (elf_machine_rela): Likewise.
6920 (elf_machine_lazy_rel): Likewise.
6921 (elf_machine_lazy_rela): Likewise.
6922 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6923 (elf_machine_lazy_rel): Likewise.
6924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6926 (elf_machine_lazy_rel): Likewise.
6927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6929 (elf_machine_lazy_rel): Likewise.
6930 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6931 (elf_machine_lazy_rel): Likewise.
6932 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6933 (elf_machine_lazy_rel): Likewise.
6934 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6935 (elf_machine_lazy_rel): Likewise.
6936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6937 (elf_machine_lazy_rel): Likewise.
6938 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6939 (elf_machine_lazy_rel): Likewise.
6940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6941 (elf_machine_lazy_rel): Likewise.
6943 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6945 * nss/nss_files/files-init.c (_nss_files_init): Use static
6946 initialization for all the *_traced_file variables.
6948 2011-09-28 Andreas Schwab <schwab@redhat.com>
6950 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6952 2011-09-27 Roland McGrath <roland@hack.frob.com>
6955 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6957 2011-09-27 Andreas Schwab <schwab@redhat.com>
6959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6960 Reread the line before reparsing it.
6962 2011-09-26 Andreas Schwab <schwab@redhat.com>
6964 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6966 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6967 Maxim Kuvyrkov <maxim@codesourcery.com>
6968 Joseph Myers <joseph@codesourcery.com>
6970 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6971 if needed for __stack_chk_guard.
6973 2011-09-19 Roland McGrath <roland@hack.frob.com>
6975 * sysdeps/posix/spawni.c (script_execute): Always define it.
6976 It will be optimized away if unused.
6977 (maybe_script_execute): New function.
6978 (__spawni): Call it.
6980 * Makerules: Don't include tls.make.
6981 (config-tls): Always set to thread.
6982 * tls.make.c: File removed.
6984 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6986 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6987 * config.make.in (CPPFLAGS-config): New substituted variable.
6989 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6991 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6994 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6995 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6997 2011-09-15 Roland McGrath <roland@hack.frob.com>
6999 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7000 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7002 (CALL_FAIL): Likewise.
7003 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7004 (CALL_FAIL): Macro removed.
7005 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7007 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7009 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7010 for __FINITE_MATH_ONLY__ == 1.
7012 2011-09-15 Andreas Schwab <schwab@redhat.com>
7014 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7015 __ieee754_sqrt instead of sqrt.
7016 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7017 __ieee754_sqrtf instead of sqrtf.
7018 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7019 __floorf instead of floorf.
7020 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7021 __floorf, __truncf instead of floorf, truncf.
7023 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7025 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7027 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7028 __extern_always_inline.
7029 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7032 2011-09-14 Andreas Schwab <schwab@redhat.com>
7034 * elf/rtld.c (dl_main): Also relocate in dependency order when
7035 doing symbol dependency testing.
7037 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7040 Always define `refsym'.
7042 2011-09-13 Andreas Schwab <schwab@redhat.com>
7044 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7045 (__FD_ELT): Renamed from __FDELT.
7046 * misc/bits/select2.h (__FD_ELT): Likewise.
7047 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7048 __FD_MASK instead of __FDELT, __FDMASK.
7049 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7051 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7054 * elf/Makefile (gen-ldd): Fix pattern.
7056 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7057 (init_tls): Likewise.
7059 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7063 2011-09-12 Andreas Schwab <schwab@redhat.com>
7065 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7066 `struct cmsghdr *' instead of `void *'.
7067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7070 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7072 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7074 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7077 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7079 * configure.in: Remove --with-tls option.
7080 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7081 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7082 out in case it is missing.
7083 * sysdeps/ia64/elf/configure.in: Likewise.
7084 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7085 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7086 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7087 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7088 * sysdeps/sh/elf/configure.in: Likewise.
7089 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7090 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7091 * sysdeps/x86_64/elf/configure.in: Likewise.
7092 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7093 * sysdeps/mach/hurd/tls.h: Likewise.
7096 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7099 * configure.in: Fix use of AC_INIT.
7101 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7103 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7105 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7107 * malloc/hooks.c: Likewise.
7110 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7111 variables statically.
7112 (narenas): Initialize.
7113 (list_lock): Initialize.
7114 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7115 initializtion of main_arena and list_lock. Small cleanups.
7116 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7117 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7118 Add initializers to main_arena and mp_.
7119 (malloc_state): Remove pagesize member. Change all users to use
7122 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7123 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7124 is always initialized.
7126 * malloc/malloc.c: Removed unused configurations and dead code.
7127 * malloc/arena.c: Likewise.
7128 * malloc/hooks.c: Likewise.
7129 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7131 * include/tls.h: Removed. USE___THREAD must always be defined.
7132 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7133 * elf/dl-libc.c: Likewise.
7134 * elf/dl-tsd.c: Likewise.
7135 * include/errno.h: Likewise.
7136 * include/netdb.h: Likewise.
7137 * include/resolv.h: Likewise.
7138 * inet/herrno-loc.c: Likewise.
7139 * inet/herrno.c: Likewise.
7140 * malloc/arena.c: Likewise.
7141 * malloc/hooks.c: Likewise.
7142 * malloc/malloc.c: Likewise.
7143 * resolv/res-state.c: Likewise.
7144 * resolv/res_libc.c: Likewise.
7145 * sysdeps/i386/dl-machine.h: Likewise.
7146 * sysdeps/ia64/dl-machine.h: Likewise.
7147 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7148 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7149 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7150 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7151 * sysdeps/sh/dl-machine.h: Likewise.
7152 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7153 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7154 * sysdeps/unix/i386/sysdep.S: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7161 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7166 * sysdeps/x86_64/dl-machine.h: Likewise.
7167 * tls.make.c: Likewise.
7169 * configure.in: Remove --with-__thread option. Make tests for
7170 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7171 tls_model attribute fail if no support is available. Remove
7173 * Makeconfig: Adjust for dropped configure option. All features are
7175 * Makerules: Likewise.
7176 * Versions.def: Likewise.
7177 * argp/argp-fmtstream.c: Likewise.
7178 * argp/argp-fmtstream.h: Likewise.
7179 * argp/argp-help.c: Likewise.
7180 * assert/assert.c: Likewise.
7181 * config.h.in: Likewise.
7182 * config.make.in: Likewise.
7183 * configure: Likewise.
7184 * configure.in: Likewise.
7185 * csu/Versions: Likewise.
7186 * csu/init.c: Likewise.
7187 * elf/tst-audit2.c: Likewise.
7188 * elf/tst-tls10.c: Likewise.
7189 * elf/tst-tls10.h: Likewise.
7190 * elf/tst-tls11.c: Likewise.
7191 * elf/tst-tls12.c: Likewise.
7192 * elf/tst-tls14.c: Likewise.
7193 * elf/tst-tlsmod11.c: Likewise.
7194 * elf/tst-tlsmod12.c: Likewise.
7195 * elf/tst-tlsmod13.c: Likewise.
7196 * elf/tst-tlsmod13a.c: Likewise.
7197 * elf/tst-tlsmod14a.c: Likewise.
7198 * elf/tst-tlsmod15b.c: Likewise.
7199 * elf/tst-tlsmod16a.c: Likewise.
7200 * elf/tst-tlsmod16b.c: Likewise.
7201 * elf/tst-tlsmod7.c: Likewise.
7202 * elf/tst-tlsmod8.c: Likewise.
7203 * elf/tst-tlsmod9.c: Likewise.
7204 * gmon/gmon.c: Likewise.
7205 * grp/fgetgrent_r.c: Likewise.
7206 * grp/putgrent.c: Likewise.
7207 * hurd/fopenport.c: Likewise.
7208 * include/libc-symbols.h: Likewise.
7209 * include/tls.h: Likewise.
7210 * intl/gettextP.h: Likewise.
7211 * intl/loadinfo.h: Likewise.
7212 * locale/global-locale.c: Likewise.
7213 * locale/localeinfo.h: Likewise.
7214 * mach/devstream.c: Likewise.
7215 * malloc/arena.c: Likewise.
7216 * malloc/set-freeres.c: Likewise.
7217 * misc/err.c: Likewise.
7218 * misc/getttyent.c: Likewise.
7219 * misc/mntent_r.c: Likewise.
7220 * posix/getopt.c: Likewise.
7221 * posix/wordexp.c: Likewise.
7222 * pwd/fgetpwent_r.c: Likewise.
7223 * resolv/Versions: Likewise.
7224 * resolv/res_hconf.c: Likewise.
7225 * shadow/fgetspent_r.c: Likewise.
7226 * shadow/putspent.c: Likewise.
7227 * stdio-common/printf_fphex.c: Likewise.
7228 * stdio-common/tmpfile.c: Likewise.
7229 * stdlib/abort.c: Likewise.
7230 * stdlib/fmtmsg.c: Likewise.
7231 * sunrpc/auth_unix.c: Likewise.
7232 * sunrpc/clnt_perr.c: Likewise.
7233 * sunrpc/clnt_tcp.c: Likewise.
7234 * sunrpc/clnt_udp.c: Likewise.
7235 * sunrpc/clnt_unix.c: Likewise.
7236 * sunrpc/openchild.c: Likewise.
7237 * sunrpc/svc_simple.c: Likewise.
7238 * sunrpc/svc_tcp.c: Likewise.
7239 * sunrpc/svc_udp.c: Likewise.
7240 * sunrpc/svc_unix.c: Likewise.
7241 * sunrpc/xdr.c: Likewise.
7242 * sunrpc/xdr_array.c: Likewise.
7243 * sunrpc/xdr_rec.c: Likewise.
7244 * sunrpc/xdr_ref.c: Likewise.
7245 * sunrpc/xdr_stdio.c: Likewise.
7247 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7249 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7251 2011-07-03 Andreas Jaeger <aj@suse.de>
7253 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7254 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7255 regenerate with gen-libm-tests.pl.
7257 2010-05-12 Petr Baudis <pasky@suse.cz>
7260 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7261 around j0() zero points by switching to j1().
7262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7267 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7269 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7271 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7274 Patch in part by Pavel Roskin <proski@gnu.org>.
7277 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7279 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7280 Free memory block if necessary.
7283 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7284 be NULL. Don't lock in this case.
7286 2011-09-09 Roland McGrath <roland@hack.frob.com>
7288 * elf/elf.h (ELFOSABI_GNU): New macro.
7289 (ELFOSABI_LINUX): Define to that.
7291 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7293 * string/strncat.c (strncat): Undef the symbol in case it has been
7294 defined in bits/string.h.
7296 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7298 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7300 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7303 2011-08-17 Andreas Jaeger <aj@suse.de>
7305 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7307 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7308 Ian Lance Taylor <iant@google.com>
7310 * math/libm-test.inc (lround_test): New testcase.
7311 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7313 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7315 * Makefile: Remove support for automatic cvs check-ins.
7316 * Makerules: Likewise.
7317 * config.make.in: Likewise.
7318 * configure.in: Likewise.
7319 * intl/Makefile: Likewise.
7320 * locale/Makefile: Likewise.
7321 * po/Makefile: Likewise.
7322 * posix/Makefile: Likewise.
7323 * sysdeps/gnu/Makefile: Likewise.
7324 * sysdeps/mach/hurd/Makefile: Likewise.
7325 * sysdeps/sparc/sparc32/Makefile: Likewise.
7328 * posix/Makefile (bug-regex32-ENV): Define.
7329 Patch by John Stanley <jpsinthemix@verizon.net>.
7331 * misc/Makefile (headers): Add bits/select2.h.
7332 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7333 * misc/bits/select2.h: New file.
7334 * include/bits/select2.h: New file.
7335 * debug/Makefile (routines): Add fdelt_chk.
7336 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7337 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7339 * debug/fdelt_chk.c: New file.
7341 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7342 * wcsmbs/test-wmemcmp.c: Likewise.
7343 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7344 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7346 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7348 * string/Makefile (strop-tests): Add memcmp.
7349 * string/test-wmemcmp.c: New file.
7350 * string/test-memcmp.c: Add wmemcmp support.
7352 2011-09-08 Roland McGrath <roland@hack.frob.com>
7355 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7358 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7359 garbage value in a __mach_port_mod_refs call in the cases of the
7360 task-self and thread-self ports.
7362 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7364 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7366 2011-09-08 Andreas Schwab <schwab@redhat.com>
7368 * elf/dl-load.c (lose): Check for non-null L.
7370 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7372 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7374 * elf/dl-libc.c (dlerror_run): Pass back error code from
7378 * elf/dl-load.c (lose): Free l_origin if it is valid.
7380 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7382 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7387 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7389 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7392 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7393 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7394 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7395 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7396 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7397 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7398 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7399 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7400 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7402 2011-08-15 Alan Modra <amodra@gmail.com>
7405 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7406 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7407 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7408 ppc_mcount to static-only-routines.
7409 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7411 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7412 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7414 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7417 for finite and infinity parameters.
7419 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7422 and add nop instructions for throughput optimization.
7423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7425 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7427 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7428 aligned copy for power7 with vector-scalar instructions.
7429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7431 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7436 2011-09-07 Andreas Schwab <schwab@redhat.com>
7439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7442 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7444 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7445 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7446 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7450 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7452 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7453 Forgot to demangle the pointer.
7455 * sysdeps/i386/sysdep.h: Define atom_text_section.
7456 * sysdeps/x86_64/sysdep.h: Likewise.
7457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7458 section with atom_text_section.
7459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7461 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7467 already be defined. Change to take two parameters and don't assign
7468 result to variable. Adjust all users.
7469 Define INTERNAL_GETTIME if not already defined.
7470 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7473 HAVE_CLOCK_GETTIME_VSYSCALL.
7474 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7477 gettimeofday vsyscall, just use time.
7479 2011-09-06 Andreas Schwab <schwab@redhat.com>
7481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7484 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7486 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7490 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7492 syscall if possible.
7494 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7496 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7497 e_ident. Don't pass to find_mapsXX.
7498 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7500 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7503 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7504 * sysdeps/x86_64/multiarch/strchr.S: Update.
7505 Check bit_slow_BSF bit.
7506 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7510 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7513 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7516 (__spawni): Change last parameter to be flag. Test
7517 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7518 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7519 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7520 * posix/spawni.c: Likewise.
7521 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7522 * posix/spawnp.c: Likewise. Change normal version to use
7523 SPAWN_XFLAGS_USE_PATH.
7524 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7525 SPAWN_XFLAGS_TRY_SHELL.
7528 * posix/glob.h: Remove gcc 1.x support.
7531 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7533 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7536 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7538 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7539 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7543 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7545 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7547 * sysdeps/x86_64/wcscmp.S: New file.
7549 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7550 wcscmp-c wcscmp-sse2
7551 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7552 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7553 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7554 * wcsmbs/wcscmp.c: Allow renaming.
7556 2011-09-05 David S. Miller <davem@davemloft.net>
7558 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7559 stack slot, rather than the struct return pointer slot.
7560 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7561 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7563 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7567 * po/ja.po: Update from translation team.
7570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7571 kernel in 64-bit binaries.
7573 2011-09-01 David S. Miller <davem@davemloft.net>
7575 * elf/elf.h (HWCAP_SPARC_*): Move to..
7576 * sysdeps/sparc/sysdep.h: this new file and add new values.
7577 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7578 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7579 _DL_HWCAP_COUNT to 24.
7580 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7582 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7583 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7584 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7586 instead of magic constants.
7587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7589 2011-08-31 David S. Miller <davem@davemloft.net>
7591 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7593 Reimplement to do errno handling inline.
7594 (SYSCALL_ERROR_HANDLER): New macro.
7595 (__SYSCALL_STRING): Do not do errno handling in asm.
7596 (__CLONE_SYSCALL_STRING): Delete.
7597 (__INTERNAL_SYSCALL_STRING): Delete.
7598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7599 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7600 (PSEUDO): Reimplement to do errno handling inline.
7601 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7602 (SYSCALL_ERROR_HANDLER): New macro.
7603 (__SYSCALL_STRING): Do not do errno handling in asm.
7604 (__CLONE_SYSCALL_STRING): Delete.
7605 (__INTERNAL_SYSCALL_STRING): Delete.
7606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7607 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7609 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7610 (inline_syscall*): Add 'err' argument.
7611 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7612 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7613 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7614 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7616 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7617 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7619 2011-08-30 Andreas Schwab <schwab@redhat.com>
7621 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7623 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7625 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7628 2011-08-24 David S. Miller <davem@davemloft.net>
7630 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7632 2011-08-24 Andreas Schwab <schwab@redhat.com>
7634 * elf/Makefile: Add rules to build and run unload8 test.
7635 * elf/unload8.c: New file.
7636 * elf/unload8mod1.c: New file.
7637 * elf/unload8mod1x.c: New file.
7638 * elf/unload8mod2.c: New file.
7639 * elf/unload8mod3.c: New file.
7641 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7644 2011-08-23 David S. Miller <davem@davemloft.net>
7646 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7647 subtract stack bias.
7648 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7649 %sp not %fp in calculations.
7650 (_JMPBUF_UNWINDS_ADJ): Likewise.
7652 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7653 (aio_suspend): Call it to force an exception region around the
7654 AIO_MISC_WAIT() invocation.
7656 2011-08-23 Andreas Schwab <schwab@redhat.com>
7658 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7661 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7663 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7665 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7667 (Elf64_FuncDesc): Remove.
7669 2011-08-22 David S. Miller <davem@davemloft.net>
7671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7672 sigaltstack check, add missing cfi directives.
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7674 missing cfi directives, and sigaltstack handling.
7676 2011-08-16 Andreas Schwab <schwab@redhat.com>
7679 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7680 object is seen twice.
7681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7683 * elf/Makefile (distribute): Add tst-initorder2.c.
7684 (tests): Add tst-initorder2.
7685 (modules-names): Add tst-initorder2a tst-initorder2b
7686 tst-initorder2c tst-initorder2d. Add rules to build them.
7687 ($(objpfx)tst-initorder2.out): New rule.
7688 * elf/tst-initorder2.c: New file.
7689 * elf/tst-initorder2.exp: New file.
7691 2011-08-22 Andreas Schwab <schwab@redhat.com>
7693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7695 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7696 dependencies back to end of function.
7698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7701 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7704 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7706 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7707 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7708 of __vdso_gettimeofday.
7709 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7710 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7712 (_libc_vdso_platform_setup): Remove initialization of
7713 __vdso_gettimeofday and __vdso_time.
7715 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7717 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7719 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7722 * elf/dl-open.c (add_to_global): Report additions to the global scope
7723 for LD_DEBUG=scopes.
7724 (dl_open_worker): Also print scope of newly loaded dependencies.
7725 (_dl_show_scope): Indicate if there is no scope.
7728 * stdio-common/Makefile (tests): Add bug24.
7729 * stdio-common/bug24.c: New file.
7731 2011-08-19 Andreas Jaeger <aj@suse.de>
7734 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7735 non-existant file when using close-on-exec mode.
7737 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7740 the very first instruction.
7742 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7743 the CFI state in the end.
7744 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7745 inclusion of dl-trampoline.h.
7746 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7748 2011-08-19 Andreas Schwab <schwab@redhat.com>
7750 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7751 expectations for long double.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7754 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7756 2011-08-14 David S. Miller <davem@davemloft.net>
7758 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7759 artificual limit depends upon the system page size.
7761 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7763 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7764 * resolv/Makefile: Define CFLAGS-libresolv.
7766 2011-08-17 Andreas Schwab <schwab@redhat.com>
7768 * nss/makedb.c (compute_tables): Make variables used in nested
7771 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7773 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7774 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7775 if buffer was too small.
7777 * elf/pldd.c (main): Attach to all threads in the process.
7778 Rewrite /proc handling to use *at functions.
7780 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7782 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7783 specifies first scope to show.
7784 (dl_open_worker): Update callers. Move printing scope of new
7785 object to before the relocation.
7786 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7787 * sysdeps/generic/ldsodefs.h: Update declaration.
7789 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7790 string for the scope number.
7792 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7794 * nscd/servicescache.c (cache_addserv): Make sure written is always
7797 2011-08-14 Roland McGrath <roland@hack.frob.com>
7799 * sysdeps/i386/i486/bits/atomic.h
7800 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7801 statement expression, so as to suppress "set but not used" warning.
7802 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7804 * string/strncat.c (STRNCAT): Use prototype definition.
7806 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7807 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7809 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7810 (localedef-modules): Add localedef.
7811 (locale-modules): Add locale.
7813 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7814 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7817 2011-08-14 David S. Miller <davem@davemloft.net>
7819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7820 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7822 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7824 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7825 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7826 * elf/rtld.c (dl_main): Set l_name of vDSO.
7827 Call _dl_show_scope when DL_DEBUG_SCOPES.
7828 (process_dl_debug): Recognize scopes flag and also set it for all.
7829 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7830 Declare _dl_show_scope.
7832 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7833 (do_dlopen): Pass caller_dlopen to dl_open.
7834 (__libc_dlopen_mode): Initialize caller_dlopen.
7836 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7837 of libc. Make tolower call locale-independent. Optimize a bit by
7838 using isdigit instead of isalnum.
7839 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7841 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7843 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7844 was a dependency or dynamically loaded.
7846 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7848 * intl/l10nflist.c: Allow architecture-specific pop function.
7849 * sysdeps/x86_64/l10nflist.c: New file.
7851 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7854 2011-08-10 Andreas Schwab <schwab@redhat.com>
7856 * include/dirent.h: Add libc_hidden_proto for scandirat and
7857 scandirat64. Don't declare __scandirat64.
7858 * dirent/scandirat.c: Add libc_hidden_def.
7859 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7860 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7862 2011-08-10 David S. Miller <davem@davemloft.net>
7864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7870 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7872 * Versions.def [libc]: Add GLIBC_2.15.
7873 * dirent/Makefile (routines): Add scandirat and scandirat64.
7874 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7876 * dirent/dirent.h: Declare scandirat and scandirat64.
7877 * dirent/scandirat.c: New file.
7878 * dirent/scandirat64.c: New file.
7879 * sysdeps/wordsize-64/scandirat.c: New file.
7880 * sysdeps/wordsize-64/scandirat64.c: New file.
7881 * dirent/opendir.c: Define opendirat.
7882 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7884 * dirent/scandir64.c: Adjust for scandir.c change.
7885 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7886 __scandirat64, and __scandir_cancel_handler.
7887 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7888 additional parameter and use openat instead of open (outside of ld.so).
7889 Add new __opendir as wrapper around __opendirat.
7890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7891 here without requiring old scandirat implementation.
7893 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7895 * dirent/scandir.c (cancel_handler): Renamed to
7896 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7897 defined. Adjust users.
7898 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7901 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7903 * string/test-string.h (IMPL): Use __STRING to expand name and then
7906 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7909 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7911 * string/Makefile: Update.
7912 (strop-tests): Append strncat.
7913 * string/test-wcscmp.c: New file.
7914 New comprehensive test for wcscmp.
7915 * string/test-strcmp.c: Update.
7918 2011-07-22 Andreas Schwab <schwab@redhat.com>
7920 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7923 2011-07-26 Andreas Schwab <schwab@redhat.com>
7925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7926 encoding to ACE if AI_IDN.
7928 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7931 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7933 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7936 Fix overflow bug in strncat.
7937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7939 * string/test-strncat.c: Update.
7940 Add new tests for checking overflow bugs.
7942 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7945 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7946 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7947 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7949 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7950 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7951 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7952 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7955 (USE_AS_STRCAT): Define.
7956 Add strcat and strncat support.
7957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7959 2011-07-25 Andreas Schwab <schwab@redhat.com>
7961 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7962 __n bigger than INT_MAX+1.
7963 (__strncmp_g): Likewise.
7965 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7967 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7968 * libio/stido.h: Likewise.
7970 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7975 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7978 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7982 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7987 (_dl_x86_64_save_sse): Likewise.
7989 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7993 (_dl_x86_64_save_sse): Likewise.
7995 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7997 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7999 2011-07-21 Andreas Schwab <schwab@redhat.com>
8001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8003 (_dl_x86_64_save_sse): Use correct AVX check.
8005 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8008 bug in strncpy/strncat.
8009 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8011 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8013 * string/tester.c (test_strcat): Add tests for different alignments
8014 of source and destination.
8015 (test_strncat): Likewise.
8017 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8020 * posix/glob.c (glob): Check passed in values before using them in
8021 expressions to avoid some overflows.
8022 (glob_in_dir): Likewise.
8025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8026 check for AVX enablement so that we don't crash with old kernels and
8028 * elf/tst-audit4.c: Add same checks here.
8029 * elf/tst-audit6.c: Likewise.
8031 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8033 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8035 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8037 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8039 * po/cs.po: Update from translation team.
8040 * po/bg.po: Likewise.
8042 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8044 * misc/sys/cdefs.h: Add support for const attribute.
8045 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8046 to gnu_dev_{major,minor,makedev} functions.
8048 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8050 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8052 2011-07-20 Andreas Schwab <schwab@redhat.com>
8054 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8057 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8060 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8061 register in order to avoid conflicts with the soft frame pointer
8062 being held in r11 when necessary.
8063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8064 (INTERNAL_VSYSCALL_NCS): Likewise.
8066 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8068 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8069 * elf/dl-fini.c (_dl_fini): Adjust caller.
8070 * elf/dl-close.c (_dl_close_worker): Likewise.
8071 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8073 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8075 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8076 "aux_cache->nlibs < 0".
8078 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8079 in the reload-count case.
8081 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8084 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8085 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8086 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8087 * sysdeps/x86_64/multiarch/strcat.S: New file.
8088 * sysdeps/x86_64/multiarch/strncat.S: New file.
8089 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8091 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8092 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8094 (USE_AS_STRCAT): Define.
8095 Add strcat and strncat support.
8096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8098 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8099 * string/strncat.c: Update.
8100 (USE_AS_STRNCAT): Define.
8101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8102 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8104 * sysdeps/x86_64/multiarch/init-arch.h
8105 (bit_Prefer_PMINUB_for_stringop): New.
8106 (index_Prefer_PMINUB_for_stringop): Likewise.
8107 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8108 bit_Prefer_PMINUB_for_stringop.
8110 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8112 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8114 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8115 of casting of buffer.
8116 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8117 buffer32 and buffer64.
8118 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8119 writes instead of casting of buffer.
8120 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8122 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8125 2011-07-19 Andreas Schwab <schwab@redhat.com>
8127 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8129 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8131 * nscd/nscd.c (termination_handler): Don't do anything for a database
8132 if it has not yet been initialized.
8134 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8136 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8138 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8140 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8142 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8144 * po/nl.po: Update from translation team.
8145 * po/sv.po: Likewise.
8147 2011-07-16 Roland McGrath <roland@hack.frob.com>
8149 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8150 now disallowed by GCC.
8152 * configure.in (use-default-link): Default to yes if a test -shared
8153 link meets our qualifications.
8154 * configure: Regenerated.
8156 * config.make.in (output-format): New variable.
8157 * configure.in: Check for ld --print-output-format support.
8158 * configure: Regenerated.
8159 * Makerules ($(common-objpfx)format.lds)
8160 [$(output-format) != unknown]: Just use $(output-format),
8161 instead of the linker-script munging.
8163 2011-07-14 Roland McGrath <roland@hack.frob.com>
8165 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8166 of $(common-objpfx)shlib.lds.
8167 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8169 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8170 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8172 * configure.in (-z relro check): Adjust test code to add a large
8173 writable data section after it.
8174 * configure: Regenerated.
8176 2011-07-11 Roland McGrath <roland@hack.frob.com>
8178 * configure.in (-z relro check): Fix test code to make the variable
8180 * configure: Regenerated.
8182 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8184 * nscd/nscd.h (struct traced_file): Define.
8185 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8186 elements. Add traced_files.
8187 (inotify_fd): Declare.
8188 (register_traced_file): Declare.
8189 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8190 (inotify_fd): Export.
8191 (resolv_conf_descr): Remove.
8192 (nscd_init): Move inotify descriptor creation to main.
8193 Don't register files for notification here.
8194 (register_traced_file): New function.
8195 (invalidate_cache): Don't use reset_res to determine whether to call
8196 res_init, go through the list of registered files.
8197 (main_loop_poll): The inotify descriptors are now stored in the
8198 structures for the traced files.
8199 (main_loop_epoll): Likewise
8200 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8201 to __nss_disable_nscd.
8202 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8203 for a database anymore. Check the records for all the registered
8205 * nss/Makefile (libnss_files-routines): Add files-init.
8206 (libnss_db-routines): Add db-init.
8207 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8208 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8209 * nss/nss_db/db-init.c: New file.
8210 * nss/nss_files/files-init.c: New file.
8211 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8212 __nss_lookup_function.
8213 (__nss_lookup_function): Call nss_load_library.
8214 (nss_load_all_libraries): New function.
8215 (__nss_disable_nscd): Take parameter with callback function for files
8216 to register. Set is_nscd. Load all the DSOs for the NSS modules
8217 used for the cached services.
8218 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8219 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8220 options for features to all the files in nscd.
8222 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8224 2011-07-10 Roland McGrath <roland@hack.frob.com>
8226 * csu/elf-init.c (__libc_csu_init): Comment typo.
8228 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8230 * po/pl.po: Update from translation team.
8231 * po/ja.po: Likewise.
8232 * po/ru.po: Likewise.
8233 * po/ko.po: Likewise.
8234 * po/fr.po: Likewise.
8236 2011-07-09 Roland McGrath <roland@hack.frob.com>
8238 * configure.in (.ctors/.dtors header and trailer check):
8239 Use an empirical test on a built program.
8240 * configure: Regenerated.
8242 * configure.in (-z relro check): Use an empirical test on a built DSO.
8243 Detect, but do not require, on ia64.
8244 * configure: Regenerated.
8246 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8247 Update tests that use readelf to use $READELF instead.
8248 * configure: Regenerated.
8250 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8252 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8253 if the result is not used.
8255 2011-07-05 Andreas Jaeger <aj@suse.de>
8258 * stdlib/tst-strtod.c: Add testcase.
8260 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8262 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8263 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8264 The latter has a higher limit. Take additional parameter to pass to
8266 (__pathconf): Pass file to __statfs_link_max.
8267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8269 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8273 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8277 (__statfs_filesize_max): Likewise.
8278 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8280 2011-07-05 Andreas Jaeger <aj@suse.de>
8282 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8284 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8286 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8288 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8291 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8293 * Makefile (strop-tests): Add strncat.
8294 * string/test-strncat.c: New file.
8296 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8298 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8300 2011-06-21 Andreas Jaeger <aj@suse.de>
8302 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8303 Copy rule from iconvdata/Makefile.
8305 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8308 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8309 but no long options are defined, just return 'W'.
8311 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8314 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8316 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8318 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8320 (innetgr): Likewise.
8322 2011-07-05 Roland McGrath <roland@hack.frob.com>
8324 * config.make.in (install_root): Default to $(DESTDIR).
8326 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8330 2011-07-02 Roland McGrath <roland@hack.frob.com>
8332 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8334 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8335 containing directory rather than embedding absolute directory names.
8337 * scripts/check-local-headers.sh: Rewritten using awk.
8338 Match by word, not by line. Print error messages for matches.
8339 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8341 * Makerules [shlib-lds-flags empty]:
8342 ($(common-objpfx)libc_pic.opts): New target.
8343 ($(common-objpfx)libc_pic.os.clean): New target.
8344 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8346 * config.make.in (OBJCOPY): New variable.
8347 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8348 * configure: Regenerated.
8350 * config.make.in (use-default-link): New variable.
8351 * configure.in (use_default_link): Grok --with-default-link to set it.
8352 * configure: Regenerated.
8353 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8354 (shlib-lds, shlib-lds-flags): Define to empty.
8356 * Makerules (shlib-lds): New variable.
8357 (shlib-lds-flags): New variable.
8358 (build-shlib, build-moduile, build-module-asneeded): Use it.
8359 ($(common-objpfx)libc.so): Use $(shlib-lds).
8360 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8361 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8363 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8364 DT_FLAGS/DT_FLAGS_1 with zero flags.
8366 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8367 linker script munging.
8369 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8371 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8373 * crypt/sha512.c (sha512_process_block): Perform total addition using
8374 128-bit if possible.
8375 (__sha512_finish_ctx): Likewise.
8376 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8378 * crypt/sha256.c (SWAP64): Define.
8379 (sha256_process_block): Perform total addition using 64-bit if
8381 (__sha256_finish_ctx): Likewise.
8383 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8385 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8387 * nscd/hstcache.c (cache_addhst): Likewise.
8388 * nscd/grpcache.c (cache_addgr): Likewise.
8389 * nscd/aicache.c (addhstaiX): Likewise
8390 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8392 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8394 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8396 * nscd/hstcache.c (cache_addhst): Likewise.
8397 * nscd/grpcache.c (cache_addgr): Likewise.
8398 * nscd/aicache.c (addhstaiX): Likewise
8400 2011-07-01 Andreas Schwab <schwab@redhat.com>
8402 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8403 domain only when needed.
8405 2011-06-30 Andreas Schwab <schwab@redhat.com>
8407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8410 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8412 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8413 are re-adding the entry.
8414 * nscd/servicescache.c (cache_addserv): Likewise.
8416 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8418 * sysdeps/generic/dl-irel.h: fix protection against multiple
8420 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8422 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8425 * malloc/memusage.sh: Fix quoting in message.
8426 * debug/xtrace.sh: Likewise.
8428 * configure.in: Remove support for --experimental-malloc option, make
8430 * config.make.in: Likewise.
8431 * malloc/Makefile: Likewise.
8433 2011-06-27 Andreas Schwab <schwab@redhat.com>
8435 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8436 two-byte characters.
8438 2011-06-27 Roland McGrath <roland@hack.frob.com>
8440 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8441 AC_CACHE_CHECK invocation.
8442 * configure: Regenerated.
8444 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8446 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8449 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8450 bit from old_res_options.
8452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8454 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8455 value type for setfct.
8457 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8460 __gettimeofday instead of gettimeofday.
8462 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8464 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8466 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8468 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8473 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8476 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8477 strcpy-sse2-unaligned strncpy-sse2-unaligned
8478 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8479 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8480 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8481 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8482 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8485 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8486 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8487 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8488 (STRCPY): Support SSE2 and SSSE3 versions.
8490 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8494 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8495 kernels which artificially limit size of requests.
8497 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8500 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8501 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8502 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8503 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8504 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8505 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8506 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8509 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8510 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8511 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8512 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8513 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8515 Enable unaligned load optimization for Intel Core i3, i5 and i7
8517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8519 (index_Fast_Unaligned_Load): Define.
8520 (HAS_FAST_UNALIGNED_LOAD): Define.
8522 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8524 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8526 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8530 until it is clear that the information is realy needed.
8531 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8533 2011-06-22 Andreas Schwab <schwab@redhat.com>
8535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8537 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8540 /sys/devices/system/cpu/online if it is usable.
8542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8543 reading the information from the /proc filesystem to once a second.
8545 2011-06-21 Andreas Jaeger <aj@suse.de>
8547 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8548 NULL after inclusion of kernel headers.
8550 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8552 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8553 calls to internal_setent.
8556 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8557 addresses using gethostbyname4_r ignore IPv4 addresses.
8559 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8560 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8562 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8564 2011-06-20 David S. Miller <davem@davemloft.net>
8566 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8568 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8570 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8572 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8573 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8574 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8575 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8576 * sysdeps/x86_64/dl-irel.h: Likewise.
8578 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8579 * elf/dl-sym.c: Likewise.
8581 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8583 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8584 need to dereference resplen2.
8586 2011-06-14 Andreas Schwab <schwab@redhat.com>
8588 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8590 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8592 * Makeconfig: Define vardbdir and inst_vardbdir.
8593 * nss/Makefile: Add rules to install db-Makefile.
8595 * nss/nss_db/db-XXX.c: Cleanup.
8597 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8598 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8600 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8601 * nss/makedb.c: Implement -g option to specify that value strings
8602 are generated and should not be added to table iterated over for
8604 * nss/nss_db/db-initgroups.c: New file.
8606 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8609 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8610 (internal_getgrouplist): Adjust to name change.
8611 Update use_initgroups_entry if this is not the first call.
8612 * nss/databases.def: Add initgroups entry.
8614 * nss/makedb.c (compute_tables): Check result of multiple hash table
8615 sizes to minimize maximum chain length.
8617 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8619 * Versions.def: Add entry for libnss_db.
8620 * shlib-versions: Likewise.
8621 * nss/Makefile: Add rules to build libnss_db.
8622 * nss/Versions: Add libnss_db information. Organize libnss_files
8624 * nss/db-Makefile: Add gshadow support. Change rules for the new
8625 makedb progra. Some minor improvements to generate smaller files.
8626 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8628 * nss/makedb.c: ...here.
8629 Improve database format to be smaller and require less memory at
8631 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8633 * nss/nss_db/db-netgrp.c: Likewise.
8634 * nss/nss_db/db-open.c: Likewise.
8635 * nss/nss_files/flies-XXX.x: Adjust comments.
8636 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8637 * nss/nss_files/files-grp.c: Likewise.
8638 * nss/nss_files/files-hosts.c: Likewise.
8639 * nss/nss_files/files-network.c: Likewise.
8640 * nss/nss_files/files-proto.c: Likewise.
8641 * nss/nss_files/files-pwd.c: Likewise.
8642 * nss/nss_files/files-rpc.c: Likewise.
8643 * nss/nss_files/files-service.c: Likewise.
8644 * nss/nss_files/files-sgrp.c: Likewise.
8645 * nss/nss_files/files-spwd.c: Likewise.
8646 * nss/nss_db/db-alias.c: Removed.
8647 * nss/nss_db/dummy-db.h: Removed.
8649 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8651 * nss/makedb.c: Rewritten to not use database library.
8652 * nss/Makefile: Update to build new makedb program.
8654 2011-06-14 Andreas Jaeger <aj@suse.de>
8656 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8659 2011-06-10 Andreas Schwab <schwab@redhat.com>
8661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8664 2011-06-10 Roland McGrath <roland@hack.frob.com>
8666 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8667 * elf/Makefile ($(objpfx)ld.so): Likewise.
8669 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8670 Don't list ld.so twice in dependencies.
8672 * posix/bug-regex31.c: Include <stdlib.h>.
8674 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8676 * nis/nss_compat/compat-spwd.c
8677 (getspent_next_nss_netgr): Remove unused variable.
8678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8680 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8681 nonmembers" output to use the right array.
8683 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8685 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8687 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8688 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8689 * catgets/gencat.c (read_input_file): Likewise.
8690 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8692 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8693 variable definition inside #if's controlling its use.
8695 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8697 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8699 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8701 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8704 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8706 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8707 * configure: Regenerated.
8709 * Makerules: Revert last change.
8710 * elf/Makefile: Likewise.
8712 2011-06-09 Roland McGrath <roland@hack.frob.com>
8714 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8715 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8716 (reloc-link): Likewise.
8718 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8720 * elf/Makefile: Add rules to build pldd.
8721 * elf/pldd.c: New file.
8722 * elf/pldd-xx.c: New file.
8724 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8726 * version.h: Update for 2.15 development version.
8728 2011-06-07 David S. Miller <davem@davemloft.net>
8730 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8733 elf_machine_lazy_rel): Likewise.
8734 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8736 elf_machine_lazy_rel): Likewise.
8737 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8738 dl_hwcap via passed in argument.
8739 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8742 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8744 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8746 2011-06-06 Roland McGrath <roland@hack.frob.com>
8749 * manual/fdl-1.1.texi: New file, verbatim from:
8750 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8751 * manual/lgpl-2.1.texi: New file, verbatim from:
8752 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8753 * manual/Makefile (licenses): New variable, list those new file names.
8755 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8757 * manual/fdl.texi: File removed.
8758 * manual/lesser.texi: File removed.
8759 * manual/libc.texinfo (Copying, Documentation License):
8760 Use new @include file names, put @appendix directive before @include.
8762 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8765 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8766 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8767 (mq_open): Add __NTH.
8769 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8772 Assume Intel Core i3/i5/i7 processor if AVX is available.
8774 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8779 2011-05-31 Andreas Schwab <schwab@redhat.com>
8781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8782 memory. Use alloca_account. Fix memory leak when retrying.
8784 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8786 * version.h (RELEASE): Bump for 2.14 release.
8787 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8789 * config.make.in (RANLIB): Remove entry.
8791 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8793 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8794 (libc.pot): Work around missing support for .ksh extension in xgettext.
8797 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8798 if both request failed.
8799 (send_dg): In case of server errors clear resplen or *resplen2.
8802 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8803 when there are multiple maps.
8804 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8805 (_dl_fini): Remove test here.
8807 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8809 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8812 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8813 bit from old_res_options.
8814 (gaih_inet): Likewise.
8817 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8820 * resolv/res_init.c (res_setoptions): Make the code more compact.
8823 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8827 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8829 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8832 * malloc/malloc.h: Declare malloc hook variables as volatile.
8834 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8838 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8839 raise in the comment.
8840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8842 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8844 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8847 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8848 grow the buffers more if it already has to be sufficient.
8849 (build_wcs_upper_buffer): Likewise.
8850 * posix/regexec.c (check_matching): Likewise.
8851 (clean_state_log_if_needed): Likewise.
8852 (extend_buffers): Don't enlarge buffers beyond size of the input
8854 Patches mostly by Emil Wojak <emil@wojak.eu>.
8855 * posix/bug-regex32.c: New file.
8856 * posix/Makefile (tests): Add bug-regex32.
8858 * locale/findlocale.c (_nl_find_locale): Return right away if
8859 _nl_explode_name failed.
8860 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8864 * debug/xtrace.sh: Unify messages.
8865 * malloc/memusage.sh: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8869 time symbol from vDSO. Substitute with vsyscall if not available.
8870 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8873 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8874 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8875 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8876 Add sendmmsg and internal_sendmmsg.
8877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8878 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8881 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8882 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8885 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8888 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8889 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8891 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8895 * iconvdata/Makefile (tests): Add bug-iconv9.
8896 * iconvdata/bug-iconv9.c: New file.
8898 2011-05-27 Andreas Schwab <schwab@redhat.com>
8901 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8903 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8905 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8906 (struct user_regs_struct): Change intcs field back to cs.
8908 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8910 * po/ja.po: Update from translation team.
8912 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8915 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8916 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8918 2011-05-20 Andreas Schwab <schwab@redhat.com>
8920 * stdlib/longlong.h: Update from GCC.
8922 2011-05-23 Andreas Schwab <schwab@redhat.com>
8924 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8926 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8928 (__sysconf): Pass it down.
8930 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8933 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8936 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8937 add in in __libc_use_alloca calls. Adjust callers.
8938 (glob): Use malloc in some situations.
8940 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8941 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8944 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8946 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8947 and CLOCK_BOOTTIME_ALARM.
8950 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8953 * string/_strerror.c (__strerror_r): Print negative errors as signed
8957 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8958 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8959 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8961 * configure.in: Fix typo in redirection and correct removal of test
8965 * locale/setlocale.c (new_composite_name): Fix test to check for
8966 identical name of all categories.
8969 * libio/filedoalloc.c (local_isatty): New function.
8970 (_IO_file_doallocate): Use local_isatty.
8971 * stdio-common/perror.c (perror): In case a new stream is used
8972 forward the stream error.
8973 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8976 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8981 * include/alloca.h (extend_alloca_account): Define.
8984 * posix/regex.h: Fix comments with documentation of user-accessible
8985 fields after compilation and describe correct free'ing of pattern
8986 after re_compile_pattern.
8987 Patch by Reuben Thomas <rrt@sc3d.org>.
8989 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8991 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8992 and -mno-altivec to prevent the compiler from using Altivec and/or
8993 VSX instructions when the corresponding registers are not available.
8995 2011-05-19 Andreas Schwab <schwab@redhat.com>
8997 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8999 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9001 * libio/freopen.c (freopen): Use __dup2, not dup2.
9002 * libio/freopen64.c (freopen64): Likewise.
9004 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9007 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9008 * math/Makefile (tests): Add test-powl.
9009 (CFLAGS-test-powl.c): Define.
9010 * math/test-powl.c: New file.
9012 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9014 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9016 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9019 * iconvdata/gb18030.c: Update to GB18020-2005.
9021 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9023 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9024 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9025 Patch by Aharon Robbins <arnold@skeeve.com>.
9028 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9032 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9036 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9037 point to strings before performing equality test for error_one_per_line
9041 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9045 (struct user_fpregs_struct): Avoid __uint*_t types.
9048 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9049 symbol info. Use it instead of calling _dl_addr locally.
9050 (lock_and_info): New function.
9051 (tr_freehook): Call lock_and_info and pass symbol info as additional
9052 parameter to tr_where.
9053 (tr_mallochook): Likewise.
9054 (tr_reallochook): Likewise.
9055 (tr_memalignhook): Likewise.
9057 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9058 used and couldn't be at all thread-safe.
9060 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9062 * libio/freopen.c (freopen): Don't close old file descriptor
9063 before the new one is opened. Instead dup the new file descriptor
9064 to the old one after the new stream is created.
9065 * libio/freopen64.c (freopen64): Likewise.
9066 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9067 * libio/fileops.c (_IO_new_file_close_it): Handle new
9068 _IO_FLAGS2_NOCLOSE flag.
9069 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9070 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9071 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9072 _IO_FLAGS2_NOCLOSE flag.
9073 * include/unistd.h: Add hidden_proto for dup3.
9075 * io/dup3.c: Define hidden symbol.
9076 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9079 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9080 when an incomplete long option is used.
9081 * posix/tst-getopt_long1.c: New file.
9082 * posix/Makefile (tests): Add tst-getopt_long1.
9085 * scripts/config.guess: Update from autoconf-2.68.
9086 * scripts/config.sub: Likewise.
9089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9091 (has_cpuclock): ...this. New function.
9092 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9093 macro here based on has_cpuclock code.
9096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9097 First byte (not low byte) is now always NUL.
9098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9101 Use non-cancelable interfaces.
9104 * locale/iso-639.def: Add entry for Sorani.
9107 * include/stdlib.h: Move include protection to the right place.
9108 Define abort_msg_s. Declare __abort_msg with it.
9109 * stdlib/abort.c (__abort_msg): Adjust type.
9110 * assert/assert.c (__assert_fail_base): New function. Majority
9111 of code from __assert_fail. Allocate memory for __abort_msg with
9113 (__assert_fail): Now call __assert_fail_base.
9114 * assert/assert-perr.c: Remove bulk of implementation. Use
9116 * include/assert.hL Declare __assert_fail_base.
9117 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9119 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9121 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9125 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9126 until all modules are registered in the DTV.
9127 * elf/Makefile: Add rules to build and run tst-tls19.
9128 * elf/tst-tls19.c: New file.
9129 * elf/tst-tls19mod1.c: New file.
9130 * elf/tst-tls19mod2.c: New file.
9131 * elf/tst-tls19mod3.c: New file.
9132 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9135 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9139 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9140 two-byte sequence errors.
9141 * iconvdata/Makefile (tests): Add bug-iconv8.
9142 * iconvdata/bug-iconv8.c: New file.
9145 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9148 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9151 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9152 (dummy_getcfa): New function.
9153 (init): Get _Unwind_GetCFA address, use dummy if not found.
9154 (backtrace_helper): In recursion check, also check whether CFA changes.
9155 (__backtrace): Completely initialize arg.
9157 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9158 storing incomplete byte sequence in state object. Avoid testing for
9159 guaranteed too small input if we know there is enough data available.
9161 2011-05-11 Andreas Schwab <schwab@redhat.com>
9163 * Makeconfig (+link-pie): Indent.
9164 * Rules (binaries-pie): Define if $(have-fpie) and
9166 (binaries-shared): Also filter out $(binaries-pie).
9167 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9168 * nscd/Makefile (others-pie): Add nscd.
9169 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9170 ($(objpfx)nscd): Remove command override.
9171 * login/Makefile (others-pie): Add pt_chown.
9172 ($(objpfx)pt_chown): Remove command override.
9173 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9174 remove command overrides.
9176 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9178 * libio/tst_putwc.c: Fix error messages.
9181 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9182 currently writing and seek to current position when not.
9183 * libio/Makefile (tests): Add bug-fclose1.
9184 * libio/bug-fclose1.c: New file.
9186 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9189 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9190 don't set DF_1_NODELETE here.
9191 (do_lookup_x): When entering new entry test for copy relocation
9192 and if necessary set DF_1_NODELETE flag.
9193 * elf/tst-unique4.cc: New file.
9194 * elf/tst-unique4.h: New file.
9195 * elf/tst-unique4lib.cc: New file.
9196 * elf/Makefile: Add rules to build and run tst-unique4.
9197 Patch by Piotr Bury <pbury@goahead.com>.
9199 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9202 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9205 * misc/mntent_r.c (addmntent): Flush the stream after the output
9208 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9209 (is_trusted_path_normalize): Skip initial colon. Append slash
9210 to empty buffer. Duplicate is_trusted_path code but allow
9211 constructed patch to be prefix.
9212 (is_dst): Allow $ORIGIN followed by /.
9213 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9214 Correct testing of result of is_trusted_path_normalize
9215 (decompose_rpath): Fix warning.
9217 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9220 * grp/initgroups.c (internal_getgrouplist): When we found the service
9221 list through the initgroups entry in nsswitch.conf do not always
9222 continue on a successful lookup. Don't always use the
9223 __nss_group_database value if it is set.
9224 * nss/nsswitch.conf (initgroups): Change action for successful db
9225 lookup to continue for compatibility.
9227 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9230 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9232 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9234 * iconvdata/tst-tables.sh: Likewise.
9235 * iconvdata/cp770.c: New file.
9236 * iconvdata/cp771.c: New file.
9237 * iconvdata/cp772.c: New file.
9238 * iconvdata/cp773.c: New file.
9239 * iconvdata/cp774.c: New file.
9240 * iconvdata/testdata/CP770: New file.
9241 * iconvdata/testdata/CP770..UTF8: New file.
9242 * iconvdata/testdata/CP771: New file.
9243 * iconvdata/testdata/CP771..UTF8: New file.
9244 * iconvdata/testdata/CP772: New file.
9245 * iconvdata/testdata/CP772..UTF8: New file.
9246 * iconvdata/testdata/CP773: New file.
9247 * iconvdata/testdata/CP773..UTF8: New file.
9248 * iconvdata/testdata/CP774: New file.
9249 * iconvdata/testdata/CP774..UTF8: New file.
9251 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9253 * iconvdata/gen-8bit-gap.sh: Likewise.
9254 * iconvdata/gen-8bit.sh: Likewise.
9256 * locale/iso-639.def: Add ary entry.
9259 * locale/C-translit.h.in: Add U20A1 transliteration.
9262 * locale/iso-639.def: Add wae entry.
9263 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9266 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9270 * locale/C-translit.h.in: Add entry for U20B9.
9271 Patch by pravin.d.s@gmail.com.
9273 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9276 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9277 ENAMETOOLONG use generic getcwd.
9278 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9279 in rtld. Use *stat64.
9280 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9281 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9282 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9283 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9284 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9285 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9286 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9288 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9289 * dirent/rewinddir.c: Add libc_hidden_def.
9290 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9291 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9293 * include/dirent.h (__alloc_dir): Add flags parameter.
9294 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9295 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9297 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9298 from fdopendir if O_CLOEXEC is already set.
9300 2011-03-15 Alan Modra <amodra@gmail.com>
9302 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9303 l_tls_firstbyte_offset non-zero. Save padding offset in
9304 l_tls_firstbyte_offset for later use.
9305 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9306 freeing static tls block.
9308 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9310 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9311 where #ifdef was intended. The intent is to prevent ARG_MAX from
9312 being defined by the kernel headers.
9314 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9317 * resolv/resolv.h: Define RES_NOTLDQUERY.
9318 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9319 no-tld-query and set RES_NOTLDQUERY.
9320 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9321 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9322 modern BIND to search name as TLD unless forbidden.
9324 2011-05-07 Petr Baudis <pasky@suse.cz>
9325 Ulrich Drepper <drepper@gmail.com>
9328 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9329 (is_trusted_path): ...to here.
9330 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9331 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9332 using is_trusted_path_normalize() in setuid scripts.
9334 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9336 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9337 __BEGIN/__END_DECLS.
9339 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9342 NSS_STATUS_NOTFOUND if no record was found.
9344 2011-05-05 Andreas Schwab <schwab@redhat.com>
9346 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9347 (headers-not-in-tirpc): Remove rpc/netdb.h
9348 * resolv/netdb.h: Revert last change.
9350 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9352 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9353 circular dependency between libgcc.a and libc.a.
9355 2011-05-05 Andreas Schwab <schwab@redhat.com>
9357 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9358 * nis/Makefile: Don't install rpcsvc/*.
9359 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9360 instead of <rpc/types.h>.
9361 (MAXHOSTNAMELEN): Define.
9363 2011-05-03 Andreas Schwab <schwab@redhat.com>
9365 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9367 2011-04-28 Maciej Babinski <mbabinski@google.com>
9370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9371 gethostbyname4_r when IPv6 results are possible.
9373 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9376 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9377 _PC_PIPE_BUF handling.
9379 2011-04-30 Bruno Haible <bruno@clisp.org>
9382 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9383 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9385 * inet/getnameinfo.c (getnameinfo): Likewise.
9387 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9389 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9390 to groups setting in database lookup.
9391 * nss/nsswitch.conf: Add initgroups entry.
9393 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9396 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9398 Patch by Eric Blake <eblake@redhat.com>.
9400 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9402 * sunrpc/Makefile (need-export-routines): Add svc_run.
9403 (routines): Remove svc_run.
9404 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9405 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9406 * sunrpc/svc_run.c (svc_run): Likewise.
9407 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9409 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9412 problem in reallocation in last patch.
9414 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9416 * sunrpc/Makefile: Move inclusion of Rules.
9418 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9420 * nss/nss_files/files-initgroups.c: New file.
9421 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9422 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9423 _nss_files_initgroups_dyn.
9425 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9427 * elf/elf.h (R_ARM_IRELATIVE): Define.
9429 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9431 * po/ru.po: Update from translation team.
9433 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9435 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9438 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9442 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9444 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9447 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9449 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9455 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9458 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9460 * stdlib/bug-getcontext.c: New file.
9461 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9463 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9465 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9466 instructions into .machine "z9-109".
9467 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9468 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9470 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9472 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9473 between environment variables and auxiliary vector.
9475 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9477 * Makefile: Add rules to build linkobj/libc.so.
9478 * include/libc-symbols.h: Define libc_hidden_nolink.
9479 * include/rpc/auth.h: Mark functions which are to be hidden.
9480 * include/rpc/auth_des.h: Likewise.
9481 * include/rpc/auth_unix.h: Likewise.
9482 * include/rpc/clnt.h: Likewise.
9483 * include/rpc/des_crypt.h: Likewise.
9484 * include/rpc/key_prot.h: Likewise.
9485 * include/rpc/pmap_clnt.h: Likewise.
9486 * include/rpc/pmap_prot.h: Likewise.
9487 * include/rpc/pmap_rmt.h: Likewise.
9488 * include/rpc/rpc_msg.h: Likewise.
9489 * include/rpc/svc.h: Likewise.
9490 * include/rpc/svc_auth.h: Likewise.
9491 * include/rpc/xdr.h: Likewise.
9492 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9493 * nss/Makefile: Likewise.
9494 * sunrpc/Makefile: Don't install headers. Build library with normal
9495 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9496 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9497 for the compat linking library. Remove use of INTDEF/INTUSE.
9498 * sunrpc/auth_none.c: Likewise.
9499 * sunrpc/auth_unix.c: Likewise.
9500 * sunrpc/authdes_prot.c: Likewise.
9501 * sunrpc/authuxprot.c: Likewise.
9502 * sunrpc/clnt_gen.c: Likewise.
9503 * sunrpc/clnt_perr.c: Likewise.
9504 * sunrpc/clnt_raw.c: Likewise.
9505 * sunrpc/clnt_simp.c: Likewise.
9506 * sunrpc/clnt_tcp.c: Likewise.
9507 * sunrpc/clnt_udp.c: Likewise.
9508 * sunrpc/clnt_unix.c: Likewise.
9509 * sunrpc/des_crypt.c: Likewise.
9510 * sunrpc/des_soft.c: Likewise.
9511 * sunrpc/get_myaddr.c: Likewise.
9512 * sunrpc/key_call.c: Likewise.
9513 * sunrpc/key_prot.c: Likewise.
9514 * sunrpc/netname.c: Likewise.
9515 * sunrpc/pm_getmaps.c: Likewise.
9516 * sunrpc/pm_getport.c: Likewise.
9517 * sunrpc/pmap_clnt.c: Likewise.
9518 * sunrpc/pmap_prot.c: Likewise.
9519 * sunrpc/pmap_prot2.c: Likewise.
9520 * sunrpc/pmap_rmt.c: Likewise.
9521 * sunrpc/publickey.c: Likewise.
9522 * sunrpc/rpc_cmsg.c: Likewise.
9523 * sunrpc/rpc_common.c: Likewise.
9524 * sunrpc/rpc_dtable.c: Likewise.
9525 * sunrpc/rpc_prot.c: Likewise.
9526 * sunrpc/rpc_thread.c: Likewise.
9527 * sunrpc/rtime.c: Likewise.
9528 * sunrpc/svc.c: Likewise.
9529 * sunrpc/svc_auth.c: Likewise.
9530 * sunrpc/svc_authux.c: Likewise.
9531 * sunrpc/svc_raw.c: Likewise.
9532 * sunrpc/svc_run.c: Likewise.
9533 * sunrpc/svc_simple.c: Likewise.
9534 * sunrpc/svc_tcp.c: Likewise.
9535 * sunrpc/svc_udp.c: Likewise.
9536 * sunrpc/svc_unix.c: Likewise.
9537 * sunrpc/svcauth_des.c: Likewise.
9538 * sunrpc/xcrypt.c: Likewise.
9539 * sunrpc/xdr.c: Likewise.
9540 * sunrpc/xdr_array.c: Likewise.
9541 * sunrpc/xdr_float.c: Likewise.
9542 * sunrpc/xdr_intXX_t.c: Likewise.
9543 * sunrpc/xdr_mem.c: Likewise.
9544 * sunrpc/xdr_rec.c: Likewise.
9545 * sunrpc/xdr_ref.c: Likewise.
9546 * sunrpc/xdr_sizeof.c: Likewise.
9547 * sunrpc/xdr_stdio.c: Likewise.
9549 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9552 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9553 * sysdeps/ia64/dl-tls.h: Likewise.
9554 * sysdeps/powerpc/dl-tls.h: Likewise.
9555 * sysdeps/s390/dl-tls.h: Likewise.
9556 * sysdeps/sh/dl-tls.h: Likewise.
9557 * sysdeps/sparc/dl-tls.h: Likewise.
9558 * sysdeps/x86_64/dl-tls.h: Likewise.
9559 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9561 2011-03-14 Andreas Schwab <schwab@redhat.com>
9563 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9564 rpath element also skip the following colon.
9565 (expand_dynamic_string_token): Add is_path parameter and pass
9566 down to DL_DST_REQUIRED and _dl_dst_substitute.
9567 (decompose_rpath): Call expand_dynamic_string_token with
9568 non-zero is_path. Ignore empty rpaths.
9569 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9572 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9577 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9580 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9581 Patch by Filipe David Manana <fdmanana@apache.org>.
9583 2011-04-07 Andreas Schwab <schwab@redhat.com>
9585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9586 Maintain aligned stack.
9587 (CHECK_RSP): Remove unused macro.
9589 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9591 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9592 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9594 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9596 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9598 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9600 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9603 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9604 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9605 * sysdeps/x86_64/memmove.c: New file.
9606 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9607 (memcpy): Renamed to ...
9608 (__new_memcpy): This.
9609 (memcpy): Provide GLIBC_2_14 memcpy.
9610 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9611 (memcpy): Provide GLIBC_2_2_5 memcpy.
9613 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9616 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9618 2011-03-30 Andreas Schwab <schwab@redhat.com>
9620 * misc/syncfs.c: New file.
9621 * misc/Makefile (routines): Add syncfs.
9622 * posix/unistd.h: Declare syncfs.
9623 * sysdeps/unix/syscalls.list: Add syncfs.
9625 2011-04-01 Andreas Schwab <schwab@redhat.com>
9627 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9634 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9637 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9647 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9648 sync_file_range.c with -fexceptions.
9649 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9650 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9651 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9652 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9654 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9656 sync_file_range as cancellation point
9657 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9658 now a wrapper around __call_sync_file_range with cancellation handling.
9659 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9660 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9661 function name to __call_sync_file_range.
9662 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9663 Add call_sync_file_range.
9665 2011-04-01 Andreas Schwab <schwab@redhat.com>
9667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9670 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9672 * iconv/iconv.h: Fix typo in comment.
9673 * io/fcntl.h: Likewise.
9674 * libio/stdio.h: Likewise.
9675 * posix/spawn.h: Likewise.
9676 * posix/unistd.h: Likewise.
9677 * stdlib/stdlib.h: Likewise.
9678 * time/time.h: Likewise.
9679 * wcsmbs/wchar.h: Likewise.
9681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9682 open_by_handle): Add.
9683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9684 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9685 Augment a few comments.
9686 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9691 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9694 * io/fcntl.h (AT_EMPTY_PATH): Define.
9696 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9698 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9699 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9700 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9702 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9703 * Versions.def: Add GLIBC_2.14.
9704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9707 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9713 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9716 * string/test-strncmp.c (do_page_test): New function.
9718 (test_main): Call check2.
9719 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9721 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9724 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9725 Handle cache information in CPU leaf 4.
9726 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9728 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9731 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9732 character representation.
9733 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9735 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9737 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9738 END(__isnan) to END(__isnanf) to match function entry point/label
9739 EALIGN(__isnanf,...).
9741 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9743 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9745 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9748 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9749 copy from the symbol referenced in the relocation to initialize the
9751 Patch by Piotr Bury <pbury@goahead.com>.
9752 * elf/Makefile: Add rules to build and tst-unique3.
9753 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9754 * elf/tst-unique3.cc: New file.
9755 * elf/tst-unique3.h: New file.
9756 * elf/tst-unique3lib.cc: New file.
9757 * elf/tst-unique3lib2.cc: New file.
9759 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9761 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9763 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9764 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9767 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9769 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9770 to-be-loaded object along a path to loader is ld.so.
9772 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9773 Ulrich Drepper <drepper@gmail.com>
9775 * sysdeps/x86_64/memset.S: After aligning destination, code
9776 branches to different locations depending on the value of
9777 misalignment, when multiarch is enabled. Fix this.
9779 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9781 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9782 Set _x86_64_preferred_memory_instruction for AMD processsors.
9783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9784 Set bit_Prefer_SSE_for_memop for AMD processors.
9786 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9788 * libio/fmemopen.c (fmemopen): Optimize a bit.
9790 2011-03-03 Andreas Schwab <schwab@redhat.com>
9792 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9794 2011-03-03 Roland McGrath <roland@redhat.com>
9796 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9798 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9800 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9801 __bzero_ultra1 instead of __memset_ultra1.
9803 2011-02-23 Andreas Schwab <schwab@redhat.com>
9804 Ulrich Drepper <drepper@gmail.com>
9807 * include/link.h (struct link_map): Add l_orig_initfini.
9808 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9809 returning unsuccessfully.
9810 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9811 close of a file loaded at startup, restore the original l_initfini
9813 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9814 list, store the pointer.
9815 * elf/Makefile ($(objpfx)noload-mem): New rule.
9816 (noload-ENV): Define.
9817 (tests): Add $(objpfx)noload-mem.
9818 * elf/noload.c: Include <memcheck.h>.
9819 (main): Call mtrace. Close all opened handles.
9821 2011-02-17 Andreas Schwab <schwab@redhat.com>
9824 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9825 dependencies are missing.
9827 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9829 Fix __if_freereq crash: Unlike the generic version which uses free,
9831 * sysdeps/mach/hurd/ifreq.h: New file.
9833 2011-01-27 Petr Baudis <pasky@suse.cz>
9834 Ulrich Drepper <drepper@gmail.com>
9837 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9839 * stdio-common/bug23.c: New file.
9840 * stdio-common/Makefile (tests): Add bug23.
9842 2010-09-28 Andreas Schwab <schwab@redhat.com>
9843 Ulrich Drepper <drepper@gmail.com>
9846 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9847 before performing relro protection. At old place add assertion
9848 to make sure nothing changed.
9850 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9851 Glauber de Oliveira Costa <glommer@gmail.com>
9853 * elf/elf.h: Add new ARM TLS relocs.
9855 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9858 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9860 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9862 * sysdeps/wordsize-64/tst-writev.c: New file.
9864 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9866 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9867 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9868 insns in _dl_start to prevent a TOC reference before relocs are
9871 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9874 * Makeconfig: Remove RANLIB definition.
9875 * Makerules: Don't use RANLIB.
9876 * aclocal.m4: Remove ranlib test.
9877 * configure.in: No need to check for ranlib.
9878 * elf/rtld-Rules: Don't use RANLIB.
9880 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9882 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9884 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9885 inclusion protection macro.
9887 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9888 SIGRTMIN and SIGRTMAX and print information in that case only when
9889 SIGRTMIN is defined.
9891 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9893 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9894 arginfo fn returning -1.
9896 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9897 and thousands string is zero terminated.
9899 2011-02-03 Andreas Schwab <schwab@redhat.com>
9901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9902 sysdeps/unix/sysv/linux/bits/socket.h.
9904 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9906 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9907 (__CPU_COUNT): Remove old macros.
9908 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9909 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9910 (__CPU_ALLOC, __CPU_FREE): Add macros.
9911 (__sched_cpualloc, __sched_cpufree): Add declarations.
9913 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9915 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9916 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9917 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9918 (readdhstai): Return value of addhstaiX call.
9919 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9920 (addgrbyX): Return value returned by cache_addgr.
9921 (readdgrbyname): Return value returned by addgrbyX.
9922 (readdgrbygid): Likewise.
9923 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9924 (addpwbyX): Return value returned by cache_addpw.
9925 (readdpwbyname): Return value returned by addhstbyX.
9926 (readdpwbyuid): Likewise.
9927 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9928 (addservbyX): Return value returned by cache_addserv.
9929 (readdservbyname): Return value returned by addservbyX:
9930 (readdservbyport): Likewise.
9931 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9932 (addhstbyX): Return value returned by cache_addhst.
9933 (readdhstbyname): Return value returned by addhstbyX.
9934 (readdhstbyaddr): Likewise.
9935 (readdhstbynamev6): Likewise.
9936 (readdhstbyaddrv6): Likewise.
9937 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9938 (readdinitgroups): Return value returned by addinitgroupsX.
9939 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9940 (prune_cache): Keep track of timeout value of re-added entries.
9941 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9942 * nscd/nscd.h: Adjust prototypes of readd* functions.
9944 2011-02-04 Roland McGrath <roland@redhat.com>
9946 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9947 (nis_stats): Likewise.
9948 * nis/nis_modify.c (nis_modify): Likewise.
9949 * nis/nis_remove.c (nis_remove): Likewise.
9950 * nis/nis_add.c (nis_add): Likewise.
9952 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9954 * posix/fnmatch_loop.c: Add some consts.
9956 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9958 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9961 * config.make.in (config-cflags-novzeroupper): Define.
9962 * configure.in: Substitute libc_cv_cc_novzeroupper.
9963 * elf/Makefile (AVX-CFLAGS): Define.
9964 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9965 (CFLAGS-tst-auditmod4a.c): Likewise.
9966 (CFLAGS-tst-auditmod4b.c): Likewise.
9967 (CFLAGS-tst-auditmod6b.c): Likewise.
9968 (CFLAGS-tst-auditmod6c.c): Likewise.
9969 (CFLAGS-tst-auditmod7b.c): Likewise.
9970 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9972 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9974 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9975 function to the callback.
9976 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9978 2011-02-02 Andreas Schwab <schwab@redhat.com>
9980 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9983 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9986 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9988 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9990 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9993 * elf/Makefile: Add rules to build and run new test.
9994 * elf/tst-initorder.c: New file.
9995 * elf/tst-initorder.exp: New file.
9996 * elf/tst-initordera1.c: New file.
9997 * elf/tst-initordera2.c: New file.
9998 * elf/tst-initordera3.c: New file.
9999 * elf/tst-initordera4.c: New file.
10000 * elf/tst-initorderb1.c: New file.
10001 * elf/tst-initorderb2.c: New file.
10002 * elf/tst-order-a1.c: New file.
10003 * elf/tst-order-a2.c: New file.
10004 * elf/tst-order-a3.c: New file.
10005 * elf/tst-order-a4.c: New file.
10006 * elf/tst-order-b1.c: New file.
10007 * elf/tst-order-b2.c: New file.
10008 * elf/tst-order-main.c: New file.
10009 New test case by George Gensure <werkt0@gmail.com>.
10011 2010-10-01 Andreas Schwab <schwab@redhat.com>
10013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10014 decoding ACE if AI_CANONIDN.
10016 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10018 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10020 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10022 * version.h (RELEASE): Bump for 2.13 release.
10023 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10025 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10027 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10029 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10036 * posix/getconf.c: Update copyright year.
10037 * catgets/gencat.c: Likewise.
10038 * csu/version.c: Likewise.
10039 * debug/catchsegv.sh: Likewise.
10040 * debug/xtrace.sh: Likewise.
10041 * elf/ldconfig.c: Likewise.
10042 * elf/ldd.bash.in: Likewise.
10043 * elf/sprof.c (print_version): Likewise.
10044 * iconv/iconv_prog.c: Likewise.
10045 * iconv/iconvconfig.c: Likewise.
10046 * locale/programs/locale.c: Likewise.
10047 * locale/programs/localedef.c: Likewise.
10048 * malloc/memusage.sh: Likewise.
10049 * malloc/mtrace.pl: Likewise.
10050 * nscd/nscd.c (print_version): Likewise.
10051 * nss/getent.c: Likewise.
10053 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10054 PF_CAIF, and PF_ALG.
10055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10057 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10059 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10060 (modules-names): Use them.
10061 (ifunc-test-modules, ifunc-pie-tests): Define.
10062 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10063 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10064 (test-extras): Likewise.
10065 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10066 $(compile-command.c).
10067 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10068 (all-built-dso): Define.
10069 (check-textrel.out, check-execstack.out): Depend on it.
10071 * configure.in: Don't override --enable-multi-arch.
10073 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10076 * nscd/hstcache.c (tryagain): Define.
10077 (cache_addhst): Return tryagain not notfound for temporary errors.
10078 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10081 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10084 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10085 to make the syscall.
10086 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10089 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10090 and fall back to matching as normal character if the string ends before
10091 the matching ']' is found. This is what POSIX requires.
10092 * posix/testfnm.c: Adjust test result.
10093 * posix/globtest.sh: Adjust test result. Add new test.
10094 * posix/tst-fnmatch.input: Likewise.
10095 * posix/tst-fnmatch2.c: Add new test.
10097 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10099 * elf/Makefile (check-execstack): Revert last change. Depend on
10101 (check-execstack.h): New target.
10102 (generated): Add check-execstack.h.
10103 * elf/check-execstack.c: Include "check-execstack.h".
10104 (main): Revert last change.
10105 (handle_file): Return zero if GNU_STACK is absent and
10106 DEFAULT_STACK_PERMS doesn't include PF_X.
10108 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10110 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10111 in child fails because the descriptor is already closed.
10112 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10113 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10114 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10117 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10121 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10122 temporary buffer used to handle multi lookups locally.
10123 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10125 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10127 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10130 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10132 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10133 alignment for SSE2.
10135 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10138 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10139 characters. When rounding increased number of integer digits recompute
10141 * stdio-common/tst-grouping.c: New file.
10142 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10144 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10146 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10147 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10149 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10151 * bits/select.h: Likewise.
10153 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10155 * po/ja.po: Update from translation team.
10157 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10161 implementation just like for lxstat, fxstatat, et al.
10163 2010-12-27 Jim Meyering <meyering@redhat.com>
10166 * posix/regexec.c (build_trtable): Return failure indication upon
10167 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10169 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10172 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10173 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10174 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10178 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10181 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10182 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10184 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10186 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10187 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10188 script has SORT_BY_INIT_PRIORITY.
10189 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10190 NO_CTORS_DTORS_SECTIONS is defined.
10191 * elf/soinit.c: Likewise.
10192 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10193 NO_CTORS_DTORS_SECTIONS is defined.
10194 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10195 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10196 * sysdeps/sh/init-first.c: Likewise.
10197 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10199 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10201 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10202 always use the slow path.
10204 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10206 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10207 similar rule which adds the sysdep directories to the header search in
10208 order to pick up the correct platform stackinfo.h.
10209 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10210 perform test if it is, otherwise return successfully without testing.
10211 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10212 DEFAULT_STACK_PERMS define in stackinfo.h.
10213 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10214 defined in stackinfo.h.
10215 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10216 DEFAULT_STACK_PERMS defined in stackinfo.h.
10217 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10218 * sysdeps/ia64/stackinfo.h: Likewise.
10219 * sysdeps/s390/stackinfo.h: Likewise.
10220 * sysdeps/sh/stackinfo.h: Likewise.
10221 * sysdeps/sparc/stackinfo.h: Likewise.
10222 * sysdeps/x86_64/stackinfo.h: Likewise.
10223 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10224 PF_X for powerpc64. Retain PF_X for powerpc32.
10226 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10228 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10230 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10231 GETDENTS_64BIT_ALIGNED.
10233 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10235 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10237 2010-12-10 Andreas Schwab <schwab@redhat.com>
10239 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10242 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10243 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10245 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10246 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10248 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10251 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10254 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10256 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10258 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10260 * po/it.po: Update from translation team.
10262 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10267 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10269 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10271 2010-11-24 Andreas Schwab <schwab@redhat.com>
10273 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10275 (gaih_getanswer_slice): Likewise.
10277 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10281 2010-05-31 Petr Baudis <pasky@suse.cz>
10284 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10285 silently even in the chroot mode.
10287 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10289 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10290 last patch a bit. Pretty printing
10292 2010-05-31 Petr Baudis <pasky@suse.cz>
10295 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10296 initialization of skip_initgroups_dyn.
10298 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10303 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10305 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10307 2010-11-11 Andreas Schwab <schwab@redhat.com>
10309 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10310 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10311 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10312 ($(objpfx)tst-fnmatch-mem): New rule.
10313 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10314 * posix/tst-fnmatch.c (main): Call mtrace.
10316 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10319 Support Intel processor model 6 and model 0x2c.
10321 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10323 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10326 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10329 * string/test-strncasecmp.c (check_result): New function.
10330 (do_one_test): Use it.
10331 (check1): New function.
10332 (test_main): Use it.
10333 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10334 Support strcasecmp and strncasecmp.
10336 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10339 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10342 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10344 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10348 * sysdeps/x86_64/multiarch/bzero.S: New file.
10349 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10350 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10351 * sysdeps/x86_64/multiarch/memset.S: New file.
10352 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10354 Set bit_Prefer_SSE_for_memop for Intel processors.
10355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10357 (index_Prefer_SSE_for_memop): Define.
10358 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10360 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10365 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10368 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10369 (__x86_64_raw_data_cache_size_half): Likewise.
10370 (__x86_64_raw_shared_cache_size): Likewise.
10371 (__x86_64_raw_shared_cache_size_half): Likewise.
10373 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10374 (__x86_64_raw_data_cache_size_half): Likewise.
10375 (__x86_64_raw_shared_cache_size): Likewise.
10376 (__x86_64_raw_shared_cache_size_half): Likewise.
10377 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10378 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10379 and __x86_64_raw_shared_cache_size_half. Round
10380 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10381 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10382 to multiple of 256 bytes.
10384 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10388 of inacessible symlinks. Verify result of symlink before returning it.
10389 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10390 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10392 2010-10-28 Erich Ritz <erichritz@gmail.com>
10394 * math/math.h (isinf): Fix typo in comment.
10396 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10398 * po/da.po: Update from translation team.
10400 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10402 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10403 is added to the list.
10405 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10406 Ulrich Drepper <drepper@gmail.com>
10408 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10409 the global list here. Move code to...
10410 (_dl_add_to_namespace_list): ...here. New function.
10411 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10412 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10413 * elf/dl-load.c (lose): Don't remove the element from the list.
10414 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10415 (_dl_map_object): Likewise.
10417 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10420 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10421 into all bytes of SSE register.
10422 Patch by Richard Li <richardpku@gmail.com>.
10424 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10427 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10430 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10432 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10433 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10434 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10435 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10440 2010-10-22 Andreas Schwab <schwab@redhat.com>
10442 * include/dlfcn.h (__RTLD_SECURE): Define.
10443 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10444 mode & __RTLD_SECURE instead.
10445 (open_path): Rename preloaded parameter to secure.
10446 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10447 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10448 * elf/dl-deps.c (openaux): Likewise.
10449 * elf/rtld.c (struct map_args): Remove is_preloaded.
10450 (map_doit): Don't use it.
10451 (dl_main): Likewise.
10452 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10453 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10455 2010-09-09 Andreas Schwab <schwab@redhat.com>
10457 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10458 (sysd-rules-targets): Remove duplicates.
10459 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10460 rtld-%.$o dependency.
10462 2010-10-18 Andreas Schwab <schwab@redhat.com>
10464 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10465 _dl_map_object do it.
10467 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10469 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10470 fast fma builtins, define the macros in the C99 standard.
10471 (FP_FAST_FMAF): Likewise.
10472 (FP_FAST_FMAL): Likewise.
10473 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10475 * bits/mathdef.h: Update copyright year.
10476 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10478 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10480 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10481 builtins, define the macros in the C99 standard.
10482 (FP_FAST_FMAF): Likewise.
10483 (FP_FAST_FMAL): Likewise.
10484 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10486 (FP_FAST_FMAF): Likewise.
10488 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10491 * math/libm-test.inc (fma_test): Some new testcases.
10492 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10494 y and infinite z. Do multiplication by C already in long double.
10495 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10497 y and infinite z. Do bitwise or of inexact bit into u.d.
10498 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10499 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10500 * sysdeps/i386/fpu/s_fma.S: Removed.
10501 * sysdeps/i386/fpu/s_fmal.S: Removed.
10503 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10506 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10508 computation is not scheduled after fetestexcept. Fix value
10509 of minimum denormal long double.
10511 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10514 * math/libm-test.inc (fma_test): Add some more tests.
10515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10518 2010-10-15 Andreas Schwab <schwab@redhat.com>
10520 * scripts/data/localplt-s390-linux-gnu.data: New file.
10521 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10523 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10526 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10527 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10529 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10531 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10533 if one of x and y is very large and the other is subnormal.
10534 * sysdeps/s390/fpu/s_fmaf.c: New file.
10535 * sysdeps/s390/fpu/s_fma.c: New file.
10536 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10537 * sysdeps/powerpc/fpu/s_fma.S: New file.
10538 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10539 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10540 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10542 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10545 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10548 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10549 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10550 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10551 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10552 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10555 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10558 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10559 * posix/bug-regex31.input: Add test case.
10561 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10563 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10564 * posix/bug-regex31.input: New file.
10567 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10568 (parse_sub_exp): Fix last change, use postorder.
10570 * posix/bug-regex31.c: New file.
10571 * posix/Makefile: Add rules to build and run bug-regex31.
10573 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10576 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10579 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10580 to have entries in sys_siglist.
10583 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10586 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10589 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10590 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10591 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10592 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10593 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10594 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10595 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10596 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10597 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10598 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10599 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10600 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10601 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10602 * math/ftestexcept.c (fetestexcept): Likewise.
10603 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10604 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10605 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10606 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10607 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10608 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10611 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10614 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10617 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10619 * string/bug-strstr1.c: New file.
10620 * string/Makefile: Add rules to build and run bug-strstr1.
10622 2010-10-05 Eric Blake <eblake@redhat.com>
10625 * string/str-two-way.h (two_way_long_needle): Always clear memory
10626 when skipping input due to the shift table.
10628 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10631 * malloc/mcheck.c: Handle large requests.
10634 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10635 for strncmp and strncasecmp.
10636 * string/stratcliff.c: Add tests for strcmp and strncmp.
10637 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10639 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10641 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10644 2010-09-30 Andreas Jaeger <aj@suse.de>
10646 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10647 (CGROUP_SUPER_MAGIC): Define.
10648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10649 Handle btrfs and cgroup file systems.
10650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10653 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10655 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10656 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10658 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10661 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10662 trying to locate the ELF header.
10664 2010-09-27 Andreas Schwab <schwab@redhat.com>
10667 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10668 Mask out sign-bit copies when constructing f_fsid.
10670 2010-09-24 Petr Baudis <pasky@suse.cz>
10672 * debug/stack_chk_fail_local.c: Add missing licence exception.
10673 * debug/warning-nop.c: Likewise.
10675 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10678 implementing getdents64 using getdents syscall, set d_type if
10679 __ASSUME_GETDENTS32_D_TYPE.
10681 2010-09-16 Andreas Schwab <schwab@redhat.com>
10683 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10684 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10686 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10689 * posix/unistd.h: Undo change of feature selection for ftruncate from
10692 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10694 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10697 2010-09-20 Andreas Schwab <schwab@redhat.com>
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10703 2010-09-14 Andreas Schwab <schwab@redhat.com>
10705 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10706 variables after CHECK_SP call.
10707 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10709 2010-09-13 Andreas Schwab <schwab@redhat.com>
10710 Ulrich Drepper <drepper@redhat.com>
10712 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10713 re-relocationg ld.so.
10714 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10715 _dl_init_paths call.
10716 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10719 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10721 * resolv/res_init.c (__res_vinit): Count the default server we added.
10723 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10724 Ulrich Drepper <drepper@redhat.com>
10727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10728 (____longjmp_chk): Use %ebx for saving value across system call.
10731 2010-09-06 Andreas Schwab <schwab@redhat.com>
10733 * manual/Makefile: Don't mix pattern rules with normal rules.
10735 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10737 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10739 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10740 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10741 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10742 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10746 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10749 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10750 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10752 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10754 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10755 * sysdeps/x86_64/addmul_1.S: Likewise.
10756 * sysdeps/x86_64/lshift.S: Likewise.
10757 * sysdeps/x86_64/mul_1.S: Likewise.
10758 * sysdeps/x86_64/rshift.S: Likewise.
10759 * sysdeps/x86_64/sub_n.S: Likewise.
10760 * sysdeps/x86_64/submul_1.S: Likewise.
10762 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10764 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10765 Define __sched_param instead of SCHED_* and sched_param when
10766 <bits/sched.h> is included with __need_schedparam defined.
10767 * bits/sched.h [__need_schedparam]
10768 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10769 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10770 (__defined_schedparam): Define to 1.
10771 (__sched_param): New structure, identical to sched_param.
10772 (__need_schedparam): Undefine.
10774 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10777 (epoll_create1): Declare.
10779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10781 2010-08-31 Andreas Schwab <schwab@redhat.com>
10784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10785 shifting retval into place.
10787 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10789 * nis/rpcsvc/nis.h: Update copyright notice.
10790 * nis/rpcsvc/nis.x: Likewise.
10791 * nis/rpcsvc/nis_callback.h: Likewise.
10792 * nis/rpcsvc/nis_callback.x: Likewise.
10793 * nis/rpcsvc/nis_object.x: Likewise.
10794 * nis/rpcsvc/nis_tags.h: Likewise.
10795 * nis/rpcsvc/yp.h: Likewise.
10796 * nis/rpcsvc/yp.x: Likewise.
10797 * nis/rpcsvc/ypupd.h: Likewise.
10798 * nis/yp_xdr.c: Likewise.
10799 * nis/ypupdate_xdr.c: Likewise.
10801 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10802 mainly the body of pmap_getport. Add parameters to specify timeouts.
10803 (pmap_getport): Use __libc_rpc_getport.
10804 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10805 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10806 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10808 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10813 2010-08-27 Roland McGrath <roland@redhat.com>
10815 * sysdeps/i386/i686/multiarch/Makefile
10816 (CFLAGS-varshift.c): New variable.
10818 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10820 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10821 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10825 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10827 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10829 * sysdeps/x86_64/strlen.S: Unroll the loop.
10830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10831 strlen-sse2 strlen-sse2-bsf.
10832 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10833 __strlen_no_bsf if bit_Slow_BSF is set.
10834 (__strlen_sse42): Removed.
10835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10836 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10838 2010-08-25 Roland McGrath <roland@redhat.com>
10840 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10841 * sysdeps/x86_64/multiarch/varshift.c: New file.
10842 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10843 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10844 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10845 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10847 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10850 strlen-sse2 strlen-sse2-bsf.
10851 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10852 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10853 (__strlen_sse2): Removed.
10854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10857 bit_Slow_BSF for Atom.
10858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10859 (index_Slow_BSF): Define.
10860 (HAS_SLOW_BSF): Define.
10862 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10865 * resolv/res_init.c (__res_vinit): When no server address at all
10866 is given default to loopback.
10868 2010-08-24 Roland McGrath <roland@redhat.com>
10870 * configure.in: Remove config-name.h generation.
10871 * configure: Regenerated.
10872 * config-name.in: File removed.
10873 * scripts/config-uname.sh: New file.
10874 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10875 ($(objdir)config-name.h): New target.
10877 * sunrpc/rpc_parse.h: Avoid nested comment.
10879 2010-08-24 Richard Henderson <rth@redhat.com>
10880 Ulrich Drepper <drepper@redhat.com>
10881 H.J. Lu <hongjiu.lu@intel.com>
10883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10885 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10886 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10887 _mm_alignr_epi8 with _mm_loadu_si128.
10888 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10889 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10890 (__m128i_shift_right): Removed.
10891 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10892 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10893 * sysdeps/x86_64/multiarch/varshift.h: New file.
10894 * sysdeps/x86_64/multiarch/varshift.S: New file.
10896 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10898 * configure.in: Move assembler checks to before sysdep dir checking.
10900 2010-08-20 Petr Baudis <pasky@suse.cz>
10902 * LICENSES: Sync the sunrpc license.
10904 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10906 * sunrpc/auth_des.c: Update copyright notice once again.
10907 * sunrpc/auth_none.c: Likewise.
10908 * sunrpc/auth_unix.c: Likewise.
10909 * sunrpc/authdes_prot.c: Likewise.
10910 * sunrpc/authuxprot.c: Likewise.
10911 * sunrpc/bindrsvprt.c: Likewise.
10912 * sunrpc/clnt_gen.c: Likewise.
10913 * sunrpc/clnt_perr.c: Likewise.
10914 * sunrpc/clnt_raw.c: Likewise.
10915 * sunrpc/clnt_simp.c: Likewise.
10916 * sunrpc/clnt_tcp.c: Likewise.
10917 * sunrpc/clnt_udp.c: Likewise.
10918 * sunrpc/clnt_unix.c: Likewise.
10919 * sunrpc/des_crypt.c: Likewise.
10920 * sunrpc/des_soft.c: Likewise.
10921 * sunrpc/get_myaddr.c: Likewise.
10922 * sunrpc/getrpcport.c: Likewise.
10923 * sunrpc/key_call.c: Likewise.
10924 * sunrpc/key_prot.c: Likewise.
10925 * sunrpc/openchild.c: Likewise.
10926 * sunrpc/pm_getmaps.c: Likewise.
10927 * sunrpc/pm_getport.c: Likewise.
10928 * sunrpc/pmap_clnt.c: Likewise.
10929 * sunrpc/pmap_prot.c: Likewise.
10930 * sunrpc/pmap_prot2.c: Likewise.
10931 * sunrpc/pmap_rmt.c: Likewise.
10932 * sunrpc/rpc/auth.h: Likewise.
10933 * sunrpc/rpc/auth_unix.h: Likewise.
10934 * sunrpc/rpc/clnt.h: Likewise.
10935 * sunrpc/rpc/des_crypt.h: Likewise.
10936 * sunrpc/rpc/key_prot.h: Likewise.
10937 * sunrpc/rpc/netdb.h: Likewise.
10938 * sunrpc/rpc/pmap_clnt.h: Likewise.
10939 * sunrpc/rpc/pmap_prot.h: Likewise.
10940 * sunrpc/rpc/pmap_rmt.h: Likewise.
10941 * sunrpc/rpc/rpc.h: Likewise.
10942 * sunrpc/rpc/rpc_des.h: Likewise.
10943 * sunrpc/rpc/rpc_msg.h: Likewise.
10944 * sunrpc/rpc/svc.h: Likewise.
10945 * sunrpc/rpc/svc_auth.h: Likewise.
10946 * sunrpc/rpc/types.h: Likewise.
10947 * sunrpc/rpc/xdr.h: Likewise.
10948 * sunrpc/rpc_clntout.c: Likewise.
10949 * sunrpc/rpc_cmsg.c: Likewise.
10950 * sunrpc/rpc_common.c: Likewise.
10951 * sunrpc/rpc_cout.c: Likewise.
10952 * sunrpc/rpc_dtable.c: Likewise.
10953 * sunrpc/rpc_hout.c: Likewise.
10954 * sunrpc/rpc_main.c: Likewise.
10955 * sunrpc/rpc_parse.c: Likewise.
10956 * sunrpc/rpc_parse.h: Likewise.
10957 * sunrpc/rpc_prot.c: Likewise.
10958 * sunrpc/rpc_sample.c: Likewise.
10959 * sunrpc/rpc_scan.c: Likewise.
10960 * sunrpc/rpc_scan.h: Likewise.
10961 * sunrpc/rpc_svcout.c: Likewise.
10962 * sunrpc/rpc_tblout.c: Likewise.
10963 * sunrpc/rpc_util.c: Likewise.
10964 * sunrpc/rpc_util.h: Likewise.
10965 * sunrpc/rpcinfo.c: Likewise.
10966 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10967 * sunrpc/rpcsvc/key_prot.x: Likewise.
10968 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10969 * sunrpc/rpcsvc/mount.x: Likewise.
10970 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10971 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10972 * sunrpc/rpcsvc/rex.x: Likewise.
10973 * sunrpc/rpcsvc/rstat.x: Likewise.
10974 * sunrpc/rpcsvc/rusers.x: Likewise.
10975 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10976 * sunrpc/rpcsvc/spray.x: Likewise.
10977 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10978 * sunrpc/rtime.c: Likewise.
10979 * sunrpc/svc.c: Likewise.
10980 * sunrpc/svc_auth.c: Likewise.
10981 * sunrpc/svc_authux.c: Likewise.
10982 * sunrpc/svc_raw.c: Likewise.
10983 * sunrpc/svc_run.c: Likewise.
10984 * sunrpc/svc_simple.c: Likewise.
10985 * sunrpc/svc_tcp.c: Likewise.
10986 * sunrpc/svc_udp.c: Likewise.
10987 * sunrpc/svc_unix.c: Likewise.
10988 * sunrpc/svcauth_des.c: Likewise.
10989 * sunrpc/xcrypt.c: Likewise.
10990 * sunrpc/xdr.c: Likewise.
10991 * sunrpc/xdr_array.c: Likewise.
10992 * sunrpc/xdr_float.c: Likewise.
10993 * sunrpc/xdr_mem.c: Likewise.
10994 * sunrpc/xdr_rec.c: Likewise.
10995 * sunrpc/xdr_ref.c: Likewise.
10996 * sunrpc/xdr_sizeof.c: Likewise.
10997 * sunrpc/xdr_stdio.c: Likewise.
10999 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11002 2010-08-19 Andreas Schwab <schwab@redhat.com>
11004 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11006 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11008 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11011 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11013 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11014 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11015 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11018 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11019 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11020 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11023 2010-07-26 Anton Blanchard <anton@samba.org>
11025 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11026 * malloc/arena.c (heap_trim): Likewise.
11028 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11030 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11032 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11033 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11035 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11037 * sysdeps/i386/elf/Makefile: New file.
11039 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11041 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11042 from fanotify_init.
11043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11046 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11048 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11050 * sysdeps/multiarch/strcmp.S: Likewise.
11052 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11055 strncase_l-nonascii.
11056 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11057 Add strncase_l-ssse3.
11058 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11059 * sysdeps/x86_64/strcmp.S: Likewise.
11060 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11061 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11062 * sysdeps/x86_64/strncase.S: New file.
11063 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11064 * sysdeps/x86_64/strncase_l.S: New file.
11065 * string/Makefile (strop-tests): Add strncasecmp.
11066 * string/test-strncasecmp.c: New file.
11068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11071 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11072 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11074 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11076 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11078 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11080 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11084 2010-05-01 Alan Modra <amodra@gmail.com>
11086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11087 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11088 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11089 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11090 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11091 tidying. Don't tail-call __sigjmp_save for static lib.
11092 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11094 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11095 (CALL_MCOUNT): Add eh info, and nop after bl.
11096 (TAIL_CALL_SYSCALL_ERROR): New macro.
11097 (PSEUDO_RET): Use it.
11098 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11099 Correct save location of integer regs and cr.
11100 (_dl_profile_resolve): Correct cr save location. Delete nops
11101 after bl when SHARED. Reduce cfi size a little by better
11102 placement of cfi directives.
11103 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11104 make a stack frame. Instead use parm save area as a temp.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11106 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11108 Don't make a stack frame for parent, use parm save area.
11109 Increase child stack frame to 112 bytes. Don't save unused reg,
11110 and adjust reg usage. Set up cfi on error recovery and
11111 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11113 (__makecontext): Add dummy nop after jump to exit.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11115 Use correct parm save area and cr save, reduce stack frame.
11116 Correct cfi for possible PSEUDO_RET frame setup.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11118 Branch to local label emitted by PSEUDO_RET rather than
11121 2010-08-12 Andreas Schwab <schwab@redhat.com>
11124 * locale/programs/locale.c (print_assignment): New function.
11125 (show_locale_vars): Use it.
11127 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11129 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11131 (struct statfs64): Likewise.
11132 (_STATFS_F_FLAGS): Define.
11133 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11135 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11136 (ST_VALID): Define locally.
11137 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11138 __statvfs_getflags, use the provided value.
11139 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11140 __ASSUME_STATFS_F_FLAGS.
11142 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11145 Add sys/fanotify.h.
11146 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11147 fanotify_mask for GLIBC_2.13.
11148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11149 fanotify_init and fanotify_mark.
11150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11151 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11155 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11156 prlimit64 for GLIBC_2.13.
11157 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11167 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11170 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11171 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11173 * nss/Makefile: Add rules to build and run tst-nss-test1.
11174 * shlib-versions: Add entry for libnss_test1.
11175 * nss/nss_test1.c: New file.
11176 * nss/tst-nss-test1.c: New file.
11178 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11179 (__nss_configure_lookup): Set appropriate entry in
11180 __nss_configure_lookup to true.
11181 * nss/nsswitch.h: Define enum with indeces of databases in
11182 databases and __nss_database_custom arrays. Declare
11183 __nss_database_custom.
11184 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11185 to avoid using nscd when custom rules are installed.
11186 * nss/getXXbyYY_r.c: Likewise.
11187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11189 * nss/nss_files/files-parse.c: Whitespace fixes.
11191 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11194 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11195 * posix/fnmatch_loop.c: Likewise.
11197 2010-07-17 Andi Kleen <ak@linux.intel.com>
11199 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11200 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11201 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11202 * Versions.def [GLIBC_2.13]: Add.
11204 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11207 Also fail if tpwd after pwuid call is NULL.
11209 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11211 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11212 when converting to ms.
11214 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11216 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11217 EOPNOTSUPP errors with ENOTTY.
11218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11219 EOPNOTSUPP errors with ENOTTY.
11221 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11223 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11224 Add strcasecmp_l-ssse3.
11225 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11227 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11228 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11229 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11231 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11233 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11235 * string/Makefile (strop-tests): Add strcasecmp.
11236 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11237 strcasecmp_l-nonascii.
11238 (gen-as-const-headers): Add locale-defines.sym.
11239 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11240 * sysdeps/x86_64/strcasecmp.S: New file.
11241 * sysdeps/x86_64/strcasecmp_l.S: New file.
11242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11243 * sysdeps/x86_64/locale-defines.sym: New file.
11244 * string/test-strcasecmp.c: New file.
11246 * string/test-strcasestr.c: Test both ends of the range of characters.
11247 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11249 2010-07-29 Roland McGrath <roland@redhat.com>
11252 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11254 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11256 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11259 2010-07-27 Andreas Schwab <schwab@redhat.com>
11261 * manual/memory.texi (Malloc Tunable Parameters): Document
11264 2010-07-26 Roland McGrath <roland@redhat.com>
11267 * configure.in (-fgnu89-inline check): Set and substitute
11268 gnu89_inline, not libc_cv_gnu89_inline.
11269 * configure: Regenerated.
11270 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11272 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11274 * string/test-strnlen.c: New file.
11275 * string/Makefile (strop-tests): Add strnlen.
11276 * string/tester.c (test_strnlen): Add a few more test cases.
11277 * string/tst-strlen.c: Better error reporting.
11279 * sysdeps/x86_64/strnlen.S: New file.
11281 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11284 lower-latency instructions.
11286 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11288 * string/test-strcasestr.c: New file.
11289 * string/test-strstr.c: New file.
11290 * string/Makefile (strop-tests): Add strstr and strcasestr.
11291 * string/str-two-way.h: Don't undefine MAX.
11292 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11294 2010-07-21 Andreas Schwab <schwab@redhat.com>
11296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11297 strcasestr-nonascii.
11298 (CFLAGS-strcasestr-nonascii.c): Define.
11299 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11301 Remove unused attribute.
11303 2010-07-20 Roland McGrath <roland@redhat.com>
11305 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11306 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11307 ld.so.cache was broken. With it, there is no way to disable dsocaps
11308 like LD_HWCAP_MASK can disable hwcaps.
11310 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11312 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11314 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11316 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11317 call in strcasestr.
11318 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11319 __strcasestr_sse42_nonascii.
11320 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11321 strcasestr-nonascii.c.
11322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11324 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11327 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11328 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11329 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11331 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11336 2010-07-06 Andreas Schwab <schwab@redhat.com>
11339 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11342 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11345 _PC_PIPE_BUF using F_GETPIPE_SZ.
11347 2010-07-05 Roland McGrath <roland@redhat.com>
11349 * manual/arith.texi (Rounding Functions): Fix rint description
11350 implicit in round description.
11352 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11354 * elf/Makefile: Fix linking for a few tests to make recent linker
11357 2010-06-30 Andreas Schwab <schwab@redhat.com>
11359 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11360 $(common-objpfx)libc_nonshared.a.
11362 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11364 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11365 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11366 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11367 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11368 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11371 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11386 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11387 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11388 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11389 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11390 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11391 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11392 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11393 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11394 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11395 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11396 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11397 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11413 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11415 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11416 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11417 * string/memmove.c (memmove): Renamed to ...
11418 (MEMMOVE): ...this. Default to memmove.
11419 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11420 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11423 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11424 mempcpy-ssse3-back memmove-ssse3-back.
11425 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11428 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11429 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11430 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11431 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11432 * sysdeps/x86_64/multiarch/memmove.c: New file.
11433 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11434 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11435 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11436 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11438 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11440 (index_Fast_Copy_Backward): Define.
11441 (HAS_ARCH_FEATURE): Define.
11442 (HAS_FAST_REP_STRING): Define.
11443 (HAS_FAST_COPY_BACKWARD): Define.
11445 2010-06-21 Andreas Schwab <schwab@redhat.com>
11447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11448 Restore proper fallback handling.
11450 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11453 * posix/group_member.c (__group_member): Correct checking loop.
11455 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11456 OOM in getpwuid_r correctly. Return error number when the caller
11457 should return, otherwise -1.
11458 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11459 call returning > 0 value.
11460 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11462 2010-06-07 Andreas Schwab <schwab@redhat.com>
11464 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11465 libc_nonshared.a from targets in modules-names.
11467 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11469 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11472 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11479 2010-06-02 Andreas Schwab <schwab@redhat.com>
11481 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11483 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11494 2010-06-14 Roland McGrath <roland@redhat.com>
11496 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11498 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11500 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11501 __REDIRECT followed by __THROW.
11502 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11503 * posix/getopt.h (getopt): Likewise.
11505 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11507 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11508 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11509 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11511 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11512 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11514 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11518 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11522 Properly check family and model.
11524 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11528 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11530 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11532 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11534 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11537 2010-05-19 Andreas Schwab <schwab@redhat.com>
11539 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11542 2010-05-21 Andreas Schwab <schwab@redhat.com>
11544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11545 and internal_recvmmsg.
11546 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11547 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11549 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11551 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11552 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11553 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11555 2010-05-20 Andreas Schwab <schwab@redhat.com>
11557 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11559 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11561 POWER7 optimizations.
11562 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11563 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11565 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11567 * version.h: Update for 2.13 development version.
11569 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11571 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11572 exceptions. Return 0.
11574 2010-05-07 Roland McGrath <roland@redhat.com>
11576 * elf/ldconfig.c (main): Add a const.
11578 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11580 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11581 (args_options): Add no-idn option.
11582 (ahosts_keys_int): Add idn_flags to ai_flags.
11583 (parse_option): Handle 'i' option to clear idn_flags.
11585 * malloc/malloc.c (_int_free): Possible race in the most recently
11586 added check. Only act on the data if no current modification
11589 See ChangeLog.17 for earlier changes.