1 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4 * elf/tst-auditmod3b.c: Likewise.
5 * elf/tst-auditmod4b.c: Likewise.
6 * elf/tst-auditmod5b.c: Likewise.
7 * elf/tst-auditmod6b.c: Likewise.
8 * elf/tst-auditmod6c.c: Likewise.
9 * elf/tst-auditmod7b.c: Likewise.
10 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11 * sysdeps/x86_64/preconfigure.in: Likewise.
12 * sysdeps/x86_64/preconfigure: Regenerated.
14 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27 * locale/iso-639.def: Fix gl language name. Spotted by
30 2012-04-12 Roland McGrath <roland@hack.frob.com>
33 * libio/libio.h (__io_write_fn): Update comment.
35 2012-04-12 Petr Baudis <pasky@ucw.cz>
38 * stdio.texi (Hook Functions): The user provided writer function
39 is not allowed to return -1.
41 2012-04-11 David S. Miller <davem@davemloft.net>
43 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48 Add a leading slash to rtkaio.
50 2012-04-11 Jim Meyering <meyering@redhat.com>
53 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54 It is not necessarily an error to ignore fwrite's return
55 value. One can reliably use ferror to test for errors after
58 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
60 * bits/types.h (__snseconds_t): New type.
61 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65 (__SNSECONDS_T_TYPE): Likewise.
66 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67 (__SNSECONDS_T_TYPE): Likewise.
68 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69 (__SNSECONDS_T_TYPE): Likewise.
71 2012-04-10 Andreas Jaeger <aj@suse.de>
74 * manual/time.texi (Processor Time): Return type of times is
75 elapsed real time since an arbitrary point in the past.
76 (CPU Time): Move CLK_TCK from here...
77 (Processor Time): ...to here. Correct description.
78 * manual/conf.texi (Constants for Sysconf): Correct description of
81 2012-04-10 David S. Miller <davem@davemloft.net>
84 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85 where the is a gap between DT_REL(A) and DT_JMPREL.
87 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
89 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
90 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
91 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
93 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * elf/dl-support.c (_dl_inhibit_cache): New variable.
96 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
97 (dl_main): Handle --inhibit-cache.
98 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
100 * elf/dl-load.c (_dl_map_object): Use it.
101 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
103 2012-04-09 Joseph Myers <joseph@codesourcery.com>
106 * sysdeps/i386/fpu/e_powl.S (p78): New object.
107 (__ieee754_powl): Saturate large exponents rather than testing for
108 overflow of y*log2(x).
109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
110 * math/libm-test.inc (pow_test): Do not permit spurious overflow
114 * math/s_ctan.c: Include <float.h>.
115 (__ctan): Avoid internal overflow or cancellation in calculating
117 * math/s_ctanf.c: Likewise.
118 * math/s_ctanl.c: Likewise.
119 * math/s_ctanh.c: Likewise.
120 * math/s_ctanhf.c: Likewise.
121 * math/s_ctanhl.c: Likewise.
122 * math/libm-test.inc (ctan_test): Add more tests.
123 (ctanh_test): Likewise.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
127 2012-04-09 Andreas Jaeger <aj@suse.de>
130 * manual/filesys.texi (Directory Entries): Mention that d_namlen
131 is an optional BSD extension.
134 * manual/stdio.texi (Opening Streams): Document additional fopen
137 2012-04-09 Roland McGrath <roland@hack.frob.com>
139 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
140 %eax without telling the compiler.
142 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
145 * manual/install.texi: Use sourceware.org.
147 2012-04-09 Joseph Myers <joseph@codesourcery.com>
150 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
151 (__ieee754_pow): Generate overflow and underflow using huge*huge
152 and tiny*tiny rather than just returning constant infinity or zero
154 * math/libm-test.inc (pow_test): Require overflow exceptions for
155 applicable cases of large exponents.
158 * sysdeps/i386/fpu/e_pow.S (p10): New object.
159 (__ieee754_pow): Use iterative multiplication algorithm only for
160 integer exponents with absolute value below 1024. Check for odd
161 integer exponents when using algorithm for real exponents.
162 * math/libm-test.inc (pow_test): Add more tests.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
165 2012-04-08 Joseph Myers <joseph@codesourcery.com>
168 * math/libm-test.inc (exp_test): Do not allow overflow exception
171 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
174 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
175 instead of __kernel_standard_f.
177 2012-04-08 Mike Frysinger <vapier@gentoo.org>
179 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
180 * sysdeps/x86_64/memset_chk.S: Likewise.
182 2012-04-08 Andreas Jaeger <aj@suse.de>
185 * manual/startup.texi (Environment Access): Describe return value
186 for putenv and setenv.
189 * manual/filesys.texi (Directory Entries): Add description for
193 * manual/filesys.texi (Directory Entries): Clarify that it's file
194 system not operating system in the description of DT_UNKNOWN.
197 * manual/syslog.texi (closelog): Fix reference, it's openlog.
199 2012-04-08 Stephen Compall <s11@member.fsf.org>
202 * manual/llio.texi (Opening and Closing Files): Add cross
203 reference to explain mode argument.
205 2012-04-07 Mike Frysinger <vapier@gentoo.org>
207 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
208 * sysdeps/x86_64/memset_chk.S: Likewise.
210 2012-04-07 David S. Miller <davem@davemloft.net>
212 * elf/elf.h (R_SPARC_WDISP10): Define.
213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
216 R_SPARC_SIZE64 and R_SPARC_H34.
218 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
221 conditions and remove no longer applicable assertion.
223 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
225 * bits/byteswap.h: Include <features.h>.
226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
229 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
231 * bits/byteswap.h (__bswap_16): Removed.
232 Include <bits/byteswap-16.h> to get __bswap_16.
233 * sysdeps/i386/bits/byteswap.h: Likewise.
234 * sysdeps/s390/bits/byteswap.h: Likewise.
235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
236 * bits/byteswap-16.h: New file.
237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
238 * sysdeps/s390/bits/byteswap-16.h: Likewise.
239 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
240 * string/Makefile (headers): Add bits/byteswap-16.h.
242 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
245 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
247 * nss/Makefile (tests-static, tests): Add tst-nss-static.
248 * nss/tst-nss-static.c: New.
250 2012-04-06 Robert Millan <rmh@gnu.org>
253 * manual/llio.texi (File Position Primitive): lseek
254 refers to WHENCE when it really means OFFSET.
256 2012-04-06 Andreas Jaeger <aj@suse.de>
258 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
259 strncmp declarations.
261 * abilist/libc.abilist: Add __poll and __ppoll.
263 2012-04-05 David S. Miller <davem@davemloft.net>
265 * scripts/check-local-headers.sh: Accept a host triplet in the
266 path matched by the exclude regexp.
268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
270 * sysdeps/powerpc/powerpc32/dl-machine.h
271 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
272 * sysdeps/s390/s390-32/dl-machine.h
273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
274 * sysdeps/sparc/sparc32/dl-machine.h
275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
276 * sysdeps/sparc/sparc64/dl-machine.h
277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
279 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
282 undefined symbol errors.
284 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
287 2012-04-05 Michael Matz <matz@suse.de>
290 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
292 2012-04-05 Andreas Jaeger <aj@suse.de>
295 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
298 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
301 which ROUND is no valid rounding mode.
303 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
307 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
309 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
311 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
312 an exception using FPU order intentionally.
314 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
316 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
317 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
318 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
319 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
321 2012-04-05 Simon Josefsson <simon@josefsson.org>
324 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
325 EINVAL when BUFLEN is too smal.
327 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
330 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
331 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
333 2012-04-03 Andreas Jaeger <aj@suse.de>
336 * manual/setjmp.texi (System V contexts): Fix sentence.
339 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
340 New macro for this case.
341 [!__GNUC__] (__bswap_64): New inline function for this case.
342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
343 * bits/byteswap.h: Likewise.
344 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
345 ull, guard with __GLIBC_HAVE_LONG_LONG.
347 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
348 __GLIBC_HAVE_LONG_LONG.
350 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
351 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
353 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
356 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
357 inptr and inend, rather than using last_ch.
359 2012-04-02 David S. Miller <davem@davemloft.net>
361 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
362 * stdio-common/printf-parse.h (read_int): Change return type to
363 'int', return -1 on INT_MAX overflow.
364 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
365 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
366 overflows INT_MAX. Check for overflow of in-format-string precision
367 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
368 SIZE_MAX not INT_MAX for integer overflow test.
369 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
370 skip the construct in the format string but do not record anything.
371 * stdio-common/bug22.c: Adjust to test both width/prevision
372 INT_MAX overflow as well as total length INT_MAX overflow. Check
373 explicitly for proper errno values.
375 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
377 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
379 * string/test-strcmp.c [! WIDE]: Likewise.
380 * time/tst-mktime2.c: Likewise for INT_MAX.
381 * string/test-string.h: #include <sys/param.h> for MIN.
383 * csu/init-first.c (__libc_init_first): Call __ctype_init.
384 * sysdeps/i386/init-first.c (init): Likewise.
385 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
386 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
387 * sysdeps/sh/init-first.c (init): Likewise.
389 2012-04-01 Ulrich Drepper <drepper@gmail.com>
391 * po/ru.po: Update from translation team.
392 * po/vi.po: Likewise.
394 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * resolv/nss_dns/dns-host.c: Merge copyright years.
398 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
401 Optimize memcpy with prefetch if
402 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
403 src, dst pointers have unequal 16 byte alignments.
405 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
408 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
409 from a CNAME entry and return the minimum ttl for the query.
410 (gaih_getanswer_slice): Likewise.
412 2012-03-30 Jeff Law <law@redhat.com>
414 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
416 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
417 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
419 * resolv/nss_dns/dns-host.c: Update copyright year.
421 2012-03-30 Ulrich Drepper <drepper@gmail.com>
423 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
424 requests to save a system call. Fix check that all bytes are sent.
426 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
427 comments for sendmmsg.
429 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
432 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
433 with only 1 character between 0x0041 and 0x01b0.
434 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
435 * wcsmbs/tst-mbsnrtowcs.c: New file.
437 2012-03-29 David S. Miller <davem@davemloft.net>
439 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
440 small copies by hand.
442 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
445 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
446 _nss_compat_initgroups_dyn): Fall back to malloc/free
447 for large group memberships.
449 2012-03-28 David S. Miller <davem@davemloft.net>
451 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
452 that branches into memcpy.
453 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
456 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
459 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
461 * sysdeps/sparc/mempcpy.S: New file.
463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
464 the IFUNC routine in the libc case.
465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
468 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
469 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
470 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
471 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
472 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
473 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
474 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
476 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
477 loop to 256 bytes instead of 64 bytes and fix test signedness.
479 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
480 * sysdeps/sparc/sparc32/Makefile: rather than here...
481 * sysdeps/sparc/sparc64/Makefile: and here.
483 2012-03-28 Ulrich Drepper <drepper@gmail.com>
485 * malloc/mallocbug.c: Avoid warnings about unused variables.
487 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
490 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
491 in the right place. Discard and retry query if response is
492 larger than input buffer size.
494 2012-03-28 Joseph Myers <joseph@codesourcery.com>
499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
500 x for large integer exponent.
501 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
502 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
503 sign of result as needed afterwards.
504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
506 result for underflowing pow the same as for overflow.
507 (__kernel_standard_l): Handle powl overflow and underflow here
508 rather than calling __kernel_standard.
509 * math/libm-test.inc (pow_test): Add more tests.
524 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
525 * sysdeps/ieee754/k_standard.c: Include <float.h>.
526 (__kernel_standard_l): New function.
527 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
529 * math/w_acosl.c (__acosl): Likewise.
530 * math/w_asinl.c (__asinl): Likewise.
531 * math/w_atan2l.c (__atan2l): Likewise.
532 * math/w_atanhl.c (__atanhl): Likewise.
533 * math/w_coshl.c (__coshl): Likewise.
534 * math/w_exp10l.c (__exp10l): Likewise.
535 * math/w_exp2l.c (__exp2l): Likewise.
536 * math/w_fmodl.c (__fmodl): Likewise.
537 * math/w_hypotl.c (__hypotl): Likewise.
538 * math/w_j0l.c (__j0l, __y0l): Likewise.
539 * math/w_j1l.c (__j1l, __y1l): Likewise.
540 * math/w_jnl.c (__jnl, __ynl): Likewise.
541 * math/w_lgammal.c (__lgammal): Likewise.
542 * math/w_log10l.c (__log10l): Likewise.
543 * math/w_log2l.c (__log2l): Likewise.
544 * math/w_logl.c (__logl): Likewise.
545 * math/w_powl.c (__powl): Likewise.
546 * math/w_remainderl.c (__remainderl): Likewise.
547 * math/w_scalbl.c (sysv_scalbl): Likewise.
548 * math/w_sinhl.c (__sinhl): Likewise.
549 * math/w_sqrtl.c (__sqrtl): Likewise.
550 * math/w_tgammal.c (__tgammal): Likewise.
551 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
552 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
553 * math/libm-test.inc (acos_test): Add more tests.
554 (acosh_test): Likewise.
555 (asin_test): Likewise.
556 (atanh_test): Likewise.
557 (exp_test): Likewise.
558 (exp10_test): Likewise.
559 (exp2_test): Likewise.
560 (expm1_test): Likewise.
561 (lgamma_test): Likewise.
562 (log_test): Likewise.
563 (log10_test): Likewise.
564 (log1p_test): Likewise.
565 (log2_test): Likewise.
566 (pow_test): Do not allow some spurious overflow exceptions.
567 (sqrt_test): Add more tests.
568 (tgamma_test): Likewise.
573 2012-03-27 Anton Blanchard <anton@samba.org>
575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
581 2012-03-27 David S. Miller <davem@davemloft.net>
583 * conform/Makefile: Run run-conformtest.sh using $(BASH).
585 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
588 2012-03-27 Andreas Jaeger <aj@suse.de>
590 * sysdeps/x86_64/elf/configure.in: Moved to ...
591 * sysdeps/x86_64/configure.in: ... here.
592 * sysdeps/x86_64/elf/start.S: Moved to ...
593 * sysdeps/x86_64/start.S: ... here.
594 * sysdeps/x86_64/elf/configure: Delete.
596 * sysdeps/x86_64/configure.in: Merge contents from
597 sysdeps/i386/configure.in (without i686 check).
599 * sysdeps/i386/elf/Versions: Merge into ...
600 * sysdeps/i386/Versions: ... this.
601 * sysdeps/i386/elf/Versions: Delete file.
602 * sysdeps/i386/elf/start.S: Moved to ...
603 * sysdeps/i386/start.S: ...here.
604 * sysdeps/i386/elf/configure.in: Merge into...
605 * sysdeps/i386/configure.in: ...here.
606 * sysdeps/i386/elf/configure.in: Delete file.
607 * sysdeps/i386/elf/configure: Delete file.
609 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
610 * debug/backtracesyms.c: ... here.
611 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
612 * debug/backtracesymsfd.c: ... here.
613 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
614 * sysdeps/generic/ifunc-sel.h: ... here.
616 * sysdeps/unix/i386/start.c: Delete file.
617 * sysdeps/unix/sparc/start.c: Delete file.
618 * sysdeps/unix/start.c: Delete file.
620 * sysdeps/sh/elf/configure.in: Moved to ...
621 * sysdeps/sh/configure.in: ... here.
622 * sysdeps/sh/elf/start.S: Moved to ...
623 * sysdeps/sh/start.S: ... here.
624 * sysdeps/sh/elf/configure: Delete file.
626 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
627 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
628 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
629 * sysdeps/powerpc/powerpc64/entry.h: ... here.
630 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
631 * sysdeps/powerpc/powerpc64/start.S: here.
632 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
633 * sysdeps/powerpc/powerpc64/Makefile: ... this.
634 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
635 * sysdeps/powerpc/powerpc64/configure.in: ... this.
636 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
638 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
639 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
640 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
641 * sysdeps/powerpc/powerpc32/start.S: ... here.
642 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
643 * sysdeps/powerpc/powerpc32/configure.in: ... this.
644 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
646 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
647 * sysdeps/powerpc/ifunc-sel.h: ... here.
648 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
649 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
651 * sysdeps/sparc/elf/configure.in: Moved to ...
652 * sysdeps/sparc/configure.in: ... here.
653 * sysdeps/sparc/elf/configure: Delete file.
654 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
655 * sysdeps/sparc/sparc32/start.S: ... here.
656 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
657 * sysdeps/sparc/sparc64/start.S: ... here.
658 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
659 * sysdeps/sparc/sparc32/Makefile: ... this.
660 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
661 * sysdeps/sparc/sparc64/Makefile: ... this.
663 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
664 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
665 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
666 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
667 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
668 * sysdeps/s390/s390-32/setjmp.S: ... here.
669 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
670 * sysdeps/s390/s390-32/configure.in: ... here.
671 * sysdeps/s390/s390-32/elf/configure: Delete file.
672 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
673 * sysdeps/s390/s390-32/start.S: ... here.
675 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
676 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
677 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
678 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
679 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
680 * sysdeps/s390/s390-64/setjmp.S: ... here.
681 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
682 * sysdeps/s390/s390-64/configure.in: ... here
683 * sysdeps/s390/s390-64/elf/configure: Delete file.
684 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
685 * sysdeps/s390/s390-64/start.S: ... here.
686 * sysdeps/s390/s390-64/elf/configure: Delete.
688 * configure.in: Remove support for elf directories in sysdeps.
690 * configure: Regenerated.
691 * sysdeps/i386/configure: Regenerated.
692 * sysdeps/powerpc/powerpc32/configure: Regenerated.
693 * sysdeps/powerpc/powerpc64/configure: Regenerated.
694 * sysdeps/s390/s390-32/configure: Regenerated.
695 * sysdeps/s390/s390-64/configure: Regenerated.
696 * sysdeps/sh/configure: Regenerated.
697 * sysdeps/sparc/configure: Regenerated.
698 * sysdeps/x86_64/configure: Regenerated.
700 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
705 denormal result into account.
707 2012-03-25 Roland McGrath <roland@hack.frob.com>
709 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
710 Reported by Allan McRae <allan@archlinux.org>.
712 2012-03-23 Jeff Law <law@redhat.com>
714 * nss/getnssent.c (__nss_getent): Fix typo.
716 2012-03-23 David S. Miller <davem@davemloft.net>
718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
720 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
722 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
723 to pad to uint64_t for each field.
724 (dl_tls_index): Replace unsigned long with uint64_t.
726 2012-03-23 Daniel Jacobowitz <dmj@google.com>
727 Paul Pluzhnikov <ppluzhnikov@google.com>
730 * grp/Makefile (otherlibs): Don't set it.
731 * inet/Makefile (otherlibs): Likewise.
732 * login/Makefile (otherlibs): Likewise.
733 * nscd/Makefile (otherlibs): Likewise.
734 * posix/Makefile (otherlibs): Likewise.
735 * pwd/Makefile (otherlibs): Likewise.
736 * rt/Makefile (otherlibs): Likewise.
737 * sunrpc/Makefile (otherlibs): Likewise.
738 * nss/Makefile (otherlibs): Likewise.
739 Add libnss_files to routines and static-only-routines.
740 ($(objpfx)getent): Remove rule.
741 * resolv/Makefile: Add libnss_dns and libresolv to routines and
742 static-only-routines.
744 2012-03-22 Joseph Myers <joseph@codesourcery.com>
747 * math/s_cexp.c: Include <float.h>.
748 (__cexp): Handle exp result overflowing not necessarily
749 overflowing both real and imaginary parts of result.
750 * math/s_cexpf.c: Likewise.
751 * math/s_cexpl.c: Likewise.
752 * math/libm-test.inc (cexp_test): Add more tests.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
756 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
758 * include/link.h (ELFW): New macro.
759 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
760 Replace ELF64_R_TYPE with ELFW(R_TYPE).
762 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
764 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
767 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
769 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
771 (struct La_x32_retval): Likewise.
773 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
775 * sysdeps/x86_64/preconfigure.in: New file.
776 * sysdeps/x86_64/preconfigure: New generated file.
778 2012-03-22 Joseph Myers <joseph@codesourcery.com>
781 * math/e_exp2l.c: Include <float.h>.
782 (__ieee754_exp2l): Handle overflow and underflow cases
783 separately. Only pass fractional part of argument to
785 * math/libm-test.inc (exp2_test): Add more tests.
787 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
788 negating x to take absolute value.
789 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
794 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
795 computing low part if x was negated.
796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
798 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
800 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
802 (pltexit): Cast int_retval to ptrdiff_t.
803 * elf/tst-auditmod3b.c: Likewise.
804 * elf/tst-auditmod4b.c: Likewise.
805 * elf/tst-auditmod5b.c: Likewise.
806 * elf/tst-auditmod6b.c: Likewise.
807 * elf/tst-auditmod6c.c: Likewise.
808 * elf/tst-auditmod7b.c: Likewise.
810 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
813 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
815 (La_x32_regs): New macro.
816 (La_x32_retval): Likewise.
817 (la_x32_gnu_pltenter): New function prototype.
818 (la_x32_gnu_pltexit): Likewise.
820 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
827 * configure.in (libc_cv_cc_nofma): Check for option to disable
828 generation of FMA instructions.
829 * configure: Regenerate.
830 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
831 * sysdeps/ieee754/dbl-64/Makefile: New file.
832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
833 Remove brandred-fma4.
834 (CFLAGS-brandred-fma4.c): Remove.
835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
841 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
843 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
844 LLONG_MAX != LONG_MAX.
845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
846 (_fitoa_word): Likewise.
847 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
848 LLONG_MAX != LONG_MAX.
849 * stdio-common/_itowa.h: Include <_itoa.h>.
850 (_itowa_word): Use _ITOA_WORD_TYPE on value.
851 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
852 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
854 (_ITOA_WORD_TYPE): Likewise.
855 (_itoa_word): Use _ITOA_WORD_TYPE on value.
856 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
858 2012-03-21 David S. Miller <davem@davemloft.net>
860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
862 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
864 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
865 of x86_64 when setting libc_cv_slibdir, libdir and
867 * sysdeps/unix/sysv/linux/configure: Regenerated.
869 2012-03-21 Joseph Myers <joseph@codesourcery.com>
871 * manual/lang.texi (Old Varargs): Remove section.
872 (How Variadic): Update menu.
873 (va_start): Do not mention varargs.h.
875 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
876 Joseph Myers <joseph@codesourcery.com>
878 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
880 * configure: Regenerated.
882 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
884 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
885 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
888 2012-03-21 Joseph Myers <joseph@codesourcery.com>
891 * Makefile (files-for-dist): Remove NOTES.
892 (NOTES): Remove rule.
893 * README: Don't refer to NOTES.
894 * manual/creature.texi: Don't include macros.texi.
895 * manual/intro.texi (creature.texi): Remove comment referring to
898 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
899 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
900 * configure: Regenerated.
901 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
903 (libc_cv_as_i686): Likewise.
904 (libc_cv_cc_avx): Likewise.
905 (libc_cv_cc_sse2avx): Likewise.
906 (libc_cv_cc_fma4): Likewise.
907 (libc_cv_cc_novzeroupper): Likewise.
908 * sysdeps/i386/configure: Regenerated.
911 * sysdeps/i386/fpu/s_cexp.S: Remove.
912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
914 * math/libm-test.inc (cexp_test): Add more tests.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918 2012-03-21 Allan McRae <allan@archlinux.org>
920 * timezone/Makefile: Do not install iso3166.tab and zone.tab
922 2012-03-21 Joseph Myers <joseph@codesourcery.com>
925 * math/w_exp2.c: Do not include <float.h>.
926 (o_threshold, u_threshold): Remove.
927 (__exp2): Calculate result before checking finiteness and calling
929 * math/w_exp2f.c: Likewise.
930 * math/w_exp2l.c: Likewise.
931 * math/libm-test.inc (exp2_test): Require overflow exception for
935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
936 range of signed 64-bit integers before using fistpll. Remove
937 checks for whether integers fit in mantissa bits.
938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
939 the range of signed 32-bit integers before using fistpl. Remove
940 checks for whether integers fit in mantissa bits.
941 * sysdeps/i386/fpu/e_powl.S (p64): New object.
942 (__ieee754_powl): Test for y outside the range of signed 64-bit
943 integers before using fistpll. Reduce 64-bit values to 63-bit
945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
946 divide-by-zero is raised for zero to large negative powers.
947 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
948 (__ieee754_powl): Test for y outside the range of signed 64-bit
949 integers before using fistpll. Reduce 64-bit values to 63-bit
951 * math/libm-test.inc (pow_test): Add more tests.
953 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
955 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
956 <stdio-common/_itoa.h>.
957 * debug/segfault.c: Likewise.
958 * elf/dl-cache.c: Likewise.
959 * elf/dl-minimal.c: Likewise.
960 * elf/dl-misc.c: Likewise.
961 * elf/dl-sysdep.c: Likewise.
962 * elf/dl-version.c: Likewise.
963 * elf/rtld.c: Likewise.
964 * hurd/hurdsock.c: Likewise.
965 * hurd/lookup-retry.c: Likewise.
966 * malloc/malloc.c: Likewise.
967 * malloc/mtrace.c: Likewise.
968 * nscd/nscd_getgr_r.c: Likewise.
969 * nscd/nscd_getpw_r.c: Likewise.
970 * nscd/nscd_getserv_r.c: Likewise.
971 * posix/getopt_init.c: Likewise.
972 * posix/wordexp.c: Likewise.
973 * stdio-common/_itoa.c: Likewise.
974 * stdio-common/printf_fphex.c: Likewise.
975 * stdio-common/vfprintf.c: Likewise.
976 * string/_strerror.c: Likewise.
977 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
978 * sysdeps/i386/i686/hp-timing.h: Likewise.
979 * sysdeps/mach/_strerror.c: Likewise.
980 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
981 * sysdeps/mach/hurd/sethostid.c: Likewise.
982 * sysdeps/mach/hurd/xmknodat.c: Likewise.
983 * sysdeps/mach/xpg-strerror.c: Likewise.
984 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
986 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
987 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
989 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
991 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
992 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
993 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
994 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
995 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
998 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1002 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1003 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1004 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1006 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1008 * stdio-common/_itoa.h: Moved to ...
1009 * sysdeps/generic/_itoa.h: Here.
1011 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1013 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1014 instead of "_itoa.h" and "_itowa.h".
1015 * stdio-common/vfprintf.: Likewise.
1017 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1021 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1022 (__signbit): Likwise.
1026 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1028 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1031 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1033 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1034 OVERFLOW_EXCEPTION_OK.
1035 * math/libm-test.inc ("Philosophy"): Update comment about
1037 (OVERFLOW_EXCEPTION): Define.
1038 (OVERFLOW_EXCEPTION_OK): Likewise.
1039 (INVALID_EXCEPTION_OK): Renumber.
1040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1041 (IGNORE_ZERO_INF_SIGN): Likewise.
1042 (test_exceptions): Handle FE_OVERFLOW.
1043 (exp10_test): Expect overflow exceptions.
1044 (exp2_test): Likewise.
1045 (expm1_test): Likewise.
1046 (nextafter_test): Likewise.
1047 (pow_test): Likewise.
1048 (scalbn_test): Likewise.
1049 (scalbln_test): Likewise.
1051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1053 * sysdeps/x86_64/bits/atomic.h
1054 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1056 (atomic_exchange_acq): Likewise.
1057 (__arch_exchange_and_add_body): Likewise.
1058 (__arch_add_body): Likewise.
1059 (atomic_add_negative): Likewise.
1060 (atomic_add_zero): Likewise.
1062 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1064 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1065 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1067 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1070 Check __x86_64__ instead of __WORDSIZE.
1072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1074 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1076 2012-03-19 David S. Miller <davem@davemloft.net>
1078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1080 * sysdeps/sparc/fpu/fenv_private.h: New file.
1081 * sysdeps/sparc/fpu/math_private.h: Use it.
1082 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1085 (libc_feholdexcept_setroundl): Remove.
1086 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1091 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1093 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1094 int64_t instead of long int.
1095 (INSERT_WORDS64): Likwise.
1097 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1099 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1100 _Unwind_GetCFA return to _Unwind_Ptr first.
1102 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1105 * math/s_clog.c: Include <float.h>.
1106 (__clog): Scale large or subnormal inputs.
1107 * math/s_clogf.c: Likewise.
1108 * math/s_clogl.c: Likewise.
1109 * math/s_clog10.c: Include <float.h>.
1110 (M_LOG10_2): Define.
1111 (__clog10): Scale large or subnormal inputs.
1112 * math/s_clog10f.c: Likewise.
1113 * math/s_clog10l.c: Likewise.
1114 * math/libm-test.inc (clog_test): Add more tests.
1115 (clog10_test): Likewise.
1116 * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1122 * math/libm-test.inc (atan2_test): Add another test.
1124 * Makerules (common-objdir-compile): Remove.
1125 * sysdeps/unix/Makefile (config-generated): Do not add
1126 $(unix-generated) to variable.
1127 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1128 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1130 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1132 [generic bits/local_lim.h] (before-compile): Do not append to
1134 [generic bits/local_lim.h] (common-generated): Likewise.
1135 [generic sys/param.h] (before-compile): Do not append to variable.
1136 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1137 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1139 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1141 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1142 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1143 [generic sys/param.h] ($(addprefix
1144 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1145 [generic sys/param.h] (common-generated): Do not append to
1147 [generic sys/param.h] (sysdep_headers): Likewise.
1148 [generic bits/errno.h] (before-compile): Do not append to
1150 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1152 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1153 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1154 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1155 [generic bits/errno.h] (common-generated): Do not append to
1157 [generic bits/ioctls.h] (before-compile): Do not append to
1159 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1161 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1162 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1166 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1167 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1168 [generic bits/ioctls.h] (common-generated): Do not append to
1170 [generic sys/syscall.h] (syscall.h): Remove variable.
1171 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1173 [generic sys/syscall.h] (before-compile): Do not append to
1175 [generic sys/syscall.h] (common-generated): Likewise.
1176 * sysdeps/unix/errnos-tmpl.c: Remove file.
1177 * sysdeps/unix/errnos.awk: Likewise.
1178 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1179 * sysdeps/unix/ioctls.awk: Likewise.
1180 * sysdeps/unix/mk-local_lim.c: Likewise.
1181 * sysdeps/unix/snarf-ioctls: Likewise.
1183 2012-03-19 Richard Henderson <rth@twiddle.net>
1185 * sysdeps/i386/fpu/fenv_private.h: New file.
1186 * sysdeps/i386/fpu/math_private.h: Use it.
1187 (math_opt_barrier, math_force_eval): Remove.
1188 (libc_feholdexcept_setround_53bit): Remove.
1189 (libc_feupdateenv_53bit): Remove.
1190 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1191 (math_opt_barrier, math_force_eval): Remove.
1192 (libc_feholdexcept): Remove.
1193 (libc_feholdexcept_setround): Remove.
1194 (libc_fetestexcept, libc_fesetenv): Remove.
1195 (libc_feupdateenv_test): Remove.
1196 (libc_feupdateenv, libc_feholdsetround): Remove.
1197 (libc_feresetround): Remove.
1199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1200 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1202 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1203 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1204 (libc_feupdateenv_testl): New.
1205 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1206 (libc_feupdateenv_testf): New.
1207 (libc_feupdateenv): Use libc_feupdateenv_test.
1208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1211 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1212 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1213 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1214 (libc_feresetround_noex): New.
1215 (libc_feresetround_noexf): New.
1216 (libc_feresetround_noexl): New.
1217 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1218 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1219 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1225 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1227 SET_RESTORE_ROUND_NOEX.
1228 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1229 SET_RESTORE_ROUND_NOEXF.
1230 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1231 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1232 (libc_feholdsetroundf): New.
1233 (libc_feresetround, libc_feresetroundf): New.
1235 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1236 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1237 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1239 * sysdeps/generic/math_private.h: Include <fenv.h>.
1240 (default_libc_feholdexcept): New.
1241 (default_libc_feholdexcept_setround): New.
1242 (default_libc_fesetenv, default_libc_feupdateenv): New.
1243 (libc_feholdexcept): Only define if undefined.
1244 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1246 (libc_feholdexcept_setroundl): Likewise.
1247 (libc_feholdexcept_setround_53bit): Likewise.
1248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1251 (libc_feupdateenv_53bit): Likewise.
1252 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1253 (libc_feholdexcept): Convert from macro to inline function.
1254 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1255 (libc_fesetenv, libc_feupdateenv): Likewise.
1257 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1258 not previously defined.
1259 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1260 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1261 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1262 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1263 * sysdeps/ieee754/flt-32/math_private.h: New file.
1264 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1265 math_private.h below SET_FLOAT_WORD.
1266 (__isnan, __isinf_ns, __finite): Remove.
1267 (__isnanf, __isinf_nsf, __finitef): Remove.
1269 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1273 2012-03-17 David S. Miller <davem@davemloft.net>
1276 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1279 2012-03-16 David S. Miller <davem@davemloft.net>
1281 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1287 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1288 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1289 sysdep_routines when subdir is sysvipc.
1290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1293 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1295 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1297 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1300 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1303 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1304 (__lround): Renamed to ...
1305 (__llround): This. Replace long int with long long int.
1306 Define lround functions as aliases of llround functions.
1307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1309 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1311 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1312 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1313 adresses to uintptr_t. Replace "long int" and "unsigned long
1314 int" with "greg_t" on va_arg.
1316 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1318 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1319 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1321 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1322 Move e_machine check before EI_CLASS check. Handle x32
1323 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1324 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1325 SKIP_EM_IA_64 and include
1326 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1328 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1329 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1330 (add_system_dir): New macro.
1332 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1333 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1335 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1346 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1348 * math/w_j0f.c (j0f): Likewise.
1350 * math/w_j0l.c (__j0l): Likewise.
1352 * math/w_j1.c (j1): Likewise.
1354 * math/w_j1f.c (j1f): Likewise.
1356 * math/w_j1l.c (__j1l): Likewise.
1358 * math/w_jn.c (jn): Likewise.
1360 * math/w_jnf.c (jnf): Likewise.
1362 * math/w_jnl.c (__jnl): Likewise.
1364 * math/libm-test.inc (j0_test): Add more tests.
1365 (j1_test): Likewise.
1366 (jn_test): Likewise. Add trailing semicolon to existing test.
1367 (y0_test): Likewise.
1368 (y1_test): Likewise.
1369 * sysdeps/i386/fpu/libm-test-ulps: Update.
1370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1374 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1375 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1376 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1378 (__tanl): Set errno for infinite argument.
1379 * sysdeps/i386/fpu/mptan.c: Remove.
1380 * sysdeps/i386/fpu/s_tan.S: Likewise.
1381 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1382 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1383 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1384 * math/libm-test.inc (tan_test): Add more tests and enable more
1385 tests for double and long double.
1386 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1391 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1392 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1394 2012-03-16 Roland McGrath <roland@hack.frob.com>
1396 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1397 * configure.in: Use it for both main tree and add-ons.
1398 * configure: Regenerated.
1400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1402 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1404 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1410 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1411 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1416 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1419 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1420 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1421 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1422 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1423 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1424 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1425 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1426 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1427 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1428 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1429 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1430 * math/libm-test.inc (cos_test): Add more tests and enable more
1431 tests for long double.
1432 (sin_test): Likewise.
1433 (sincos_test): Likewise.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1437 2012-03-16 David S. Miller <davem@davemloft.net>
1439 * sysdeps/sparc/fpu/math_private.h: New file.
1441 2012-03-15 David S. Miller <davem@davemloft.net>
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1457 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1458 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1460 * sysdeps/sparc/sparc-ifunc.h: New file.
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1506 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1508 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1512 2012-03-15 Andreas Jaeger <aj@suse.de>
1515 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1516 ieee754/flt-32 implementation for sin, cos and sincos.
1517 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1518 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1519 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1520 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1521 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1522 ieee754/flt-32 implementation for tan.
1524 * math/libm-test.inc (cos_test): Enable some large input tests for
1526 (sin_test): Likewise.
1527 (sincos_test): Likewise.
1528 (tan_test): Add tests for large input.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1532 2012-03-15 Andreas Jaeger <aj@suse.de>
1535 * math/libm-test.inc (cos_test): Add more test cases.
1536 (sin_test): Likewise.
1537 (sincos_test): Likewise.
1539 2012-03-15 Andreas Jaeger <aj@suse.de>
1542 * math/libm-test.inc (cos_test): Add a test case for large input
1544 (sin_test): Likewise.
1545 (sincos_test): Likewise.
1547 2012-03-15 Andreas Jaeger <aj@suse.de>,
1548 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1552 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1553 * sysdeps/i386/fpu/branred.c: Likewise.
1554 * sysdeps/i386/fpu/dosincos.c: Likewise.
1555 * sysdeps/i386/fpu/mpa.c: Likewise.
1556 * sysdeps/i386/fpu/s_cos.S: Likewise.
1557 * sysdeps/i386/fpu/s_sin.S: Likewise.
1558 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1559 * sysdeps/i386/fpu/sincos32.c: Likewise.
1561 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1563 (libc_feupdateenv_53bit): Define.
1564 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1566 (libc_feupdateenv_53bit): Define.
1568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1569 53 bit (without extend i386 double precision).
1571 * math/libm-test.inc (sincos_test): Add tests for large input.
1575 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1577 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1581 2012-03-15 David S. Miller <davem@davemloft.net>
1583 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1611 fmin/fmax sysdep routines.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1614 2012-03-14 David S. Miller <davem@davemloft.net>
1616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1693 * sysdeps/sparc/configure.in: New file.
1694 * sysdeps/sparc/configure: Generate.
1695 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1696 * configure: Regenerate.
1697 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1698 * config.make.in (have-as-vis3): New.
1699 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1700 available use -Av9d instead of -Av9a.
1701 * sysdeps/sparc/sparc64/Makefile: Likewise.
1702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1717 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1718 fzeros/fnegs to load 0x80000000 into a float register instead of
1720 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1722 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1726 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1727 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1728 ($(inst_includedir)/bits/syscall.h): Remove rule.
1729 ($(objpfx)bits/syscall.d): Include instead of
1730 $(objpfx)syscall-list.d.
1731 (generated): Change syscall-list.h and syscall-list.d to
1732 bits/syscall.h and bits/syscall.d.
1734 2012-03-14 Roland McGrath <roland@hack.frob.com>
1737 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1739 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1742 * math/s_csqrt.c: Include <float.h>.
1743 (__csqrt): Scale large or subnormal inputs.
1744 * math/s_csqrtf.c: Likewise.
1745 * math/s_csqrtl.c: Likewise.
1746 * math/libm-test.inc (csqrt_test): Add more tests.
1747 * sysdeps/i386/fpu/libm-test-ulps: Update.
1748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1751 * math/libm-test.inc (hypot_test): Add more tests.
1753 2012-03-13 David S. Miller <davem@davemloft.net>
1756 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1757 double-precision for the calculation instead of scaling.
1759 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1762 manipulate bits before adding and subtracting TWO52[sx].
1763 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1768 2012-03-13 David S. Miller <davem@davemloft.net>
1770 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1771 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1773 rtld-global-offsets.h
1774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1781 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1782 'err' in the ifdef scope in which it is actually used.
1784 * nss/nss_db/db-init.c: Include string.h
1786 2012-03-12 David S. Miller <davem@davemloft.net>
1788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1789 masking out of the most significant byte of random value used.
1790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1791 Fix coding style in previous change.
1793 * sysdeps/unix/sysv/linux/kernel-features.h
1794 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1795 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1797 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1800 2012-03-11 David S. Miller <davem@davemloft.net>
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1803 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1805 for 'resultvar' otherwise things get truncated on 64-bit.
1807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1808 Fix masking out of the most significant byte of random value used.
1810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1812 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1816 2012-03-09 David S. Miller <davem@davemloft.net>
1818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1819 variables with appropriate CPP guards.
1820 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1821 frame pointer, not the stack pointer. Correct layout comments. Fix test
1822 on resulting framesize and the management of the outregs buffer for pltexit.
1823 Preserve floating point return values across _dl_call_pltexit call.
1824 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1825 framesize and the management of the outregs buffer for pltexit.
1826 Preserve floating point return values across _dl_call_pltexit
1828 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1829 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1830 (print_exit): Fix format string for return register value.
1832 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1834 * sunrpc/Makefile (others): Add rpcgen.
1835 ($(objpfx)rpcgen): Remove special build rule and dependency on
1837 * sunrpc/rpcgen.c: New file.
1839 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1844 * sysdeps/i386/crti.S: Likewise.
1845 * sysdeps/i386/crtn.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1850 * sysdeps/sh/crti.S: Likewise.
1851 * sysdeps/sh/crtn.S: Likewise.
1852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1857 * locale/programs/locfile-kw.gperf: Likewise.
1858 * locale/programs/charmap-kw.h: Regenerated.
1859 * locale/programs/locfile-kw.h: Likewise.
1862 * intl/plural.y: Replace FSF snail mail address with URL.
1863 * intl/plural.c: Regenerated.
1865 2012-03-09 Richard Henderson <rth@twiddle.net>
1867 * include/math_private.h: Remove file.
1868 * math/math_private.h: Move file ...
1869 * sysdeps/generic/math_private.h: ... here.
1871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1876 and <math_private.h>.
1877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2026 * sysdeps/ieee754/k_standard.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2187 * sysdeps/ieee754/s_lib_version.c: Likewise.
2188 * sysdeps/ieee754/s_matherr.c: Likewise.
2189 * sysdeps/ieee754/s_signgam.c: Likewise.
2190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2212 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2215 * sunrpc/rpc_main.c: Likewise.
2216 * sunrpc/rpc_svcout.c: Likewise.
2218 2012-03-09 David S. Miller <davem@davemloft.net>
2220 * include/math_private.h: New file.
2222 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2227 from <bits/socket_type.h>.
2228 (enum __socket_type): Don't define here.
2229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2237 * Makerules ($(inst_includedir)/%.h): New rule.
2238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2239 (install-others): Remove variable setting.
2240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2242 2012-03-08 Richard Henderson <rth@twiddle.net>
2244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2245 from macro to inline function; merge with the
2246 !__LIBC_INTERNAL_MATH_INLINES version.
2247 (__ieee754_sqrtf): Likewise.
2249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2251 (__rintf, __floor, __floorf): Likewise.
2253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2254 macro to inline function.
2255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2258 not <math/math_private.h>.
2260 2012-03-08 David S. Miller <davem@davemloft.net>
2262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2266 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2273 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2276 be defined individually, they must be defined as a block. Define
2277 S for printing a string instead of hidint the different by using a
2278 macro for adding the 'l'.
2279 * stdio-common/tst-fphex-wide.c: Adjust.
2281 2012-03-07 Marek Polacek <polacek@redhat.com>
2283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2285 2012-03-08 Marek Polacek <polacek@redhat.com>
2288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2289 * stdio-common/tst-fphex.c: Define a few macros to make the
2290 test reusable. Use them.
2291 * stdio-common/tst-fphex-wide.c: New file.
2293 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2296 * manual/macros.texi (gnusystems): New macro.
2297 (nongnusystems): Likewise.
2298 (gnulinuxhurdsystems): Likewise.
2299 (gnuhurdsystems): Likewise..
2300 (gnulinuxsystems): Likewise.
2301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2302 variants of the GNU system, not "GNU system".
2303 * manual/conf.texi: Likewise.
2304 * manual/errno.texi: Likewise. Update example of errno macro
2306 * manual/filesys.texi: Likewise.
2307 (getumask): Document as specific to GNU/Hurd.
2308 * manual/install.texi: Likewise. Reword some references to
2310 * manual/intro.texi: Likewise.
2311 * manual/io.texi: Likewise.
2312 (File Name Portability): Detail which constraints are inapplicable
2313 to all GNU systems and which are only inapplicable to GNU/Hurd.
2314 * manual/job.texi: Likewise.
2315 * manual/llio.texi: Likewise.
2316 (O_NOCTTY): Document as present on GNU/Linux.
2317 * manual/maint.texi: Likewise.
2318 * manual/memory.texi: Likewise.
2319 * manual/pattern.texi: Likewise.
2320 * manual/pipe.texi: Likewise.
2321 * manual/process.texi: Likewise.
2322 * manual/resource.texi: Likewise.
2323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2325 * manual/setjmp.texi: Likewise.
2326 * manual/signal.texi: Likewise.
2327 * manual/startup.texi: Likewise.
2328 * manual/stdio.texi: Likewise.
2329 * manual/terminal.texi: Likewise.
2330 (ONLCR): Document as POSIX.
2331 (OXTABS): Document availability on GNU/Linux as XTABS.
2332 (ONOEOT): Document availability separately from other bits.
2333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2334 * manual/time.texi: Likewise.
2335 * manual/users.texi: Likewise.
2336 * INSTALL: Regenerated.
2337 * sysdeps/gnu/errlist.c: Regenerated.
2339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2343 * configure: Regenerated.
2345 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2348 default includes instead of AC_HEADER_CHECK.
2349 * sysdeps/i386/configure: Regenerated.
2352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2353 * math/s_cacoshf.c (__cacoshf): Likewise.
2354 * math/s_cacoshl.c (__cacoshl): Likewise.
2355 * math/s_casinh.c (__casinh): Set signs of result from argument.
2356 * math/s_casinhf.c (__casinhf): Likewise.
2357 * math/s_casinhl.c (__casinhl): Likewise.
2358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2359 (casinh_test): Add more tests.
2360 * sysdeps/i386/fpu/libm-test-ulps: Update.
2361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2363 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2365 * po/zh_TW.po: Update from translation team.
2367 * login/Makefile (distribute): Remove variable.
2368 * catgets/Makefile: Likewise.
2369 * mach/Makefile: Likewise.
2370 * malloc/Makefile: Likewise.
2371 * misc/Makefile: Likewise.
2372 * iconv/Makefile: Likewise.
2373 * nscd/Makefile: Likewise.
2374 * hurd/Makefile: Likewise.
2375 * manual/Makefile: Likewise.
2376 * locale/Makefile: Likewise.
2377 * intl/Makefile: Likewise.
2378 * conform/Makefile: Likewise.
2379 * nss/Makefile: Likewise.
2380 * time/Makefile: Likewise.
2381 * soft-fp/Makefile: Likewise.
2382 * dirent/Makefile: Likewise.
2383 * gmon/Makefile: Likewise.
2384 * po/Makefile: Likewise.
2385 * rt/Makefile: Likewise.
2386 * socket/Makefile: Likewise.
2387 * math/Makefile: Likewise.
2388 * signal/Makefile: Likewise.
2389 * debug/Makefile: Likewise.
2390 * elf/Makefile: Likewise.
2391 * timezone/Makefile: Likewise.
2392 * stdlib/Makefile: Likewise.
2393 * iconvdata/Makefile: Likewise.
2394 * sunrpc/Makefile: Likewise.
2395 * io/Makefile: Likewise.
2396 * argp/Makefile: Likewise.
2397 * inet/Makefile: Likewise.
2398 * hesiod/Makefile: Likewise.
2399 * grp/Makefile: Likewise.
2400 * csu/Makefile: Likewise.
2401 * wctype/Makefile: Likewise.
2402 * crypt/Makefile: Likewise.
2403 * libio/Makefile: Likewise.
2404 * string/Makefile: Likewise.
2405 * nis/Makefile: Likewise.
2406 * resolv/Makefile: Likewise.
2407 * stdio-common/Makefile: Likewise.
2408 * wcsmbs/Makefile: Likewise.
2409 * dlfcn/Makefile: Likewise.
2410 * posix/Makefile: Likewise.
2412 * timezone/Makefile: Don't install timezone files, just the programs
2415 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2417 * nss/databases.def: Add missing gshadow entry.
2419 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2421 2012-03-06 Marek Polacek <polacek@redhat.com>
2424 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2425 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2426 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2427 * stdio-common/tst-long-dbl-fphex.c: New file.
2429 2012-03-06 David S. Miller <davem@davemloft.net>
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2432 (set_obp_int): New function.
2433 (get_obp_int): New function.
2434 (__get_clockfreq_via_dev_openprom): Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2436 Avoid unused variable warnings on 'val' and use builtin_expect.
2437 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2439 (INLINE_CLONE_SYSCALL): Likewise.
2441 2012-03-05 David S. Miller <davem@davemloft.net>
2443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2445 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2453 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2456 Replace gettimeofday with __vdso_gettimeofday.
2458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2459 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2460 __vdso_clock_gettime and __vdso_getcpu.
2462 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2463 time with __vdso_time.
2465 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2467 * manual/lang.texi (size_t): Note types to which size_t may be
2468 equivalent with the GNU C Library, but do not describe when
2469 differences between them are significant.
2471 2012-03-05 Andreas Jaeger <aj@suse.de>
2473 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2479 (__ieee754_pow): Save and restore rounding mode and use
2480 round-to-nearest for main computations.
2481 * math/libm-test.inc (pow_test_tonearest): New function.
2482 (pow_test_towardzero): Likewise.
2483 (pow_test_downward): Likewise.
2484 (pow_test_upward): Likewise.
2485 (main): Call the new functions.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2490 * math/libm-test.inc (cosh_test_tonearest): New function.
2491 (cosh_test_towardzero): Likewise.
2492 (cosh_test_downward): Likewise.
2493 (cosh_test_upward): Likewise.
2494 (sinh_test_tonearest): Likewise.
2495 (sinh_test_towardzero): Likewise.
2496 (sinh_test_downward): Likewise.
2497 (sinh_test_upward): Likewise.
2498 (main): Call the new functions.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2502 2012-03-05 Tom de Vries <tom@codesourcery.com>
2504 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2505 default stack guard is set in last bytes.
2506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2508 2012-03-05 Kees Cook <keescook@chromium.org>
2510 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2513 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2514 possibly allocate from heap instead of stack.
2515 * stdio-common/bug-vfprintf-nargs.c: New file.
2516 * stdio-common/Makefile (tests): Add nargs overflow test.
2518 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2522 2012-03-03 Marek Polacek <polacek@redhat.com>
2524 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2525 * math/math_private.h: Likewise.
2526 * stdlib/tst-strtod.c: Likewise.
2527 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2528 * sysdeps/x86_64/bits/atomic.h: Likewise.
2530 2012-03-02 David S. Miller <davem@davemloft.net>
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2536 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2537 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2538 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2539 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2541 2012-03-02 Roland McGrath <roland@hack.frob.com>
2544 * manual/examples/README: New file, says the example source files
2545 can be used under GPL>=2.
2546 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2547 line containing just "*/".
2548 * manual/examples/add.c: Add copyright header (GPL>=2).
2549 * manual/examples/argp-ex1.c: Likewise.
2550 * manual/examples/argp-ex2.c: Likewise.
2551 * manual/examples/argp-ex3.c: Likewise.
2552 * manual/examples/argp-ex4.c: Likewise.
2553 * manual/examples/atexit.c: Likewise.
2554 * manual/examples/db.c: Likewise.
2555 * manual/examples/dir.c: Likewise.
2556 * manual/examples/dir2.c: Likewise.
2557 * manual/examples/execinfo.c: Likewise.
2558 * manual/examples/filecli.c: Likewise.
2559 * manual/examples/filesrv.c: Likewise.
2560 * manual/examples/fmtmsgexpl.c: Likewise.
2561 * manual/examples/genpass.c: Likewise.
2562 * manual/examples/inetcli.c: Likewise.
2563 * manual/examples/inetsrv.c: Likewise.
2564 * manual/examples/isockad.c: Likewise.
2565 * manual/examples/longopt.c: Likewise.
2566 * manual/examples/memopen.c: Likewise.
2567 * manual/examples/memstrm.c: Likewise.
2568 * manual/examples/mkfsock.c: Likewise.
2569 * manual/examples/mkisock.c: Likewise.
2570 * manual/examples/mygetpass.c: Likewise.
2571 * manual/examples/pipe.c: Likewise.
2572 * manual/examples/popen.c: Likewise.
2573 * manual/examples/rprintf.c: Likewise.
2574 * manual/examples/search.c: Likewise.
2575 * manual/examples/select.c: Likewise.
2576 * manual/examples/setjmp.c: Likewise.
2577 * manual/examples/sigh1.c: Likewise.
2578 * manual/examples/sigusr.c: Likewise.
2579 * manual/examples/stpcpy.c: Likewise.
2580 * manual/examples/strdupa.c: Likewise.
2581 * manual/examples/strftim.c: Likewise.
2582 * manual/examples/strncat.c: Likewise.
2583 * manual/examples/subopt.c: Likewise.
2584 * manual/examples/swapcontext.c: Likewise.
2585 * manual/examples/termios.c: Likewise.
2586 * manual/examples/testopt.c: Likewise.
2587 * manual/examples/testpass.c: Likewise.
2588 * manual/examples/timeval_subtract.c: Likewise.
2591 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2593 * manual/timeval_subtract.c.texi: ... here, new file.
2595 2012-03-02 David S. Miller <davem@davemloft.net>
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2599 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2602 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2603 (__sin): Save and restore rounding mode and use round-to-nearest
2604 for all computations.
2605 (__cos): Save and restore rounding mode and use round-to-nearest
2606 for all computations.
2607 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2609 (tan): Save and restore rounding mode and use round-to-nearest for
2611 * math/libm-test.inc (cos_test_tonearest): New function.
2612 (cos_test_towardzero): Likewise.
2613 (cos_test_downward): Likewise.
2614 (cos_test_upward): Likewise.
2615 (sin_test_tonearest): Likewise.
2616 (sin_test_towardzero): Likewise.
2617 (sin_test_downward): Likewise.
2618 (sin_test_upward): Likewise.
2619 (tan_test_tonearest): Likewise.
2620 (tan_test_towardzero): Likewise.
2621 (tan_test_downward): Likewise.
2622 (tan_test_upward): Likewise.
2623 (main): Call the new functions.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2629 small n, then large n, before computing and testing k+n.
2630 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2635 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2636 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2642 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2643 * math/libm-test.inc (scalbn_test): Add more tests.
2644 (scalbln_test): Likewise.
2646 * manual/filesys.texi (mode_t): Describe constraints on size and
2647 signedness, not exact equivalence to a particular type.
2649 (ino64_t): Likewise.
2651 (nlink_t): Likewise.
2652 (blkcnt_t): Likewise.
2653 (blkcnt64_t): Likewise.
2654 * manual/llio.texi (off_t): Likewise.
2657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2658 (__ieee754_exp): Save and restore rounding mode and use
2659 round-to-nearest for all computations.
2660 * math/libm-test.inc (exp_test_tonearest): New function.
2661 (exp_test_towardzero): Likewise.
2662 (exp_test_downward): Likewise.
2663 (exp_test_upward): Likewise.
2664 (main): Call the new functions.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2668 2012-03-01 Chris Demetriou <cgd@google.com>
2670 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2671 have predictable order.
2673 2012-03-01 David S. Miller <davem@davemloft.net>
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2677 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2682 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2683 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2684 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2695 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2698 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2701 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2702 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2705 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2714 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2715 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2716 * sysdeps/sparc/elf/configure: Regenerated.
2718 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2720 * configure.in (AS, LD): Require binutils 2.20 or later.
2721 * configure: Regenerated.
2722 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2723 as required minimum version.
2724 * INSTALL: Regenerated.
2728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2729 before squaring exponent.
2730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2731 bottom long double and 27 bits of top long double before squaring
2733 * math/libm-test.inc (erfc_test): Add more tests.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738 2012-03-01 Kai Tietz <ktietz@redhat.com>
2740 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2741 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2742 containing bit-fields.
2743 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2744 * soft-fp/single.h (_FP_UNION_S): Likewise.
2745 * soft-fp/double.h (_FP_UNION_D): Likewise.
2747 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2750 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2751 not include ../strcmp.S.
2752 [USE_AS_STRNCASECMP_L]: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2754 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2755 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2756 (__strncasecmp_l_ia32): Define as alias to
2757 __strncasecmp_l_nonascii.
2760 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2761 * sysdeps/i386/fpu/libm-test-ulps: Update.
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2764 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2767 2012-02-29 Jeff Law <law@redhat.com>
2769 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2772 2012-02-29 Marek Polacek <polacek@redhat.com>
2775 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2776 * elf/Makefile: Add rules to run tst-unused-dep.out.
2778 2012-02-28 David S. Miller <davem@davemloft.net>
2780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2787 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2789 * math/libm-test.inc (llround_test): Move one test from
2790 lround_test. Use TEST_f_L in moved test.
2791 (lround_test): Move misplaced test to llround_test. Add testcase
2794 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2796 * sysdeps/x86_64/fpu/e_expf.S: New file.
2797 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2799 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2802 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2803 of remain_len that may cause incomplete multi-byte character and
2805 * posix/bug-regex33.c: New file.
2806 * posix/Makefile (tests): Add bug-regex33.
2808 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2810 * manual/macros.texi: New file.
2811 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2812 * manual/libc.texinfo: Include macros.texi.
2813 * manual/creatute.texi: Likewise.
2814 * manual/install.texi: Likewise.
2815 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2816 @glibcadj{} in references to the GNU C Library.
2817 * manual/charset.texi: Likewise.
2818 * manual/conf.texi: Likewise.
2819 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2820 when not using those macros.
2821 * manual/creature.texi: Likewise.
2822 * manual/crypt.texi: Likewise.
2823 * manual/errno.texi: Likewise.
2824 * manual/filesys.texi: Likewise.
2825 * manual/header.texi: Likewise.
2826 * manual/install.texi: Likewise.
2827 * manual/intro.texi: Likewise.
2828 * manual/io.texi: Likewise.
2829 * manual/job.texi: Likewise.
2830 * manual/lang.texi: Likewise.
2831 * manual/libc.texiinfo: Likewise.
2832 * manual/llio.texi: Likewise.
2833 * manual/locale.texi: Likewise.
2834 * manual/maint.texi: Likewise.
2835 * manual/math.texi: Likewise.
2836 * manual/memory.texi: Likewise.
2837 * manual/message.texi: Likewise.
2838 * manual/nss.texi: Likewise.
2839 * manual/pattern.texi: Likewise.
2840 * manual/process.texi: Likewise.
2841 * manual/resource.texi: Likewise.
2842 * manual/search.texi: Likewise.
2843 * manual/setjmp.texi: Likewise.
2844 * manual/signal.texi: Likewise.
2845 * manual/socket.texi: Likewise.
2846 * manual/startup.texi: Likewise.
2847 * manual/stdio.texi: Likewise.
2848 * manual/string.texi: Likewise.
2849 * manual/sysinfo.texi: Likewise.
2850 * manual/syslog.texi: Likewise.
2851 * manual/terminal.texi: Likewise.
2852 * manual/time.texi: Likewise.
2853 * manual/users.texi: Likewise.
2854 * INSTALL: Regenerated.
2855 * NOTES: Regenerated.
2856 * sysdeps/gnu/errlist.c: Regenerated.
2858 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2860 * include/dirent.h: Include <dirstream.h> before
2863 2012-02-28 David S. Miller <davem@davemloft.net>
2865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2866 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2870 2012-02-27 David S. Miller <davem@davemloft.net>
2872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2875 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2878 frame pointer instead of stack pointer relative arg slot.
2879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2883 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2886 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2888 2012-02-27 David S. Miller <davem@davemloft.net>
2890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2896 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2897 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2901 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2902 later. Allow versions 5-9.
2903 * configure: Regenerated.
2904 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2905 required minimum version and 4.6 as recommended version. Do not
2906 mention bugs in GCC 2.7 and 2.8.
2907 * INSTALL: Regenerated.
2909 2012-02-27 David S. Miller <davem@davemloft.net>
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2917 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2920 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2921 manipulate bits before adding and subtracting TWO112[sx].
2922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2924 2012-02-27 Roland McGrath <roland@hack.frob.com>
2927 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2928 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2929 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2930 being in POSIX, because they are in 1003.1-2008.
2932 * rt/tst-aio.c: Include <fcntl.h>.
2933 * rt/tst-aio7.c: Likewise.
2934 * rt/tst-aio64.c: Likewise.
2936 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2938 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2940 * manual/install.texi (--with-headers): Describe headers as
2941 interface headers, not private headers.
2942 (Specific advice for GNU/Linux systems): Describe use of headers
2943 from "make headers_install", not private headers from older
2945 * INSTALL: Regenerated.
2946 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2948 * sysdeps/unix/sysv/linux/configure: Regenerated.
2950 * manual/llio.texi (fclean): Remove documentation.
2952 * manual/Makefile (libc-texi-generated): New variable. Include
2954 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2955 $(libc-texi-generated), not duplicated list of files.
2956 (version.texi, stamp-version): New rules.
2957 (realclean): Remove $(libc-texi-generated), not individual files
2958 from that list. Do not remove dir-add.texinfo.
2959 * manual/libc.texinfo: Comment out uses of edition numbers and
2960 references to printed manual. Remove last-updated dates.
2961 (EDITION): Comment out.
2963 (VERSION, UPDATED): Remove.
2964 (version.texi): Include.
2966 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2968 * sysdeps/posix/spawni.c: Include <signal.h>.
2969 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2970 * sysdeps/pthread/aio_fsync.c: Likewise.
2972 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2974 * conform/Makefile (tests): Run only when not cross-compiling and
2975 when fast-check is not defined.
2977 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2978 * conform/data/limits.h-data: Fixes for POSIX2008.
2979 * conform/run-conformtest.sh: Run all tests.
2980 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2982 * include/bits/dlfcn.h: Likewise.
2983 * include/langinfo.h: Likewise.
2984 * include/monetary.h: Likewise.
2985 * include/sys/poll.h: Likewise.
2987 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2989 * posix/spawn.h: Define __need_sigset_t.
2990 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2991 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2992 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2993 to get sigevent_t only.
2994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2998 process_vm_writev only for __USE_GNU.
2999 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3001 * conform/Makefile: For now ignore errors from run-conformtest.
3002 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3003 POSIX to avoid namespace pollution. Don't prepend headers.
3004 * conform/data/aio.h-data: Fixes for POSIX testing.
3005 * conform/data/fcntl.h-data: Likewise.
3006 * conform/data/glob.h-data: Likewise.
3007 * conform/data/grp.h-data: Likewise.
3008 * conform/data/pthread.h-data: Likewise.
3009 * conform/data/pwd.h-data: Likewise.
3010 * conform/data/signal.h-data: Likewise.
3011 * conform/data/spawn.h-data: Likewise.
3012 * conform/data/stdio.h-data: Likewise.
3013 * conform/data/stdlib.h-data: Likewise.
3014 * conform/data/stropts.h-data: Likewise.
3015 * conform/data/sys/mman.h-data: Likewise.
3016 * conform/data/sys/stat.h-data: Likewise.
3017 * conform/data/sys/types.h-data: Likewise.
3018 * conform/data/sys/wait.h-data: Likewise.
3019 * conform/data/time.h-data: Likewise.
3020 * conform/data/unistd.h-data: Likewise.
3021 * conform/data/utime.h-data: Likewise.
3023 * io/sys/stat.h: fchmod was always in POSIX.
3024 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3025 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3026 * rt/aio.h: Define __need_timespec before including <time.h>.
3027 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3028 struct. Add forward declaration of pthread_attr_t and use it in
3030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3032 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3033 always remove CLK_TCK definition.
3035 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3037 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3039 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3041 * conform/run-conformtest.sh: New file.
3042 * conform/Makefile: Run run-conformtest for tests.
3043 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3046 * conform/data/uchar.h-data: New file.
3047 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3048 * conform/data/arpa/inet.h-data: Likewise.
3049 * conform/data/assert.h-data: Likewise.
3050 * conform/data/complex.h-data: Likewise.
3051 * conform/data/cpio.h-data: Likewise.
3052 * conform/data/ctype.h-data: Likewise.
3053 * conform/data/dirent.h-data: Likewise.
3054 * conform/data/dlfcn.h-data: Likewise.
3055 * conform/data/errno.h-data: Likewise.
3056 * conform/data/fcntl.h-data: Likewise.
3057 * conform/data/float.h-data: Likewise.
3058 * conform/data/fmtmsg.h-data: Likewise.
3059 * conform/data/fnmatch.h-data: Likewise.
3060 * conform/data/ftw.h-data: Likewise.
3061 * conform/data/glob.h-data: Likewise.
3062 * conform/data/grp.h-data: Likewise.
3063 * conform/data/iconv.h-data: Likewise.
3064 * conform/data/inttypes.h-data: Likewise.
3065 * conform/data/langinfo.h-data: Likewise.
3066 * conform/data/libgen.h-data: Likewise.
3067 * conform/data/limits.h-data: Likewise.
3068 * conform/data/locale.h-data: Likewise.
3069 * conform/data/math.h-data: Likewise.
3070 * conform/data/monetary.h-data: Likewise.
3071 * conform/data/mqueue.h-data: Likewise.
3072 * conform/data/ndbm.h-data: Likewise.
3073 * conform/data/net/if.h-data: Likewise.
3074 * conform/data/netdb.h-data: Likewise.
3075 * conform/data/netinet/in.h-data: Likewise.
3076 * conform/data/nl_types.h-data: Likewise.
3077 * conform/data/poll.h-data: Likewise.
3078 * conform/data/pthread.h-data: Likewise.
3079 * conform/data/pwd.h-data: Likewise.
3080 * conform/data/regex.h-data: Likewise.
3081 * conform/data/sched.h-data: Likewise.
3082 * conform/data/search.h-data: Likewise.
3083 * conform/data/semaphore.h-data: Likewise.
3084 * conform/data/setjmp.h-data: Likewise.
3085 * conform/data/signal.h-data: Likewise.
3086 * conform/data/spawn.h-data: Likewise.
3087 * conform/data/stdarg.h-data: Likewise.
3088 * conform/data/stdio.h-data: Likewise.
3089 * conform/data/stdlib.h-data: Likewise.
3090 * conform/data/string.h-data: Likewise.
3091 * conform/data/strings.h-data: Likewise.
3092 * conform/data/stropts.h-data: Likewise.
3093 * conform/data/sys/ipc.h-data: Likewise.
3094 * conform/data/sys/mman.h-data: Likewise.
3095 * conform/data/sys/msg.h-data: Likewise.
3096 * conform/data/sys/resource.h-data: Likewise.
3097 * conform/data/sys/select.h-data: Likewise.
3098 * conform/data/sys/sem.h-data: Likewise.
3099 * conform/data/sys/shm.h-data: Likewise.
3100 * conform/data/sys/socket.h-data: Likewise.
3101 * conform/data/sys/stat.h-data: Likewise.
3102 * conform/data/sys/statvfs.h-data: Likewise.
3103 * conform/data/sys/time.h-data: Likewise.
3104 * conform/data/sys/timeb.h-data: Likewise.
3105 * conform/data/sys/times.h-data: Likewise.
3106 * conform/data/sys/types.h-data: Likewise.
3107 * conform/data/sys/uio.h-data: Likewise.
3108 * conform/data/sys/un.h-data: Likewise.
3109 * conform/data/sys/utsname.h-data: Likewise.
3110 * conform/data/sys/wait.h-data: Likewise.
3111 * conform/data/syslog.h-data: Likewise.
3112 * conform/data/tar.h-data: Likewise.
3113 * conform/data/termios.h-data: Likewise.
3114 * conform/data/utime.h-data: Likewise.
3115 * conform/data/utmpx.h-data: Likewise.
3116 * conform/data/varargs.h-data: Likewise.
3117 * conform/data/wchar.h-data: Likewise.
3118 * conform/data/wctype.h-data: Likewise.
3119 * conform/data/wordexp.h-data: Likewise.
3121 * include/stropts.h: New file.
3122 * include/uchar.h: New file.
3123 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3124 * include/assert.h: Likewise.
3125 * include/ctype.h: Likewise.
3126 * include/dirent.h: Likewise.
3127 * include/dlfcn.h: Likewise.
3128 * include/fcntl.h: Likewise.
3129 * include/fnmatch.h: Likewise.
3130 * include/glob.h: Likewise.
3131 * include/grp.h: Likewise.
3132 * include/libio.h: Likewise.
3133 * include/locale.h: Likewise.
3134 * include/math.h: Likewise.
3135 * include/net/if.h: Likewise.
3136 * include/netdb.h: Likewise.
3137 * include/netinet/in.h: Likewise.
3138 * include/pthread.h: Likewise.
3139 * include/pwd.h: Likewise.
3140 * include/regex.h: Likewise.
3141 * include/sched.h: Likewise.
3142 * include/search.h: Likewise.
3143 * include/setjmp.h: Likewise.
3144 * include/signal.h: Likewise.
3145 * include/stdio.h: Likewise.
3146 * include/stdlib.h: Likewise.
3147 * include/string.h: Likewise.
3148 * include/sys/cdefs.h: Likewise.
3149 * include/sys/mman.h: Likewise.
3150 * include/sys/msg.h: Likewise.
3151 * include/sys/resource.h: Likewise.
3152 * include/sys/select.h: Likewise.
3153 * include/sys/socket.h: Likewise.
3154 * include/sys/stat.h: Likewise.
3155 * include/sys/statvfs.h: Likewise.
3156 * include/sys/time.h: Likewise.
3157 * include/sys/times.h: Likewise.
3158 * include/sys/uio.h: Likewise.
3159 * include/sys/utsname.h: Likewise.
3160 * include/sys/wait.h: Likewise.
3161 * include/termios.h: Likewise.
3162 * include/time.h: Likewise.
3163 * include/ulimit.h: Likewise.
3164 * include/unistd.h: Likewise.
3165 * include/utime.h: Likewise.
3166 * include/wchar.h: Likewise.
3167 * include/wctype.h: Likewise.
3168 * include/wordexp.h: Likewise.
3170 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3172 * time/time.h: TIME_UTC must be a macro.
3173 Make timespec_get available for ISO C11 only as well.
3175 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3177 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3178 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3182 * configure.in: Use -o not -a in test for unsupported multi-arch.
3184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3186 * manual/texinfo.tex: Update to version 2012-01-19.16.
3188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3190 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3192 2012-02-24 Roland McGrath <roland@hack.frob.com>
3195 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3196 * manual/fdl-1.3.texi: New file.
3197 * manual/fdl-1.1.texi: File removed.
3200 * manual/libc.texinfo (FDL_VERSION): New @set.
3201 Use it for mention of FDL in cover text.
3202 (Documentation License): Use it in @include file name.
3204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3205 Roland McGrath <roland@hack.frob.com>
3208 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3209 not LONG_LONG_MAX and LONG_LONG_MIN.
3210 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3211 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3213 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3220 manipulate bits before adding and subtracting TWO23[sx].
3221 * math/libm-test.inc (nearbyint_test): Add more tests.
3223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3226 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3227 bits before adding and subtracting TWO23[sx].
3228 * math/libm-test.inc (rint_test): Add more tests.
3229 (rint_test_tonearest): Likewise.
3230 (rint_test_towardzero): Likewise.
3231 (rint_test_downward): Likewise.
3232 (rint_test_upward: Likewise.
3234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3237 * include/stdc-predef.h: New file. Extracted from features.h.
3238 * include/features.h: Include stdc-predef.h.
3239 * Makefile (headers): Add stdc-predef.h.
3240 * CONFORMANCE (Compiler limitations): Update.
3242 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3244 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3246 2012-02-21 David S. Miller <davem@davemloft.net>
3248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3251 2012-02-20 David S. Miller <davem@davemloft.net>
3253 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3254 using a normal save/restore sequence, rather than allocating a
3255 dummy stack frame just to store a frame pointer and restore.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3258 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3260 * manual/install.texi: Fix stray word in line-wrapped comment.
3262 2012-02-20 David S. Miller <davem@davemloft.net>
3264 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3265 both binutils and gcc support GOTDATA.
3267 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3268 "rd %pc" in the PIC register setup sequences.
3270 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3271 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3273 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3279 (SYSCALL_ERROR_HANDLER): Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3283 (SYSCALL_ERROR_HANDLER): Likewise.
3285 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3286 (HAVE_GCC_GOTDATA): New.
3287 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3288 relocation support in both binutils and gcc.
3289 * sysdeps/sparc/elf/configure: Regenerate.
3291 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3292 * sysdeps/sparc/sparc32/elf/configure: Delete.
3293 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3294 * sysdeps/sparc/sparc64/elf/configure: Delete.
3295 * sysdeps/sparc/elf/configure.in: New file.
3296 * sysdeps/sparc/elf/configure: Generate.
3298 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3299 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3300 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3301 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3302 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3306 * manual/install.texi: Do not mention specific glibc version
3308 * manual/libc.texinfo (VERSION, UPDATED): Update.
3309 (@copying): Use @copyright{} and range of years.
3311 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3314 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3315 [crti.S not in sysdirs] (generated): Do not append.
3316 [crti.S not in sysdirs] (omit-deps): Likewise.
3317 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3318 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3319 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3320 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3321 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3323 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3324 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3325 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3326 * csu/defs.awk: Remove file.
3327 * sysdeps/generic/initfini.c: Likewise.
3328 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3330 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3335 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3336 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3342 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3343 (__EPOLL_PACKED): Define to empty if not defined by
3345 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3349 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3351 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3352 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3354 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3356 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3360 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3362 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3369 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3374 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3376 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3377 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3379 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3381 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3384 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3386 * math/w_acos.c: Use non-signaling floating-point comparisons.
3387 * math/w_acosf.c: Likewise.
3388 * math/w_acosh.c: Likewise.
3389 * math/w_acoshf.c: Likewise.
3390 * math/w_acoshl.c: Likewise.
3391 * math/w_acosl.c: Likewise.
3392 * math/w_asin.c: Likewise.
3393 * math/w_asinf.c: Likewise.
3394 * math/w_asinl.c: Likewise.
3395 * math/w_atanh.c: Likewise.
3396 * math/w_atanhf.c: Likewise.
3397 * math/w_atanhl.c: Likewise.
3398 * math/w_exp2.c: Likewise.
3399 * math/w_exp2f.c: Likewise.
3400 * math/w_exp2l.c: Likewise.
3401 * math/w_j0.c: Likewise.
3402 * math/w_j0f.c: Likewise.
3403 * math/w_j0l.c: Likewise.
3404 * math/w_j1.c: Likewise.
3405 * math/w_j1f.c: Likewise.
3406 * math/w_j1l.c: Likewise.
3407 * math/w_jn.c: Likewise.
3408 * math/w_jnf.c: Likewise.
3409 * math/w_log.c: Likewise.
3410 * math/w_log10.c: Likewise.
3411 * math/w_log10f.c: Likewise.
3412 * math/w_log10l.c: Likewise.
3413 * math/w_log2.c: Likewise.
3414 * math/w_log2f.c: Likewise.
3415 * math/w_log2l.c: Likewise.
3416 * math/w_logf.c: Likewise.
3417 * math/w_logl.c: Likewise.
3418 * math/w_sqrt.c: Likewise.
3419 * math/w_sqrtf.c: Likewise.
3420 * math/w_sqrtl.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3427 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3430 * manual/string.texi (strnlen): Use correct parameter name in
3431 equivalent expression.
3433 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3436 * manual/users.texi (seteuid): Consistently use neweuid for
3439 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3442 * manual/nss.texi (Services in the NSS configuration): Correct
3443 list of services in example configuration file.
3445 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3448 * manual/arith.texi: Remove statements about negative zero
3449 behaving identically to zero.
3451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3454 * manual/install.texi: Do not document upgrading from libc5.
3456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3459 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3461 2012-02-18 David S. Miller <davem@davemloft.net>
3463 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3464 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3465 %o7 across the call.
3466 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3471 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3472 * sysdeps/sparc/crtn.S: Likewise.
3474 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3476 * aout/Makefile: Remove.
3478 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3481 * manual/examples/argp-ex1.c (main): Format definition in GNU
3483 * manual/examples/argp-ex2.c (main): Likewise.
3484 * manual/examples/argp-ex3.c (main): Likewise.
3485 * manual/examples/argp-ex4.c (main): Likewise.
3486 * manual/examples/longopt.c (main): Use new-style prototype
3488 * manual/examples/strncat.c (main): Specify return type and use
3489 (void) for arguments.
3490 * manual/examples/subopt.c (main): Use char **argv argument.
3492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3495 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3498 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3501 * manual/string.texi (strchr): Change when strchrnul is
3504 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3507 * manual/locale.texi (setlocale): Document LOCPATH.
3509 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3512 * manual/process.texi (execle): Move @dots{} before last argument.
3514 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3517 * manual/charset.texi (Generic Charset Conversion): Fix typo
3518 (LC_TYPE -> LC_CTYPE).
3520 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3523 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3524 (scalbnf): Likewise.
3525 (scalbnl): Likewise.
3526 (scalbln): Likewise.
3527 (scalblnf): Likewise.
3528 (scalblnl): Likewise.
3529 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3533 * manual/filesys.texi (telldir): Use braces around return type.
3534 * manual/llio.texi (mmap): Add space after comma.
3536 * manual/math.texi (jn): Use @var{} on parameter names.
3542 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3544 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3546 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3547 (sched_get_priority_max): Likewise.
3548 * manual/signal.texi (sigvec): Add space after comma.
3549 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3551 (if_indextoname): Likewise.
3552 (if_freenameindex): Likewise.
3553 (sendto): Use ',' instead of '.' in prototype.
3554 * manual/startup.texi (syscall): Use @dots{} instead of literal
3556 * manual/stdio.texi (__fpending): Separate initial words of
3557 paragraph from @deftypefun line.
3558 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3560 (vsyslog): Use @var{} on parameter names.
3561 * manual/terminal.texi (stty): Use @var{} on parameter names.
3562 * manual/users.texi (getutmp): Use @var{} on parameter names.
3563 (getutmpx): Likewise.
3565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3568 * manual/stdio.texi (fopen): Fix typos in description of
3571 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3574 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3575 get clock_id definition.
3577 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3580 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3581 (madvise): Cast every argument to void on its own.
3583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3586 * manual/startup.texi (Exit Status): Fix typo.
3588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3591 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3592 * manual/examples/argp-ex2.c: Likewise.
3593 * manual/examples/argp-ex3.c: Likewise.
3595 2012-02-16 Richard Henderson <rth@redhat.com>
3597 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3598 * sysdeps/s390/s390-32/initfini.c: Remove.
3599 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3600 * sysdeps/s390/s390-64/initfini.c: Remove.
3602 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3604 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3605 compiler output for sysdeps/generic/initfini.c.
3606 * sysdeps/sh/elf/initfini.c: Remove file.
3608 2012-02-16 David S. Miller <davem@davemloft.net>
3611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3613 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3614 * sysdeps/sparc/crti.S: New file.
3615 * sysdeps/sparc/crtn.S: New file.
3616 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3617 * sysdeps/sparc/sparc64/Makefile: Likewise.
3619 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3622 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3624 2012-02-15 Roland McGrath <roland@hack.frob.com>
3627 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3629 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3630 (write, read, close): Likewise.
3631 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3633 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3635 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3636 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3638 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3640 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3644 2012-02-14 Marek Polacek <polacek@redhat.com>
3646 * sysdeps/x86_64/crti.S: New file.
3647 * sysdeps/x86_64/crtn.S: New file.
3648 * sysdeps/x86_64/elf/initfini.c: Remove file.
3650 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3653 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3655 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3657 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3661 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3666 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3668 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3672 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3674 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3675 __feraiseexcept instead of feraiseexcept.
3677 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3678 nanosleep invocations.
3679 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3680 strings, and add error checking for a nanosleep invocations.
3682 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3684 Replace FSF snail mail address with URLs, as per GNU coding standards.
3685 Most of the snail mail addresses were wrong anyway, and omitting
3686 them makes the source code easier to maintain. Almost all of the
3687 changes are to license notices and to locale LC_IDENTIFICATION
3688 addresses, except for this one:
3689 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3690 not its snail mail address.
3692 2012-02-09 Richard Henderson <rth@twiddle.net>
3694 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3695 of kernel-features.h.
3697 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3699 2012-02-08 Marek Polacek <polacek@redhat.com>
3701 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3702 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3703 * sysdeps/gnu/_G_config.h: Likewise.
3704 * sysdeps/generic/_G_config.h: Likewise.
3706 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3708 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3712 * sysdeps/powerpc/powerpc32/crti.S: New file.
3713 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3714 * sysdeps/powerpc/powerpc64/crti.S: New file.
3715 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3717 * Makeconfig (have-initfini): Don't set.
3718 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3719 * configure.in (nopic_initfini): Don't substitute.
3720 * config.h.in (HAVE_INITFINI): Don't #undef.
3721 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3722 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3724 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3726 Support crti.S and crtn.S provided directly by architectures.
3727 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3728 [crti.S in sysdirs] (omit-deps): Likewise.
3729 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3730 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3731 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3732 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3733 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3734 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3735 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3736 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3737 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3738 compiler output for sysdeps/generic/initfini.c.
3739 * sysdeps/i386/elf/Makefile: Remove file.
3740 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3742 2012-02-07 Marek Polacek <polacek@redhat.com>
3744 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3745 * sysdeps/gnu/_G_config.h: Likewise.
3746 * sysdeps/mach/hurd/_G_config.h: Likewise.
3748 2012-02-07 Marek Polacek <polacek@redhat.com>
3750 * math/Makefile (tests): Add tst-CMPLX2.
3751 * math/tst-CMPLX2.c: New file.
3753 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3755 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3757 * math/libm-test.inc (jn_test): Add missing L suffix.
3759 2012-02-06 Marek Polacek <polacek@redhat.com>
3761 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3762 * sysdeps/i386/fpu/e_powf.S: Likewise.
3763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3765 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3766 * sysdeps/i386/fpu/e_pow.S: Likewise.
3767 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3768 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3769 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3770 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3771 * sysdeps/i386/fpu/e_log2.S: Likewise.
3772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3774 * sysdeps/i386/fpu/e_powl.S: Likewise.
3775 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3778 * sysdeps/i386/fpu/e_logl.S: Likewise.
3779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3780 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3781 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3782 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3783 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3784 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3785 * sysdeps/i386/fpu/e_log.S: Likewise.
3786 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3788 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3789 * sysdeps/i386/fpu/e_logf.S: Likewise.
3790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3792 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3794 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3795 * sysdeps/i386/fpu/e_log10.S: Likewise.
3796 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3797 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3798 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3799 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3802 * sysdeps/i386/asm-syntax.h: Likewise.
3803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3806 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3807 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3812 * sysdeps/powerpc/sysdep.h: Likewise.
3813 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3819 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3823 * sysdeps/i386/sysdep.h: Include <features.h>.
3824 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3827 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3831 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3834 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3836 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3837 (SETUP_PIC_REG): Use GET_PC_THUNK.
3838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3841 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3844 for non-PIC compilation.
3845 (SETUP_PIC_REG): Add .p2align directive.
3846 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3868 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3888 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3890 * math/tst-CMPLX.c: Include <stdio.h>.
3892 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3894 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3897 * sysdeps/sparc/bits/mathdef.h: Likewise.
3899 2012-01-31 Marek Polacek <polacek@redhat.com>
3901 * libio/libio.h: Don't define _PARAMS.
3902 * locale/programs/config.h: Don't define PARAMS.
3903 * stdlib/strtol_l.c: Likewise.
3904 (__strtol_l): Remove PARAMS from the prototype.
3906 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3908 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3909 names. Just use the correct names. Remove unnecessary wrapper
3911 * malloc/arena.c: Likewise.
3912 * malloc/hooks.c: Likewise.
3914 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3915 ARENA_TEST says not to. Simplify test for creation of a new arena.
3916 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3918 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3920 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3922 (update_get_addr): New function.
3923 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3924 GET_ADDR_MODULE parameter.
3926 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3928 * crypt/cert.c: Remove __STDC__ conditionals.
3929 * crypt/crypt-entry.c: Likewise.
3930 * crypt/crypt_util.c: Likewise.
3931 * libio/filedoalloc.c: Likewise.
3932 * libio/fileops.c: Likewise.
3933 * libio/genops.c: Likewise.
3934 * libio/iofclose.c: Likewise.
3935 * libio/iofdopen.c: Likewise.
3936 * libio/iofopen.c: Likewise.
3937 * libio/iofopen64.c: Likewise.
3938 * libio/iogetdelim.c: Likewise.
3939 * libio/iopopen.c: Likewise.
3940 * libio/obprintf.c: Likewise.
3941 * libio/oldfileops.c: Likewise.
3942 * libio/oldiofclose.c: Likewise.
3943 * libio/oldiofdopen.c: Likewise.
3944 * libio/oldiofopen.c: Likewise.
3945 * libio/oldiopopen.c: Likewise.
3946 * libio/wfiledoalloc.c: Likewise.
3947 * libio/wgenops.c: Likewise.
3948 * locale/programs/xmalloc.c: Likewise.
3949 * misc/syslog.c: Likewise.
3950 * stdio-common/xbug.c: Likewise.
3951 * string/memchr.c: Likewise.
3952 * string/memcmp.c: Likewise.
3953 * string/memrchr.c: Likewise.
3954 * string/rawmemchr.c: Likewise.
3955 * sysdeps/posix/getcwd.c: Likewise.
3956 * time/strftime_l.c: Likewise.
3958 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3960 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3961 * config.make.in (config-cflags-sse2avx): Define.
3962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3965 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3967 * scripts/config.guess: Update from upstream config git repository.
3968 * scripts/config.sub: Likewise.
3970 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3972 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3974 (R_TILEPRO_*, R_TILEGX_*): New macros.
3976 * scripts/firstversions.awk: Fix bug in version range handling.
3978 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3980 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3982 * include/sys/epoll.h: New file.
3983 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3986 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3988 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3989 Avoid unnecessary __WORDSIZE == 64 test.
3990 (fmaxf): Use VEX format if possible.
3995 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3996 * math/math_private.h: Remove libc_fegetround* and
3998 * sysdeps/i386/configure.in: Check for -msse2avx.
3999 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4000 also if SSE2AVX is defined.
4001 Remove libc_fegetround* and libc_fesetround*.
4002 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4003 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4012 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4014 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4020 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4023 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4025 * Makeconfig (libm): Define.
4026 * elf/Makefile: Add rules to build and run tst-relsort1.
4027 * elf/tst-relsort1.c: New file.
4028 * elf/tst-relsort1mod1.c: New file.
4029 * elf/tst-relsort1mod2.c: New file.
4031 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4033 * math/s_ldexp.c: Remove __STDC__ conditionals.
4034 * math/s_ldexpf.c: Likewise.
4035 * math/s_ldexpl.c: Likewise.
4036 * math/s_nextafter.c: Likewise.
4037 * math/s_nexttowardf.c: Likewise.
4038 * math/s_significand.c: Likewise.
4039 * math/s_significandf.c: Likewise.
4040 * math/s_significandl.c: Likewise.
4041 * math/w_jnl.c: Likewise.
4042 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4043 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4044 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4045 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4046 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4082 * sysdeps/ieee754/k_standard.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4162 * sysdeps/ieee754/s_matherr.c: Likewise.
4163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4168 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4170 * crypt/md5.h: Remove __STDC__ conditionals.
4171 * libio/libioP.h: Likewise.
4172 * locale/programs/config.h: Likewise.
4173 * sysdeps/generic/sysdep.h: Likewise.
4174 * sysdeps/i386/asm-syntax.h: Likewise.
4175 * sysdeps/s390/asm-syntax.h: Likewise.
4176 * sysdeps/unix/sysdep.h: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4180 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4182 * libio/libio.h: Remove __STDC__ conditionals.
4183 * malloc/obstack.h: Likewise.
4184 * math/complex.h: Likewise.
4185 * math/math.h: Likewise.
4186 * sysdeps/generic/_G_config.h: Likewise.
4187 * sysdeps/gnu/_G_config.h: Likewise.
4188 * sysdeps/mach/hurd/_G_config.h: Likewise.
4189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4191 * sysdeps/sparc/bits/mathdef.h: Likewise.
4193 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4196 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4197 Clean up HAS_* macros.
4198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4199 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4209 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4211 * elf/tst-unique3.cc (gets): Remove declaration.
4212 * elf/tst-unique3lib.cc (gets): Likewise.
4213 * elf/tst-unique3lib2.cc (gets): Likewise.
4214 * elf/tst-unique4.cc (gets): Likewise.
4216 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4218 * include/stdio.h: Add C++ protection. Add gets declarations and
4220 * debug/tst-chk1.c: Don't declare gets here.
4221 * stdio-common/tst-gets.c: Likewise.
4223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4225 * posix/glob: Remove directory.
4227 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4229 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4231 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4233 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4234 of the non-standard EPFNOSUPPORT.
4236 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4238 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4239 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4240 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4242 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4244 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4246 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4248 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4250 * nscd/grpcache.c (cache_addgr): Likewise.
4251 * nscd/hstcache.c (cache_addhst): Likewise.
4252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4253 * nscd/pwdcache.c (cache_addpw): Likewise.
4254 * nscd/servicescache.c (cache_addserv): Likewise.
4256 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4258 * malloc/malloc.c: Various cleanups.
4259 * malloc/hooks.c: Likewise.
4261 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4262 * stdlib/bug-fmtmsg1.c: New file.
4264 * stdlib/fmtmsg.c (init): Add missing unlock.
4265 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4267 2012-01-12 Marek Polacek <polacek@redhat.com>
4269 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4272 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4274 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4276 macro to ensure uniqueness of label name.
4277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4280 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4289 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4293 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4294 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4297 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4299 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4300 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4304 * math/bits/math-finite.h: Add ldexp support.
4306 2012-01-10 Marek Polacek <polacek@redhat.com>
4308 * locale/programs/localedef.h (show_archive_content): Add noreturn
4311 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4313 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4315 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4317 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4319 * io/Makefile (headers): Add bits/poll2.h.
4321 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4324 typo #include statement.
4326 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4328 * include/sys/cdefs.h: Define __attribute_alloc_size.
4329 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4330 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4331 * elf/pldd.c: Likewise.
4332 * iconv/iconv_charmap.c: Likewise.
4333 * iconv/iconvconfig.c: Likewise.
4334 * iconv/strtab.c: Likewise.
4335 * locale/programs/locale.c: Likewise.
4336 * locale/programs/localedef.h: Likewise.
4337 * locale/programs/simple-hash.c: Likewise.
4338 * nscd/nscd.h: Likewise.
4339 * nss/makedb.c: Likewise.
4340 * sysdeps/generic/ldconfig.h: Likewise.
4341 * locale/programs/localedef.c: Remove xmalloc prototype.
4342 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4344 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4349 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4351 * math/Makefile (tests): Add tst-CMPLX.
4352 * math/tst-CMPLX.c: New file.
4354 * math/complex.h (CMPLXL): Fix typo.
4356 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4357 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4359 * debug/tst-chk1.c: Add poll and ppoll tests.
4360 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4361 * include/sys/poll.h: Add hidden proto for ppoll.
4362 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4363 * sysdeps/mach/hurd/ppoll.c: Likewise.
4364 * io/ppoll.c: Likewise.
4365 * debug/poll_chk.c: New file.
4366 * debug/ppoll_chk.c: New file.
4367 * include/bits/poll2.h: New file.
4368 * io/bits/poll2.h: New file.
4371 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4373 * configure.in: static is always set to yes. Remove.
4374 * config.make.in: Don't set build-static.
4375 * Makeconfig: Remove use of build-static.
4376 * dlfcn/Makefile: Likewise.
4377 * elf/Makefile: Likewise.
4378 * math/Makefile: Likewise.
4379 * misc/Makefile: Likewise.
4380 * nptl/Makefile: Likewise.
4381 * sysdeps/mach/hurd/Makefile: Likewise.
4383 * configure.in: PWD_P is not used anymore.
4384 * config.make.in: Remove PWD_P entry.
4386 * configure.in: Remove last remnants of RANLIB.
4387 No need to check for signed size_t anymore.
4388 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4390 Remove __builtin_expect test because we require at least gcc 3.4.
4391 * aclocal.m4: Likewise.
4393 * wcsmbs/mbrtoc16.c: Implement using towc function.
4394 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4395 * wcsmbs/wcsmbsload.c: Likewise.
4396 * iconv/gconv_simple.c: Likewise.
4397 * iconv/gconv_int.h: Likewise.
4398 * iconv/gconv_builtin.h: Likewise.
4399 * iconv/iconv_prog.c: Remove CHAR16 handling.
4401 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4403 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4405 * configure.in: Remove --with-elf and --enable-bounded options.
4406 Dont set base_machine for ia64. More non-ELF conditions removed.
4407 Remove testing and setting of leading underscore information.
4408 * config.make.in (build-bounded): Set to no.
4409 * config.h.in: Remove NO_UNDERSCORES entry.
4410 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4412 * csu/start.c: Remove !NO_UNDERSCORE code.
4413 * locale/localeinfo.h: Likewise.
4414 * sysdeps/generic/machine-gmon.h: Likewise.
4415 * sysdeps/generic/sysdep.h: Likewise.
4416 * sysdeps/i386/sysdep.h: Likewise.
4417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4418 * sysdeps/mach/sysdep.h: Likewise.
4419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4421 * sysdeps/sh/sysdep.h: Likewise.
4422 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4423 * sysdeps/unix/i386/sysdep.S: Likewise.
4424 * sysdeps/unix/sparc/start.c: Likewise.
4425 * sysdeps/unix/sparc/sysdep.S: Likewise.
4426 * sysdeps/unix/sparc/sysdep.h: Likewise.
4427 * sysdeps/unix/start.c: Likewise.
4428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4429 * sysdeps/x86_64/sysdep.h: Likewise.
4431 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4434 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4436 * argp/argp-fmtstream.h: Use const instead __const.
4437 * argp/argp.h: Likewise.
4438 * assert/assert.h: Likewise.
4439 * bits/fenv.h: Likewise.
4440 * bits/sched.h: Likewise.
4441 * bits/sigset.h: Likewise.
4442 * bits/sigthread.h: Likewise.
4443 * catgets/nl_types.h: Likewise.
4444 * conform/data/pthread.h-data: Likewise.
4445 * crypt/crypt-private.h: Likewise.
4446 * crypt/crypt.h: Likewise.
4447 * crypt/crypt_util.c: Likewise.
4448 * ctype/ctype.h: Likewise.
4449 * debug/execinfo.h: Likewise.
4450 * debug/mbsnrtowcs_chk.c: Likewise.
4451 * debug/mbsrtowcs_chk.c: Likewise.
4452 * debug/wcsnrtombs_chk.c: Likewise.
4453 * debug/wcsrtombs_chk.c: Likewise.
4454 * debug/wcstombs_chk.c: Likewise.
4455 * dirent/dirent.h: Likewise.
4456 * dlfcn/dlfcn.h: Likewise.
4457 * elf/neededtest4.c: Likewise.
4458 * grp/grp.h: Likewise.
4459 * gshadow/gshadow.h: Likewise.
4460 * iconv/gconv.h: Likewise.
4461 * iconv/gconv_int.h: Likewise.
4462 * iconv/gconv_simple.c: Likewise.
4463 * iconv/iconv.h: Likewise.
4464 * iconv/loop.c: Likewise.
4465 * iconv/skeleton.c: Likewise.
4466 * include/aio.h: Likewise.
4467 * include/aliases.h: Likewise.
4468 * include/argz.h: Likewise.
4469 * include/arpa/inet.h: Likewise.
4470 * include/assert.h: Likewise.
4471 * include/dirent.h: Likewise.
4472 * include/dlfcn.h: Likewise.
4473 * include/execinfo.h: Likewise.
4474 * include/fcntl.h: Likewise.
4475 * include/fenv.h: Likewise.
4476 * include/glob.h: Likewise.
4477 * include/grp.h: Likewise.
4478 * include/libintl.h: Likewise.
4479 * include/mntent.h: Likewise.
4480 * include/netdb.h: Likewise.
4481 * include/pwd.h: Likewise.
4482 * include/rpc/netdb.h: Likewise.
4483 * include/sched.h: Likewise.
4484 * include/search.h: Likewise.
4485 * include/shadow.h: Likewise.
4486 * include/signal.h: Likewise.
4487 * include/stdio.h: Likewise.
4488 * include/stdlib.h: Likewise.
4489 * include/string.h: Likewise.
4490 * include/sys/socket.h: Likewise.
4491 * include/sys/stat.h: Likewise.
4492 * include/sys/statfs.h: Likewise.
4493 * include/sys/statvfs.h: Likewise.
4494 * include/sys/syslog.h: Likewise.
4495 * include/sys/time.h: Likewise.
4496 * include/sys/uio.h: Likewise.
4497 * include/time.h: Likewise.
4498 * include/unistd.h: Likewise.
4499 * include/utmp.h: Likewise.
4500 * include/wchar.h: Likewise.
4501 * include/wctype.h: Likewise.
4502 * inet/aliases.h: Likewise.
4503 * inet/arpa/inet.h: Likewise.
4504 * inet/netinet/ether.h: Likewise.
4505 * inet/netinet/in.h: Likewise.
4506 * intl/libintl.h: Likewise.
4507 * io/bits/fcntl2.h: Likewise.
4508 * io/fcntl.h: Likewise.
4509 * io/ftw.h: Likewise.
4510 * io/sys/poll.h: Likewise.
4511 * io/sys/stat.h: Likewise.
4512 * io/sys/statfs.h: Likewise.
4513 * io/sys/statvfs.h: Likewise.
4514 * io/utime.h: Likewise.
4515 * libio/bits/stdio.h: Likewise.
4516 * libio/bits/stdio2.h: Likewise.
4517 * libio/libio.h: Likewise.
4518 * libio/libioP.h: Likewise.
4519 * libio/stdio.h: Likewise.
4520 * locale/lc-ctype.c: Likewise.
4521 * locale/locale.h: Likewise.
4522 * login/utmp.h: Likewise.
4523 * malloc/arena.c: Likewise.
4524 * malloc/malloc.c: Likewise.
4525 * malloc/malloc.h: Likewise.
4526 * malloc/mcheck.c: Likewise.
4527 * malloc/mtrace.c: Likewise.
4528 * math/bits/mathcalls.h: Likewise.
4529 * math/fenv.h: Likewise.
4530 * math/math_private.h: Likewise.
4531 * misc/bits/error.h: Likewise.
4532 * misc/bits/syslog.h: Likewise.
4533 * misc/err.h: Likewise.
4534 * misc/error.h: Likewise.
4535 * misc/fstab.h: Likewise.
4536 * misc/mntent.h: Likewise.
4537 * misc/regexp.h: Likewise.
4538 * misc/search.h: Likewise.
4539 * misc/sgtty.h: Likewise.
4540 * misc/sys/mman.h: Likewise.
4541 * misc/sys/syslog.h: Likewise.
4542 * misc/sys/uio.h: Likewise.
4543 * misc/sys/xattr.h: Likewise.
4544 * misc/ttyent.h: Likewise.
4545 * nis/rpcsvc/ypclnt.h: Likewise.
4546 * nss/nss.h: Likewise.
4547 * posix/bits/unistd.h: Likewise.
4548 * posix/fnmatch.h: Likewise.
4549 * posix/glob.h: Likewise.
4550 * posix/sched.h: Likewise.
4551 * posix/spawn.h: Likewise.
4552 * posix/sys/wait.h: Likewise.
4553 * posix/unistd.h: Likewise.
4554 * posix/wordexp.h: Likewise.
4555 * pwd/pwd.h: Likewise.
4556 * resolv/netdb.h: Likewise.
4557 * resource/sys/resource.h: Likewise.
4558 * rt/aio.h: Likewise.
4559 * rt/bits/mqueue2.h: Likewise.
4560 * rt/mqueue.h: Likewise.
4561 * shadow/shadow.h: Likewise.
4562 * signal/signal.h: Likewise.
4563 * socket/send.c: Likewise.
4564 * socket/sendto.c: Likewise.
4565 * socket/sys/socket.h: Likewise.
4566 * stdio-common/printf.h: Likewise.
4567 * stdlib/bits/stdlib.h: Likewise.
4568 * stdlib/fmtmsg.h: Likewise.
4569 * stdlib/monetary.h: Likewise.
4570 * stdlib/stdlib.h: Likewise.
4571 * stdlib/ucontext.h: Likewise.
4572 * streams/stropts.h: Likewise.
4573 * string/argz.h: Likewise.
4574 * string/bits/string2.h: Likewise.
4575 * string/string.h: Likewise.
4576 * string/strings.h: Likewise.
4577 * sunrpc/rpc/auth.h: Likewise.
4578 * sunrpc/rpc/auth_des.h: Likewise.
4579 * sunrpc/rpc/clnt.h: Likewise.
4580 * sunrpc/rpc/netdb.h: Likewise.
4581 * sunrpc/rpc/pmap_clnt.h: Likewise.
4582 * sunrpc/rpc/xdr.h: Likewise.
4583 * sysdeps/generic/inttypes.h: Likewise.
4584 * sysdeps/generic/net/if.h: Likewise.
4585 * sysdeps/generic/sys/swap.h: Likewise.
4586 * sysdeps/gnu/net/if.h: Likewise.
4587 * sysdeps/gnu/utmpx.h: Likewise.
4588 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4589 * sysdeps/i386/i486/bits/string.h: Likewise.
4590 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4591 * sysdeps/s390/bits/string.h: Likewise.
4592 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4593 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4594 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4595 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4596 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4597 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4598 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4600 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4601 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4604 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4605 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4606 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4608 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4614 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4620 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4622 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4623 * sysvipc/sys/ipc.h: Likewise.
4624 * sysvipc/sys/msg.h: Likewise.
4625 * sysvipc/sys/sem.h: Likewise.
4626 * sysvipc/sys/shm.h: Likewise.
4627 * termios/termios.h: Likewise.
4628 * time/sys/time.h: Likewise.
4629 * time/time.h: Likewise.
4630 * wcsmbs/bits/wchar2.h: Likewise.
4631 * wcsmbs/uchar.h: Likewise.
4632 * wcsmbs/wchar.h: Likewise.
4633 * wctype/wctype.h: Likewise.
4636 * Makeconfig: Remove all but ELF support including AIX support.
4637 * Makerules: Likewise.
4638 * config.h.in: Likewise.
4639 * config.make.in: Likewise.
4640 * configure: Likewise.
4641 * configure.in: Likewise.
4642 * csu/Makefile: Likewise.
4643 * csu/version.c: Likewise.
4644 * debug/Makefile: Likewise.
4645 * dlfcn/Makefile: Likewise.
4646 * elf/Makefile: Likewise.
4647 * extra-lib.mk: Likewise.
4648 * iconv/Makefile: Likewise.
4649 * include/libc-symbols.h: Likewise.
4650 * include/shlib-compat.h: Likewise.
4651 * resolv/Makefile: Likewise.
4652 * resolv/res_libc.c: Likewise.
4653 * rt/Makefile: Likewise.
4654 * sysdeps/i386/asm-syntax.h: Likewise.
4655 * sysdeps/i386/sysdep.h: Likewise.
4656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4657 * sysdeps/mach/sysdep.h: Likewise.
4658 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4659 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4660 * sysdeps/s390/asm-syntax.h: Likewise.
4661 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4663 * sysdeps/sh/sysdep.h: Likewise.
4664 * sysdeps/unix/sparc/sysdep.h: Likewise.
4665 * sysdeps/wordsize-32/divdi3.c: Likewise.
4666 * sysdeps/x86_64/sysdep.h: Likewise.
4668 * argp/Versions: Remove _argp_unlock_xxx.
4671 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4672 * abilist/libBrokenLocale.abilist: Likewise.
4673 * abilist/libanl.abilist: Likewise.
4674 * abilist/libc.abilist: Likewise.
4675 * abilist/libcrypt.abilist: Likewise.
4676 * abilist/libdl.abilist: Likewise.
4677 * abilist/libm.abilist: Likewise.
4678 * abilist/libnsl.abilist: Likewise.
4679 * abilist/libpthread.abilist: Likewise.
4680 * abilist/libresolv.abilist: Likewise.
4681 * abilist/librt.abilist: Likewise.
4682 * abilist/libthread_db.abilist: Likewise.
4683 * abilist/libutil.abilist: Likewise.
4684 * abilist/libnss_db.abilist: New file.
4686 * scripts/abilist.awk: Add support for indirect functions.
4688 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4690 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4692 * shlib-versions: Remove entries for ports architectures.
4694 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4696 * elf/stackguard-macros.h: Remove support for IA-64.
4697 * elf/tst-auditmod1.c: Likewise.
4698 * sysdeps/generic/ldsodefs.h: Likewise.
4700 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4701 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4705 * configure.in: Remove --enable-omitfp support.
4707 * config.make.in: Likewise.
4708 * Makeconfig: Likewise.
4709 * manual/install.texi: Likewise.
4711 In case anyone cares, the IA-64 architecture could move to ports.
4712 * sysdeps/ia64/*: Removed.
4713 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4714 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4717 * configure.in: Remove entries for unsupported architectures.
4720 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4721 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4723 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4724 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4725 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4726 fall back to using wcrtomb.
4727 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4728 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4730 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4731 * wcsmbs/tst-c16c32-1.c: New file.
4733 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4736 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4738 * elf/tst-unique3.cc: Add explicit declaration of gets.
4739 * elf/tst-unique3lib.cc: Likewise.
4740 * elf/tst-unique3lib2.cc: Likewise.
4741 * elf/tst-unique4.cc: Likewise.
4743 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4745 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4748 * assert/assert.h (static_assert): Don't define for C++.
4749 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4750 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4752 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4754 * iconv/loop.c (single loop): Fix assertion in storing of
4757 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4759 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4761 * posix/getconf.c: Update copyright year.
4762 * nss/getent.c: Likewise.
4763 * nss/makedb.c: Likewise.
4764 * iconv/iconvconfig.c: Likewise.
4765 * iconv/iconv_prog.c: Likewise.
4766 * elf/ldconfig.c: Likewise.
4767 * elf/pldd.c: Likewise.
4768 * elf/sotruss.ksh: Likewise.
4769 * catgets/gencat.c: Likewise.
4770 * csu/version.c: Likewise.
4771 * elf/ldd.bash.in: Likewise.
4772 * elf/sprof.c (print_version): Likewise.
4773 * locale/programs/locale.c: Likewise.
4774 * locale/programs/localedef.c: Likewise.
4775 * login/programs/pt_chown.c: Likewise.
4776 * nscd/nscd.c (print_version): Likewise.
4777 * debug/xtrace.sh: Likewise.
4778 * malloc/memusage.sh: Likewise.
4779 * malloc/mtrace.pl: Likewise.
4780 * debug/catchsegv.sh: Likewise.
4782 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4784 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4787 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4790 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4791 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4793 * iconv/gconv_int.h: Likewise.
4794 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4795 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4796 from libc for GLIBC_2.16.
4797 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4798 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4799 * wcsmbs/uchar.h: Really define mbstate_t.
4800 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4801 * wcsmbs/c16rtomb.c: New file.
4802 * wcsmbs/mbrtoc16.c: New file.
4803 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4805 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4806 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4808 * wcsmbs/wchar.h: Add missing __restrict.
4810 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4813 * time/Makefile (routines): Add timespec_get.
4814 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4815 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4816 timespec for ISO C11.
4817 * time/timespec_get.c: New file.
4818 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4822 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4823 * stdlib/stdlib.h: Declare aligned_alloc.
4824 * Versions.def: Add GLIBC_2.16 for libc.
4825 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4828 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4831 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4835 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4838 * assert/assert.h (static_assert): Define.
4840 * version.h: Update for 2.16 development version.
4843 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4846 * version.h (RELEASE): Bump for 2.15 release.
4847 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4849 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4850 Patch by Marek Polacek <mpolacek@redhat.com>.
4852 * bits/byteswap.h: Protect long long constants with __extension__.
4853 * sysdeps/i386/bits/byteswap.h: Likewise.
4854 * sysdeps/ia64/bits/byteswap.h: Likewise.
4855 * sysdeps/s390/bits/byteswap.h: Likewise.
4856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4858 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4861 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4865 2011-12-23 Marek Polacek <polacek@redhat.com>
4867 * elf/dl-addr.c (determine_info): Add inline keyword.
4868 * elf/tst-auditmod4b.c (check_avx): Likewise.
4869 * elf/tst-auditmod6b.c (check_avx): Likewise.
4870 * elf/tst-auditmod6c.c (check_avx): Likewise.
4871 * elf/tst-auditmod7b.c (check_avx): Likewise.
4873 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4875 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4878 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4882 processing for last bytes.
4884 2011-08-06 Bruno Haible <bruno@clisp.org>
4887 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4888 U+0385, not to U+1FEE.
4891 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4892 entry for U+00A5 U+0301.
4894 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4897 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4898 buffer for the output is too small.
4900 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4905 SSE flags if possible.
4907 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4911 processing for last bytes.
4913 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4916 (syscall-list-default-options, syscall-list-default-condition)
4917 (syscall-list-includes): Define.
4918 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4919 list of ABIs and options and #if conditions for each ABI. Do not
4920 handle common syscalls between ABIs specially.
4921 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4923 (syscall-list-variants, syscall-list-32bit-options)
4924 (syscall-list-32bit-condition, syscall-list-64bit-options)
4925 (syscall-list-64bit-condition): Define.
4926 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4927 (syscall-list-variants, syscall-list-32bit-options)
4928 (syscall-list-32bit-condition, syscall-list-64bit-options)
4929 (syscall-list-64bit-condition): Define.
4930 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
4941 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4943 * locale/iso-639.def: Add brx entry.
4946 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4947 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4949 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4950 __feraiseexcept_renamed.
4952 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4955 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4956 EPOLLET with unsigned values.
4957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4960 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4961 to large cancellation.
4962 * math/s_cacoshf.c: Likewise.
4963 * math/s_cacoshl.c: Likewise.
4965 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4969 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4970 * math/s_cacoshf.c: Likewise.
4971 * math/s_cacoshl.c: Likewise.
4973 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4976 * iconv/gconv.h: Define __GCONV_SWAP.
4977 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4978 * iconvdata/utf-16.c: Likewise.
4979 * iconvdata/utf-32.c: Likewise.
4981 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4985 numerator after shifting it by one limb.
4987 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4990 under [__USE_EXTERN_INLINES].
4992 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4995 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4997 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4999 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5000 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5002 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5004 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5005 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5006 for strncasecmp/strncasecmp_l compilation.
5007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5008 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5010 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5013 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5016 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5019 * time/tzfile.c (__tzfile_read): Check values from file header.
5021 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5023 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5024 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5025 * powerpc/powerpc32/dl-start.S: Likewise.
5026 * powerpc/powerpc32/elf/start.S: Likewise.
5027 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5028 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5029 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5030 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5031 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5032 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5033 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5034 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5035 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5036 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5037 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5038 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5039 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5040 * powerpc/powerpc32/memset.S: Likewise.
5041 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5042 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5043 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5044 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5045 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5046 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5047 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5048 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5049 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5050 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5055 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057 * math/libm-test.inc: Added more nearbyint tests.
5058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5063 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5065 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5068 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5070 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5071 Add wcscpy-ssse3 wcscpy-c.
5072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5073 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5074 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5075 * sysdeps/x86_64/wcschr.S: New file.
5076 * sysdeps/x86_64/wcsrchr.S: New file.
5077 * string/test-strcmp.c: Remove checking of wcscmp function for
5079 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5080 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5081 wcsrchr-sse2 wcsrchr-c.
5082 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5083 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5084 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5085 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5086 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5087 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5088 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5089 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5091 * wcsmbc/wcschr.c (WCSCHR): New macro.
5093 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5095 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5096 * wcsmbs/test-wcsrchr.c: New file.
5097 * string/test-strrchr.c: Add wcsrchr support.
5099 * wcsmbs/test-wcscpy.c: New file.
5100 * string/test-strcpy.c: Add wcscpy support.
5103 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5108 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5111 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5113 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5116 Minor optimizations.
5118 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5119 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5120 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5122 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5124 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5125 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5126 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5127 for gcc to avoid warnings.
5128 * inet/Makefile (tests): Add tst-checks.
5129 * inet/tst-checks.c: New file.
5131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5134 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5137 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5138 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5140 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5142 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5147 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5149 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5152 conditional on GCC version.
5153 (__arch_compare_and_exchange_val_8_acq)
5154 (__arch_compare_and_exchange_val_16_acq)
5155 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5156 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5157 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5159 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/sh/backtrace.c: New file.
5163 2011-12-02 Andreas Schwab <schwab@redhat.com>
5165 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5168 2011-12-01 Andreas Schwab <schwab@redhat.com>
5170 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5171 falling back to utime.
5173 2011-11-30 Andreas Schwab <schwab@redhat.com>
5175 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5176 expectations for float.
5178 2011-11-29 Andreas Schwab <schwab@redhat.com>
5180 * locale/weight.h (findidx): Add parameter len.
5181 * locale/weightwc.h (findidx): Likewise.
5182 * posix/fnmatch_loop.c (FCT): Adjust caller.
5183 * posix/regcomp.c (build_equiv_class): Likewise.
5184 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5185 * posix/regexec.c (check_node_accept_bytes): Likewise.
5186 * string/strcoll_l.c (STRCOLL): Likewise.
5187 * string/strxfrm_l.c (STRXFRM): Likewise.
5189 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5191 * Makefile.in: Remove CVSOPT handling.
5192 * configure.in: Remove use of AC_REVISION.
5193 * iconvdata/Makefile (distribute): No need to filter out CVS.
5194 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5197 2011-11-16 Andreas Schwab <schwab@redhat.com>
5199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5200 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5201 [USE_AS_STRNCASECMP_L]: Likewise.
5202 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5203 NO_TLS_DIRECT_SEG_REFS.
5204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5205 Fix argument offsets for non-PIC.
5206 [USE_AS_STRNCASECMP_L]: Likewise.
5207 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5208 NO_TLS_DIRECT_SEG_REFS.
5210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5212 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5214 * locale/loadlocale.c (_nl_load_locale): Likewise.
5216 2011-11-15 Andreas Schwab <schwab@redhat.com>
5218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5219 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5221 (SYSCALL_GETTIME): Set errno on error.
5223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5224 count references to noai6ai_cached.
5226 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5228 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5230 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5231 FD_CLOEXEC for /proc/self/maps.
5233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5234 FD_CLOEXEC for /proc/meminfo.
5236 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5239 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5240 FD_CLOEXEC for given file.
5242 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5244 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5245 FD_CLOEXEC for /etc/hosts.
5246 (_gethtent): Likewise.
5248 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5250 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5251 cancellation and set FD_CLOEXEC for /etc/netgroup.
5253 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5254 reading /etc/publickey.
5256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5257 allow cancellation when reading /etc/group.
5259 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5261 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5263 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5264 when using data file.
5266 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5268 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5269 (write_nis_obj): Use "c" and "e" in fopen.
5271 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5273 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5275 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5277 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5279 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5282 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5284 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5286 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5288 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5289 file parsing and set FD_CLOEXEC.
5291 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5293 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5295 2011-11-14 Andreas Schwab <schwab@redhat.com>
5297 * malloc/arena.c (arena_get2): Don't call reused_arena when
5298 _int_new_arena failed.
5300 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5303 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5308 to compile strcasecmp and strncasecmp.
5309 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5310 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5314 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5317 locale-defines.sym to gen-as-const-headers.
5318 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5319 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5321 to compile strcasecmp and strncasecmp.
5322 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5323 strcasecmp_l and strncasecmp_l.
5324 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5325 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5326 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5328 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5330 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5331 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5332 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5333 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5334 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5336 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5338 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5339 result of SYSDEP_GETTIME_CPU to retval.
5340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5341 parameter list to macro. Remove trailing semicolon. Adjust users.
5343 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5346 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5348 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5351 from unused variable.
5353 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5355 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5358 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5361 * sunrpc/rpc_prot.c (rejected): Fix case value.
5363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5364 unsigned long long int to avoid warnings in shift.
5366 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5368 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5375 * nis/nis_table.c (nis_list): Use variable of correct type for
5376 result of __follow_path call.
5378 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5380 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5381 of math functions ceil, trunc, floor, round, and sqrt, when
5382 avaliable on the platform.
5383 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5389 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5391 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5394 2011-11-11 Roland McGrath <roland@hack.frob.com>
5396 * include/unistd.h: Fix __readlink return type.
5397 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5399 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5401 * stdlib/ucontext.h: Undo last change for makecontext.
5403 2011-11-11 Andreas Schwab <schwab@redhat.com>
5405 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5407 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5408 * setjmp/setjmp.h: Mark functions as non-leaf.
5409 * setjmp/bits/setjmp2.h: Likewise.
5410 * stdlib/ucontext.h: Likewise.
5412 2011-11-10 Andreas Schwab <schwab@redhat.com>
5414 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5415 (reused_arena): Don't check arena limit.
5416 (arena_get2): Atomically check arena limit.
5418 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5420 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5421 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5426 2011-11-07 Andreas Schwab <schwab@redhat.com>
5428 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5429 handler when locking.
5431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5432 Fix size of allocated buffer.
5434 2011-11-04 Andreas Schwab <schwab@redhat.com>
5437 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5438 declarations for long double functions.
5439 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5441 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5443 2011-11-03 Andreas Schwab <schwab@redhat.com>
5445 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5448 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5451 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5453 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5455 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5457 * include/alloca.h (stackinfo_alloca_round): Define.
5458 (extend_alloca): Use it.
5459 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5460 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5463 * scripts/check-local-headers.sh: Ignore libaudit.h.
5465 * nscd/Makefile (extra-objs): Make recursively expanded.
5467 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5469 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5472 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5473 * posix/tst-rfc3484-2.c: Likewise.
5474 * posix/tst-rfc3484-3.c: Likewise.
5476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5478 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5480 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5481 process_vm_writev from libc using GLIBC_2.15 version.
5483 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5485 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5487 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5490 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5493 * nss/getent.c (initgroups_keys): Show error message in case no group
5496 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5497 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5498 __bump_nl_timestamp.
5499 * nscd/connections (nscd_init): When host database is served open
5500 netlink socket and request notification about configuration changes.
5501 (main_loop_poll): Track netlink file descriptor and bump timestamp
5502 in case data becomes available.
5503 (main_loop_epoll): Likewise.
5504 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5505 (database_pers_head): Add extra_data fileds.
5506 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5508 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5511 in6ai data, call __free_in6ai.
5512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5514 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5515 interface information. Reuse previous data if netlink timestamp
5517 (__bump_nl_timestamp): New function.
5518 (__free_in6ai): New function.
5520 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5523 close_not_cancel_no_status here.
5524 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5529 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5532 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5533 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5534 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5536 2011-07-03 Andreas Jaeger <aj@suse.de>
5539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5540 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5541 * math/libm-test.inc (sin_test): Add test case.
5543 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5546 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5549 * elf/chroot_canon.c (chroot_canon): Cleanups.
5551 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5554 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5557 * string/test-strchr.c: Make usable for strchrnul testing.
5558 * string/test-strchrnul.c: New file.
5559 * string/Makefile (strop-tests): Add strchrnul.
5561 * po/it.po: Update from translation team.
5562 * po/es.po: Likewise.
5564 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5566 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5567 the three constants needed as parameters. Drop the others.
5568 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5569 __m128i_strloadu_tolower.
5570 Create and initialize variable zero and use it in all the places
5571 where _mm_setzero_si128 was used.
5573 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5574 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5575 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5579 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5580 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5581 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5583 __mpranred, __mptan.
5584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5594 2011-10-28 Andreas Schwab <schwab@redhat.com>
5596 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5598 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5601 wide char related routines to wcsmbs subdir.
5603 2011-10-27 Andreas Schwab <schwab@redhat.com>
5606 * misc/sys/cdefs.h (__THROWNL): Define.
5607 * posix/unistd.h: Use __THREADNL instead of __THREAD
5608 for memory synchronization functions.
5610 2011-10-26 Roland McGrath <roland@hack.frob.com>
5613 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5615 * manual/stdio.texi (Obstack Streams): Node removed.
5617 2011-10-26 Andreas Schwab <schwab@redhat.com>
5619 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5623 * math/math_private.h (math_force_eval): Allow non-addressable
5625 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5627 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5648 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5649 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5650 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5652 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5654 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5657 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5661 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5662 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5665 place. Use VEX encoding when compiling for AVX.
5667 2011-10-25 Andreas Schwab <schwab@redhat.com>
5669 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5670 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5672 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5676 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5677 useless if() expression.
5678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5698 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5700 2011-10-25 Andreas Schwab <schwab@redhat.com>
5702 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5706 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5708 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5709 .text section. Avoid duplicate constants.
5710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5739 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5756 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5758 * sysdeps/x86_64/dla.h: Move to ...
5759 * sysdeps/x86_64/fpu/dla.h: ...here.
5760 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5761 situations. Use __builtin_fma only for gcc 4.6 and up.
5763 * config.make.in: Add have-mfma4 entry.
5764 * configure.in: Substitute libc_cv_cc_fma4.
5765 * math/Makefile (dbl-only-routines): Add sincostab.
5766 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5767 Use __sincostab not sincos.
5768 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5775 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5776 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5777 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5778 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5781 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5783 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5784 define aliases when function name is a macro.
5785 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5786 sysdeps/ieee754/dbl-64/sincos.tbl.
5787 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5788 fma4-enabled routines.
5789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5799 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5804 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5805 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5809 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5820 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5831 2011-10-24 Andreas Schwab <schwab@redhat.com>
5833 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5839 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5843 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5844 Remove unused variable magic_bits.
5845 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5847 * string/strnlen.c: Define and use STRNLEN macro.
5848 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5849 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5851 * wcsmbs/wcslen.c: Define and use WCSLEN.
5852 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5853 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5854 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5855 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5856 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5857 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5860 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5863 strnlen-sse2-no-bsf.
5864 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5867 Add strnlen support.
5868 (USE_AS_STRNLEN): New macro.
5869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5871 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5872 * sysdeps/x86_64/wcslen.S: New file.
5874 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5877 XMM-moves are used for copying on small sizes.
5879 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5881 * wcsmbs/Makefile (strop-tests): Add wcschr.
5882 * wcsmbs/test-wcschr.c: New file.
5883 * string/test-strchr.c: Update.
5887 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5889 * wcsmbs/Makefile (strop-tests): Add wcslen.
5890 * wcsmbs/test-wcslen.c: New file.
5891 * string/test-strlen.c: Update.
5895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5897 * po/it.po: Update from translation team.
5899 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5901 * sysdeps/x86_64/wcscmp.S: Update.
5902 Fix wrong comparison semantics.
5903 wcscmp shall use signed comparison not unsigned.
5904 Don't use substraction to avoid overflow bug.
5905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5906 * wcsmbc/wcscmp.c: Likewise.
5907 * string/test-strcmp.c: Likewise.
5908 Add new tests to check cases with negative values.
5910 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5912 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5913 * sysdeps/x86_64/dla.h: ...here. New file.
5914 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5924 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5927 __ynl_finite aliases.
5929 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5933 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5935 [DLA_FMA] (EMULV): Use DLA_FMA.
5936 [DLA_FMA] (MUL12): Use EMULV.
5937 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5938 that are not needed.
5939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5947 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5949 * math/s_nan.c: Undef __nan.
5950 * math/s_nanf.c: Undef __nanf.
5951 * math/s_nanl.c: Undef __nanl.
5952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5955 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5957 * math/s_catan.c: Add branch predictions.
5958 * math/s_catanf.c: Likewise.
5959 * math/s_catanh.c: Likewise.
5960 * math/s_catanhf.c: Likewise.
5961 * math/s_catanhl.c: Likewise.
5962 * math/s_catanl.c: Likewise.
5963 * math/s_cexp.c: Likewise.
5964 * math/s_cexpf.c: Likewise.
5965 * math/s_cexpl.c: Likewise.
5966 * math/s_clog.c: Likewise.
5967 * math/s_clog10.c: Likewise.
5968 * math/s_clog10f.c: Likewise.
5969 * math/s_clog10l.c: Likewise.
5970 * math/s_clogf.c: Likewise.
5971 * math/s_clogl.c: Likewise.
5972 * math/s_csqrt.c: Likewise.
5973 * math/s_csqrtf.c: Likewise.
5974 * math/s_csqrtl.c: Likewise.
5975 * math/s_ctanf.c: Likewise.
5976 * math/s_ctanh.c: Likewise.
5977 * math/s_ctanhf.c: Likewise.
5978 * math/s_ctanhl.c: Likewise.
5979 * math/s_ctanl.c: Likewise.
5981 * math/math_private.h: Define __nan, __nanf, __nanl.
5982 * math/s_cacosh.c: Include <math_private.h>.
5983 * math/s_cacoshl.c: Likewise.
5984 * math/s_casinh.c: Likewise.
5985 * math/s_casinhf.c: Likewise.
5986 * math/s_casinhl.c: Likewise.
5987 * math/s_ccos.c: Rely entire on ccosh.
5988 * math/s_ccosf.c: Rely entire on ccoshf.
5989 * math/s_ccosl.c: Rely entirely on ccoshl.
5990 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5991 Remove tests for FE_INVALID.
5992 * math/s_ccoshf.c: Likewise.
5993 * math/s_ccoshl.c: Likewise.
5994 * math/s_csin.c: Likewise.
5995 * math/s_csinf.c: Likewise.
5996 * math/s_csinh.c Likewise.
5997 * math/s_csinhf.c: Likewise.
5998 * math/s_csinhl.c: Likewise.
5999 * math/s_csinl.c: Likewise.
6000 * math/s_ctan.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6002 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6005 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6008 compilation problems.
6010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6013 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6015 * sysdeps/i386/configure.in: Test for -mfma4 option.
6016 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6017 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6018 COMMON_CPUID_INDEX_80000001.
6019 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6020 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6021 use it if FMA3 is not supported.
6022 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6024 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6027 2011-10-20 Andreas Schwab <schwab@redhat.com>
6030 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6031 it would create a cycle with a link time dependency.
6033 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6035 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6037 * string/Makefile (strop-tests): Add rawmemchr.
6038 * string/test-rawmemchr.c: New file.
6040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6042 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6043 when compiling str{,n}casecmp and when AVX is available. Hook up
6044 new optimized code in initializers.
6046 2011-10-19 Andreas Schwab <schwab@redhat.com>
6048 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6049 __feraiseexcept instead of feraiseexcept.
6051 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6053 * math/math_private.h: Define defaults for libc_fetestexcept and
6055 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6058 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6060 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6061 libc_fetestexcept and libc_feupdateenv.
6063 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6064 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6065 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6066 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6067 libc_feholdexcept_setround.
6069 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6070 Add s_nearbyint-c and s_nearbyintf-c.
6071 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6078 * math/math_private.h: Define defaults for libc_fegetround,
6079 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6080 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6081 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6083 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6086 Remove comments and hacks for old compiler versions.
6087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6088 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6091 2011-10-18 Andreas Schwab <schwab@redhat.com>
6093 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6094 (__feraiseexcept_renamed): Add __NTH.
6095 (feraiseexcept): Add __NTH. Rename local variables to fix
6096 namespace violations.
6098 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6100 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6104 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6105 recently added interfaces.
6106 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6108 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6109 about macro parameter expansion.
6111 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6112 __NO_MATH_INLINES is defined. Cleanups.
6114 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6115 and __floorf is target has SSE4.1.
6116 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6121 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6125 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6127 2011-10-17 Andreas Schwab <schwab@redhat.com>
6129 * misc/sys/cdefs.h: Fix last change.
6131 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6134 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6136 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6138 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6147 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6148 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6149 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6151 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6153 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6155 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6156 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6157 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6158 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6162 ceil, ceilf, floor, floorf.
6164 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6165 Perform IRELATIVE relocations last.
6167 * elf/do-rel.h: Add another parameter nrelative, replacing the
6168 local variable with the same name. Change name of the function
6169 to end in Rel or Rela (uppercase).
6170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6171 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6172 elf_dynamic_do_##reloc function.
6174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6176 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6177 is sufficient, at least on modern CPUs.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6181 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6184 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6186 * math/bits/math-finite.h: Add entries for exp.
6187 * math/e_expl.c: Add __*_finite alias.
6188 * sysdeps/i386/fpu/e_exp.S: Likewise.
6189 * sysdeps/i386/fpu/e_expf.S: Likewise.
6190 * sysdeps/i386/fpu/e_expl.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6199 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6200 is sufficient, at least on modern CPUs.
6202 * ctype/ctype-info.c (__ctype_init): Define.
6203 * include/ctype.h (__ctype_init): Declare.
6204 (__ctype_b_loc): The variable is always initialized.
6205 (__ctype_toupper_loc): Likewise.
6206 (__ctype_tolower_loc): Likewise.
6207 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6208 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6210 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6212 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6214 * configure.in: Also look in $cxxmachine/include for C++ system
6217 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6219 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6220 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6221 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6222 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6224 (USE_AS_WMEMCMP): New macro.
6226 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6227 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6228 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6229 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6231 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6232 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6234 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6235 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6236 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6237 (USE_AS_WMEMCMP): New macro.
6238 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6239 * sysdeps/string/test-memcmp.c: Update.
6242 * wcsmbs/wmemcmp.c: Update.
6243 (WMEMCMP): New macro.
6246 2011-10-12 Andreas Jaeger <aj@suse.de>
6249 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6251 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6253 * libio/iofwide.c (do_length): Avoid warning.
6255 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6257 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6259 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6261 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6262 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6263 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6264 * sysdeps/i386/i686/fpu/e_log.S: New file.
6265 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6266 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6268 * ctype/ctype.h: Add support for inlined isXXX functions when
6271 2011-10-14 Andreas Schwab <schwab@redhat.com>
6273 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6277 2011-10-13 Roland McGrath <roland@hack.frob.com>
6280 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6282 2011-10-13 Andreas Schwab <schwab@redhat.com>
6284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6285 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6288 * sysdeps/x86_64/memrchr.S: Check for zero size.
6290 * string/stratcliff.c: Add memrchr tests.
6292 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6295 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6296 rawmemchr-sse2 rawmemchr-sse2-bsf.
6297 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6300 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6301 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6302 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6303 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6304 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6307 * string/memrchr.c (MEMRCHR): New macro.
6309 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6311 Add integration with gcc's -ffinite-math-only and optimize wrapper
6313 * Versions.def: Define GLIBC_2.15 version for libm.
6314 * math/Makefile (headers): Add bits/math-finite.h.
6315 * math/bits/math-finite.h: New file.
6316 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6317 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6318 * math/e_acoshl.c: Add __*_finite alias.
6319 * math/e_acosl.c: Likewise.
6320 * math/e_asinl.c: Likewise.
6321 * math/e_atan2l.c: Likewise.
6322 * math/e_atanhl.c: Likewise.
6323 * math/e_coshl.c: Likewise.
6324 * math/e_exp10.c: Likewise.
6325 * math/e_exp10f.c: Likewise.
6326 * math/e_exp10l.c: Likewise.
6327 * math/e_exp2l.c: Likewise.
6328 * math/e_fmodl.c: Likewise.
6329 * math/e_gammal_r.c: Likewise.
6330 * math/e_hypotl.c: Likewise.
6331 * math/e_j0l.c: Likewise.
6332 * math/e_j1l.c: Likewise.
6333 * math/e_jnl.c: Likewise.
6334 * math/e_lgammal_r.c: Likewise.
6335 * math/e_log10l.c: Likewise.
6336 * math/e_log2l.c: Likewise.
6337 * math/e_logl.c: Likewise.
6338 * math/e_powl.c: Likewise.
6339 * math/e_sinhl.c: Likewise.
6340 * math/e_sqrtl.c: Likewise.
6341 * math/e_scalb.c: Completely rewritten and optimized.
6342 * math/e_scalbf.c: Likewise.
6343 * math/e_scalbl.c: Likewise.
6344 * math/w_acos.c: Likewise.
6345 * math/w_acosf.c: Likewise.
6346 * math/w_acosl.c: Likewise.
6347 * math/w_acosh.c: Likewise.
6348 * math/w_acoshf.c: Likewise.
6349 * math/w_acoshl.c: Likewise.
6350 * math/w_asin.c: Likewise.
6351 * math/w_asinf.c: Likewise.
6352 * math/w_asinl.c: Likewise.
6353 * math/w_atan2.c: Likewise.
6354 * math/w_atan2f.c: Likewise.
6355 * math/w_atan2l.c: Likewise.
6356 * math/w_atanh.c: Likewise.
6357 * math/w_atanhf.c: Likewise.
6358 * math/w_atanhl.c: Likewise.
6359 * math/w_exp10.c: Likewise.
6360 * math/w_exp10f.c: Likewise.
6361 * math/w_exp10l.c: Likewise.
6362 * math/w_fmod.c: Likewise.
6363 * math/w_fmodf.c: Likewise.
6364 * math/w_fmodl.c: Likewise.
6365 * math/w_j0.c: Likewise.
6366 * math/w_j0f.c: Likewise.
6367 * math/w_j0l.c: Likewise.
6368 * math/w_j1.c: Likewise.
6369 * math/w_j1f.c: Likewise.
6370 * math/w_j1l.c: Likewise.
6371 * math/w_jn.c: Likewise.
6372 * math/w_jnf.c: Likewise.
6373 * math/w_log.c: Likewise.
6374 * math/w_logf.c: Likewise.
6375 * math/w_logl.c: Likewise.
6376 * math/w_log10.c: Likewise.
6377 * math/w_log10f.c: Likewise.
6378 * math/w_log10l.c: Likewise.
6379 * math/w_log2.c: Likewise.
6380 * math/w_log2f.c: Likewise.
6381 * math/w_log2l.c: Likewise.
6382 * math/w_pow.c: Likewise.
6383 * math/w_powf.c: Likewise.
6384 * math/w_powl.c: Likewise.
6385 * math/w_remainder.c: Likewise.
6386 * math/w_remainderf.c: Likewise.
6387 * math/w_remainderl.c: Likewise.
6388 * math/w_scalb.c: Likewise.
6389 * math/w_scalbf.c: Likewise.
6390 * math/w_scalbl.c: Likewise.
6391 * math/w_sqrt.c: Likewise.
6392 * math/w_sqrtf.c: Likewise.
6393 * math/w_sqrtl.c: Likewise.
6394 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6395 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6397 * math/math_private.h: Declare __kernel_standard_f.
6398 * math/w_cosh.c: Remove cruft and optimize a bit.
6399 * math/w_coshf.c: Likewise.
6400 * math/w_coshl.c: Likewise.
6401 * math/w_exp2.c: Likewise.
6402 * math/w_exp2f.c: Likewise.
6403 * math/w_exp2l.c: Likewise.
6404 * math/w_hypot.c: Likewise.
6405 * math/w_hypotf.c: Likewise.
6406 * math/w_hypotl.c: Likewise.
6407 * math/w_lgamma.c: Likewise.
6408 * math/w_lgamma_r.c: Likewise.
6409 * math/w_lgammaf.c: Likewise.
6410 * math/w_lgammaf_r.c: Likewise.
6411 * math/w_lgammal.c: Likewise.
6412 * math/w_lgammal_r.c: Likewise.
6413 * math/w_sinh.c: Likewise.
6414 * math/w_sinhf.c: Likewise.
6415 * math/w_sinhl.c: Likewise.
6416 * math/w_tgamma.c: Likewise.
6417 * math/w_tgammaf.c: Likewise.
6418 * math/w_tgammal.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6421 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6422 Minor optimizations. Pretty printing. Remove cruft.
6423 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6427 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6428 * sysdeps/i386/fpu/e_asin.S: Likewise.
6429 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6430 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6431 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6432 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6436 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6437 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6438 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6439 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6440 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6441 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6442 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6443 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6444 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6445 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6446 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6447 * sysdeps/i386/fpu/e_log.S: Likewise.
6448 * sysdeps/i386/fpu/e_log10.S: Likewise.
6449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6451 * sysdeps/i386/fpu/e_log2.S: Likewise.
6452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6454 * sysdeps/i386/fpu/e_logf.S: Likewise.
6455 * sysdeps/i386/fpu/e_logl.S: Likewise.
6456 * sysdeps/i386/fpu/e_pow.S: Likewise.
6457 * sysdeps/i386/fpu/e_powf.S: Likewise.
6458 * sysdeps/i386/fpu/e_powl.S: Likewise.
6459 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6460 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6461 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6465 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6466 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6467 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6565 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6566 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6567 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6568 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6569 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6570 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6571 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6576 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6578 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6579 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6580 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6581 (__isnanf): Likewise.
6582 (__isinf_ns): Likewise.
6583 (__isinf_nsf): Likewise.
6584 (__finite): Likewise.
6585 (__finitef): Likewise.
6586 (__ieee754_sqrt): Define as macro.
6587 (__ieee754_sqrtf): Define as macro.
6588 (__ieee754_sqrtl): Define as macro.
6589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6591 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6592 __FINITE_MATH_ONLY__ consistent.
6593 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6595 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6597 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6602 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6604 * po/ja.po: Update from translation team.
6606 2011-10-08 Roland McGrath <roland@hack.frob.com>
6608 * locale/programs/locarchive.c (prepare_address_space): New function.
6609 (create_archive, enlarge_archive, open_archive): Use it.
6611 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6612 inside [SHARED], where it is used.
6614 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6616 * nss/getent.c (netgroup_keys): Remove unused variable.
6617 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6619 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6621 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6626 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6627 * math/Makefile (libm-calls): Add s_isinf_ns.
6628 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6629 * math/multc3.c: Likewise.
6630 * math/s_casin.c: Likewise.
6631 * math/s_casinf.c: Likewise.
6632 * math/s_casinl.c: Likewise.
6633 * math/s_ccos.c: Likewise.
6634 * math/s_ccosf.c: Likewise.
6635 * math/s_ccosl.c: Likewise.
6636 * math/s_ctan.c: Likewise.
6637 * math/s_ctanf.c: Likewise.
6638 * math/s_ctanh.c: Likewise.
6639 * math/s_ctanhf.c: Likewise.
6640 * math/s_ctanhl.c: Likewise.
6641 * math/s_ctanl.c: Likewise.
6642 * math/w_fmod.c: Likewise.
6643 * math/w_fmodf.c: Likewise.
6644 * math/w_fmodl.c: Likewise.
6645 * math/w_remainder.c: Likewise.
6646 * math/w_remainderf.c: Likewise.
6647 * math/w_remainderl.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6649 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6652 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6653 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6654 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6655 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6657 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6659 * stdio-common/printf_fphex.c: Likewise.
6660 * stdio-common/printf_size.c: Likewise.
6662 * math/e_exp10.c: Include math_private.h using <...> not "...".
6663 * math/e_exp10f.c: Likewise.
6664 * math/e_exp10l.c: Likewise.
6665 * math/e_exp2l.c: Likewise.
6666 * math/e_j0l.c: Likewise.
6667 * math/e_j1l.c: Likewise.
6668 * math/e_jnl.c: Likewise.
6669 * math/e_lgammal_r.c: Likewise.
6670 * math/e_rem_pio2l.c: Likewise.
6671 * math/e_scalb.c: Likewise.
6672 * math/e_scalbf.c: Likewise.
6673 * math/e_scalbl.c: Likewise.
6674 * math/k_cosl.c: Likewise.
6675 * math/k_sinl.c: Likewise.
6676 * math/k_tanl.c: Likewise.
6677 * math/s_cacoshf.c: Likewise.
6678 * math/s_catan.c: Likewise.
6679 * math/s_catanf.c: Likewise.
6680 * math/s_catanh.c: Likewise.
6681 * math/s_catanhf.c: Likewise.
6682 * math/s_catanhl.c: Likewise.
6683 * math/s_catanl.c: Likewise.
6684 * math/s_ccosh.c: Likewise.
6685 * math/s_ccoshf.c: Likewise.
6686 * math/s_ccoshl.c: Likewise.
6687 * math/s_cexp.c: Likewise.
6688 * math/s_cexpf.c: Likewise.
6689 * math/s_cexpl.c: Likewise.
6690 * math/s_clog.c: Likewise.
6691 * math/s_clog10.c: Likewise.
6692 * math/s_clog10f.c: Likewise.
6693 * math/s_clog10l.c: Likewise.
6694 * math/s_clogf.c: Likewise.
6695 * math/s_clogl.c: Likewise.
6696 * math/s_csin.c: Likewise.
6697 * math/s_csinf.c: Likewise.
6698 * math/s_csinh.c: Likewise.
6699 * math/s_csinhf.c: Likewise.
6700 * math/s_csinhl.c: Likewise.
6701 * math/s_csinl.c: Likewise.
6702 * math/s_csqrt.c: Likewise.
6703 * math/s_csqrtf.c: Likewise.
6704 * math/s_csqrtl.c: Likewise.
6705 * math/s_ctan.c: Likewise.
6706 * math/s_ctanf.c: Likewise.
6707 * math/s_ctanh.c: Likewise.
6708 * math/s_ctanhf.c: Likewise.
6709 * math/s_ctanhl.c: Likewise.
6710 * math/s_ctanl.c: Likewise.
6711 * math/s_ldexp.c: Likewise.
6712 * math/s_ldexpf.c: Likewise.
6713 * math/s_ldexpl.c: Likewise.
6714 * math/s_significand.c: Likewise.
6715 * math/s_significandf.c: Likewise.
6716 * math/s_significandl.c: Likewise.
6717 * math/w_acos.c: Likewise.
6718 * math/w_acosf.c: Likewise.
6719 * math/w_acosh.c: Likewise.
6720 * math/w_acoshf.c: Likewise.
6721 * math/w_acoshl.c: Likewise.
6722 * math/w_acosl.c: Likewise.
6723 * math/w_asin.c: Likewise.
6724 * math/w_asinf.c: Likewise.
6725 * math/w_asinl.c: Likewise.
6726 * math/w_atan2.c: Likewise.
6727 * math/w_atan2f.c: Likewise.
6728 * math/w_atan2l.c: Likewise.
6729 * math/w_atanh.c: Likewise.
6730 * math/w_atanhf.c: Likewise.
6731 * math/w_atanhl.c: Likewise.
6732 * math/w_cosh.c: Likewise.
6733 * math/w_coshf.c: Likewise.
6734 * math/w_coshl.c: Likewise.
6735 * math/w_dremf.c: Likewise.
6736 * math/w_exp10.c: Likewise.
6737 * math/w_exp10f.c: Likewise.
6738 * math/w_exp10l.c: Likewise.
6739 * math/w_exp2.c: Likewise.
6740 * math/w_exp2f.c: Likewise.
6741 * math/w_fmod.c: Likewise.
6742 * math/w_fmodf.c: Likewise.
6743 * math/w_fmodl.c: Likewise.
6744 * math/w_hypot.c: Likewise.
6745 * math/w_hypotf.c: Likewise.
6746 * math/w_hypotl.c: Likewise.
6747 * math/w_j0.c: Likewise.
6748 * math/w_j0f.c: Likewise.
6749 * math/w_j0l.c: Likewise.
6750 * math/w_j1.c: Likewise.
6751 * math/w_j1f.c: Likewise.
6752 * math/w_j1l.c: Likewise.
6753 * math/w_jn.c: Likewise.
6754 * math/w_jnf.c: Likewise.
6755 * math/w_jnl.c: Likewise.
6756 * math/w_lgamma.c: Likewise.
6757 * math/w_lgamma_r.c: Likewise.
6758 * math/w_lgammaf.c: Likewise.
6759 * math/w_lgammaf_r.c: Likewise.
6760 * math/w_lgammal.c: Likewise.
6761 * math/w_lgammal_r.c: Likewise.
6762 * math/w_log.c: Likewise.
6763 * math/w_log10.c: Likewise.
6764 * math/w_log10f.c: Likewise.
6765 * math/w_log10l.c: Likewise.
6766 * math/w_log2.c: Likewise.
6767 * math/w_log2f.c: Likewise.
6768 * math/w_log2l.c: Likewise.
6769 * math/w_logf.c: Likewise.
6770 * math/w_logl.c: Likewise.
6771 * math/w_pow.c: Likewise.
6772 * math/w_powf.c: Likewise.
6773 * math/w_powl.c: Likewise.
6774 * math/w_remainder.c: Likewise.
6775 * math/w_remainderf.c: Likewise.
6776 * math/w_remainderl.c: Likewise.
6777 * math/w_scalb.c: Likewise.
6778 * math/w_scalbf.c: Likewise.
6779 * math/w_scalbl.c: Likewise.
6780 * math/w_sinh.c: Likewise.
6781 * math/w_sinhf.c: Likewise.
6782 * math/w_sinhl.c: Likewise.
6783 * math/w_sqrt.c: Likewise.
6784 * math/w_sqrtf.c: Likewise.
6785 * math/w_sqrtl.c: Likewise.
6786 * math/w_tgamma.c: Likewise.
6787 * math/w_tgammaf.c: Likewise.
6788 * math/w_tgammal.c: Likewise.
6790 * po/ja.po: Update from translation team.
6792 2011-09-29 Andreas Jaeger <aj@suse.de>
6795 * sunrpc/netname.c (netname2host): Fix logic.
6799 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6801 * math/w_remainder.c (__remainder): Likewise.
6802 * math/w_remainderf.c (__remainderf): Likewise.
6803 * math/libm-test.inc (remainder_test): Add test cases.
6805 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6807 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6810 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6812 * string/test-memcmp.c: Avoid unncessary #defines.
6813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6815 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6817 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6818 Use new sse2 version for core i3 - i7 as it's faster
6820 (bit_Prefer_PMINUB_for_stringop): New.
6821 * sysdeps/x86_64/rawmemchr.S: Update.
6822 Replace with faster SSE2 version.
6823 * sysdeps/x86_64/memrchr.S: New file.
6824 * sysdeps/x86_64/memchr.S: Update.
6825 Replace with faster SSE2 version.
6827 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6829 * elf/dl-load.c (lose): Add cast to avoid warning.
6831 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6833 * po/ca.po: Update from translation team.
6835 * inet/getnetgrent_r.c: Hook up nscd.
6836 * nscd/Makefile (routines): Add nscd_netgroup.
6837 (nscd-modules): Add netgroupcache.
6838 (CFLAGS-netgroupcache.c): Define.
6839 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6840 (cache_search): Add const to second parameter.
6841 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6843 (dbs): Add netgrdb entry.
6844 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6845 (verify_persistent_db): Handle netgrdb.
6846 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6847 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6849 (netgroup_response_header): Define.
6850 (innetgroup_response_header): Define.
6851 (datahead): Add netgroup_response_header and innetgroup_response_header
6853 * nscd/nscd.conf: Add entries for netgroup cache.
6854 * nscd/nscd.h (dbtype): Add netgrdb.
6855 (_PATH_NSCD_NETGROUP_DB): Define.
6856 (netgroup_iov_disabled): Declare.
6857 (xmalloc, xcalloc, xrealloc): Move declarations here.
6858 (cache_search): Adjust prototype.
6859 Add netgroup-related prototypes.
6860 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6861 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6862 (__nscd_innetgr): Declare.
6863 * nscd/selinux.c (perms): Use access_vector_t as element type and
6864 add netgroup-related initializers.
6865 * nscd/netgroupcache.c: New file.
6866 * nscd/nscd_netgroup.c: New file.
6867 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6868 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6869 For four parameters use innetgr.
6870 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6871 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6872 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6873 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6875 * nscd/connections.c (register_traced_file): Don't register file
6876 for disabled databases.
6878 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6880 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6882 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6883 from tree and freeing node.
6885 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6887 * nss/nsswitch.c (__nss_database_lookup): Handle
6888 nss_parse_service_list out of memory case.
6890 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6892 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6895 2011-10-04 Andreas Schwab <schwab@redhat.com>
6897 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6898 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6900 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6901 elf_machine_rela, elf_machine_lazy_rel.
6902 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6903 (ELF_DYNAMIC_DO_REL): Likewise.
6904 (ELF_DYNAMIC_DO_RELA): Likewise.
6905 (ELF_DYNAMIC_RELOCATE): Likewise.
6906 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6907 to ELF_DYNAMIC_DO_REL.
6908 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6909 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6910 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6913 skip_ifunc, don't call ifunc function if non-zero.
6914 (elf_machine_rela): Likewise.
6915 (elf_machine_lazy_rel): Likewise.
6916 (elf_machine_lazy_rela): Likewise.
6917 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6918 (elf_machine_lazy_rel): Likewise.
6919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6921 (elf_machine_lazy_rel): Likewise.
6922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6924 (elf_machine_lazy_rel): Likewise.
6925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6926 (elf_machine_lazy_rel): Likewise.
6927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6928 (elf_machine_lazy_rel): Likewise.
6929 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6930 (elf_machine_lazy_rel): Likewise.
6931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6932 (elf_machine_lazy_rel): Likewise.
6933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6934 (elf_machine_lazy_rel): Likewise.
6935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6936 (elf_machine_lazy_rel): Likewise.
6938 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6940 * nss/nss_files/files-init.c (_nss_files_init): Use static
6941 initialization for all the *_traced_file variables.
6943 2011-09-28 Andreas Schwab <schwab@redhat.com>
6945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6947 2011-09-27 Roland McGrath <roland@hack.frob.com>
6950 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6952 2011-09-27 Andreas Schwab <schwab@redhat.com>
6954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6955 Reread the line before reparsing it.
6957 2011-09-26 Andreas Schwab <schwab@redhat.com>
6959 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6961 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6962 Maxim Kuvyrkov <maxim@codesourcery.com>
6963 Joseph Myers <joseph@codesourcery.com>
6965 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6966 if needed for __stack_chk_guard.
6968 2011-09-19 Roland McGrath <roland@hack.frob.com>
6970 * sysdeps/posix/spawni.c (script_execute): Always define it.
6971 It will be optimized away if unused.
6972 (maybe_script_execute): New function.
6973 (__spawni): Call it.
6975 * Makerules: Don't include tls.make.
6976 (config-tls): Always set to thread.
6977 * tls.make.c: File removed.
6979 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6981 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6982 * config.make.in (CPPFLAGS-config): New substituted variable.
6984 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6989 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6990 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6992 2011-09-15 Roland McGrath <roland@hack.frob.com>
6994 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6995 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6997 (CALL_FAIL): Likewise.
6998 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6999 (CALL_FAIL): Macro removed.
7000 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7002 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7004 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7005 for __FINITE_MATH_ONLY__ == 1.
7007 2011-09-15 Andreas Schwab <schwab@redhat.com>
7009 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7010 __ieee754_sqrt instead of sqrt.
7011 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7012 __ieee754_sqrtf instead of sqrtf.
7013 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7014 __floorf instead of floorf.
7015 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7016 __floorf, __truncf instead of floorf, truncf.
7018 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7020 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7022 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7023 __extern_always_inline.
7024 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7027 2011-09-14 Andreas Schwab <schwab@redhat.com>
7029 * elf/rtld.c (dl_main): Also relocate in dependency order when
7030 doing symbol dependency testing.
7032 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7035 Always define `refsym'.
7037 2011-09-13 Andreas Schwab <schwab@redhat.com>
7039 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7040 (__FD_ELT): Renamed from __FDELT.
7041 * misc/bits/select2.h (__FD_ELT): Likewise.
7042 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7043 __FD_MASK instead of __FDELT, __FDMASK.
7044 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7046 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7049 * elf/Makefile (gen-ldd): Fix pattern.
7051 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7052 (init_tls): Likewise.
7054 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7058 2011-09-12 Andreas Schwab <schwab@redhat.com>
7060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7061 `struct cmsghdr *' instead of `void *'.
7062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7065 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7067 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7069 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7072 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7074 * configure.in: Remove --with-tls option.
7075 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7076 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7077 out in case it is missing.
7078 * sysdeps/ia64/elf/configure.in: Likewise.
7079 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7080 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7081 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7082 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7083 * sysdeps/sh/elf/configure.in: Likewise.
7084 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7085 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7086 * sysdeps/x86_64/elf/configure.in: Likewise.
7087 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7088 * sysdeps/mach/hurd/tls.h: Likewise.
7091 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7094 * configure.in: Fix use of AC_INIT.
7096 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7098 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7100 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7102 * malloc/hooks.c: Likewise.
7105 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7106 variables statically.
7107 (narenas): Initialize.
7108 (list_lock): Initialize.
7109 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7110 initializtion of main_arena and list_lock. Small cleanups.
7111 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7112 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7113 Add initializers to main_arena and mp_.
7114 (malloc_state): Remove pagesize member. Change all users to use
7117 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7118 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7119 is always initialized.
7121 * malloc/malloc.c: Removed unused configurations and dead code.
7122 * malloc/arena.c: Likewise.
7123 * malloc/hooks.c: Likewise.
7124 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7126 * include/tls.h: Removed. USE___THREAD must always be defined.
7127 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7128 * elf/dl-libc.c: Likewise.
7129 * elf/dl-tsd.c: Likewise.
7130 * include/errno.h: Likewise.
7131 * include/netdb.h: Likewise.
7132 * include/resolv.h: Likewise.
7133 * inet/herrno-loc.c: Likewise.
7134 * inet/herrno.c: Likewise.
7135 * malloc/arena.c: Likewise.
7136 * malloc/hooks.c: Likewise.
7137 * malloc/malloc.c: Likewise.
7138 * resolv/res-state.c: Likewise.
7139 * resolv/res_libc.c: Likewise.
7140 * sysdeps/i386/dl-machine.h: Likewise.
7141 * sysdeps/ia64/dl-machine.h: Likewise.
7142 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7144 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7145 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7146 * sysdeps/sh/dl-machine.h: Likewise.
7147 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7149 * sysdeps/unix/i386/sysdep.S: Likewise.
7150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7161 * sysdeps/x86_64/dl-machine.h: Likewise.
7162 * tls.make.c: Likewise.
7164 * configure.in: Remove --with-__thread option. Make tests for
7165 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7166 tls_model attribute fail if no support is available. Remove
7168 * Makeconfig: Adjust for dropped configure option. All features are
7170 * Makerules: Likewise.
7171 * Versions.def: Likewise.
7172 * argp/argp-fmtstream.c: Likewise.
7173 * argp/argp-fmtstream.h: Likewise.
7174 * argp/argp-help.c: Likewise.
7175 * assert/assert.c: Likewise.
7176 * config.h.in: Likewise.
7177 * config.make.in: Likewise.
7178 * configure: Likewise.
7179 * configure.in: Likewise.
7180 * csu/Versions: Likewise.
7181 * csu/init.c: Likewise.
7182 * elf/tst-audit2.c: Likewise.
7183 * elf/tst-tls10.c: Likewise.
7184 * elf/tst-tls10.h: Likewise.
7185 * elf/tst-tls11.c: Likewise.
7186 * elf/tst-tls12.c: Likewise.
7187 * elf/tst-tls14.c: Likewise.
7188 * elf/tst-tlsmod11.c: Likewise.
7189 * elf/tst-tlsmod12.c: Likewise.
7190 * elf/tst-tlsmod13.c: Likewise.
7191 * elf/tst-tlsmod13a.c: Likewise.
7192 * elf/tst-tlsmod14a.c: Likewise.
7193 * elf/tst-tlsmod15b.c: Likewise.
7194 * elf/tst-tlsmod16a.c: Likewise.
7195 * elf/tst-tlsmod16b.c: Likewise.
7196 * elf/tst-tlsmod7.c: Likewise.
7197 * elf/tst-tlsmod8.c: Likewise.
7198 * elf/tst-tlsmod9.c: Likewise.
7199 * gmon/gmon.c: Likewise.
7200 * grp/fgetgrent_r.c: Likewise.
7201 * grp/putgrent.c: Likewise.
7202 * hurd/fopenport.c: Likewise.
7203 * include/libc-symbols.h: Likewise.
7204 * include/tls.h: Likewise.
7205 * intl/gettextP.h: Likewise.
7206 * intl/loadinfo.h: Likewise.
7207 * locale/global-locale.c: Likewise.
7208 * locale/localeinfo.h: Likewise.
7209 * mach/devstream.c: Likewise.
7210 * malloc/arena.c: Likewise.
7211 * malloc/set-freeres.c: Likewise.
7212 * misc/err.c: Likewise.
7213 * misc/getttyent.c: Likewise.
7214 * misc/mntent_r.c: Likewise.
7215 * posix/getopt.c: Likewise.
7216 * posix/wordexp.c: Likewise.
7217 * pwd/fgetpwent_r.c: Likewise.
7218 * resolv/Versions: Likewise.
7219 * resolv/res_hconf.c: Likewise.
7220 * shadow/fgetspent_r.c: Likewise.
7221 * shadow/putspent.c: Likewise.
7222 * stdio-common/printf_fphex.c: Likewise.
7223 * stdio-common/tmpfile.c: Likewise.
7224 * stdlib/abort.c: Likewise.
7225 * stdlib/fmtmsg.c: Likewise.
7226 * sunrpc/auth_unix.c: Likewise.
7227 * sunrpc/clnt_perr.c: Likewise.
7228 * sunrpc/clnt_tcp.c: Likewise.
7229 * sunrpc/clnt_udp.c: Likewise.
7230 * sunrpc/clnt_unix.c: Likewise.
7231 * sunrpc/openchild.c: Likewise.
7232 * sunrpc/svc_simple.c: Likewise.
7233 * sunrpc/svc_tcp.c: Likewise.
7234 * sunrpc/svc_udp.c: Likewise.
7235 * sunrpc/svc_unix.c: Likewise.
7236 * sunrpc/xdr.c: Likewise.
7237 * sunrpc/xdr_array.c: Likewise.
7238 * sunrpc/xdr_rec.c: Likewise.
7239 * sunrpc/xdr_ref.c: Likewise.
7240 * sunrpc/xdr_stdio.c: Likewise.
7242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7244 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7246 2011-07-03 Andreas Jaeger <aj@suse.de>
7248 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7250 regenerate with gen-libm-tests.pl.
7252 2010-05-12 Petr Baudis <pasky@suse.cz>
7255 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7256 around j0() zero points by switching to j1().
7257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7264 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7269 Patch in part by Pavel Roskin <proski@gnu.org>.
7272 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7274 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7275 Free memory block if necessary.
7278 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7279 be NULL. Don't lock in this case.
7281 2011-09-09 Roland McGrath <roland@hack.frob.com>
7283 * elf/elf.h (ELFOSABI_GNU): New macro.
7284 (ELFOSABI_LINUX): Define to that.
7286 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7288 * string/strncat.c (strncat): Undef the symbol in case it has been
7289 defined in bits/string.h.
7291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7293 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7298 2011-08-17 Andreas Jaeger <aj@suse.de>
7300 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7302 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7303 Ian Lance Taylor <iant@google.com>
7305 * math/libm-test.inc (lround_test): New testcase.
7306 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7308 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7310 * Makefile: Remove support for automatic cvs check-ins.
7311 * Makerules: Likewise.
7312 * config.make.in: Likewise.
7313 * configure.in: Likewise.
7314 * intl/Makefile: Likewise.
7315 * locale/Makefile: Likewise.
7316 * po/Makefile: Likewise.
7317 * posix/Makefile: Likewise.
7318 * sysdeps/gnu/Makefile: Likewise.
7319 * sysdeps/mach/hurd/Makefile: Likewise.
7320 * sysdeps/sparc/sparc32/Makefile: Likewise.
7323 * posix/Makefile (bug-regex32-ENV): Define.
7324 Patch by John Stanley <jpsinthemix@verizon.net>.
7326 * misc/Makefile (headers): Add bits/select2.h.
7327 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7328 * misc/bits/select2.h: New file.
7329 * include/bits/select2.h: New file.
7330 * debug/Makefile (routines): Add fdelt_chk.
7331 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7332 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7334 * debug/fdelt_chk.c: New file.
7336 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7337 * wcsmbs/test-wmemcmp.c: Likewise.
7338 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7339 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7341 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7343 * string/Makefile (strop-tests): Add memcmp.
7344 * string/test-wmemcmp.c: New file.
7345 * string/test-memcmp.c: Add wmemcmp support.
7347 2011-09-08 Roland McGrath <roland@hack.frob.com>
7350 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7353 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7354 garbage value in a __mach_port_mod_refs call in the cases of the
7355 task-self and thread-self ports.
7357 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7359 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7361 2011-09-08 Andreas Schwab <schwab@redhat.com>
7363 * elf/dl-load.c (lose): Check for non-null L.
7365 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7367 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7369 * elf/dl-libc.c (dlerror_run): Pass back error code from
7373 * elf/dl-load.c (lose): Free l_origin if it is valid.
7375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7382 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7384 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7386 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7387 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7389 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7390 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7391 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7392 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7393 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7394 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7395 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7397 2011-08-15 Alan Modra <amodra@gmail.com>
7400 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7401 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7402 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7403 ppc_mcount to static-only-routines.
7404 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7406 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7407 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7409 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7412 for finite and infinity parameters.
7414 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7417 and add nop instructions for throughput optimization.
7418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7420 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7423 aligned copy for power7 with vector-scalar instructions.
7424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7426 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7431 2011-09-07 Andreas Schwab <schwab@redhat.com>
7434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7437 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7440 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7441 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7445 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7448 Forgot to demangle the pointer.
7450 * sysdeps/i386/sysdep.h: Define atom_text_section.
7451 * sysdeps/x86_64/sysdep.h: Likewise.
7452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7453 section with atom_text_section.
7454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7456 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7462 already be defined. Change to take two parameters and don't assign
7463 result to variable. Adjust all users.
7464 Define INTERNAL_GETTIME if not already defined.
7465 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7468 HAVE_CLOCK_GETTIME_VSYSCALL.
7469 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7472 gettimeofday vsyscall, just use time.
7474 2011-09-06 Andreas Schwab <schwab@redhat.com>
7476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7479 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7481 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7485 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7487 syscall if possible.
7489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7491 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7492 e_ident. Don't pass to find_mapsXX.
7493 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7495 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7498 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7499 * sysdeps/x86_64/multiarch/strchr.S: Update.
7500 Check bit_slow_BSF bit.
7501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7505 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7508 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7511 (__spawni): Change last parameter to be flag. Test
7512 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7513 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7514 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7515 * posix/spawni.c: Likewise.
7516 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7517 * posix/spawnp.c: Likewise. Change normal version to use
7518 SPAWN_XFLAGS_USE_PATH.
7519 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7520 SPAWN_XFLAGS_TRY_SHELL.
7523 * posix/glob.h: Remove gcc 1.x support.
7526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7528 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7531 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7533 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7534 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7537 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7540 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7542 * sysdeps/x86_64/wcscmp.S: New file.
7544 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7545 wcscmp-c wcscmp-sse2
7546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7547 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7549 * wcsmbs/wcscmp.c: Allow renaming.
7551 2011-09-05 David S. Miller <davem@davemloft.net>
7553 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7554 stack slot, rather than the struct return pointer slot.
7555 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7562 * po/ja.po: Update from translation team.
7565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7566 kernel in 64-bit binaries.
7568 2011-09-01 David S. Miller <davem@davemloft.net>
7570 * elf/elf.h (HWCAP_SPARC_*): Move to..
7571 * sysdeps/sparc/sysdep.h: this new file and add new values.
7572 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7573 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7574 _DL_HWCAP_COUNT to 24.
7575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7577 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7578 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7579 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7581 instead of magic constants.
7582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7584 2011-08-31 David S. Miller <davem@davemloft.net>
7586 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7588 Reimplement to do errno handling inline.
7589 (SYSCALL_ERROR_HANDLER): New macro.
7590 (__SYSCALL_STRING): Do not do errno handling in asm.
7591 (__CLONE_SYSCALL_STRING): Delete.
7592 (__INTERNAL_SYSCALL_STRING): Delete.
7593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7594 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7595 (PSEUDO): Reimplement to do errno handling inline.
7596 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7597 (SYSCALL_ERROR_HANDLER): New macro.
7598 (__SYSCALL_STRING): Do not do errno handling in asm.
7599 (__CLONE_SYSCALL_STRING): Delete.
7600 (__INTERNAL_SYSCALL_STRING): Delete.
7601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7602 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7604 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7605 (inline_syscall*): Add 'err' argument.
7606 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7607 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7608 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7609 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7611 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7614 2011-08-30 Andreas Schwab <schwab@redhat.com>
7616 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7618 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7620 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7623 2011-08-24 David S. Miller <davem@davemloft.net>
7625 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7627 2011-08-24 Andreas Schwab <schwab@redhat.com>
7629 * elf/Makefile: Add rules to build and run unload8 test.
7630 * elf/unload8.c: New file.
7631 * elf/unload8mod1.c: New file.
7632 * elf/unload8mod1x.c: New file.
7633 * elf/unload8mod2.c: New file.
7634 * elf/unload8mod3.c: New file.
7636 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7639 2011-08-23 David S. Miller <davem@davemloft.net>
7641 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7642 subtract stack bias.
7643 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7644 %sp not %fp in calculations.
7645 (_JMPBUF_UNWINDS_ADJ): Likewise.
7647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7648 (aio_suspend): Call it to force an exception region around the
7649 AIO_MISC_WAIT() invocation.
7651 2011-08-23 Andreas Schwab <schwab@redhat.com>
7653 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7656 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7658 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7660 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7662 (Elf64_FuncDesc): Remove.
7664 2011-08-22 David S. Miller <davem@davemloft.net>
7666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7667 sigaltstack check, add missing cfi directives.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7669 missing cfi directives, and sigaltstack handling.
7671 2011-08-16 Andreas Schwab <schwab@redhat.com>
7674 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7675 object is seen twice.
7676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7678 * elf/Makefile (distribute): Add tst-initorder2.c.
7679 (tests): Add tst-initorder2.
7680 (modules-names): Add tst-initorder2a tst-initorder2b
7681 tst-initorder2c tst-initorder2d. Add rules to build them.
7682 ($(objpfx)tst-initorder2.out): New rule.
7683 * elf/tst-initorder2.c: New file.
7684 * elf/tst-initorder2.exp: New file.
7686 2011-08-22 Andreas Schwab <schwab@redhat.com>
7688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7690 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7691 dependencies back to end of function.
7693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7696 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7699 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7701 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7703 of __vdso_gettimeofday.
7704 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7705 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7707 (_libc_vdso_platform_setup): Remove initialization of
7708 __vdso_gettimeofday and __vdso_time.
7710 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7712 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7714 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7717 * elf/dl-open.c (add_to_global): Report additions to the global scope
7718 for LD_DEBUG=scopes.
7719 (dl_open_worker): Also print scope of newly loaded dependencies.
7720 (_dl_show_scope): Indicate if there is no scope.
7723 * stdio-common/Makefile (tests): Add bug24.
7724 * stdio-common/bug24.c: New file.
7726 2011-08-19 Andreas Jaeger <aj@suse.de>
7729 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7730 non-existant file when using close-on-exec mode.
7732 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7735 the very first instruction.
7737 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7738 the CFI state in the end.
7739 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7740 inclusion of dl-trampoline.h.
7741 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7743 2011-08-19 Andreas Schwab <schwab@redhat.com>
7745 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7746 expectations for long double.
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7749 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7751 2011-08-14 David S. Miller <davem@davemloft.net>
7753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7754 artificual limit depends upon the system page size.
7756 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7758 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7759 * resolv/Makefile: Define CFLAGS-libresolv.
7761 2011-08-17 Andreas Schwab <schwab@redhat.com>
7763 * nss/makedb.c (compute_tables): Make variables used in nested
7766 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7768 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7769 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7770 if buffer was too small.
7772 * elf/pldd.c (main): Attach to all threads in the process.
7773 Rewrite /proc handling to use *at functions.
7775 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7777 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7778 specifies first scope to show.
7779 (dl_open_worker): Update callers. Move printing scope of new
7780 object to before the relocation.
7781 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7782 * sysdeps/generic/ldsodefs.h: Update declaration.
7784 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7785 string for the scope number.
7787 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7789 * nscd/servicescache.c (cache_addserv): Make sure written is always
7792 2011-08-14 Roland McGrath <roland@hack.frob.com>
7794 * sysdeps/i386/i486/bits/atomic.h
7795 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7796 statement expression, so as to suppress "set but not used" warning.
7797 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7799 * string/strncat.c (STRNCAT): Use prototype definition.
7801 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7802 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7804 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7805 (localedef-modules): Add localedef.
7806 (locale-modules): Add locale.
7808 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7809 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7812 2011-08-14 David S. Miller <davem@davemloft.net>
7814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7815 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7817 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7819 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7820 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7821 * elf/rtld.c (dl_main): Set l_name of vDSO.
7822 Call _dl_show_scope when DL_DEBUG_SCOPES.
7823 (process_dl_debug): Recognize scopes flag and also set it for all.
7824 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7825 Declare _dl_show_scope.
7827 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7828 (do_dlopen): Pass caller_dlopen to dl_open.
7829 (__libc_dlopen_mode): Initialize caller_dlopen.
7831 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7832 of libc. Make tolower call locale-independent. Optimize a bit by
7833 using isdigit instead of isalnum.
7834 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7836 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7838 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7839 was a dependency or dynamically loaded.
7841 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7843 * intl/l10nflist.c: Allow architecture-specific pop function.
7844 * sysdeps/x86_64/l10nflist.c: New file.
7846 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7849 2011-08-10 Andreas Schwab <schwab@redhat.com>
7851 * include/dirent.h: Add libc_hidden_proto for scandirat and
7852 scandirat64. Don't declare __scandirat64.
7853 * dirent/scandirat.c: Add libc_hidden_def.
7854 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7855 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7857 2011-08-10 David S. Miller <davem@davemloft.net>
7859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7865 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7867 * Versions.def [libc]: Add GLIBC_2.15.
7868 * dirent/Makefile (routines): Add scandirat and scandirat64.
7869 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7871 * dirent/dirent.h: Declare scandirat and scandirat64.
7872 * dirent/scandirat.c: New file.
7873 * dirent/scandirat64.c: New file.
7874 * sysdeps/wordsize-64/scandirat.c: New file.
7875 * sysdeps/wordsize-64/scandirat64.c: New file.
7876 * dirent/opendir.c: Define opendirat.
7877 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7879 * dirent/scandir64.c: Adjust for scandir.c change.
7880 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7881 __scandirat64, and __scandir_cancel_handler.
7882 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7883 additional parameter and use openat instead of open (outside of ld.so).
7884 Add new __opendir as wrapper around __opendirat.
7885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7886 here without requiring old scandirat implementation.
7888 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7890 * dirent/scandir.c (cancel_handler): Renamed to
7891 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7892 defined. Adjust users.
7893 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7896 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7898 * string/test-string.h (IMPL): Use __STRING to expand name and then
7901 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7904 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7906 * string/Makefile: Update.
7907 (strop-tests): Append strncat.
7908 * string/test-wcscmp.c: New file.
7909 New comprehensive test for wcscmp.
7910 * string/test-strcmp.c: Update.
7913 2011-07-22 Andreas Schwab <schwab@redhat.com>
7915 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7918 2011-07-26 Andreas Schwab <schwab@redhat.com>
7920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7921 encoding to ACE if AI_IDN.
7923 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7926 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7928 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7931 Fix overflow bug in strncat.
7932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7934 * string/test-strncat.c: Update.
7935 Add new tests for checking overflow bugs.
7937 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7940 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7941 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7942 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7945 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7946 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7947 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7950 (USE_AS_STRCAT): Define.
7951 Add strcat and strncat support.
7952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7954 2011-07-25 Andreas Schwab <schwab@redhat.com>
7956 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7957 __n bigger than INT_MAX+1.
7958 (__strncmp_g): Likewise.
7960 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7962 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7963 * libio/stido.h: Likewise.
7965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7970 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7977 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7982 (_dl_x86_64_save_sse): Likewise.
7984 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7988 (_dl_x86_64_save_sse): Likewise.
7990 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7992 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7994 2011-07-21 Andreas Schwab <schwab@redhat.com>
7996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7998 (_dl_x86_64_save_sse): Use correct AVX check.
8000 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8003 bug in strncpy/strncat.
8004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8006 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8008 * string/tester.c (test_strcat): Add tests for different alignments
8009 of source and destination.
8010 (test_strncat): Likewise.
8012 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8015 * posix/glob.c (glob): Check passed in values before using them in
8016 expressions to avoid some overflows.
8017 (glob_in_dir): Likewise.
8020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8021 check for AVX enablement so that we don't crash with old kernels and
8023 * elf/tst-audit4.c: Add same checks here.
8024 * elf/tst-audit6.c: Likewise.
8026 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8028 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8030 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8032 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8034 * po/cs.po: Update from translation team.
8035 * po/bg.po: Likewise.
8037 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8039 * misc/sys/cdefs.h: Add support for const attribute.
8040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8041 to gnu_dev_{major,minor,makedev} functions.
8043 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8045 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8047 2011-07-20 Andreas Schwab <schwab@redhat.com>
8049 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8052 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8055 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8056 register in order to avoid conflicts with the soft frame pointer
8057 being held in r11 when necessary.
8058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8059 (INTERNAL_VSYSCALL_NCS): Likewise.
8061 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8063 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8064 * elf/dl-fini.c (_dl_fini): Adjust caller.
8065 * elf/dl-close.c (_dl_close_worker): Likewise.
8066 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8068 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8070 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8071 "aux_cache->nlibs < 0".
8073 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8074 in the reload-count case.
8076 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8079 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8080 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8082 * sysdeps/x86_64/multiarch/strcat.S: New file.
8083 * sysdeps/x86_64/multiarch/strncat.S: New file.
8084 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8086 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8087 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8089 (USE_AS_STRCAT): Define.
8090 Add strcat and strncat support.
8091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8094 * string/strncat.c: Update.
8095 (USE_AS_STRNCAT): Define.
8096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8097 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8099 * sysdeps/x86_64/multiarch/init-arch.h
8100 (bit_Prefer_PMINUB_for_stringop): New.
8101 (index_Prefer_PMINUB_for_stringop): Likewise.
8102 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8103 bit_Prefer_PMINUB_for_stringop.
8105 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8107 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8109 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8110 of casting of buffer.
8111 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8112 buffer32 and buffer64.
8113 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8114 writes instead of casting of buffer.
8115 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8117 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8120 2011-07-19 Andreas Schwab <schwab@redhat.com>
8122 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8124 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8126 * nscd/nscd.c (termination_handler): Don't do anything for a database
8127 if it has not yet been initialized.
8129 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8131 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8133 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8135 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8137 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8139 * po/nl.po: Update from translation team.
8140 * po/sv.po: Likewise.
8142 2011-07-16 Roland McGrath <roland@hack.frob.com>
8144 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8145 now disallowed by GCC.
8147 * configure.in (use-default-link): Default to yes if a test -shared
8148 link meets our qualifications.
8149 * configure: Regenerated.
8151 * config.make.in (output-format): New variable.
8152 * configure.in: Check for ld --print-output-format support.
8153 * configure: Regenerated.
8154 * Makerules ($(common-objpfx)format.lds)
8155 [$(output-format) != unknown]: Just use $(output-format),
8156 instead of the linker-script munging.
8158 2011-07-14 Roland McGrath <roland@hack.frob.com>
8160 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8161 of $(common-objpfx)shlib.lds.
8162 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8164 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8165 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8167 * configure.in (-z relro check): Adjust test code to add a large
8168 writable data section after it.
8169 * configure: Regenerated.
8171 2011-07-11 Roland McGrath <roland@hack.frob.com>
8173 * configure.in (-z relro check): Fix test code to make the variable
8175 * configure: Regenerated.
8177 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8179 * nscd/nscd.h (struct traced_file): Define.
8180 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8181 elements. Add traced_files.
8182 (inotify_fd): Declare.
8183 (register_traced_file): Declare.
8184 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8185 (inotify_fd): Export.
8186 (resolv_conf_descr): Remove.
8187 (nscd_init): Move inotify descriptor creation to main.
8188 Don't register files for notification here.
8189 (register_traced_file): New function.
8190 (invalidate_cache): Don't use reset_res to determine whether to call
8191 res_init, go through the list of registered files.
8192 (main_loop_poll): The inotify descriptors are now stored in the
8193 structures for the traced files.
8194 (main_loop_epoll): Likewise
8195 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8196 to __nss_disable_nscd.
8197 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8198 for a database anymore. Check the records for all the registered
8200 * nss/Makefile (libnss_files-routines): Add files-init.
8201 (libnss_db-routines): Add db-init.
8202 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8203 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8204 * nss/nss_db/db-init.c: New file.
8205 * nss/nss_files/files-init.c: New file.
8206 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8207 __nss_lookup_function.
8208 (__nss_lookup_function): Call nss_load_library.
8209 (nss_load_all_libraries): New function.
8210 (__nss_disable_nscd): Take parameter with callback function for files
8211 to register. Set is_nscd. Load all the DSOs for the NSS modules
8212 used for the cached services.
8213 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8215 options for features to all the files in nscd.
8217 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8219 2011-07-10 Roland McGrath <roland@hack.frob.com>
8221 * csu/elf-init.c (__libc_csu_init): Comment typo.
8223 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8225 * po/pl.po: Update from translation team.
8226 * po/ja.po: Likewise.
8227 * po/ru.po: Likewise.
8228 * po/ko.po: Likewise.
8229 * po/fr.po: Likewise.
8231 2011-07-09 Roland McGrath <roland@hack.frob.com>
8233 * configure.in (.ctors/.dtors header and trailer check):
8234 Use an empirical test on a built program.
8235 * configure: Regenerated.
8237 * configure.in (-z relro check): Use an empirical test on a built DSO.
8238 Detect, but do not require, on ia64.
8239 * configure: Regenerated.
8241 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8242 Update tests that use readelf to use $READELF instead.
8243 * configure: Regenerated.
8245 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8247 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8248 if the result is not used.
8250 2011-07-05 Andreas Jaeger <aj@suse.de>
8253 * stdlib/tst-strtod.c: Add testcase.
8255 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8257 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8258 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8259 The latter has a higher limit. Take additional parameter to pass to
8261 (__pathconf): Pass file to __statfs_link_max.
8262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8264 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8268 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8272 (__statfs_filesize_max): Likewise.
8273 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8275 2011-07-05 Andreas Jaeger <aj@suse.de>
8277 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8279 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8281 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8283 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8286 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8288 * Makefile (strop-tests): Add strncat.
8289 * string/test-strncat.c: New file.
8291 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8293 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8295 2011-06-21 Andreas Jaeger <aj@suse.de>
8297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8298 Copy rule from iconvdata/Makefile.
8300 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8303 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8304 but no long options are defined, just return 'W'.
8306 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8309 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8311 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8313 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8315 (innetgr): Likewise.
8317 2011-07-05 Roland McGrath <roland@hack.frob.com>
8319 * config.make.in (install_root): Default to $(DESTDIR).
8321 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8325 2011-07-02 Roland McGrath <roland@hack.frob.com>
8327 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8329 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8330 containing directory rather than embedding absolute directory names.
8332 * scripts/check-local-headers.sh: Rewritten using awk.
8333 Match by word, not by line. Print error messages for matches.
8334 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8336 * Makerules [shlib-lds-flags empty]:
8337 ($(common-objpfx)libc_pic.opts): New target.
8338 ($(common-objpfx)libc_pic.os.clean): New target.
8339 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8341 * config.make.in (OBJCOPY): New variable.
8342 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8343 * configure: Regenerated.
8345 * config.make.in (use-default-link): New variable.
8346 * configure.in (use_default_link): Grok --with-default-link to set it.
8347 * configure: Regenerated.
8348 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8349 (shlib-lds, shlib-lds-flags): Define to empty.
8351 * Makerules (shlib-lds): New variable.
8352 (shlib-lds-flags): New variable.
8353 (build-shlib, build-moduile, build-module-asneeded): Use it.
8354 ($(common-objpfx)libc.so): Use $(shlib-lds).
8355 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8356 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8358 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8359 DT_FLAGS/DT_FLAGS_1 with zero flags.
8361 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8362 linker script munging.
8364 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8366 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8368 * crypt/sha512.c (sha512_process_block): Perform total addition using
8369 128-bit if possible.
8370 (__sha512_finish_ctx): Likewise.
8371 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8373 * crypt/sha256.c (SWAP64): Define.
8374 (sha256_process_block): Perform total addition using 64-bit if
8376 (__sha256_finish_ctx): Likewise.
8378 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8380 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8382 * nscd/hstcache.c (cache_addhst): Likewise.
8383 * nscd/grpcache.c (cache_addgr): Likewise.
8384 * nscd/aicache.c (addhstaiX): Likewise
8385 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8387 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8389 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8391 * nscd/hstcache.c (cache_addhst): Likewise.
8392 * nscd/grpcache.c (cache_addgr): Likewise.
8393 * nscd/aicache.c (addhstaiX): Likewise
8395 2011-07-01 Andreas Schwab <schwab@redhat.com>
8397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8398 domain only when needed.
8400 2011-06-30 Andreas Schwab <schwab@redhat.com>
8402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8405 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8407 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8408 are re-adding the entry.
8409 * nscd/servicescache.c (cache_addserv): Likewise.
8411 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8413 * sysdeps/generic/dl-irel.h: fix protection against multiple
8415 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8417 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8420 * malloc/memusage.sh: Fix quoting in message.
8421 * debug/xtrace.sh: Likewise.
8423 * configure.in: Remove support for --experimental-malloc option, make
8425 * config.make.in: Likewise.
8426 * malloc/Makefile: Likewise.
8428 2011-06-27 Andreas Schwab <schwab@redhat.com>
8430 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8431 two-byte characters.
8433 2011-06-27 Roland McGrath <roland@hack.frob.com>
8435 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8436 AC_CACHE_CHECK invocation.
8437 * configure: Regenerated.
8439 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8441 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8444 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8445 bit from old_res_options.
8447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8449 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8450 value type for setfct.
8452 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8455 __gettimeofday instead of gettimeofday.
8457 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8459 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8461 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8468 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8471 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8472 strcpy-sse2-unaligned strncpy-sse2-unaligned
8473 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8474 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8475 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8476 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8477 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8480 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8481 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8482 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8483 (STRCPY): Support SSE2 and SSSE3 versions.
8485 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8489 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8490 kernels which artificially limit size of requests.
8492 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8495 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8496 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8497 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8498 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8499 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8500 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8501 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8504 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8505 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8507 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8508 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8510 Enable unaligned load optimization for Intel Core i3, i5 and i7
8512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8514 (index_Fast_Unaligned_Load): Define.
8515 (HAS_FAST_UNALIGNED_LOAD): Define.
8517 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8519 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8521 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8525 until it is clear that the information is realy needed.
8526 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8528 2011-06-22 Andreas Schwab <schwab@redhat.com>
8530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8532 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8535 /sys/devices/system/cpu/online if it is usable.
8537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8538 reading the information from the /proc filesystem to once a second.
8540 2011-06-21 Andreas Jaeger <aj@suse.de>
8542 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8543 NULL after inclusion of kernel headers.
8545 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8547 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8548 calls to internal_setent.
8551 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8552 addresses using gethostbyname4_r ignore IPv4 addresses.
8554 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8555 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8557 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8559 2011-06-20 David S. Miller <davem@davemloft.net>
8561 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8563 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8565 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8567 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8568 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8569 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8570 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8571 * sysdeps/x86_64/dl-irel.h: Likewise.
8573 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8574 * elf/dl-sym.c: Likewise.
8576 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8578 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8579 need to dereference resplen2.
8581 2011-06-14 Andreas Schwab <schwab@redhat.com>
8583 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8585 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8587 * Makeconfig: Define vardbdir and inst_vardbdir.
8588 * nss/Makefile: Add rules to install db-Makefile.
8590 * nss/nss_db/db-XXX.c: Cleanup.
8592 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8593 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8595 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8596 * nss/makedb.c: Implement -g option to specify that value strings
8597 are generated and should not be added to table iterated over for
8599 * nss/nss_db/db-initgroups.c: New file.
8601 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8604 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8605 (internal_getgrouplist): Adjust to name change.
8606 Update use_initgroups_entry if this is not the first call.
8607 * nss/databases.def: Add initgroups entry.
8609 * nss/makedb.c (compute_tables): Check result of multiple hash table
8610 sizes to minimize maximum chain length.
8612 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8614 * Versions.def: Add entry for libnss_db.
8615 * shlib-versions: Likewise.
8616 * nss/Makefile: Add rules to build libnss_db.
8617 * nss/Versions: Add libnss_db information. Organize libnss_files
8619 * nss/db-Makefile: Add gshadow support. Change rules for the new
8620 makedb progra. Some minor improvements to generate smaller files.
8621 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8623 * nss/makedb.c: ...here.
8624 Improve database format to be smaller and require less memory at
8626 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8628 * nss/nss_db/db-netgrp.c: Likewise.
8629 * nss/nss_db/db-open.c: Likewise.
8630 * nss/nss_files/flies-XXX.x: Adjust comments.
8631 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8632 * nss/nss_files/files-grp.c: Likewise.
8633 * nss/nss_files/files-hosts.c: Likewise.
8634 * nss/nss_files/files-network.c: Likewise.
8635 * nss/nss_files/files-proto.c: Likewise.
8636 * nss/nss_files/files-pwd.c: Likewise.
8637 * nss/nss_files/files-rpc.c: Likewise.
8638 * nss/nss_files/files-service.c: Likewise.
8639 * nss/nss_files/files-sgrp.c: Likewise.
8640 * nss/nss_files/files-spwd.c: Likewise.
8641 * nss/nss_db/db-alias.c: Removed.
8642 * nss/nss_db/dummy-db.h: Removed.
8644 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8646 * nss/makedb.c: Rewritten to not use database library.
8647 * nss/Makefile: Update to build new makedb program.
8649 2011-06-14 Andreas Jaeger <aj@suse.de>
8651 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8654 2011-06-10 Andreas Schwab <schwab@redhat.com>
8656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8659 2011-06-10 Roland McGrath <roland@hack.frob.com>
8661 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8662 * elf/Makefile ($(objpfx)ld.so): Likewise.
8664 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8665 Don't list ld.so twice in dependencies.
8667 * posix/bug-regex31.c: Include <stdlib.h>.
8669 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8671 * nis/nss_compat/compat-spwd.c
8672 (getspent_next_nss_netgr): Remove unused variable.
8673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8675 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8676 nonmembers" output to use the right array.
8678 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8680 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8682 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8683 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8684 * catgets/gencat.c (read_input_file): Likewise.
8685 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8687 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8688 variable definition inside #if's controlling its use.
8690 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8694 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8696 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8699 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8701 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8702 * configure: Regenerated.
8704 * Makerules: Revert last change.
8705 * elf/Makefile: Likewise.
8707 2011-06-09 Roland McGrath <roland@hack.frob.com>
8709 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8710 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8711 (reloc-link): Likewise.
8713 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8715 * elf/Makefile: Add rules to build pldd.
8716 * elf/pldd.c: New file.
8717 * elf/pldd-xx.c: New file.
8719 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8721 * version.h: Update for 2.15 development version.
8723 2011-06-07 David S. Miller <davem@davemloft.net>
8725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8728 elf_machine_lazy_rel): Likewise.
8729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8731 elf_machine_lazy_rel): Likewise.
8732 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8733 dl_hwcap via passed in argument.
8734 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8737 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8739 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8741 2011-06-06 Roland McGrath <roland@hack.frob.com>
8744 * manual/fdl-1.1.texi: New file, verbatim from:
8745 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8746 * manual/lgpl-2.1.texi: New file, verbatim from:
8747 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8748 * manual/Makefile (licenses): New variable, list those new file names.
8750 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8752 * manual/fdl.texi: File removed.
8753 * manual/lesser.texi: File removed.
8754 * manual/libc.texinfo (Copying, Documentation License):
8755 Use new @include file names, put @appendix directive before @include.
8757 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8760 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8761 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8762 (mq_open): Add __NTH.
8764 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8767 Assume Intel Core i3/i5/i7 processor if AVX is available.
8769 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8774 2011-05-31 Andreas Schwab <schwab@redhat.com>
8776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8777 memory. Use alloca_account. Fix memory leak when retrying.
8779 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8781 * version.h (RELEASE): Bump for 2.14 release.
8782 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8784 * config.make.in (RANLIB): Remove entry.
8786 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8788 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8789 (libc.pot): Work around missing support for .ksh extension in xgettext.
8792 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8793 if both request failed.
8794 (send_dg): In case of server errors clear resplen or *resplen2.
8797 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8798 when there are multiple maps.
8799 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8800 (_dl_fini): Remove test here.
8802 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8804 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8807 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8808 bit from old_res_options.
8809 (gaih_inet): Likewise.
8812 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8815 * resolv/res_init.c (res_setoptions): Make the code more compact.
8818 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8822 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8824 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8827 * malloc/malloc.h: Declare malloc hook variables as volatile.
8829 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8833 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8834 raise in the comment.
8835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8839 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8842 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8843 grow the buffers more if it already has to be sufficient.
8844 (build_wcs_upper_buffer): Likewise.
8845 * posix/regexec.c (check_matching): Likewise.
8846 (clean_state_log_if_needed): Likewise.
8847 (extend_buffers): Don't enlarge buffers beyond size of the input
8849 Patches mostly by Emil Wojak <emil@wojak.eu>.
8850 * posix/bug-regex32.c: New file.
8851 * posix/Makefile (tests): Add bug-regex32.
8853 * locale/findlocale.c (_nl_find_locale): Return right away if
8854 _nl_explode_name failed.
8855 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8859 * debug/xtrace.sh: Unify messages.
8860 * malloc/memusage.sh: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8864 time symbol from vDSO. Substitute with vsyscall if not available.
8865 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8869 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8870 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8871 Add sendmmsg and internal_sendmmsg.
8872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8876 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8877 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8880 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8884 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8890 * iconvdata/Makefile (tests): Add bug-iconv9.
8891 * iconvdata/bug-iconv9.c: New file.
8893 2011-05-27 Andreas Schwab <schwab@redhat.com>
8896 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8898 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8901 (struct user_regs_struct): Change intcs field back to cs.
8903 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8905 * po/ja.po: Update from translation team.
8907 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8910 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8911 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8913 2011-05-20 Andreas Schwab <schwab@redhat.com>
8915 * stdlib/longlong.h: Update from GCC.
8917 2011-05-23 Andreas Schwab <schwab@redhat.com>
8919 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8921 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8923 (__sysconf): Pass it down.
8925 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8928 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8931 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8932 add in in __libc_use_alloca calls. Adjust callers.
8933 (glob): Use malloc in some situations.
8935 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8936 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8939 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8942 and CLOCK_BOOTTIME_ALARM.
8945 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8948 * string/_strerror.c (__strerror_r): Print negative errors as signed
8952 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8953 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8954 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8956 * configure.in: Fix typo in redirection and correct removal of test
8960 * locale/setlocale.c (new_composite_name): Fix test to check for
8961 identical name of all categories.
8964 * libio/filedoalloc.c (local_isatty): New function.
8965 (_IO_file_doallocate): Use local_isatty.
8966 * stdio-common/perror.c (perror): In case a new stream is used
8967 forward the stream error.
8968 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8971 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8976 * include/alloca.h (extend_alloca_account): Define.
8979 * posix/regex.h: Fix comments with documentation of user-accessible
8980 fields after compilation and describe correct free'ing of pattern
8981 after re_compile_pattern.
8982 Patch by Reuben Thomas <rrt@sc3d.org>.
8984 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8986 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8987 and -mno-altivec to prevent the compiler from using Altivec and/or
8988 VSX instructions when the corresponding registers are not available.
8990 2011-05-19 Andreas Schwab <schwab@redhat.com>
8992 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8994 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8996 * libio/freopen.c (freopen): Use __dup2, not dup2.
8997 * libio/freopen64.c (freopen64): Likewise.
8999 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9002 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9003 * math/Makefile (tests): Add test-powl.
9004 (CFLAGS-test-powl.c): Define.
9005 * math/test-powl.c: New file.
9007 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9009 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9011 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9014 * iconvdata/gb18030.c: Update to GB18020-2005.
9016 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9018 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9019 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9020 Patch by Aharon Robbins <arnold@skeeve.com>.
9023 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9027 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9031 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9032 point to strings before performing equality test for error_one_per_line
9036 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9040 (struct user_fpregs_struct): Avoid __uint*_t types.
9043 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9044 symbol info. Use it instead of calling _dl_addr locally.
9045 (lock_and_info): New function.
9046 (tr_freehook): Call lock_and_info and pass symbol info as additional
9047 parameter to tr_where.
9048 (tr_mallochook): Likewise.
9049 (tr_reallochook): Likewise.
9050 (tr_memalignhook): Likewise.
9052 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9053 used and couldn't be at all thread-safe.
9055 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9057 * libio/freopen.c (freopen): Don't close old file descriptor
9058 before the new one is opened. Instead dup the new file descriptor
9059 to the old one after the new stream is created.
9060 * libio/freopen64.c (freopen64): Likewise.
9061 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9062 * libio/fileops.c (_IO_new_file_close_it): Handle new
9063 _IO_FLAGS2_NOCLOSE flag.
9064 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9065 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9066 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9067 _IO_FLAGS2_NOCLOSE flag.
9068 * include/unistd.h: Add hidden_proto for dup3.
9070 * io/dup3.c: Define hidden symbol.
9071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9074 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9075 when an incomplete long option is used.
9076 * posix/tst-getopt_long1.c: New file.
9077 * posix/Makefile (tests): Add tst-getopt_long1.
9080 * scripts/config.guess: Update from autoconf-2.68.
9081 * scripts/config.sub: Likewise.
9084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9086 (has_cpuclock): ...this. New function.
9087 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9088 macro here based on has_cpuclock code.
9091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9092 First byte (not low byte) is now always NUL.
9093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9096 Use non-cancelable interfaces.
9099 * locale/iso-639.def: Add entry for Sorani.
9102 * include/stdlib.h: Move include protection to the right place.
9103 Define abort_msg_s. Declare __abort_msg with it.
9104 * stdlib/abort.c (__abort_msg): Adjust type.
9105 * assert/assert.c (__assert_fail_base): New function. Majority
9106 of code from __assert_fail. Allocate memory for __abort_msg with
9108 (__assert_fail): Now call __assert_fail_base.
9109 * assert/assert-perr.c: Remove bulk of implementation. Use
9111 * include/assert.hL Declare __assert_fail_base.
9112 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9114 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9116 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9120 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9121 until all modules are registered in the DTV.
9122 * elf/Makefile: Add rules to build and run tst-tls19.
9123 * elf/tst-tls19.c: New file.
9124 * elf/tst-tls19mod1.c: New file.
9125 * elf/tst-tls19mod2.c: New file.
9126 * elf/tst-tls19mod3.c: New file.
9127 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9130 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9134 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9135 two-byte sequence errors.
9136 * iconvdata/Makefile (tests): Add bug-iconv8.
9137 * iconvdata/bug-iconv8.c: New file.
9140 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9143 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9146 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9147 (dummy_getcfa): New function.
9148 (init): Get _Unwind_GetCFA address, use dummy if not found.
9149 (backtrace_helper): In recursion check, also check whether CFA changes.
9150 (__backtrace): Completely initialize arg.
9152 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9153 storing incomplete byte sequence in state object. Avoid testing for
9154 guaranteed too small input if we know there is enough data available.
9156 2011-05-11 Andreas Schwab <schwab@redhat.com>
9158 * Makeconfig (+link-pie): Indent.
9159 * Rules (binaries-pie): Define if $(have-fpie) and
9161 (binaries-shared): Also filter out $(binaries-pie).
9162 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9163 * nscd/Makefile (others-pie): Add nscd.
9164 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9165 ($(objpfx)nscd): Remove command override.
9166 * login/Makefile (others-pie): Add pt_chown.
9167 ($(objpfx)pt_chown): Remove command override.
9168 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9169 remove command overrides.
9171 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9173 * libio/tst_putwc.c: Fix error messages.
9176 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9177 currently writing and seek to current position when not.
9178 * libio/Makefile (tests): Add bug-fclose1.
9179 * libio/bug-fclose1.c: New file.
9181 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9184 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9185 don't set DF_1_NODELETE here.
9186 (do_lookup_x): When entering new entry test for copy relocation
9187 and if necessary set DF_1_NODELETE flag.
9188 * elf/tst-unique4.cc: New file.
9189 * elf/tst-unique4.h: New file.
9190 * elf/tst-unique4lib.cc: New file.
9191 * elf/Makefile: Add rules to build and run tst-unique4.
9192 Patch by Piotr Bury <pbury@goahead.com>.
9194 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9197 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9200 * misc/mntent_r.c (addmntent): Flush the stream after the output
9203 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9204 (is_trusted_path_normalize): Skip initial colon. Append slash
9205 to empty buffer. Duplicate is_trusted_path code but allow
9206 constructed patch to be prefix.
9207 (is_dst): Allow $ORIGIN followed by /.
9208 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9209 Correct testing of result of is_trusted_path_normalize
9210 (decompose_rpath): Fix warning.
9212 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9215 * grp/initgroups.c (internal_getgrouplist): When we found the service
9216 list through the initgroups entry in nsswitch.conf do not always
9217 continue on a successful lookup. Don't always use the
9218 __nss_group_database value if it is set.
9219 * nss/nsswitch.conf (initgroups): Change action for successful db
9220 lookup to continue for compatibility.
9222 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9225 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9227 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9229 * iconvdata/tst-tables.sh: Likewise.
9230 * iconvdata/cp770.c: New file.
9231 * iconvdata/cp771.c: New file.
9232 * iconvdata/cp772.c: New file.
9233 * iconvdata/cp773.c: New file.
9234 * iconvdata/cp774.c: New file.
9235 * iconvdata/testdata/CP770: New file.
9236 * iconvdata/testdata/CP770..UTF8: New file.
9237 * iconvdata/testdata/CP771: New file.
9238 * iconvdata/testdata/CP771..UTF8: New file.
9239 * iconvdata/testdata/CP772: New file.
9240 * iconvdata/testdata/CP772..UTF8: New file.
9241 * iconvdata/testdata/CP773: New file.
9242 * iconvdata/testdata/CP773..UTF8: New file.
9243 * iconvdata/testdata/CP774: New file.
9244 * iconvdata/testdata/CP774..UTF8: New file.
9246 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9248 * iconvdata/gen-8bit-gap.sh: Likewise.
9249 * iconvdata/gen-8bit.sh: Likewise.
9251 * locale/iso-639.def: Add ary entry.
9254 * locale/C-translit.h.in: Add U20A1 transliteration.
9257 * locale/iso-639.def: Add wae entry.
9258 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9261 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9265 * locale/C-translit.h.in: Add entry for U20B9.
9266 Patch by pravin.d.s@gmail.com.
9268 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9271 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9272 ENAMETOOLONG use generic getcwd.
9273 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9274 in rtld. Use *stat64.
9275 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9276 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9277 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9278 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9279 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9280 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9281 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9283 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9284 * dirent/rewinddir.c: Add libc_hidden_def.
9285 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9286 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9288 * include/dirent.h (__alloc_dir): Add flags parameter.
9289 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9290 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9292 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9293 from fdopendir if O_CLOEXEC is already set.
9295 2011-03-15 Alan Modra <amodra@gmail.com>
9297 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9298 l_tls_firstbyte_offset non-zero. Save padding offset in
9299 l_tls_firstbyte_offset for later use.
9300 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9301 freeing static tls block.
9303 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9305 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9306 where #ifdef was intended. The intent is to prevent ARG_MAX from
9307 being defined by the kernel headers.
9309 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9312 * resolv/resolv.h: Define RES_NOTLDQUERY.
9313 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9314 no-tld-query and set RES_NOTLDQUERY.
9315 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9316 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9317 modern BIND to search name as TLD unless forbidden.
9319 2011-05-07 Petr Baudis <pasky@suse.cz>
9320 Ulrich Drepper <drepper@gmail.com>
9323 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9324 (is_trusted_path): ...to here.
9325 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9326 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9327 using is_trusted_path_normalize() in setuid scripts.
9329 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9331 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9332 __BEGIN/__END_DECLS.
9334 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9337 NSS_STATUS_NOTFOUND if no record was found.
9339 2011-05-05 Andreas Schwab <schwab@redhat.com>
9341 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9342 (headers-not-in-tirpc): Remove rpc/netdb.h
9343 * resolv/netdb.h: Revert last change.
9345 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9347 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9348 circular dependency between libgcc.a and libc.a.
9350 2011-05-05 Andreas Schwab <schwab@redhat.com>
9352 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9353 * nis/Makefile: Don't install rpcsvc/*.
9354 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9355 instead of <rpc/types.h>.
9356 (MAXHOSTNAMELEN): Define.
9358 2011-05-03 Andreas Schwab <schwab@redhat.com>
9360 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9362 2011-04-28 Maciej Babinski <mbabinski@google.com>
9365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9366 gethostbyname4_r when IPv6 results are possible.
9368 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9372 _PC_PIPE_BUF handling.
9374 2011-04-30 Bruno Haible <bruno@clisp.org>
9377 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9378 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9380 * inet/getnameinfo.c (getnameinfo): Likewise.
9382 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9384 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9385 to groups setting in database lookup.
9386 * nss/nsswitch.conf: Add initgroups entry.
9388 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9391 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9393 Patch by Eric Blake <eblake@redhat.com>.
9395 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9397 * sunrpc/Makefile (need-export-routines): Add svc_run.
9398 (routines): Remove svc_run.
9399 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9400 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9401 * sunrpc/svc_run.c (svc_run): Likewise.
9402 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9404 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9407 problem in reallocation in last patch.
9409 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9411 * sunrpc/Makefile: Move inclusion of Rules.
9413 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9415 * nss/nss_files/files-initgroups.c: New file.
9416 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9417 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9418 _nss_files_initgroups_dyn.
9420 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9422 * elf/elf.h (R_ARM_IRELATIVE): Define.
9424 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9426 * po/ru.po: Update from translation team.
9428 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9430 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9433 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9437 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9442 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9446 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9450 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9453 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9455 * stdlib/bug-getcontext.c: New file.
9456 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9458 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9460 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9461 instructions into .machine "z9-109".
9462 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9463 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9465 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9467 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9468 between environment variables and auxiliary vector.
9470 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9472 * Makefile: Add rules to build linkobj/libc.so.
9473 * include/libc-symbols.h: Define libc_hidden_nolink.
9474 * include/rpc/auth.h: Mark functions which are to be hidden.
9475 * include/rpc/auth_des.h: Likewise.
9476 * include/rpc/auth_unix.h: Likewise.
9477 * include/rpc/clnt.h: Likewise.
9478 * include/rpc/des_crypt.h: Likewise.
9479 * include/rpc/key_prot.h: Likewise.
9480 * include/rpc/pmap_clnt.h: Likewise.
9481 * include/rpc/pmap_prot.h: Likewise.
9482 * include/rpc/pmap_rmt.h: Likewise.
9483 * include/rpc/rpc_msg.h: Likewise.
9484 * include/rpc/svc.h: Likewise.
9485 * include/rpc/svc_auth.h: Likewise.
9486 * include/rpc/xdr.h: Likewise.
9487 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9488 * nss/Makefile: Likewise.
9489 * sunrpc/Makefile: Don't install headers. Build library with normal
9490 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9491 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9492 for the compat linking library. Remove use of INTDEF/INTUSE.
9493 * sunrpc/auth_none.c: Likewise.
9494 * sunrpc/auth_unix.c: Likewise.
9495 * sunrpc/authdes_prot.c: Likewise.
9496 * sunrpc/authuxprot.c: Likewise.
9497 * sunrpc/clnt_gen.c: Likewise.
9498 * sunrpc/clnt_perr.c: Likewise.
9499 * sunrpc/clnt_raw.c: Likewise.
9500 * sunrpc/clnt_simp.c: Likewise.
9501 * sunrpc/clnt_tcp.c: Likewise.
9502 * sunrpc/clnt_udp.c: Likewise.
9503 * sunrpc/clnt_unix.c: Likewise.
9504 * sunrpc/des_crypt.c: Likewise.
9505 * sunrpc/des_soft.c: Likewise.
9506 * sunrpc/get_myaddr.c: Likewise.
9507 * sunrpc/key_call.c: Likewise.
9508 * sunrpc/key_prot.c: Likewise.
9509 * sunrpc/netname.c: Likewise.
9510 * sunrpc/pm_getmaps.c: Likewise.
9511 * sunrpc/pm_getport.c: Likewise.
9512 * sunrpc/pmap_clnt.c: Likewise.
9513 * sunrpc/pmap_prot.c: Likewise.
9514 * sunrpc/pmap_prot2.c: Likewise.
9515 * sunrpc/pmap_rmt.c: Likewise.
9516 * sunrpc/publickey.c: Likewise.
9517 * sunrpc/rpc_cmsg.c: Likewise.
9518 * sunrpc/rpc_common.c: Likewise.
9519 * sunrpc/rpc_dtable.c: Likewise.
9520 * sunrpc/rpc_prot.c: Likewise.
9521 * sunrpc/rpc_thread.c: Likewise.
9522 * sunrpc/rtime.c: Likewise.
9523 * sunrpc/svc.c: Likewise.
9524 * sunrpc/svc_auth.c: Likewise.
9525 * sunrpc/svc_authux.c: Likewise.
9526 * sunrpc/svc_raw.c: Likewise.
9527 * sunrpc/svc_run.c: Likewise.
9528 * sunrpc/svc_simple.c: Likewise.
9529 * sunrpc/svc_tcp.c: Likewise.
9530 * sunrpc/svc_udp.c: Likewise.
9531 * sunrpc/svc_unix.c: Likewise.
9532 * sunrpc/svcauth_des.c: Likewise.
9533 * sunrpc/xcrypt.c: Likewise.
9534 * sunrpc/xdr.c: Likewise.
9535 * sunrpc/xdr_array.c: Likewise.
9536 * sunrpc/xdr_float.c: Likewise.
9537 * sunrpc/xdr_intXX_t.c: Likewise.
9538 * sunrpc/xdr_mem.c: Likewise.
9539 * sunrpc/xdr_rec.c: Likewise.
9540 * sunrpc/xdr_ref.c: Likewise.
9541 * sunrpc/xdr_sizeof.c: Likewise.
9542 * sunrpc/xdr_stdio.c: Likewise.
9544 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9547 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9548 * sysdeps/ia64/dl-tls.h: Likewise.
9549 * sysdeps/powerpc/dl-tls.h: Likewise.
9550 * sysdeps/s390/dl-tls.h: Likewise.
9551 * sysdeps/sh/dl-tls.h: Likewise.
9552 * sysdeps/sparc/dl-tls.h: Likewise.
9553 * sysdeps/x86_64/dl-tls.h: Likewise.
9554 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9556 2011-03-14 Andreas Schwab <schwab@redhat.com>
9558 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9559 rpath element also skip the following colon.
9560 (expand_dynamic_string_token): Add is_path parameter and pass
9561 down to DL_DST_REQUIRED and _dl_dst_substitute.
9562 (decompose_rpath): Call expand_dynamic_string_token with
9563 non-zero is_path. Ignore empty rpaths.
9564 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9567 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9572 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9575 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9576 Patch by Filipe David Manana <fdmanana@apache.org>.
9578 2011-04-07 Andreas Schwab <schwab@redhat.com>
9580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9581 Maintain aligned stack.
9582 (CHECK_RSP): Remove unused macro.
9584 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9586 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9587 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9589 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9591 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9593 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9595 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9598 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9599 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9600 * sysdeps/x86_64/memmove.c: New file.
9601 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9602 (memcpy): Renamed to ...
9603 (__new_memcpy): This.
9604 (memcpy): Provide GLIBC_2_14 memcpy.
9605 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9606 (memcpy): Provide GLIBC_2_2_5 memcpy.
9608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9611 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9613 2011-03-30 Andreas Schwab <schwab@redhat.com>
9615 * misc/syncfs.c: New file.
9616 * misc/Makefile (routines): Add syncfs.
9617 * posix/unistd.h: Declare syncfs.
9618 * sysdeps/unix/syscalls.list: Add syncfs.
9620 2011-04-01 Andreas Schwab <schwab@redhat.com>
9622 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9629 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9632 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9642 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9643 sync_file_range.c with -fexceptions.
9644 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9645 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9649 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9651 sync_file_range as cancellation point
9652 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9653 now a wrapper around __call_sync_file_range with cancellation handling.
9654 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9656 function name to __call_sync_file_range.
9657 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9658 Add call_sync_file_range.
9660 2011-04-01 Andreas Schwab <schwab@redhat.com>
9662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9665 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9667 * iconv/iconv.h: Fix typo in comment.
9668 * io/fcntl.h: Likewise.
9669 * libio/stdio.h: Likewise.
9670 * posix/spawn.h: Likewise.
9671 * posix/unistd.h: Likewise.
9672 * stdlib/stdlib.h: Likewise.
9673 * time/time.h: Likewise.
9674 * wcsmbs/wchar.h: Likewise.
9676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9677 open_by_handle): Add.
9678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9679 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9680 Augment a few comments.
9681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9686 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9689 * io/fcntl.h (AT_EMPTY_PATH): Define.
9691 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9693 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9694 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9695 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9697 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9698 * Versions.def: Add GLIBC_2.14.
9699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9702 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9708 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9711 * string/test-strncmp.c (do_page_test): New function.
9713 (test_main): Call check2.
9714 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9716 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9720 Handle cache information in CPU leaf 4.
9721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9723 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9726 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9727 character representation.
9728 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9730 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9733 END(__isnan) to END(__isnanf) to match function entry point/label
9734 EALIGN(__isnanf,...).
9736 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9738 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9740 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9743 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9744 copy from the symbol referenced in the relocation to initialize the
9746 Patch by Piotr Bury <pbury@goahead.com>.
9747 * elf/Makefile: Add rules to build and tst-unique3.
9748 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9749 * elf/tst-unique3.cc: New file.
9750 * elf/tst-unique3.h: New file.
9751 * elf/tst-unique3lib.cc: New file.
9752 * elf/tst-unique3lib2.cc: New file.
9754 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9756 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9758 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9759 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9762 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9764 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9765 to-be-loaded object along a path to loader is ld.so.
9767 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9768 Ulrich Drepper <drepper@gmail.com>
9770 * sysdeps/x86_64/memset.S: After aligning destination, code
9771 branches to different locations depending on the value of
9772 misalignment, when multiarch is enabled. Fix this.
9774 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9776 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9777 Set _x86_64_preferred_memory_instruction for AMD processsors.
9778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9779 Set bit_Prefer_SSE_for_memop for AMD processors.
9781 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9783 * libio/fmemopen.c (fmemopen): Optimize a bit.
9785 2011-03-03 Andreas Schwab <schwab@redhat.com>
9787 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9789 2011-03-03 Roland McGrath <roland@redhat.com>
9791 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9793 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9795 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9796 __bzero_ultra1 instead of __memset_ultra1.
9798 2011-02-23 Andreas Schwab <schwab@redhat.com>
9799 Ulrich Drepper <drepper@gmail.com>
9802 * include/link.h (struct link_map): Add l_orig_initfini.
9803 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9804 returning unsuccessfully.
9805 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9806 close of a file loaded at startup, restore the original l_initfini
9808 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9809 list, store the pointer.
9810 * elf/Makefile ($(objpfx)noload-mem): New rule.
9811 (noload-ENV): Define.
9812 (tests): Add $(objpfx)noload-mem.
9813 * elf/noload.c: Include <memcheck.h>.
9814 (main): Call mtrace. Close all opened handles.
9816 2011-02-17 Andreas Schwab <schwab@redhat.com>
9819 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9820 dependencies are missing.
9822 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9824 Fix __if_freereq crash: Unlike the generic version which uses free,
9826 * sysdeps/mach/hurd/ifreq.h: New file.
9828 2011-01-27 Petr Baudis <pasky@suse.cz>
9829 Ulrich Drepper <drepper@gmail.com>
9832 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9834 * stdio-common/bug23.c: New file.
9835 * stdio-common/Makefile (tests): Add bug23.
9837 2010-09-28 Andreas Schwab <schwab@redhat.com>
9838 Ulrich Drepper <drepper@gmail.com>
9841 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9842 before performing relro protection. At old place add assertion
9843 to make sure nothing changed.
9845 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9846 Glauber de Oliveira Costa <glommer@gmail.com>
9848 * elf/elf.h: Add new ARM TLS relocs.
9850 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9853 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9855 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9857 * sysdeps/wordsize-64/tst-writev.c: New file.
9859 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9861 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9862 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9863 insns in _dl_start to prevent a TOC reference before relocs are
9866 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9869 * Makeconfig: Remove RANLIB definition.
9870 * Makerules: Don't use RANLIB.
9871 * aclocal.m4: Remove ranlib test.
9872 * configure.in: No need to check for ranlib.
9873 * elf/rtld-Rules: Don't use RANLIB.
9875 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9877 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9879 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9880 inclusion protection macro.
9882 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9883 SIGRTMIN and SIGRTMAX and print information in that case only when
9884 SIGRTMIN is defined.
9886 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9888 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9889 arginfo fn returning -1.
9891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9892 and thousands string is zero terminated.
9894 2011-02-03 Andreas Schwab <schwab@redhat.com>
9896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9897 sysdeps/unix/sysv/linux/bits/socket.h.
9899 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9901 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9902 (__CPU_COUNT): Remove old macros.
9903 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9904 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9905 (__CPU_ALLOC, __CPU_FREE): Add macros.
9906 (__sched_cpualloc, __sched_cpufree): Add declarations.
9908 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9910 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9911 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9912 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9913 (readdhstai): Return value of addhstaiX call.
9914 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9915 (addgrbyX): Return value returned by cache_addgr.
9916 (readdgrbyname): Return value returned by addgrbyX.
9917 (readdgrbygid): Likewise.
9918 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9919 (addpwbyX): Return value returned by cache_addpw.
9920 (readdpwbyname): Return value returned by addhstbyX.
9921 (readdpwbyuid): Likewise.
9922 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9923 (addservbyX): Return value returned by cache_addserv.
9924 (readdservbyname): Return value returned by addservbyX:
9925 (readdservbyport): Likewise.
9926 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9927 (addhstbyX): Return value returned by cache_addhst.
9928 (readdhstbyname): Return value returned by addhstbyX.
9929 (readdhstbyaddr): Likewise.
9930 (readdhstbynamev6): Likewise.
9931 (readdhstbyaddrv6): Likewise.
9932 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9933 (readdinitgroups): Return value returned by addinitgroupsX.
9934 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9935 (prune_cache): Keep track of timeout value of re-added entries.
9936 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9937 * nscd/nscd.h: Adjust prototypes of readd* functions.
9939 2011-02-04 Roland McGrath <roland@redhat.com>
9941 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9942 (nis_stats): Likewise.
9943 * nis/nis_modify.c (nis_modify): Likewise.
9944 * nis/nis_remove.c (nis_remove): Likewise.
9945 * nis/nis_add.c (nis_add): Likewise.
9947 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9949 * posix/fnmatch_loop.c: Add some consts.
9951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9953 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9956 * config.make.in (config-cflags-novzeroupper): Define.
9957 * configure.in: Substitute libc_cv_cc_novzeroupper.
9958 * elf/Makefile (AVX-CFLAGS): Define.
9959 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9960 (CFLAGS-tst-auditmod4a.c): Likewise.
9961 (CFLAGS-tst-auditmod4b.c): Likewise.
9962 (CFLAGS-tst-auditmod6b.c): Likewise.
9963 (CFLAGS-tst-auditmod6c.c): Likewise.
9964 (CFLAGS-tst-auditmod7b.c): Likewise.
9965 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9967 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9969 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9970 function to the callback.
9971 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9973 2011-02-02 Andreas Schwab <schwab@redhat.com>
9975 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9978 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9981 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9983 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9985 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9988 * elf/Makefile: Add rules to build and run new test.
9989 * elf/tst-initorder.c: New file.
9990 * elf/tst-initorder.exp: New file.
9991 * elf/tst-initordera1.c: New file.
9992 * elf/tst-initordera2.c: New file.
9993 * elf/tst-initordera3.c: New file.
9994 * elf/tst-initordera4.c: New file.
9995 * elf/tst-initorderb1.c: New file.
9996 * elf/tst-initorderb2.c: New file.
9997 * elf/tst-order-a1.c: New file.
9998 * elf/tst-order-a2.c: New file.
9999 * elf/tst-order-a3.c: New file.
10000 * elf/tst-order-a4.c: New file.
10001 * elf/tst-order-b1.c: New file.
10002 * elf/tst-order-b2.c: New file.
10003 * elf/tst-order-main.c: New file.
10004 New test case by George Gensure <werkt0@gmail.com>.
10006 2010-10-01 Andreas Schwab <schwab@redhat.com>
10008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10009 decoding ACE if AI_CANONIDN.
10011 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10013 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10015 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10017 * version.h (RELEASE): Bump for 2.13 release.
10018 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10020 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10031 * posix/getconf.c: Update copyright year.
10032 * catgets/gencat.c: Likewise.
10033 * csu/version.c: Likewise.
10034 * debug/catchsegv.sh: Likewise.
10035 * debug/xtrace.sh: Likewise.
10036 * elf/ldconfig.c: Likewise.
10037 * elf/ldd.bash.in: Likewise.
10038 * elf/sprof.c (print_version): Likewise.
10039 * iconv/iconv_prog.c: Likewise.
10040 * iconv/iconvconfig.c: Likewise.
10041 * locale/programs/locale.c: Likewise.
10042 * locale/programs/localedef.c: Likewise.
10043 * malloc/memusage.sh: Likewise.
10044 * malloc/mtrace.pl: Likewise.
10045 * nscd/nscd.c (print_version): Likewise.
10046 * nss/getent.c: Likewise.
10048 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10049 PF_CAIF, and PF_ALG.
10050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10052 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10054 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10055 (modules-names): Use them.
10056 (ifunc-test-modules, ifunc-pie-tests): Define.
10057 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10058 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10059 (test-extras): Likewise.
10060 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10061 $(compile-command.c).
10062 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10063 (all-built-dso): Define.
10064 (check-textrel.out, check-execstack.out): Depend on it.
10066 * configure.in: Don't override --enable-multi-arch.
10068 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10071 * nscd/hstcache.c (tryagain): Define.
10072 (cache_addhst): Return tryagain not notfound for temporary errors.
10073 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10076 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10080 to make the syscall.
10081 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10084 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10085 and fall back to matching as normal character if the string ends before
10086 the matching ']' is found. This is what POSIX requires.
10087 * posix/testfnm.c: Adjust test result.
10088 * posix/globtest.sh: Adjust test result. Add new test.
10089 * posix/tst-fnmatch.input: Likewise.
10090 * posix/tst-fnmatch2.c: Add new test.
10092 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10094 * elf/Makefile (check-execstack): Revert last change. Depend on
10096 (check-execstack.h): New target.
10097 (generated): Add check-execstack.h.
10098 * elf/check-execstack.c: Include "check-execstack.h".
10099 (main): Revert last change.
10100 (handle_file): Return zero if GNU_STACK is absent and
10101 DEFAULT_STACK_PERMS doesn't include PF_X.
10103 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10105 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10106 in child fails because the descriptor is already closed.
10107 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10108 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10112 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10116 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10117 temporary buffer used to handle multi lookups locally.
10118 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10120 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10122 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10125 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10127 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10128 alignment for SSE2.
10130 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10133 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10134 characters. When rounding increased number of integer digits recompute
10136 * stdio-common/tst-grouping.c: New file.
10137 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10139 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10141 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10142 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10144 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10146 * bits/select.h: Likewise.
10148 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10150 * po/ja.po: Update from translation team.
10152 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10156 implementation just like for lxstat, fxstatat, et al.
10158 2010-12-27 Jim Meyering <meyering@redhat.com>
10161 * posix/regexec.c (build_trtable): Return failure indication upon
10162 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10164 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10167 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10173 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10176 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10177 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10179 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10181 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10182 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10183 script has SORT_BY_INIT_PRIORITY.
10184 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10185 NO_CTORS_DTORS_SECTIONS is defined.
10186 * elf/soinit.c: Likewise.
10187 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10188 NO_CTORS_DTORS_SECTIONS is defined.
10189 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10190 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10191 * sysdeps/sh/init-first.c: Likewise.
10192 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10194 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10196 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10197 always use the slow path.
10199 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10201 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10202 similar rule which adds the sysdep directories to the header search in
10203 order to pick up the correct platform stackinfo.h.
10204 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10205 perform test if it is, otherwise return successfully without testing.
10206 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10207 DEFAULT_STACK_PERMS define in stackinfo.h.
10208 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10209 defined in stackinfo.h.
10210 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10211 DEFAULT_STACK_PERMS defined in stackinfo.h.
10212 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10213 * sysdeps/ia64/stackinfo.h: Likewise.
10214 * sysdeps/s390/stackinfo.h: Likewise.
10215 * sysdeps/sh/stackinfo.h: Likewise.
10216 * sysdeps/sparc/stackinfo.h: Likewise.
10217 * sysdeps/x86_64/stackinfo.h: Likewise.
10218 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10219 PF_X for powerpc64. Retain PF_X for powerpc32.
10221 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10223 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10226 GETDENTS_64BIT_ALIGNED.
10228 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10230 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10232 2010-12-10 Andreas Schwab <schwab@redhat.com>
10234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10238 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10240 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10241 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10243 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10246 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10249 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10251 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10253 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10255 * po/it.po: Update from translation team.
10257 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10262 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10264 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10266 2010-11-24 Andreas Schwab <schwab@redhat.com>
10268 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10270 (gaih_getanswer_slice): Likewise.
10272 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10276 2010-05-31 Petr Baudis <pasky@suse.cz>
10279 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10280 silently even in the chroot mode.
10282 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10285 last patch a bit. Pretty printing
10287 2010-05-31 Petr Baudis <pasky@suse.cz>
10290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10291 initialization of skip_initgroups_dyn.
10293 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10298 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10300 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10302 2010-11-11 Andreas Schwab <schwab@redhat.com>
10304 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10305 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10306 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10307 ($(objpfx)tst-fnmatch-mem): New rule.
10308 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10309 * posix/tst-fnmatch.c (main): Call mtrace.
10311 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10314 Support Intel processor model 6 and model 0x2c.
10316 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10321 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10324 * string/test-strncasecmp.c (check_result): New function.
10325 (do_one_test): Use it.
10326 (check1): New function.
10327 (test_main): Use it.
10328 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10329 Support strcasecmp and strncasecmp.
10331 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10334 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10337 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10339 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10343 * sysdeps/x86_64/multiarch/bzero.S: New file.
10344 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10345 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10346 * sysdeps/x86_64/multiarch/memset.S: New file.
10347 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10349 Set bit_Prefer_SSE_for_memop for Intel processors.
10350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10352 (index_Prefer_SSE_for_memop): Define.
10353 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10355 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10360 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10364 (__x86_64_raw_data_cache_size_half): Likewise.
10365 (__x86_64_raw_shared_cache_size): Likewise.
10366 (__x86_64_raw_shared_cache_size_half): Likewise.
10368 * sysdeps/x86_64/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.
10372 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10373 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10374 and __x86_64_raw_shared_cache_size_half. Round
10375 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10376 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10377 to multiple of 256 bytes.
10379 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10383 of inacessible symlinks. Verify result of symlink before returning it.
10384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10385 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10387 2010-10-28 Erich Ritz <erichritz@gmail.com>
10389 * math/math.h (isinf): Fix typo in comment.
10391 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10393 * po/da.po: Update from translation team.
10395 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10397 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10398 is added to the list.
10400 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10401 Ulrich Drepper <drepper@gmail.com>
10403 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10404 the global list here. Move code to...
10405 (_dl_add_to_namespace_list): ...here. New function.
10406 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10407 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10408 * elf/dl-load.c (lose): Don't remove the element from the list.
10409 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10410 (_dl_map_object): Likewise.
10412 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10415 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10416 into all bytes of SSE register.
10417 Patch by Richard Li <richardpku@gmail.com>.
10419 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10422 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10425 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10427 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10428 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10435 2010-10-22 Andreas Schwab <schwab@redhat.com>
10437 * include/dlfcn.h (__RTLD_SECURE): Define.
10438 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10439 mode & __RTLD_SECURE instead.
10440 (open_path): Rename preloaded parameter to secure.
10441 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10442 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10443 * elf/dl-deps.c (openaux): Likewise.
10444 * elf/rtld.c (struct map_args): Remove is_preloaded.
10445 (map_doit): Don't use it.
10446 (dl_main): Likewise.
10447 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10448 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10450 2010-09-09 Andreas Schwab <schwab@redhat.com>
10452 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10453 (sysd-rules-targets): Remove duplicates.
10454 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10455 rtld-%.$o dependency.
10457 2010-10-18 Andreas Schwab <schwab@redhat.com>
10459 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10460 _dl_map_object do it.
10462 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10464 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10465 fast fma builtins, define the macros in the C99 standard.
10466 (FP_FAST_FMAF): Likewise.
10467 (FP_FAST_FMAL): Likewise.
10468 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10470 * bits/mathdef.h: Update copyright year.
10471 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10473 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10475 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10476 builtins, define the macros in the C99 standard.
10477 (FP_FAST_FMAF): Likewise.
10478 (FP_FAST_FMAL): Likewise.
10479 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10481 (FP_FAST_FMAF): Likewise.
10483 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10486 * math/libm-test.inc (fma_test): Some new testcases.
10487 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10489 y and infinite z. Do multiplication by C already in long double.
10490 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10492 y and infinite z. Do bitwise or of inexact bit into u.d.
10493 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10494 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10495 * sysdeps/i386/fpu/s_fma.S: Removed.
10496 * sysdeps/i386/fpu/s_fmal.S: Removed.
10498 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10501 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10503 computation is not scheduled after fetestexcept. Fix value
10504 of minimum denormal long double.
10506 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10509 * math/libm-test.inc (fma_test): Add some more tests.
10510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10513 2010-10-15 Andreas Schwab <schwab@redhat.com>
10515 * scripts/data/localplt-s390-linux-gnu.data: New file.
10516 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10518 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10521 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10522 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10524 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10526 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10528 if one of x and y is very large and the other is subnormal.
10529 * sysdeps/s390/fpu/s_fmaf.c: New file.
10530 * sysdeps/s390/fpu/s_fma.c: New file.
10531 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10532 * sysdeps/powerpc/fpu/s_fma.S: New file.
10533 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10534 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10537 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10540 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10543 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10544 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10545 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10546 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10547 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10550 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10553 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10554 * posix/bug-regex31.input: Add test case.
10556 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10558 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10559 * posix/bug-regex31.input: New file.
10562 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10563 (parse_sub_exp): Fix last change, use postorder.
10565 * posix/bug-regex31.c: New file.
10566 * posix/Makefile: Add rules to build and run bug-regex31.
10568 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10571 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10574 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10575 to have entries in sys_siglist.
10578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10581 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10584 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10585 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10586 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10587 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10589 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10590 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10591 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10592 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10593 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10594 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10596 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10597 * math/ftestexcept.c (fetestexcept): Likewise.
10598 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10599 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10600 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10602 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10603 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10606 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10609 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10612 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10614 * string/bug-strstr1.c: New file.
10615 * string/Makefile: Add rules to build and run bug-strstr1.
10617 2010-10-05 Eric Blake <eblake@redhat.com>
10620 * string/str-two-way.h (two_way_long_needle): Always clear memory
10621 when skipping input due to the shift table.
10623 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10626 * malloc/mcheck.c: Handle large requests.
10629 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10630 for strncmp and strncasecmp.
10631 * string/stratcliff.c: Add tests for strcmp and strncmp.
10632 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10634 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10636 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10639 2010-09-30 Andreas Jaeger <aj@suse.de>
10641 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10642 (CGROUP_SUPER_MAGIC): Define.
10643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10644 Handle btrfs and cgroup file systems.
10645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10648 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10650 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10651 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10653 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10656 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10657 trying to locate the ELF header.
10659 2010-09-27 Andreas Schwab <schwab@redhat.com>
10662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10663 Mask out sign-bit copies when constructing f_fsid.
10665 2010-09-24 Petr Baudis <pasky@suse.cz>
10667 * debug/stack_chk_fail_local.c: Add missing licence exception.
10668 * debug/warning-nop.c: Likewise.
10670 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10673 implementing getdents64 using getdents syscall, set d_type if
10674 __ASSUME_GETDENTS32_D_TYPE.
10676 2010-09-16 Andreas Schwab <schwab@redhat.com>
10678 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10679 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10681 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10684 * posix/unistd.h: Undo change of feature selection for ftruncate from
10687 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10689 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10692 2010-09-20 Andreas Schwab <schwab@redhat.com>
10694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10698 2010-09-14 Andreas Schwab <schwab@redhat.com>
10700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10701 variables after CHECK_SP call.
10702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10704 2010-09-13 Andreas Schwab <schwab@redhat.com>
10705 Ulrich Drepper <drepper@redhat.com>
10707 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10708 re-relocationg ld.so.
10709 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10710 _dl_init_paths call.
10711 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10714 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10716 * resolv/res_init.c (__res_vinit): Count the default server we added.
10718 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10719 Ulrich Drepper <drepper@redhat.com>
10722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10723 (____longjmp_chk): Use %ebx for saving value across system call.
10726 2010-09-06 Andreas Schwab <schwab@redhat.com>
10728 * manual/Makefile: Don't mix pattern rules with normal rules.
10730 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10732 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10734 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10735 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10736 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10737 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10741 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10744 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10745 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10747 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10749 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10750 * sysdeps/x86_64/addmul_1.S: Likewise.
10751 * sysdeps/x86_64/lshift.S: Likewise.
10752 * sysdeps/x86_64/mul_1.S: Likewise.
10753 * sysdeps/x86_64/rshift.S: Likewise.
10754 * sysdeps/x86_64/sub_n.S: Likewise.
10755 * sysdeps/x86_64/submul_1.S: Likewise.
10757 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10759 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10760 Define __sched_param instead of SCHED_* and sched_param when
10761 <bits/sched.h> is included with __need_schedparam defined.
10762 * bits/sched.h [__need_schedparam]
10763 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10764 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10765 (__defined_schedparam): Define to 1.
10766 (__sched_param): New structure, identical to sched_param.
10767 (__need_schedparam): Undefine.
10769 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10772 (epoll_create1): Declare.
10774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10776 2010-08-31 Andreas Schwab <schwab@redhat.com>
10779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10780 shifting retval into place.
10782 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10784 * nis/rpcsvc/nis.h: Update copyright notice.
10785 * nis/rpcsvc/nis.x: Likewise.
10786 * nis/rpcsvc/nis_callback.h: Likewise.
10787 * nis/rpcsvc/nis_callback.x: Likewise.
10788 * nis/rpcsvc/nis_object.x: Likewise.
10789 * nis/rpcsvc/nis_tags.h: Likewise.
10790 * nis/rpcsvc/yp.h: Likewise.
10791 * nis/rpcsvc/yp.x: Likewise.
10792 * nis/rpcsvc/ypupd.h: Likewise.
10793 * nis/yp_xdr.c: Likewise.
10794 * nis/ypupdate_xdr.c: Likewise.
10796 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10797 mainly the body of pmap_getport. Add parameters to specify timeouts.
10798 (pmap_getport): Use __libc_rpc_getport.
10799 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10800 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10801 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10803 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10808 2010-08-27 Roland McGrath <roland@redhat.com>
10810 * sysdeps/i386/i686/multiarch/Makefile
10811 (CFLAGS-varshift.c): New variable.
10813 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10815 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10816 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10820 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10822 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10824 * sysdeps/x86_64/strlen.S: Unroll the loop.
10825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10826 strlen-sse2 strlen-sse2-bsf.
10827 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10828 __strlen_no_bsf if bit_Slow_BSF is set.
10829 (__strlen_sse42): Removed.
10830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10831 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10833 2010-08-25 Roland McGrath <roland@redhat.com>
10835 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10836 * sysdeps/x86_64/multiarch/varshift.c: New file.
10837 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10838 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10839 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10840 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10842 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10845 strlen-sse2 strlen-sse2-bsf.
10846 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10847 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10848 (__strlen_sse2): Removed.
10849 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10852 bit_Slow_BSF for Atom.
10853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10854 (index_Slow_BSF): Define.
10855 (HAS_SLOW_BSF): Define.
10857 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10860 * resolv/res_init.c (__res_vinit): When no server address at all
10861 is given default to loopback.
10863 2010-08-24 Roland McGrath <roland@redhat.com>
10865 * configure.in: Remove config-name.h generation.
10866 * configure: Regenerated.
10867 * config-name.in: File removed.
10868 * scripts/config-uname.sh: New file.
10869 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10870 ($(objdir)config-name.h): New target.
10872 * sunrpc/rpc_parse.h: Avoid nested comment.
10874 2010-08-24 Richard Henderson <rth@redhat.com>
10875 Ulrich Drepper <drepper@redhat.com>
10876 H.J. Lu <hongjiu.lu@intel.com>
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10880 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10881 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10882 _mm_alignr_epi8 with _mm_loadu_si128.
10883 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10884 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10885 (__m128i_shift_right): Removed.
10886 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10887 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10888 * sysdeps/x86_64/multiarch/varshift.h: New file.
10889 * sysdeps/x86_64/multiarch/varshift.S: New file.
10891 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10893 * configure.in: Move assembler checks to before sysdep dir checking.
10895 2010-08-20 Petr Baudis <pasky@suse.cz>
10897 * LICENSES: Sync the sunrpc license.
10899 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10901 * sunrpc/auth_des.c: Update copyright notice once again.
10902 * sunrpc/auth_none.c: Likewise.
10903 * sunrpc/auth_unix.c: Likewise.
10904 * sunrpc/authdes_prot.c: Likewise.
10905 * sunrpc/authuxprot.c: Likewise.
10906 * sunrpc/bindrsvprt.c: Likewise.
10907 * sunrpc/clnt_gen.c: Likewise.
10908 * sunrpc/clnt_perr.c: Likewise.
10909 * sunrpc/clnt_raw.c: Likewise.
10910 * sunrpc/clnt_simp.c: Likewise.
10911 * sunrpc/clnt_tcp.c: Likewise.
10912 * sunrpc/clnt_udp.c: Likewise.
10913 * sunrpc/clnt_unix.c: Likewise.
10914 * sunrpc/des_crypt.c: Likewise.
10915 * sunrpc/des_soft.c: Likewise.
10916 * sunrpc/get_myaddr.c: Likewise.
10917 * sunrpc/getrpcport.c: Likewise.
10918 * sunrpc/key_call.c: Likewise.
10919 * sunrpc/key_prot.c: Likewise.
10920 * sunrpc/openchild.c: Likewise.
10921 * sunrpc/pm_getmaps.c: Likewise.
10922 * sunrpc/pm_getport.c: Likewise.
10923 * sunrpc/pmap_clnt.c: Likewise.
10924 * sunrpc/pmap_prot.c: Likewise.
10925 * sunrpc/pmap_prot2.c: Likewise.
10926 * sunrpc/pmap_rmt.c: Likewise.
10927 * sunrpc/rpc/auth.h: Likewise.
10928 * sunrpc/rpc/auth_unix.h: Likewise.
10929 * sunrpc/rpc/clnt.h: Likewise.
10930 * sunrpc/rpc/des_crypt.h: Likewise.
10931 * sunrpc/rpc/key_prot.h: Likewise.
10932 * sunrpc/rpc/netdb.h: Likewise.
10933 * sunrpc/rpc/pmap_clnt.h: Likewise.
10934 * sunrpc/rpc/pmap_prot.h: Likewise.
10935 * sunrpc/rpc/pmap_rmt.h: Likewise.
10936 * sunrpc/rpc/rpc.h: Likewise.
10937 * sunrpc/rpc/rpc_des.h: Likewise.
10938 * sunrpc/rpc/rpc_msg.h: Likewise.
10939 * sunrpc/rpc/svc.h: Likewise.
10940 * sunrpc/rpc/svc_auth.h: Likewise.
10941 * sunrpc/rpc/types.h: Likewise.
10942 * sunrpc/rpc/xdr.h: Likewise.
10943 * sunrpc/rpc_clntout.c: Likewise.
10944 * sunrpc/rpc_cmsg.c: Likewise.
10945 * sunrpc/rpc_common.c: Likewise.
10946 * sunrpc/rpc_cout.c: Likewise.
10947 * sunrpc/rpc_dtable.c: Likewise.
10948 * sunrpc/rpc_hout.c: Likewise.
10949 * sunrpc/rpc_main.c: Likewise.
10950 * sunrpc/rpc_parse.c: Likewise.
10951 * sunrpc/rpc_parse.h: Likewise.
10952 * sunrpc/rpc_prot.c: Likewise.
10953 * sunrpc/rpc_sample.c: Likewise.
10954 * sunrpc/rpc_scan.c: Likewise.
10955 * sunrpc/rpc_scan.h: Likewise.
10956 * sunrpc/rpc_svcout.c: Likewise.
10957 * sunrpc/rpc_tblout.c: Likewise.
10958 * sunrpc/rpc_util.c: Likewise.
10959 * sunrpc/rpc_util.h: Likewise.
10960 * sunrpc/rpcinfo.c: Likewise.
10961 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10962 * sunrpc/rpcsvc/key_prot.x: Likewise.
10963 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10964 * sunrpc/rpcsvc/mount.x: Likewise.
10965 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10966 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10967 * sunrpc/rpcsvc/rex.x: Likewise.
10968 * sunrpc/rpcsvc/rstat.x: Likewise.
10969 * sunrpc/rpcsvc/rusers.x: Likewise.
10970 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10971 * sunrpc/rpcsvc/spray.x: Likewise.
10972 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10973 * sunrpc/rtime.c: Likewise.
10974 * sunrpc/svc.c: Likewise.
10975 * sunrpc/svc_auth.c: Likewise.
10976 * sunrpc/svc_authux.c: Likewise.
10977 * sunrpc/svc_raw.c: Likewise.
10978 * sunrpc/svc_run.c: Likewise.
10979 * sunrpc/svc_simple.c: Likewise.
10980 * sunrpc/svc_tcp.c: Likewise.
10981 * sunrpc/svc_udp.c: Likewise.
10982 * sunrpc/svc_unix.c: Likewise.
10983 * sunrpc/svcauth_des.c: Likewise.
10984 * sunrpc/xcrypt.c: Likewise.
10985 * sunrpc/xdr.c: Likewise.
10986 * sunrpc/xdr_array.c: Likewise.
10987 * sunrpc/xdr_float.c: Likewise.
10988 * sunrpc/xdr_mem.c: Likewise.
10989 * sunrpc/xdr_rec.c: Likewise.
10990 * sunrpc/xdr_ref.c: Likewise.
10991 * sunrpc/xdr_sizeof.c: Likewise.
10992 * sunrpc/xdr_stdio.c: Likewise.
10994 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10997 2010-08-19 Andreas Schwab <schwab@redhat.com>
10999 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11001 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11003 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11006 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11008 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11010 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11013 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11015 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11018 2010-07-26 Anton Blanchard <anton@samba.org>
11020 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11021 * malloc/arena.c (heap_trim): Likewise.
11023 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11025 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11028 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11030 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11032 * sysdeps/i386/elf/Makefile: New file.
11034 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11036 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11037 from fanotify_init.
11038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11041 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11043 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11045 * sysdeps/multiarch/strcmp.S: Likewise.
11047 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11050 strncase_l-nonascii.
11051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11052 Add strncase_l-ssse3.
11053 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11054 * sysdeps/x86_64/strcmp.S: Likewise.
11055 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11056 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11057 * sysdeps/x86_64/strncase.S: New file.
11058 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11059 * sysdeps/x86_64/strncase_l.S: New file.
11060 * string/Makefile (strop-tests): Add strncasecmp.
11061 * string/test-strncasecmp.c: New file.
11063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11066 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11067 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11069 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11071 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11073 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11075 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11079 2010-05-01 Alan Modra <amodra@gmail.com>
11081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11082 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11083 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11084 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11085 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11086 tidying. Don't tail-call __sigjmp_save for static lib.
11087 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11089 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11090 (CALL_MCOUNT): Add eh info, and nop after bl.
11091 (TAIL_CALL_SYSCALL_ERROR): New macro.
11092 (PSEUDO_RET): Use it.
11093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11094 Correct save location of integer regs and cr.
11095 (_dl_profile_resolve): Correct cr save location. Delete nops
11096 after bl when SHARED. Reduce cfi size a little by better
11097 placement of cfi directives.
11098 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11099 make a stack frame. Instead use parm save area as a temp.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11101 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11103 Don't make a stack frame for parent, use parm save area.
11104 Increase child stack frame to 112 bytes. Don't save unused reg,
11105 and adjust reg usage. Set up cfi on error recovery and
11106 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11108 (__makecontext): Add dummy nop after jump to exit.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11110 Use correct parm save area and cr save, reduce stack frame.
11111 Correct cfi for possible PSEUDO_RET frame setup.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11113 Branch to local label emitted by PSEUDO_RET rather than
11116 2010-08-12 Andreas Schwab <schwab@redhat.com>
11119 * locale/programs/locale.c (print_assignment): New function.
11120 (show_locale_vars): Use it.
11122 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11124 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11126 (struct statfs64): Likewise.
11127 (_STATFS_F_FLAGS): Define.
11128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11130 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11131 (ST_VALID): Define locally.
11132 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11133 __statvfs_getflags, use the provided value.
11134 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11135 __ASSUME_STATFS_F_FLAGS.
11137 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11140 Add sys/fanotify.h.
11141 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11142 fanotify_mask for GLIBC_2.13.
11143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11144 fanotify_init and fanotify_mark.
11145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11146 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11150 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11151 prlimit64 for GLIBC_2.13.
11152 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11158 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11162 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11165 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11166 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11168 * nss/Makefile: Add rules to build and run tst-nss-test1.
11169 * shlib-versions: Add entry for libnss_test1.
11170 * nss/nss_test1.c: New file.
11171 * nss/tst-nss-test1.c: New file.
11173 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11174 (__nss_configure_lookup): Set appropriate entry in
11175 __nss_configure_lookup to true.
11176 * nss/nsswitch.h: Define enum with indeces of databases in
11177 databases and __nss_database_custom arrays. Declare
11178 __nss_database_custom.
11179 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11180 to avoid using nscd when custom rules are installed.
11181 * nss/getXXbyYY_r.c: Likewise.
11182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11184 * nss/nss_files/files-parse.c: Whitespace fixes.
11186 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11189 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11190 * posix/fnmatch_loop.c: Likewise.
11192 2010-07-17 Andi Kleen <ak@linux.intel.com>
11194 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11195 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11196 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11197 * Versions.def [GLIBC_2.13]: Add.
11199 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11202 Also fail if tpwd after pwuid call is NULL.
11204 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11206 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11207 when converting to ms.
11209 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11211 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11212 EOPNOTSUPP errors with ENOTTY.
11213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11214 EOPNOTSUPP errors with ENOTTY.
11216 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11219 Add strcasecmp_l-ssse3.
11220 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11222 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11226 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11228 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11230 * string/Makefile (strop-tests): Add strcasecmp.
11231 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11232 strcasecmp_l-nonascii.
11233 (gen-as-const-headers): Add locale-defines.sym.
11234 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11235 * sysdeps/x86_64/strcasecmp.S: New file.
11236 * sysdeps/x86_64/strcasecmp_l.S: New file.
11237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11238 * sysdeps/x86_64/locale-defines.sym: New file.
11239 * string/test-strcasecmp.c: New file.
11241 * string/test-strcasestr.c: Test both ends of the range of characters.
11242 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11244 2010-07-29 Roland McGrath <roland@redhat.com>
11247 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11249 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11251 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11254 2010-07-27 Andreas Schwab <schwab@redhat.com>
11256 * manual/memory.texi (Malloc Tunable Parameters): Document
11259 2010-07-26 Roland McGrath <roland@redhat.com>
11262 * configure.in (-fgnu89-inline check): Set and substitute
11263 gnu89_inline, not libc_cv_gnu89_inline.
11264 * configure: Regenerated.
11265 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11267 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11269 * string/test-strnlen.c: New file.
11270 * string/Makefile (strop-tests): Add strnlen.
11271 * string/tester.c (test_strnlen): Add a few more test cases.
11272 * string/tst-strlen.c: Better error reporting.
11274 * sysdeps/x86_64/strnlen.S: New file.
11276 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11279 lower-latency instructions.
11281 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11283 * string/test-strcasestr.c: New file.
11284 * string/test-strstr.c: New file.
11285 * string/Makefile (strop-tests): Add strstr and strcasestr.
11286 * string/str-two-way.h: Don't undefine MAX.
11287 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11289 2010-07-21 Andreas Schwab <schwab@redhat.com>
11291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11292 strcasestr-nonascii.
11293 (CFLAGS-strcasestr-nonascii.c): Define.
11294 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11296 Remove unused attribute.
11298 2010-07-20 Roland McGrath <roland@redhat.com>
11300 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11301 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11302 ld.so.cache was broken. With it, there is no way to disable dsocaps
11303 like LD_HWCAP_MASK can disable hwcaps.
11305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11307 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11309 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11311 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11312 call in strcasestr.
11313 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11314 __strcasestr_sse42_nonascii.
11315 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11316 strcasestr-nonascii.c.
11317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11319 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11326 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11331 2010-07-06 Andreas Schwab <schwab@redhat.com>
11334 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11337 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11340 _PC_PIPE_BUF using F_GETPIPE_SZ.
11342 2010-07-05 Roland McGrath <roland@redhat.com>
11344 * manual/arith.texi (Rounding Functions): Fix rint description
11345 implicit in round description.
11347 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11349 * elf/Makefile: Fix linking for a few tests to make recent linker
11352 2010-06-30 Andreas Schwab <schwab@redhat.com>
11354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11355 $(common-objpfx)libc_nonshared.a.
11357 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11359 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11360 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11361 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11362 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11363 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11381 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11382 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11383 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11384 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11385 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11386 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11387 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11388 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11389 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11390 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11391 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11392 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11408 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11410 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11411 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11412 * string/memmove.c (memmove): Renamed to ...
11413 (MEMMOVE): ...this. Default to memmove.
11414 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11415 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11418 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11419 mempcpy-ssse3-back memmove-ssse3-back.
11420 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11423 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11424 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11425 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11426 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11427 * sysdeps/x86_64/multiarch/memmove.c: New file.
11428 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11429 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11430 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11431 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11435 (index_Fast_Copy_Backward): Define.
11436 (HAS_ARCH_FEATURE): Define.
11437 (HAS_FAST_REP_STRING): Define.
11438 (HAS_FAST_COPY_BACKWARD): Define.
11440 2010-06-21 Andreas Schwab <schwab@redhat.com>
11442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11443 Restore proper fallback handling.
11445 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11448 * posix/group_member.c (__group_member): Correct checking loop.
11450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11451 OOM in getpwuid_r correctly. Return error number when the caller
11452 should return, otherwise -1.
11453 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11454 call returning > 0 value.
11455 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11457 2010-06-07 Andreas Schwab <schwab@redhat.com>
11459 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11460 libc_nonshared.a from targets in modules-names.
11462 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11464 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11467 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11474 2010-06-02 Andreas Schwab <schwab@redhat.com>
11476 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11478 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11489 2010-06-14 Roland McGrath <roland@redhat.com>
11491 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11493 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11495 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11496 __REDIRECT followed by __THROW.
11497 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11498 * posix/getopt.h (getopt): Likewise.
11500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11502 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11503 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11504 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11506 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11507 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11509 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11513 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11517 Properly check family and model.
11519 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11523 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11525 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11527 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11529 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11532 2010-05-19 Andreas Schwab <schwab@redhat.com>
11534 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11537 2010-05-21 Andreas Schwab <schwab@redhat.com>
11539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11540 and internal_recvmmsg.
11541 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11544 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11546 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11550 2010-05-20 Andreas Schwab <schwab@redhat.com>
11552 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11554 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11556 POWER7 optimizations.
11557 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11558 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11560 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11562 * version.h: Update for 2.13 development version.
11564 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11566 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11567 exceptions. Return 0.
11569 2010-05-07 Roland McGrath <roland@redhat.com>
11571 * elf/ldconfig.c (main): Add a const.
11573 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11575 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11576 (args_options): Add no-idn option.
11577 (ahosts_keys_int): Add idn_flags to ai_flags.
11578 (parse_option): Handle 'i' option to clear idn_flags.
11580 * malloc/malloc.c (_int_free): Possible race in the most recently
11581 added check. Only act on the data if no current modification
11584 See ChangeLog.17 for earlier changes.