1 2012-04-11 Jim Meyering <meyering@redhat.com>
4 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5 It is not necessarily an error to ignore fwrite's return
6 value. One can reliably use ferror to test for errors after
9 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11 * bits/types.h (__snseconds_t): New type.
12 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16 (__SNSECONDS_T_TYPE): Likewise.
17 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18 (__SNSECONDS_T_TYPE): Likewise.
19 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20 (__SNSECONDS_T_TYPE): Likewise.
22 2012-04-10 Andreas Jaeger <aj@suse.de>
25 * manual/time.texi (Processor Time): Return type of times is
26 elapsed real time since an arbitrary point in the past.
27 (CPU Time): Move CLK_TCK from here...
28 (Processor Time): ...to here. Correct description.
29 * manual/conf.texi (Constants for Sysconf): Correct description of
32 2012-04-10 David S. Miller <davem@davemloft.net>
35 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36 where the is a gap between DT_REL(A) and DT_JMPREL.
38 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48 (dl_main): Handle --inhibit-cache.
49 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51 * elf/dl-load.c (_dl_map_object): Use it.
52 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54 2012-04-09 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/i386/fpu/e_powl.S (p78): New object.
58 (__ieee754_powl): Saturate large exponents rather than testing for
59 overflow of y*log2(x).
60 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61 * math/libm-test.inc (pow_test): Do not permit spurious overflow
65 * math/s_ctan.c: Include <float.h>.
66 (__ctan): Avoid internal overflow or cancellation in calculating
68 * math/s_ctanf.c: Likewise.
69 * math/s_ctanl.c: Likewise.
70 * math/s_ctanh.c: Likewise.
71 * math/s_ctanhf.c: Likewise.
72 * math/s_ctanhl.c: Likewise.
73 * math/libm-test.inc (ctan_test): Add more tests.
74 (ctanh_test): Likewise.
75 * sysdeps/i386/fpu/libm-test-ulps: Update.
76 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78 2012-04-09 Andreas Jaeger <aj@suse.de>
81 * manual/filesys.texi (Directory Entries): Mention that d_namlen
82 is an optional BSD extension.
85 * manual/stdio.texi (Opening Streams): Document additional fopen
88 2012-04-09 Roland McGrath <roland@hack.frob.com>
90 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
91 %eax without telling the compiler.
93 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
96 * manual/install.texi: Use sourceware.org.
98 2012-04-09 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
102 (__ieee754_pow): Generate overflow and underflow using huge*huge
103 and tiny*tiny rather than just returning constant infinity or zero
105 * math/libm-test.inc (pow_test): Require overflow exceptions for
106 applicable cases of large exponents.
109 * sysdeps/i386/fpu/e_pow.S (p10): New object.
110 (__ieee754_pow): Use iterative multiplication algorithm only for
111 integer exponents with absolute value below 1024. Check for odd
112 integer exponents when using algorithm for real exponents.
113 * math/libm-test.inc (pow_test): Add more tests.
114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
116 2012-04-08 Joseph Myers <joseph@codesourcery.com>
119 * math/libm-test.inc (exp_test): Do not allow overflow exception
122 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
125 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
126 instead of __kernel_standard_f.
128 2012-04-08 Mike Frysinger <vapier@gentoo.org>
130 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
131 * sysdeps/x86_64/memset_chk.S: Likewise.
133 2012-04-08 Andreas Jaeger <aj@suse.de>
136 * manual/startup.texi (Environment Access): Describe return value
137 for putenv and setenv.
140 * manual/filesys.texi (Directory Entries): Add description for
144 * manual/filesys.texi (Directory Entries): Clarify that it's file
145 system not operating system in the description of DT_UNKNOWN.
148 * manual/syslog.texi (closelog): Fix reference, it's openlog.
150 2012-04-08 Stephen Compall <s11@member.fsf.org>
153 * manual/llio.texi (Opening and Closing Files): Add cross
154 reference to explain mode argument.
156 2012-04-07 Mike Frysinger <vapier@gentoo.org>
158 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
159 * sysdeps/x86_64/memset_chk.S: Likewise.
161 2012-04-07 David S. Miller <davem@davemloft.net>
163 * elf/elf.h (R_SPARC_WDISP10): Define.
164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
167 R_SPARC_SIZE64 and R_SPARC_H34.
169 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
172 conditions and remove no longer applicable assertion.
174 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
176 * bits/byteswap.h: Include <features.h>.
177 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
178 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
180 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
182 * bits/byteswap.h (__bswap_16): Removed.
183 Include <bits/byteswap-16.h> to get __bswap_16.
184 * sysdeps/i386/bits/byteswap.h: Likewise.
185 * sysdeps/s390/bits/byteswap.h: Likewise.
186 * sysdeps/x86_64/bits/byteswap.h: Likewise.
187 * bits/byteswap-16.h: New file.
188 * sysdeps/i386/bits/byteswap-16.h: Likewise.
189 * sysdeps/s390/bits/byteswap-16.h: Likewise.
190 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
191 * string/Makefile (headers): Add bits/byteswap-16.h.
193 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
196 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
198 * nss/Makefile (tests-static, tests): Add tst-nss-static.
199 * nss/tst-nss-static.c: New.
201 2012-04-06 Robert Millan <rmh@gnu.org>
204 * manual/llio.texi (File Position Primitive): lseek
205 refers to WHENCE when it really means OFFSET.
207 2012-04-06 Andreas Jaeger <aj@suse.de>
209 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
210 strncmp declarations.
212 * abilist/libc.abilist: Add __poll and __ppoll.
214 2012-04-05 David S. Miller <davem@davemloft.net>
216 * scripts/check-local-headers.sh: Accept a host triplet in the
217 path matched by the exclude regexp.
219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
221 * sysdeps/powerpc/powerpc32/dl-machine.h
222 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
223 * sysdeps/s390/s390-32/dl-machine.h
224 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
225 * sysdeps/sparc/sparc32/dl-machine.h
226 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
227 * sysdeps/sparc/sparc64/dl-machine.h
228 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
230 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
232 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
233 undefined symbol errors.
235 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
238 2012-04-05 Michael Matz <matz@suse.de>
241 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
243 2012-04-05 Andreas Jaeger <aj@suse.de>
246 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
249 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
251 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
252 which ROUND is no valid rounding mode.
254 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
256 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
258 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
260 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
262 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
263 an exception using FPU order intentionally.
265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
267 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
268 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
269 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
270 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
272 2012-04-05 Simon Josefsson <simon@josefsson.org>
275 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
276 EINVAL when BUFLEN is too smal.
278 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
281 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
282 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
284 2012-04-03 Andreas Jaeger <aj@suse.de>
287 * manual/setjmp.texi (System V contexts): Fix sentence.
290 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
291 New macro for this case.
292 [!__GNUC__] (__bswap_64): New inline function for this case.
293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
294 * bits/byteswap.h: Likewise.
295 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
296 ull, guard with __GLIBC_HAVE_LONG_LONG.
298 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
299 __GLIBC_HAVE_LONG_LONG.
301 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
302 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
304 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
307 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
308 inptr and inend, rather than using last_ch.
310 2012-04-02 David S. Miller <davem@davemloft.net>
312 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
313 * stdio-common/printf-parse.h (read_int): Change return type to
314 'int', return -1 on INT_MAX overflow.
315 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
316 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
317 overflows INT_MAX. Check for overflow of in-format-string precision
318 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
319 SIZE_MAX not INT_MAX for integer overflow test.
320 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
321 skip the construct in the format string but do not record anything.
322 * stdio-common/bug22.c: Adjust to test both width/prevision
323 INT_MAX overflow as well as total length INT_MAX overflow. Check
324 explicitly for proper errno values.
326 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
328 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
330 * string/test-strcmp.c [! WIDE]: Likewise.
331 * time/tst-mktime2.c: Likewise for INT_MAX.
332 * string/test-string.h: #include <sys/param.h> for MIN.
334 * csu/init-first.c (__libc_init_first): Call __ctype_init.
335 * sysdeps/i386/init-first.c (init): Likewise.
336 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
337 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
338 * sysdeps/sh/init-first.c (init): Likewise.
340 2012-04-01 Ulrich Drepper <drepper@gmail.com>
342 * po/ru.po: Update from translation team.
343 * po/vi.po: Likewise.
345 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
347 * resolv/nss_dns/dns-host.c: Merge copyright years.
349 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
352 Optimize memcpy with prefetch if
353 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
354 src, dst pointers have unequal 16 byte alignments.
356 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
359 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
360 from a CNAME entry and return the minimum ttl for the query.
361 (gaih_getanswer_slice): Likewise.
363 2012-03-30 Jeff Law <law@redhat.com>
365 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
367 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
368 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
370 * resolv/nss_dns/dns-host.c: Update copyright year.
372 2012-03-30 Ulrich Drepper <drepper@gmail.com>
374 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
375 requests to save a system call. Fix check that all bytes are sent.
377 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
378 comments for sendmmsg.
380 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
383 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
384 with only 1 character between 0x0041 and 0x01b0.
385 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
386 * wcsmbs/tst-mbsnrtowcs.c: New file.
388 2012-03-29 David S. Miller <davem@davemloft.net>
390 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
391 small copies by hand.
393 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
397 _nss_compat_initgroups_dyn): Fall back to malloc/free
398 for large group memberships.
400 2012-03-28 David S. Miller <davem@davemloft.net>
402 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
403 that branches into memcpy.
404 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
407 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
410 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
412 * sysdeps/sparc/mempcpy.S: New file.
414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
415 the IFUNC routine in the libc case.
416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
419 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
420 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
421 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
422 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
423 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
424 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
425 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
427 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
428 loop to 256 bytes instead of 64 bytes and fix test signedness.
430 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
431 * sysdeps/sparc/sparc32/Makefile: rather than here...
432 * sysdeps/sparc/sparc64/Makefile: and here.
434 2012-03-28 Ulrich Drepper <drepper@gmail.com>
436 * malloc/mallocbug.c: Avoid warnings about unused variables.
438 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
441 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
442 in the right place. Discard and retry query if response is
443 larger than input buffer size.
445 2012-03-28 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
451 x for large integer exponent.
452 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
453 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
454 sign of result as needed afterwards.
455 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
456 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
457 result for underflowing pow the same as for overflow.
458 (__kernel_standard_l): Handle powl overflow and underflow here
459 rather than calling __kernel_standard.
460 * math/libm-test.inc (pow_test): Add more tests.
475 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
476 * sysdeps/ieee754/k_standard.c: Include <float.h>.
477 (__kernel_standard_l): New function.
478 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
480 * math/w_acosl.c (__acosl): Likewise.
481 * math/w_asinl.c (__asinl): Likewise.
482 * math/w_atan2l.c (__atan2l): Likewise.
483 * math/w_atanhl.c (__atanhl): Likewise.
484 * math/w_coshl.c (__coshl): Likewise.
485 * math/w_exp10l.c (__exp10l): Likewise.
486 * math/w_exp2l.c (__exp2l): Likewise.
487 * math/w_fmodl.c (__fmodl): Likewise.
488 * math/w_hypotl.c (__hypotl): Likewise.
489 * math/w_j0l.c (__j0l, __y0l): Likewise.
490 * math/w_j1l.c (__j1l, __y1l): Likewise.
491 * math/w_jnl.c (__jnl, __ynl): Likewise.
492 * math/w_lgammal.c (__lgammal): Likewise.
493 * math/w_log10l.c (__log10l): Likewise.
494 * math/w_log2l.c (__log2l): Likewise.
495 * math/w_logl.c (__logl): Likewise.
496 * math/w_powl.c (__powl): Likewise.
497 * math/w_remainderl.c (__remainderl): Likewise.
498 * math/w_scalbl.c (sysv_scalbl): Likewise.
499 * math/w_sinhl.c (__sinhl): Likewise.
500 * math/w_sqrtl.c (__sqrtl): Likewise.
501 * math/w_tgammal.c (__tgammal): Likewise.
502 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
503 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
504 * math/libm-test.inc (acos_test): Add more tests.
505 (acosh_test): Likewise.
506 (asin_test): Likewise.
507 (atanh_test): Likewise.
508 (exp_test): Likewise.
509 (exp10_test): Likewise.
510 (exp2_test): Likewise.
511 (expm1_test): Likewise.
512 (lgamma_test): Likewise.
513 (log_test): Likewise.
514 (log10_test): Likewise.
515 (log1p_test): Likewise.
516 (log2_test): Likewise.
517 (pow_test): Do not allow some spurious overflow exceptions.
518 (sqrt_test): Add more tests.
519 (tgamma_test): Likewise.
524 2012-03-27 Anton Blanchard <anton@samba.org>
526 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
532 2012-03-27 David S. Miller <davem@davemloft.net>
534 * conform/Makefile: Run run-conformtest.sh using $(BASH).
536 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
539 2012-03-27 Andreas Jaeger <aj@suse.de>
541 * sysdeps/x86_64/elf/configure.in: Moved to ...
542 * sysdeps/x86_64/configure.in: ... here.
543 * sysdeps/x86_64/elf/start.S: Moved to ...
544 * sysdeps/x86_64/start.S: ... here.
545 * sysdeps/x86_64/elf/configure: Delete.
547 * sysdeps/x86_64/configure.in: Merge contents from
548 sysdeps/i386/configure.in (without i686 check).
550 * sysdeps/i386/elf/Versions: Merge into ...
551 * sysdeps/i386/Versions: ... this.
552 * sysdeps/i386/elf/Versions: Delete file.
553 * sysdeps/i386/elf/start.S: Moved to ...
554 * sysdeps/i386/start.S: ...here.
555 * sysdeps/i386/elf/configure.in: Merge into...
556 * sysdeps/i386/configure.in: ...here.
557 * sysdeps/i386/elf/configure.in: Delete file.
558 * sysdeps/i386/elf/configure: Delete file.
560 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
561 * debug/backtracesyms.c: ... here.
562 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
563 * debug/backtracesymsfd.c: ... here.
564 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
565 * sysdeps/generic/ifunc-sel.h: ... here.
567 * sysdeps/unix/i386/start.c: Delete file.
568 * sysdeps/unix/sparc/start.c: Delete file.
569 * sysdeps/unix/start.c: Delete file.
571 * sysdeps/sh/elf/configure.in: Moved to ...
572 * sysdeps/sh/configure.in: ... here.
573 * sysdeps/sh/elf/start.S: Moved to ...
574 * sysdeps/sh/start.S: ... here.
575 * sysdeps/sh/elf/configure: Delete file.
577 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
578 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
579 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
580 * sysdeps/powerpc/powerpc64/entry.h: ... here.
581 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
582 * sysdeps/powerpc/powerpc64/start.S: here.
583 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
584 * sysdeps/powerpc/powerpc64/Makefile: ... this.
585 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
586 * sysdeps/powerpc/powerpc64/configure.in: ... this.
587 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
589 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
590 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
591 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
592 * sysdeps/powerpc/powerpc32/start.S: ... here.
593 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
594 * sysdeps/powerpc/powerpc32/configure.in: ... this.
595 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
597 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
598 * sysdeps/powerpc/ifunc-sel.h: ... here.
599 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
600 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
602 * sysdeps/sparc/elf/configure.in: Moved to ...
603 * sysdeps/sparc/configure.in: ... here.
604 * sysdeps/sparc/elf/configure: Delete file.
605 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
606 * sysdeps/sparc/sparc32/start.S: ... here.
607 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
608 * sysdeps/sparc/sparc64/start.S: ... here.
609 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
610 * sysdeps/sparc/sparc32/Makefile: ... this.
611 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
612 * sysdeps/sparc/sparc64/Makefile: ... this.
614 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
615 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
616 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
617 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
618 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
619 * sysdeps/s390/s390-32/setjmp.S: ... here.
620 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
621 * sysdeps/s390/s390-32/configure.in: ... here.
622 * sysdeps/s390/s390-32/elf/configure: Delete file.
623 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
624 * sysdeps/s390/s390-32/start.S: ... here.
626 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
627 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
628 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
629 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
630 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
631 * sysdeps/s390/s390-64/setjmp.S: ... here.
632 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
633 * sysdeps/s390/s390-64/configure.in: ... here
634 * sysdeps/s390/s390-64/elf/configure: Delete file.
635 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
636 * sysdeps/s390/s390-64/start.S: ... here.
637 * sysdeps/s390/s390-64/elf/configure: Delete.
639 * configure.in: Remove support for elf directories in sysdeps.
641 * configure: Regenerated.
642 * sysdeps/i386/configure: Regenerated.
643 * sysdeps/powerpc/powerpc32/configure: Regenerated.
644 * sysdeps/powerpc/powerpc64/configure: Regenerated.
645 * sysdeps/s390/s390-32/configure: Regenerated.
646 * sysdeps/s390/s390-64/configure: Regenerated.
647 * sysdeps/sh/configure: Regenerated.
648 * sysdeps/sparc/configure: Regenerated.
649 * sysdeps/x86_64/configure: Regenerated.
651 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
656 denormal result into account.
658 2012-03-25 Roland McGrath <roland@hack.frob.com>
660 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
661 Reported by Allan McRae <allan@archlinux.org>.
663 2012-03-23 Jeff Law <law@redhat.com>
665 * nss/getnssent.c (__nss_getent): Fix typo.
667 2012-03-23 David S. Miller <davem@davemloft.net>
669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
671 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
673 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
674 to pad to uint64_t for each field.
675 (dl_tls_index): Replace unsigned long with uint64_t.
677 2012-03-23 Daniel Jacobowitz <dmj@google.com>
678 Paul Pluzhnikov <ppluzhnikov@google.com>
681 * grp/Makefile (otherlibs): Don't set it.
682 * inet/Makefile (otherlibs): Likewise.
683 * login/Makefile (otherlibs): Likewise.
684 * nscd/Makefile (otherlibs): Likewise.
685 * posix/Makefile (otherlibs): Likewise.
686 * pwd/Makefile (otherlibs): Likewise.
687 * rt/Makefile (otherlibs): Likewise.
688 * sunrpc/Makefile (otherlibs): Likewise.
689 * nss/Makefile (otherlibs): Likewise.
690 Add libnss_files to routines and static-only-routines.
691 ($(objpfx)getent): Remove rule.
692 * resolv/Makefile: Add libnss_dns and libresolv to routines and
693 static-only-routines.
695 2012-03-22 Joseph Myers <joseph@codesourcery.com>
698 * math/s_cexp.c: Include <float.h>.
699 (__cexp): Handle exp result overflowing not necessarily
700 overflowing both real and imaginary parts of result.
701 * math/s_cexpf.c: Likewise.
702 * math/s_cexpl.c: Likewise.
703 * math/libm-test.inc (cexp_test): Add more tests.
704 * sysdeps/i386/fpu/libm-test-ulps: Update.
705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
707 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
709 * include/link.h (ELFW): New macro.
710 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
711 Replace ELF64_R_TYPE with ELFW(R_TYPE).
713 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
715 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
718 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
720 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
722 (struct La_x32_retval): Likewise.
724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
726 * sysdeps/x86_64/preconfigure.in: New file.
727 * sysdeps/x86_64/preconfigure: New generated file.
729 2012-03-22 Joseph Myers <joseph@codesourcery.com>
732 * math/e_exp2l.c: Include <float.h>.
733 (__ieee754_exp2l): Handle overflow and underflow cases
734 separately. Only pass fractional part of argument to
736 * math/libm-test.inc (exp2_test): Add more tests.
738 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
739 negating x to take absolute value.
740 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
745 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
746 computing low part if x was negated.
747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
749 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
751 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
753 (pltexit): Cast int_retval to ptrdiff_t.
754 * elf/tst-auditmod3b.c: Likewise.
755 * elf/tst-auditmod4b.c: Likewise.
756 * elf/tst-auditmod5b.c: Likewise.
757 * elf/tst-auditmod6b.c: Likewise.
758 * elf/tst-auditmod6c.c: Likewise.
759 * elf/tst-auditmod7b.c: Likewise.
761 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
764 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
766 (La_x32_regs): New macro.
767 (La_x32_retval): Likewise.
768 (la_x32_gnu_pltenter): New function prototype.
769 (la_x32_gnu_pltexit): Likewise.
771 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
778 * configure.in (libc_cv_cc_nofma): Check for option to disable
779 generation of FMA instructions.
780 * configure: Regenerate.
781 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
782 * sysdeps/ieee754/dbl-64/Makefile: New file.
783 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
784 Remove brandred-fma4.
785 (CFLAGS-brandred-fma4.c): Remove.
786 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
787 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
789 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
792 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
794 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
795 LLONG_MAX != LONG_MAX.
796 (_itoa_word): Use _ITOA_WORD_TYPE on value.
797 (_fitoa_word): Likewise.
798 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
799 LLONG_MAX != LONG_MAX.
800 * stdio-common/_itowa.h: Include <_itoa.h>.
801 (_itowa_word): Use _ITOA_WORD_TYPE on value.
802 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
803 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
805 (_ITOA_WORD_TYPE): Likewise.
806 (_itoa_word): Use _ITOA_WORD_TYPE on value.
807 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
809 2012-03-21 David S. Miller <davem@davemloft.net>
811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
813 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
815 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
816 of x86_64 when setting libc_cv_slibdir, libdir and
818 * sysdeps/unix/sysv/linux/configure: Regenerated.
820 2012-03-21 Joseph Myers <joseph@codesourcery.com>
822 * manual/lang.texi (Old Varargs): Remove section.
823 (How Variadic): Update menu.
824 (va_start): Do not mention varargs.h.
826 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
827 Joseph Myers <joseph@codesourcery.com>
829 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
831 * configure: Regenerated.
833 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
835 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
836 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
839 2012-03-21 Joseph Myers <joseph@codesourcery.com>
842 * Makefile (files-for-dist): Remove NOTES.
843 (NOTES): Remove rule.
844 * README: Don't refer to NOTES.
845 * manual/creature.texi: Don't include macros.texi.
846 * manual/intro.texi (creature.texi): Remove comment referring to
849 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
850 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
851 * configure: Regenerated.
852 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
854 (libc_cv_as_i686): Likewise.
855 (libc_cv_cc_avx): Likewise.
856 (libc_cv_cc_sse2avx): Likewise.
857 (libc_cv_cc_fma4): Likewise.
858 (libc_cv_cc_novzeroupper): Likewise.
859 * sysdeps/i386/configure: Regenerated.
862 * sysdeps/i386/fpu/s_cexp.S: Remove.
863 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
865 * math/libm-test.inc (cexp_test): Add more tests.
866 * sysdeps/i386/fpu/libm-test-ulps: Update.
867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869 2012-03-21 Allan McRae <allan@archlinux.org>
871 * timezone/Makefile: Do not install iso3166.tab and zone.tab
873 2012-03-21 Joseph Myers <joseph@codesourcery.com>
876 * math/w_exp2.c: Do not include <float.h>.
877 (o_threshold, u_threshold): Remove.
878 (__exp2): Calculate result before checking finiteness and calling
880 * math/w_exp2f.c: Likewise.
881 * math/w_exp2l.c: Likewise.
882 * math/libm-test.inc (exp2_test): Require overflow exception for
886 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
887 range of signed 64-bit integers before using fistpll. Remove
888 checks for whether integers fit in mantissa bits.
889 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
890 the range of signed 32-bit integers before using fistpl. Remove
891 checks for whether integers fit in mantissa bits.
892 * sysdeps/i386/fpu/e_powl.S (p64): New object.
893 (__ieee754_powl): Test for y outside the range of signed 64-bit
894 integers before using fistpll. Reduce 64-bit values to 63-bit
896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
897 divide-by-zero is raised for zero to large negative powers.
898 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
899 (__ieee754_powl): Test for y outside the range of signed 64-bit
900 integers before using fistpll. Reduce 64-bit values to 63-bit
902 * math/libm-test.inc (pow_test): Add more tests.
904 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
906 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
907 <stdio-common/_itoa.h>.
908 * debug/segfault.c: Likewise.
909 * elf/dl-cache.c: Likewise.
910 * elf/dl-minimal.c: Likewise.
911 * elf/dl-misc.c: Likewise.
912 * elf/dl-sysdep.c: Likewise.
913 * elf/dl-version.c: Likewise.
914 * elf/rtld.c: Likewise.
915 * hurd/hurdsock.c: Likewise.
916 * hurd/lookup-retry.c: Likewise.
917 * malloc/malloc.c: Likewise.
918 * malloc/mtrace.c: Likewise.
919 * nscd/nscd_getgr_r.c: Likewise.
920 * nscd/nscd_getpw_r.c: Likewise.
921 * nscd/nscd_getserv_r.c: Likewise.
922 * posix/getopt_init.c: Likewise.
923 * posix/wordexp.c: Likewise.
924 * stdio-common/_itoa.c: Likewise.
925 * stdio-common/printf_fphex.c: Likewise.
926 * stdio-common/vfprintf.c: Likewise.
927 * string/_strerror.c: Likewise.
928 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
929 * sysdeps/i386/i686/hp-timing.h: Likewise.
930 * sysdeps/mach/_strerror.c: Likewise.
931 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
932 * sysdeps/mach/hurd/sethostid.c: Likewise.
933 * sysdeps/mach/hurd/xmknodat.c: Likewise.
934 * sysdeps/mach/xpg-strerror.c: Likewise.
935 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
937 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
938 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
939 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
940 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
941 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
942 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
943 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
944 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
945 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
946 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
947 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
948 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
949 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
950 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
952 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
953 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
954 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
957 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
959 * stdio-common/_itoa.h: Moved to ...
960 * sysdeps/generic/_itoa.h: Here.
962 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
964 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
965 instead of "_itoa.h" and "_itowa.h".
966 * stdio-common/vfprintf.: Likewise.
968 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
970 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
972 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
973 (__signbit): Likwise.
977 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
979 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
982 2012-03-20 Joseph Myers <joseph@codesourcery.com>
984 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
985 OVERFLOW_EXCEPTION_OK.
986 * math/libm-test.inc ("Philosophy"): Update comment about
988 (OVERFLOW_EXCEPTION): Define.
989 (OVERFLOW_EXCEPTION_OK): Likewise.
990 (INVALID_EXCEPTION_OK): Renumber.
991 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
992 (IGNORE_ZERO_INF_SIGN): Likewise.
993 (test_exceptions): Handle FE_OVERFLOW.
994 (exp10_test): Expect overflow exceptions.
995 (exp2_test): Likewise.
996 (expm1_test): Likewise.
997 (nextafter_test): Likewise.
998 (pow_test): Likewise.
999 (scalbn_test): Likewise.
1000 (scalbln_test): Likewise.
1002 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/x86_64/bits/atomic.h
1005 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1007 (atomic_exchange_acq): Likewise.
1008 (__arch_exchange_and_add_body): Likewise.
1009 (__arch_add_body): Likewise.
1010 (atomic_add_negative): Likewise.
1011 (atomic_add_zero): Likewise.
1013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1015 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1016 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1018 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1020 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1021 Check __x86_64__ instead of __WORDSIZE.
1023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1025 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1027 2012-03-19 David S. Miller <davem@davemloft.net>
1029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1031 * sysdeps/sparc/fpu/fenv_private.h: New file.
1032 * sysdeps/sparc/fpu/math_private.h: Use it.
1033 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1035 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1036 (libc_feholdexcept_setroundl): Remove.
1037 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1039 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1040 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1042 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1044 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1045 int64_t instead of long int.
1046 (INSERT_WORDS64): Likwise.
1048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1051 _Unwind_GetCFA return to _Unwind_Ptr first.
1053 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1056 * math/s_clog.c: Include <float.h>.
1057 (__clog): Scale large or subnormal inputs.
1058 * math/s_clogf.c: Likewise.
1059 * math/s_clogl.c: Likewise.
1060 * math/s_clog10.c: Include <float.h>.
1061 (M_LOG10_2): Define.
1062 (__clog10): Scale large or subnormal inputs.
1063 * math/s_clog10f.c: Likewise.
1064 * math/s_clog10l.c: Likewise.
1065 * math/libm-test.inc (clog_test): Add more tests.
1066 (clog10_test): Likewise.
1067 * sysdeps/i386/fpu/libm-test-ulps: Update.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1071 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1073 * math/libm-test.inc (atan2_test): Add another test.
1075 * Makerules (common-objdir-compile): Remove.
1076 * sysdeps/unix/Makefile (config-generated): Do not add
1077 $(unix-generated) to variable.
1078 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1079 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1081 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1083 [generic bits/local_lim.h] (before-compile): Do not append to
1085 [generic bits/local_lim.h] (common-generated): Likewise.
1086 [generic sys/param.h] (before-compile): Do not append to variable.
1087 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1088 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1089 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1090 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1092 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1093 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1094 [generic sys/param.h] ($(addprefix
1095 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1096 [generic sys/param.h] (common-generated): Do not append to
1098 [generic sys/param.h] (sysdep_headers): Likewise.
1099 [generic bits/errno.h] (before-compile): Do not append to
1101 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1103 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1104 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1105 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1106 [generic bits/errno.h] (common-generated): Do not append to
1108 [generic bits/ioctls.h] (before-compile): Do not append to
1110 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1112 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1113 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1114 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1116 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1117 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1118 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1119 [generic bits/ioctls.h] (common-generated): Do not append to
1121 [generic sys/syscall.h] (syscall.h): Remove variable.
1122 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1124 [generic sys/syscall.h] (before-compile): Do not append to
1126 [generic sys/syscall.h] (common-generated): Likewise.
1127 * sysdeps/unix/errnos-tmpl.c: Remove file.
1128 * sysdeps/unix/errnos.awk: Likewise.
1129 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1130 * sysdeps/unix/ioctls.awk: Likewise.
1131 * sysdeps/unix/mk-local_lim.c: Likewise.
1132 * sysdeps/unix/snarf-ioctls: Likewise.
1134 2012-03-19 Richard Henderson <rth@twiddle.net>
1136 * sysdeps/i386/fpu/fenv_private.h: New file.
1137 * sysdeps/i386/fpu/math_private.h: Use it.
1138 (math_opt_barrier, math_force_eval): Remove.
1139 (libc_feholdexcept_setround_53bit): Remove.
1140 (libc_feupdateenv_53bit): Remove.
1141 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1142 (math_opt_barrier, math_force_eval): Remove.
1143 (libc_feholdexcept): Remove.
1144 (libc_feholdexcept_setround): Remove.
1145 (libc_fetestexcept, libc_fesetenv): Remove.
1146 (libc_feupdateenv_test): Remove.
1147 (libc_feupdateenv, libc_feholdsetround): Remove.
1148 (libc_feresetround): Remove.
1150 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1151 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1153 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1154 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1155 (libc_feupdateenv_testl): New.
1156 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1157 (libc_feupdateenv_testf): New.
1158 (libc_feupdateenv): Use libc_feupdateenv_test.
1159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1162 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1163 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1164 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1165 (libc_feresetround_noex): New.
1166 (libc_feresetround_noexf): New.
1167 (libc_feresetround_noexl): New.
1168 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1169 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1170 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1171 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1176 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1178 SET_RESTORE_ROUND_NOEX.
1179 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1180 SET_RESTORE_ROUND_NOEXF.
1181 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1182 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1183 (libc_feholdsetroundf): New.
1184 (libc_feresetround, libc_feresetroundf): New.
1186 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1187 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1188 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1190 * sysdeps/generic/math_private.h: Include <fenv.h>.
1191 (default_libc_feholdexcept): New.
1192 (default_libc_feholdexcept_setround): New.
1193 (default_libc_fesetenv, default_libc_feupdateenv): New.
1194 (libc_feholdexcept): Only define if undefined.
1195 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1196 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1197 (libc_feholdexcept_setroundl): Likewise.
1198 (libc_feholdexcept_setround_53bit): Likewise.
1199 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1200 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1201 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1202 (libc_feupdateenv_53bit): Likewise.
1203 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1204 (libc_feholdexcept): Convert from macro to inline function.
1205 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1206 (libc_fesetenv, libc_feupdateenv): Likewise.
1208 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1209 not previously defined.
1210 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1211 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1212 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1213 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1214 * sysdeps/ieee754/flt-32/math_private.h: New file.
1215 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1216 math_private.h below SET_FLOAT_WORD.
1217 (__isnan, __isinf_ns, __finite): Remove.
1218 (__isnanf, __isinf_nsf, __finitef): Remove.
1220 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1224 2012-03-17 David S. Miller <davem@davemloft.net>
1227 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1230 2012-03-16 David S. Miller <davem@davemloft.net>
1232 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1236 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1238 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1239 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1240 sysdep_routines when subdir is sysvipc.
1241 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1244 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1246 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1248 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1251 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1254 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1255 (__lround): Renamed to ...
1256 (__llround): This. Replace long int with long long int.
1257 Define lround functions as aliases of llround functions.
1258 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1260 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1262 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1263 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1264 adresses to uintptr_t. Replace "long int" and "unsigned long
1265 int" with "greg_t" on va_arg.
1267 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1269 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1270 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1272 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1273 Move e_machine check before EI_CLASS check. Handle x32
1274 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1275 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1276 SKIP_EM_IA_64 and include
1277 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1279 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1280 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1281 (add_system_dir): New macro.
1283 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1284 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1286 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1297 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1299 * math/w_j0f.c (j0f): Likewise.
1301 * math/w_j0l.c (__j0l): Likewise.
1303 * math/w_j1.c (j1): Likewise.
1305 * math/w_j1f.c (j1f): Likewise.
1307 * math/w_j1l.c (__j1l): Likewise.
1309 * math/w_jn.c (jn): Likewise.
1311 * math/w_jnf.c (jnf): Likewise.
1313 * math/w_jnl.c (__jnl): Likewise.
1315 * math/libm-test.inc (j0_test): Add more tests.
1316 (j1_test): Likewise.
1317 (jn_test): Likewise. Add trailing semicolon to existing test.
1318 (y0_test): Likewise.
1319 (y1_test): Likewise.
1320 * sysdeps/i386/fpu/libm-test-ulps: Update.
1321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1326 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1327 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1329 (__tanl): Set errno for infinite argument.
1330 * sysdeps/i386/fpu/mptan.c: Remove.
1331 * sysdeps/i386/fpu/s_tan.S: Likewise.
1332 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1333 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1334 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1335 * math/libm-test.inc (tan_test): Add more tests and enable more
1336 tests for double and long double.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1340 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1342 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1343 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1345 2012-03-16 Roland McGrath <roland@hack.frob.com>
1347 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1348 * configure.in: Use it for both main tree and add-ons.
1349 * configure: Regenerated.
1351 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1353 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1355 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1357 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1361 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1362 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1367 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1370 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1371 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1372 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1373 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1374 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1375 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1376 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1377 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1378 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1379 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1380 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1381 * math/libm-test.inc (cos_test): Add more tests and enable more
1382 tests for long double.
1383 (sin_test): Likewise.
1384 (sincos_test): Likewise.
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1388 2012-03-16 David S. Miller <davem@davemloft.net>
1390 * sysdeps/sparc/fpu/math_private.h: New file.
1392 2012-03-15 David S. Miller <davem@davemloft.net>
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1408 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1409 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1411 * sysdeps/sparc/sparc-ifunc.h: New file.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1457 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1459 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1463 2012-03-15 Andreas Jaeger <aj@suse.de>
1466 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1467 ieee754/flt-32 implementation for sin, cos and sincos.
1468 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1469 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1470 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1471 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1472 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1473 ieee754/flt-32 implementation for tan.
1475 * math/libm-test.inc (cos_test): Enable some large input tests for
1477 (sin_test): Likewise.
1478 (sincos_test): Likewise.
1479 (tan_test): Add tests for large input.
1481 * sysdeps/i386/fpu/libm-test-ulps: Update.
1483 2012-03-15 Andreas Jaeger <aj@suse.de>
1486 * math/libm-test.inc (cos_test): Add more test cases.
1487 (sin_test): Likewise.
1488 (sincos_test): Likewise.
1490 2012-03-15 Andreas Jaeger <aj@suse.de>
1493 * math/libm-test.inc (cos_test): Add a test case for large input
1495 (sin_test): Likewise.
1496 (sincos_test): Likewise.
1498 2012-03-15 Andreas Jaeger <aj@suse.de>,
1499 Joseph Myers <joseph@codesourcery.com>
1502 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1503 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1504 * sysdeps/i386/fpu/branred.c: Likewise.
1505 * sysdeps/i386/fpu/dosincos.c: Likewise.
1506 * sysdeps/i386/fpu/mpa.c: Likewise.
1507 * sysdeps/i386/fpu/s_cos.S: Likewise.
1508 * sysdeps/i386/fpu/s_sin.S: Likewise.
1509 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1510 * sysdeps/i386/fpu/sincos32.c: Likewise.
1512 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1514 (libc_feupdateenv_53bit): Define.
1515 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1517 (libc_feupdateenv_53bit): Define.
1519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1520 53 bit (without extend i386 double precision).
1522 * math/libm-test.inc (sincos_test): Add tests for large input.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1528 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1532 2012-03-15 David S. Miller <davem@davemloft.net>
1534 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1536 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1537 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1562 fmin/fmax sysdep routines.
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1565 2012-03-14 David S. Miller <davem@davemloft.net>
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1639 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1644 * sysdeps/sparc/configure.in: New file.
1645 * sysdeps/sparc/configure: Generate.
1646 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1647 * configure: Regenerate.
1648 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1649 * config.make.in (have-as-vis3): New.
1650 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1651 available use -Av9d instead of -Av9a.
1652 * sysdeps/sparc/sparc64/Makefile: Likewise.
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1668 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1669 fzeros/fnegs to load 0x80000000 into a float register instead of
1671 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1673 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1677 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1678 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1679 ($(inst_includedir)/bits/syscall.h): Remove rule.
1680 ($(objpfx)bits/syscall.d): Include instead of
1681 $(objpfx)syscall-list.d.
1682 (generated): Change syscall-list.h and syscall-list.d to
1683 bits/syscall.h and bits/syscall.d.
1685 2012-03-14 Roland McGrath <roland@hack.frob.com>
1688 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1690 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1693 * math/s_csqrt.c: Include <float.h>.
1694 (__csqrt): Scale large or subnormal inputs.
1695 * math/s_csqrtf.c: Likewise.
1696 * math/s_csqrtl.c: Likewise.
1697 * math/libm-test.inc (csqrt_test): Add more tests.
1698 * sysdeps/i386/fpu/libm-test-ulps: Update.
1699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1702 * math/libm-test.inc (hypot_test): Add more tests.
1704 2012-03-13 David S. Miller <davem@davemloft.net>
1707 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1708 double-precision for the calculation instead of scaling.
1710 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1712 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1713 manipulate bits before adding and subtracting TWO52[sx].
1714 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1715 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1719 2012-03-13 David S. Miller <davem@davemloft.net>
1721 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1722 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1724 rtld-global-offsets.h
1725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1727 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1732 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1733 'err' in the ifdef scope in which it is actually used.
1735 * nss/nss_db/db-init.c: Include string.h
1737 2012-03-12 David S. Miller <davem@davemloft.net>
1739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1740 masking out of the most significant byte of random value used.
1741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1742 Fix coding style in previous change.
1744 * sysdeps/unix/sysv/linux/kernel-features.h
1745 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1746 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1748 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1751 2012-03-11 David S. Miller <davem@davemloft.net>
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1754 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1756 for 'resultvar' otherwise things get truncated on 64-bit.
1758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1759 Fix masking out of the most significant byte of random value used.
1761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1763 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1767 2012-03-09 David S. Miller <davem@davemloft.net>
1769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1770 variables with appropriate CPP guards.
1771 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1772 frame pointer, not the stack pointer. Correct layout comments. Fix test
1773 on resulting framesize and the management of the outregs buffer for pltexit.
1774 Preserve floating point return values across _dl_call_pltexit call.
1775 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1776 framesize and the management of the outregs buffer for pltexit.
1777 Preserve floating point return values across _dl_call_pltexit
1779 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1780 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1781 (print_exit): Fix format string for return register value.
1783 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1785 * sunrpc/Makefile (others): Add rpcgen.
1786 ($(objpfx)rpcgen): Remove special build rule and dependency on
1788 * sunrpc/rpcgen.c: New file.
1790 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1793 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1794 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1795 * sysdeps/i386/crti.S: Likewise.
1796 * sysdeps/i386/crtn.S: Likewise.
1797 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1798 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1799 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1800 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1801 * sysdeps/sh/crti.S: Likewise.
1802 * sysdeps/sh/crtn.S: Likewise.
1803 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1806 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1808 * locale/programs/locfile-kw.gperf: Likewise.
1809 * locale/programs/charmap-kw.h: Regenerated.
1810 * locale/programs/locfile-kw.h: Likewise.
1813 * intl/plural.y: Replace FSF snail mail address with URL.
1814 * intl/plural.c: Regenerated.
1816 2012-03-09 Richard Henderson <rth@twiddle.net>
1818 * include/math_private.h: Remove file.
1819 * math/math_private.h: Move file ...
1820 * sysdeps/generic/math_private.h: ... here.
1822 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1823 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1824 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1826 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1827 and <math_private.h>.
1828 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1829 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1830 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1831 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1832 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1916 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1917 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1919 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1921 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1922 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1923 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1925 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1928 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1929 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1930 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1931 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1933 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1934 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1935 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1936 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1938 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1939 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1940 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1942 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1943 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1944 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1945 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1947 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1949 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1951 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1952 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1953 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1954 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1955 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1956 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1957 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1958 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1959 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1960 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1961 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1962 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1963 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1964 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1965 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1967 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1969 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1977 * sysdeps/ieee754/k_standard.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2097 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2100 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2110 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2118 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2127 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2128 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2138 * sysdeps/ieee754/s_lib_version.c: Likewise.
2139 * sysdeps/ieee754/s_matherr.c: Likewise.
2140 * sysdeps/ieee754/s_signgam.c: Likewise.
2141 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2143 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2144 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2145 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2146 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2147 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2148 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2149 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2150 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2151 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2152 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2155 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2158 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2159 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2163 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2165 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2166 * sunrpc/rpc_main.c: Likewise.
2167 * sunrpc/rpc_svcout.c: Likewise.
2169 2012-03-09 David S. Miller <davem@davemloft.net>
2171 * include/math_private.h: New file.
2173 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2175 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2176 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2177 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2178 from <bits/socket_type.h>.
2179 (enum __socket_type): Don't define here.
2180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2185 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2188 * Makerules ($(inst_includedir)/%.h): New rule.
2189 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2190 (install-others): Remove variable setting.
2191 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2193 2012-03-08 Richard Henderson <rth@twiddle.net>
2195 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2196 from macro to inline function; merge with the
2197 !__LIBC_INTERNAL_MATH_INLINES version.
2198 (__ieee754_sqrtf): Likewise.
2200 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2202 (__rintf, __floor, __floorf): Likewise.
2204 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2205 macro to inline function.
2206 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2209 not <math/math_private.h>.
2211 2012-03-08 David S. Miller <davem@davemloft.net>
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2215 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2217 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2219 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2221 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2222 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2224 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2226 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2227 be defined individually, they must be defined as a block. Define
2228 S for printing a string instead of hidint the different by using a
2229 macro for adding the 'l'.
2230 * stdio-common/tst-fphex-wide.c: Adjust.
2232 2012-03-07 Marek Polacek <polacek@redhat.com>
2234 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2236 2012-03-08 Marek Polacek <polacek@redhat.com>
2239 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2240 * stdio-common/tst-fphex.c: Define a few macros to make the
2241 test reusable. Use them.
2242 * stdio-common/tst-fphex-wide.c: New file.
2244 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2247 * manual/macros.texi (gnusystems): New macro.
2248 (nongnusystems): Likewise.
2249 (gnulinuxhurdsystems): Likewise.
2250 (gnuhurdsystems): Likewise..
2251 (gnulinuxsystems): Likewise.
2252 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2253 variants of the GNU system, not "GNU system".
2254 * manual/conf.texi: Likewise.
2255 * manual/errno.texi: Likewise. Update example of errno macro
2257 * manual/filesys.texi: Likewise.
2258 (getumask): Document as specific to GNU/Hurd.
2259 * manual/install.texi: Likewise. Reword some references to
2261 * manual/intro.texi: Likewise.
2262 * manual/io.texi: Likewise.
2263 (File Name Portability): Detail which constraints are inapplicable
2264 to all GNU systems and which are only inapplicable to GNU/Hurd.
2265 * manual/job.texi: Likewise.
2266 * manual/llio.texi: Likewise.
2267 (O_NOCTTY): Document as present on GNU/Linux.
2268 * manual/maint.texi: Likewise.
2269 * manual/memory.texi: Likewise.
2270 * manual/pattern.texi: Likewise.
2271 * manual/pipe.texi: Likewise.
2272 * manual/process.texi: Likewise.
2273 * manual/resource.texi: Likewise.
2274 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2276 * manual/setjmp.texi: Likewise.
2277 * manual/signal.texi: Likewise.
2278 * manual/startup.texi: Likewise.
2279 * manual/stdio.texi: Likewise.
2280 * manual/terminal.texi: Likewise.
2281 (ONLCR): Document as POSIX.
2282 (OXTABS): Document availability on GNU/Linux as XTABS.
2283 (ONOEOT): Document availability separately from other bits.
2284 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2285 * manual/time.texi: Likewise.
2286 * manual/users.texi: Likewise.
2287 * INSTALL: Regenerated.
2288 * sysdeps/gnu/errlist.c: Regenerated.
2290 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2291 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2292 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2294 * configure: Regenerated.
2296 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2298 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2299 default includes instead of AC_HEADER_CHECK.
2300 * sysdeps/i386/configure: Regenerated.
2303 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2304 * math/s_cacoshf.c (__cacoshf): Likewise.
2305 * math/s_cacoshl.c (__cacoshl): Likewise.
2306 * math/s_casinh.c (__casinh): Set signs of result from argument.
2307 * math/s_casinhf.c (__casinhf): Likewise.
2308 * math/s_casinhl.c (__casinhl): Likewise.
2309 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2310 (casinh_test): Add more tests.
2311 * sysdeps/i386/fpu/libm-test-ulps: Update.
2312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2316 * po/zh_TW.po: Update from translation team.
2318 * login/Makefile (distribute): Remove variable.
2319 * catgets/Makefile: Likewise.
2320 * mach/Makefile: Likewise.
2321 * malloc/Makefile: Likewise.
2322 * misc/Makefile: Likewise.
2323 * iconv/Makefile: Likewise.
2324 * nscd/Makefile: Likewise.
2325 * hurd/Makefile: Likewise.
2326 * manual/Makefile: Likewise.
2327 * locale/Makefile: Likewise.
2328 * intl/Makefile: Likewise.
2329 * conform/Makefile: Likewise.
2330 * nss/Makefile: Likewise.
2331 * time/Makefile: Likewise.
2332 * soft-fp/Makefile: Likewise.
2333 * dirent/Makefile: Likewise.
2334 * gmon/Makefile: Likewise.
2335 * po/Makefile: Likewise.
2336 * rt/Makefile: Likewise.
2337 * socket/Makefile: Likewise.
2338 * math/Makefile: Likewise.
2339 * signal/Makefile: Likewise.
2340 * debug/Makefile: Likewise.
2341 * elf/Makefile: Likewise.
2342 * timezone/Makefile: Likewise.
2343 * stdlib/Makefile: Likewise.
2344 * iconvdata/Makefile: Likewise.
2345 * sunrpc/Makefile: Likewise.
2346 * io/Makefile: Likewise.
2347 * argp/Makefile: Likewise.
2348 * inet/Makefile: Likewise.
2349 * hesiod/Makefile: Likewise.
2350 * grp/Makefile: Likewise.
2351 * csu/Makefile: Likewise.
2352 * wctype/Makefile: Likewise.
2353 * crypt/Makefile: Likewise.
2354 * libio/Makefile: Likewise.
2355 * string/Makefile: Likewise.
2356 * nis/Makefile: Likewise.
2357 * resolv/Makefile: Likewise.
2358 * stdio-common/Makefile: Likewise.
2359 * wcsmbs/Makefile: Likewise.
2360 * dlfcn/Makefile: Likewise.
2361 * posix/Makefile: Likewise.
2363 * timezone/Makefile: Don't install timezone files, just the programs
2366 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2368 * nss/databases.def: Add missing gshadow entry.
2370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2372 2012-03-06 Marek Polacek <polacek@redhat.com>
2375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2378 * stdio-common/tst-long-dbl-fphex.c: New file.
2380 2012-03-06 David S. Miller <davem@davemloft.net>
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2383 (set_obp_int): New function.
2384 (get_obp_int): New function.
2385 (__get_clockfreq_via_dev_openprom): Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2387 Avoid unused variable warnings on 'val' and use builtin_expect.
2388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2390 (INLINE_CLONE_SYSCALL): Likewise.
2392 2012-03-05 David S. Miller <davem@davemloft.net>
2394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2396 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2404 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2407 Replace gettimeofday with __vdso_gettimeofday.
2409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2411 __vdso_clock_gettime and __vdso_getcpu.
2413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2414 time with __vdso_time.
2416 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2418 * manual/lang.texi (size_t): Note types to which size_t may be
2419 equivalent with the GNU C Library, but do not describe when
2420 differences between them are significant.
2422 2012-03-05 Andreas Jaeger <aj@suse.de>
2424 * sysdeps/i386/fpu/libm-test-ulps: Update.
2426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2430 (__ieee754_pow): Save and restore rounding mode and use
2431 round-to-nearest for main computations.
2432 * math/libm-test.inc (pow_test_tonearest): New function.
2433 (pow_test_towardzero): Likewise.
2434 (pow_test_downward): Likewise.
2435 (pow_test_upward): Likewise.
2436 (main): Call the new functions.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441 * math/libm-test.inc (cosh_test_tonearest): New function.
2442 (cosh_test_towardzero): Likewise.
2443 (cosh_test_downward): Likewise.
2444 (cosh_test_upward): Likewise.
2445 (sinh_test_tonearest): Likewise.
2446 (sinh_test_towardzero): Likewise.
2447 (sinh_test_downward): Likewise.
2448 (sinh_test_upward): Likewise.
2449 (main): Call the new functions.
2450 * sysdeps/i386/fpu/libm-test-ulps: Update.
2451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2453 2012-03-05 Tom de Vries <tom@codesourcery.com>
2455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2456 default stack guard is set in last bytes.
2457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2459 2012-03-05 Kees Cook <keescook@chromium.org>
2461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2465 possibly allocate from heap instead of stack.
2466 * stdio-common/bug-vfprintf-nargs.c: New file.
2467 * stdio-common/Makefile (tests): Add nargs overflow test.
2469 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2473 2012-03-03 Marek Polacek <polacek@redhat.com>
2475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2476 * math/math_private.h: Likewise.
2477 * stdlib/tst-strtod.c: Likewise.
2478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2479 * sysdeps/x86_64/bits/atomic.h: Likewise.
2481 2012-03-02 David S. Miller <davem@davemloft.net>
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2492 2012-03-02 Roland McGrath <roland@hack.frob.com>
2495 * manual/examples/README: New file, says the example source files
2496 can be used under GPL>=2.
2497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2498 line containing just "*/".
2499 * manual/examples/add.c: Add copyright header (GPL>=2).
2500 * manual/examples/argp-ex1.c: Likewise.
2501 * manual/examples/argp-ex2.c: Likewise.
2502 * manual/examples/argp-ex3.c: Likewise.
2503 * manual/examples/argp-ex4.c: Likewise.
2504 * manual/examples/atexit.c: Likewise.
2505 * manual/examples/db.c: Likewise.
2506 * manual/examples/dir.c: Likewise.
2507 * manual/examples/dir2.c: Likewise.
2508 * manual/examples/execinfo.c: Likewise.
2509 * manual/examples/filecli.c: Likewise.
2510 * manual/examples/filesrv.c: Likewise.
2511 * manual/examples/fmtmsgexpl.c: Likewise.
2512 * manual/examples/genpass.c: Likewise.
2513 * manual/examples/inetcli.c: Likewise.
2514 * manual/examples/inetsrv.c: Likewise.
2515 * manual/examples/isockad.c: Likewise.
2516 * manual/examples/longopt.c: Likewise.
2517 * manual/examples/memopen.c: Likewise.
2518 * manual/examples/memstrm.c: Likewise.
2519 * manual/examples/mkfsock.c: Likewise.
2520 * manual/examples/mkisock.c: Likewise.
2521 * manual/examples/mygetpass.c: Likewise.
2522 * manual/examples/pipe.c: Likewise.
2523 * manual/examples/popen.c: Likewise.
2524 * manual/examples/rprintf.c: Likewise.
2525 * manual/examples/search.c: Likewise.
2526 * manual/examples/select.c: Likewise.
2527 * manual/examples/setjmp.c: Likewise.
2528 * manual/examples/sigh1.c: Likewise.
2529 * manual/examples/sigusr.c: Likewise.
2530 * manual/examples/stpcpy.c: Likewise.
2531 * manual/examples/strdupa.c: Likewise.
2532 * manual/examples/strftim.c: Likewise.
2533 * manual/examples/strncat.c: Likewise.
2534 * manual/examples/subopt.c: Likewise.
2535 * manual/examples/swapcontext.c: Likewise.
2536 * manual/examples/termios.c: Likewise.
2537 * manual/examples/testopt.c: Likewise.
2538 * manual/examples/testpass.c: Likewise.
2539 * manual/examples/timeval_subtract.c: Likewise.
2542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2544 * manual/timeval_subtract.c.texi: ... here, new file.
2546 2012-03-02 David S. Miller <davem@davemloft.net>
2548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2550 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2554 (__sin): Save and restore rounding mode and use round-to-nearest
2555 for all computations.
2556 (__cos): Save and restore rounding mode and use round-to-nearest
2557 for all computations.
2558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2560 (tan): Save and restore rounding mode and use round-to-nearest for
2562 * math/libm-test.inc (cos_test_tonearest): New function.
2563 (cos_test_towardzero): Likewise.
2564 (cos_test_downward): Likewise.
2565 (cos_test_upward): Likewise.
2566 (sin_test_tonearest): Likewise.
2567 (sin_test_towardzero): Likewise.
2568 (sin_test_downward): Likewise.
2569 (sin_test_upward): Likewise.
2570 (tan_test_tonearest): Likewise.
2571 (tan_test_towardzero): Likewise.
2572 (tan_test_downward): Likewise.
2573 (tan_test_upward): Likewise.
2574 (main): Call the new functions.
2575 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2580 small n, then large n, before computing and testing k+n.
2581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2594 * math/libm-test.inc (scalbn_test): Add more tests.
2595 (scalbln_test): Likewise.
2597 * manual/filesys.texi (mode_t): Describe constraints on size and
2598 signedness, not exact equivalence to a particular type.
2600 (ino64_t): Likewise.
2602 (nlink_t): Likewise.
2603 (blkcnt_t): Likewise.
2604 (blkcnt64_t): Likewise.
2605 * manual/llio.texi (off_t): Likewise.
2608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2609 (__ieee754_exp): Save and restore rounding mode and use
2610 round-to-nearest for all computations.
2611 * math/libm-test.inc (exp_test_tonearest): New function.
2612 (exp_test_towardzero): Likewise.
2613 (exp_test_downward): Likewise.
2614 (exp_test_upward): Likewise.
2615 (main): Call the new functions.
2616 * sysdeps/i386/fpu/libm-test-ulps: Update.
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2619 2012-03-01 Chris Demetriou <cgd@google.com>
2621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2622 have predictable order.
2624 2012-03-01 David S. Miller <davem@davemloft.net>
2626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2667 * sysdeps/sparc/elf/configure: Regenerated.
2669 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2671 * configure.in (AS, LD): Require binutils 2.20 or later.
2672 * configure: Regenerated.
2673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2674 as required minimum version.
2675 * INSTALL: Regenerated.
2679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2680 before squaring exponent.
2681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2682 bottom long double and 27 bits of top long double before squaring
2684 * math/libm-test.inc (erfc_test): Add more tests.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2689 2012-03-01 Kai Tietz <ktietz@redhat.com>
2691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2693 containing bit-fields.
2694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2695 * soft-fp/single.h (_FP_UNION_S): Likewise.
2696 * soft-fp/double.h (_FP_UNION_D): Likewise.
2698 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2702 not include ../strcmp.S.
2703 [USE_AS_STRNCASECMP_L]: Likewise.
2704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2707 (__strncasecmp_l_ia32): Define as alias to
2708 __strncasecmp_l_nonascii.
2711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2712 * sysdeps/i386/fpu/libm-test-ulps: Update.
2713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2718 2012-02-29 Jeff Law <law@redhat.com>
2720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2723 2012-02-29 Marek Polacek <polacek@redhat.com>
2726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2727 * elf/Makefile: Add rules to run tst-unused-dep.out.
2729 2012-02-28 David S. Miller <davem@davemloft.net>
2731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2738 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2740 * math/libm-test.inc (llround_test): Move one test from
2741 lround_test. Use TEST_f_L in moved test.
2742 (lround_test): Move misplaced test to llround_test. Add testcase
2745 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2747 * sysdeps/x86_64/fpu/e_expf.S: New file.
2748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2750 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2754 of remain_len that may cause incomplete multi-byte character and
2756 * posix/bug-regex33.c: New file.
2757 * posix/Makefile (tests): Add bug-regex33.
2759 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2761 * manual/macros.texi: New file.
2762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2763 * manual/libc.texinfo: Include macros.texi.
2764 * manual/creatute.texi: Likewise.
2765 * manual/install.texi: Likewise.
2766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2767 @glibcadj{} in references to the GNU C Library.
2768 * manual/charset.texi: Likewise.
2769 * manual/conf.texi: Likewise.
2770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2771 when not using those macros.
2772 * manual/creature.texi: Likewise.
2773 * manual/crypt.texi: Likewise.
2774 * manual/errno.texi: Likewise.
2775 * manual/filesys.texi: Likewise.
2776 * manual/header.texi: Likewise.
2777 * manual/install.texi: Likewise.
2778 * manual/intro.texi: Likewise.
2779 * manual/io.texi: Likewise.
2780 * manual/job.texi: Likewise.
2781 * manual/lang.texi: Likewise.
2782 * manual/libc.texiinfo: Likewise.
2783 * manual/llio.texi: Likewise.
2784 * manual/locale.texi: Likewise.
2785 * manual/maint.texi: Likewise.
2786 * manual/math.texi: Likewise.
2787 * manual/memory.texi: Likewise.
2788 * manual/message.texi: Likewise.
2789 * manual/nss.texi: Likewise.
2790 * manual/pattern.texi: Likewise.
2791 * manual/process.texi: Likewise.
2792 * manual/resource.texi: Likewise.
2793 * manual/search.texi: Likewise.
2794 * manual/setjmp.texi: Likewise.
2795 * manual/signal.texi: Likewise.
2796 * manual/socket.texi: Likewise.
2797 * manual/startup.texi: Likewise.
2798 * manual/stdio.texi: Likewise.
2799 * manual/string.texi: Likewise.
2800 * manual/sysinfo.texi: Likewise.
2801 * manual/syslog.texi: Likewise.
2802 * manual/terminal.texi: Likewise.
2803 * manual/time.texi: Likewise.
2804 * manual/users.texi: Likewise.
2805 * INSTALL: Regenerated.
2806 * NOTES: Regenerated.
2807 * sysdeps/gnu/errlist.c: Regenerated.
2809 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2811 * include/dirent.h: Include <dirstream.h> before
2814 2012-02-28 David S. Miller <davem@davemloft.net>
2816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2821 2012-02-27 David S. Miller <davem@davemloft.net>
2823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2829 frame pointer instead of stack pointer relative arg slot.
2830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2834 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2839 2012-02-27 David S. Miller <davem@davemloft.net>
2841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2853 later. Allow versions 5-9.
2854 * configure: Regenerated.
2855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2856 required minimum version and 4.6 as recommended version. Do not
2857 mention bugs in GCC 2.7 and 2.8.
2858 * INSTALL: Regenerated.
2860 2012-02-27 David S. Miller <davem@davemloft.net>
2862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2872 manipulate bits before adding and subtracting TWO112[sx].
2873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2875 2012-02-27 Roland McGrath <roland@hack.frob.com>
2878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2881 being in POSIX, because they are in 1003.1-2008.
2883 * rt/tst-aio.c: Include <fcntl.h>.
2884 * rt/tst-aio7.c: Likewise.
2885 * rt/tst-aio64.c: Likewise.
2887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2889 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2891 * manual/install.texi (--with-headers): Describe headers as
2892 interface headers, not private headers.
2893 (Specific advice for GNU/Linux systems): Describe use of headers
2894 from "make headers_install", not private headers from older
2896 * INSTALL: Regenerated.
2897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2899 * sysdeps/unix/sysv/linux/configure: Regenerated.
2901 * manual/llio.texi (fclean): Remove documentation.
2903 * manual/Makefile (libc-texi-generated): New variable. Include
2905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2906 $(libc-texi-generated), not duplicated list of files.
2907 (version.texi, stamp-version): New rules.
2908 (realclean): Remove $(libc-texi-generated), not individual files
2909 from that list. Do not remove dir-add.texinfo.
2910 * manual/libc.texinfo: Comment out uses of edition numbers and
2911 references to printed manual. Remove last-updated dates.
2912 (EDITION): Comment out.
2914 (VERSION, UPDATED): Remove.
2915 (version.texi): Include.
2917 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2919 * sysdeps/posix/spawni.c: Include <signal.h>.
2920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2921 * sysdeps/pthread/aio_fsync.c: Likewise.
2923 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2925 * conform/Makefile (tests): Run only when not cross-compiling and
2926 when fast-check is not defined.
2928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2929 * conform/data/limits.h-data: Fixes for POSIX2008.
2930 * conform/run-conformtest.sh: Run all tests.
2931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2933 * include/bits/dlfcn.h: Likewise.
2934 * include/langinfo.h: Likewise.
2935 * include/monetary.h: Likewise.
2936 * include/sys/poll.h: Likewise.
2938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2940 * posix/spawn.h: Define __need_sigset_t.
2941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2944 to get sigevent_t only.
2945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2949 process_vm_writev only for __USE_GNU.
2950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2952 * conform/Makefile: For now ignore errors from run-conformtest.
2953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2954 POSIX to avoid namespace pollution. Don't prepend headers.
2955 * conform/data/aio.h-data: Fixes for POSIX testing.
2956 * conform/data/fcntl.h-data: Likewise.
2957 * conform/data/glob.h-data: Likewise.
2958 * conform/data/grp.h-data: Likewise.
2959 * conform/data/pthread.h-data: Likewise.
2960 * conform/data/pwd.h-data: Likewise.
2961 * conform/data/signal.h-data: Likewise.
2962 * conform/data/spawn.h-data: Likewise.
2963 * conform/data/stdio.h-data: Likewise.
2964 * conform/data/stdlib.h-data: Likewise.
2965 * conform/data/stropts.h-data: Likewise.
2966 * conform/data/sys/mman.h-data: Likewise.
2967 * conform/data/sys/stat.h-data: Likewise.
2968 * conform/data/sys/types.h-data: Likewise.
2969 * conform/data/sys/wait.h-data: Likewise.
2970 * conform/data/time.h-data: Likewise.
2971 * conform/data/unistd.h-data: Likewise.
2972 * conform/data/utime.h-data: Likewise.
2974 * io/sys/stat.h: fchmod was always in POSIX.
2975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2977 * rt/aio.h: Define __need_timespec before including <time.h>.
2978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2979 struct. Add forward declaration of pthread_attr_t and use it in
2981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2984 always remove CLK_TCK definition.
2986 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2990 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2992 * conform/run-conformtest.sh: New file.
2993 * conform/Makefile: Run run-conformtest for tests.
2994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2997 * conform/data/uchar.h-data: New file.
2998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2999 * conform/data/arpa/inet.h-data: Likewise.
3000 * conform/data/assert.h-data: Likewise.
3001 * conform/data/complex.h-data: Likewise.
3002 * conform/data/cpio.h-data: Likewise.
3003 * conform/data/ctype.h-data: Likewise.
3004 * conform/data/dirent.h-data: Likewise.
3005 * conform/data/dlfcn.h-data: Likewise.
3006 * conform/data/errno.h-data: Likewise.
3007 * conform/data/fcntl.h-data: Likewise.
3008 * conform/data/float.h-data: Likewise.
3009 * conform/data/fmtmsg.h-data: Likewise.
3010 * conform/data/fnmatch.h-data: Likewise.
3011 * conform/data/ftw.h-data: Likewise.
3012 * conform/data/glob.h-data: Likewise.
3013 * conform/data/grp.h-data: Likewise.
3014 * conform/data/iconv.h-data: Likewise.
3015 * conform/data/inttypes.h-data: Likewise.
3016 * conform/data/langinfo.h-data: Likewise.
3017 * conform/data/libgen.h-data: Likewise.
3018 * conform/data/limits.h-data: Likewise.
3019 * conform/data/locale.h-data: Likewise.
3020 * conform/data/math.h-data: Likewise.
3021 * conform/data/monetary.h-data: Likewise.
3022 * conform/data/mqueue.h-data: Likewise.
3023 * conform/data/ndbm.h-data: Likewise.
3024 * conform/data/net/if.h-data: Likewise.
3025 * conform/data/netdb.h-data: Likewise.
3026 * conform/data/netinet/in.h-data: Likewise.
3027 * conform/data/nl_types.h-data: Likewise.
3028 * conform/data/poll.h-data: Likewise.
3029 * conform/data/pthread.h-data: Likewise.
3030 * conform/data/pwd.h-data: Likewise.
3031 * conform/data/regex.h-data: Likewise.
3032 * conform/data/sched.h-data: Likewise.
3033 * conform/data/search.h-data: Likewise.
3034 * conform/data/semaphore.h-data: Likewise.
3035 * conform/data/setjmp.h-data: Likewise.
3036 * conform/data/signal.h-data: Likewise.
3037 * conform/data/spawn.h-data: Likewise.
3038 * conform/data/stdarg.h-data: Likewise.
3039 * conform/data/stdio.h-data: Likewise.
3040 * conform/data/stdlib.h-data: Likewise.
3041 * conform/data/string.h-data: Likewise.
3042 * conform/data/strings.h-data: Likewise.
3043 * conform/data/stropts.h-data: Likewise.
3044 * conform/data/sys/ipc.h-data: Likewise.
3045 * conform/data/sys/mman.h-data: Likewise.
3046 * conform/data/sys/msg.h-data: Likewise.
3047 * conform/data/sys/resource.h-data: Likewise.
3048 * conform/data/sys/select.h-data: Likewise.
3049 * conform/data/sys/sem.h-data: Likewise.
3050 * conform/data/sys/shm.h-data: Likewise.
3051 * conform/data/sys/socket.h-data: Likewise.
3052 * conform/data/sys/stat.h-data: Likewise.
3053 * conform/data/sys/statvfs.h-data: Likewise.
3054 * conform/data/sys/time.h-data: Likewise.
3055 * conform/data/sys/timeb.h-data: Likewise.
3056 * conform/data/sys/times.h-data: Likewise.
3057 * conform/data/sys/types.h-data: Likewise.
3058 * conform/data/sys/uio.h-data: Likewise.
3059 * conform/data/sys/un.h-data: Likewise.
3060 * conform/data/sys/utsname.h-data: Likewise.
3061 * conform/data/sys/wait.h-data: Likewise.
3062 * conform/data/syslog.h-data: Likewise.
3063 * conform/data/tar.h-data: Likewise.
3064 * conform/data/termios.h-data: Likewise.
3065 * conform/data/utime.h-data: Likewise.
3066 * conform/data/utmpx.h-data: Likewise.
3067 * conform/data/varargs.h-data: Likewise.
3068 * conform/data/wchar.h-data: Likewise.
3069 * conform/data/wctype.h-data: Likewise.
3070 * conform/data/wordexp.h-data: Likewise.
3072 * include/stropts.h: New file.
3073 * include/uchar.h: New file.
3074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3075 * include/assert.h: Likewise.
3076 * include/ctype.h: Likewise.
3077 * include/dirent.h: Likewise.
3078 * include/dlfcn.h: Likewise.
3079 * include/fcntl.h: Likewise.
3080 * include/fnmatch.h: Likewise.
3081 * include/glob.h: Likewise.
3082 * include/grp.h: Likewise.
3083 * include/libio.h: Likewise.
3084 * include/locale.h: Likewise.
3085 * include/math.h: Likewise.
3086 * include/net/if.h: Likewise.
3087 * include/netdb.h: Likewise.
3088 * include/netinet/in.h: Likewise.
3089 * include/pthread.h: Likewise.
3090 * include/pwd.h: Likewise.
3091 * include/regex.h: Likewise.
3092 * include/sched.h: Likewise.
3093 * include/search.h: Likewise.
3094 * include/setjmp.h: Likewise.
3095 * include/signal.h: Likewise.
3096 * include/stdio.h: Likewise.
3097 * include/stdlib.h: Likewise.
3098 * include/string.h: Likewise.
3099 * include/sys/cdefs.h: Likewise.
3100 * include/sys/mman.h: Likewise.
3101 * include/sys/msg.h: Likewise.
3102 * include/sys/resource.h: Likewise.
3103 * include/sys/select.h: Likewise.
3104 * include/sys/socket.h: Likewise.
3105 * include/sys/stat.h: Likewise.
3106 * include/sys/statvfs.h: Likewise.
3107 * include/sys/time.h: Likewise.
3108 * include/sys/times.h: Likewise.
3109 * include/sys/uio.h: Likewise.
3110 * include/sys/utsname.h: Likewise.
3111 * include/sys/wait.h: Likewise.
3112 * include/termios.h: Likewise.
3113 * include/time.h: Likewise.
3114 * include/ulimit.h: Likewise.
3115 * include/unistd.h: Likewise.
3116 * include/utime.h: Likewise.
3117 * include/wchar.h: Likewise.
3118 * include/wctype.h: Likewise.
3119 * include/wordexp.h: Likewise.
3121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3123 * time/time.h: TIME_UTC must be a macro.
3124 Make timespec_get available for ISO C11 only as well.
3126 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3133 * configure.in: Use -o not -a in test for unsupported multi-arch.
3135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3137 * manual/texinfo.tex: Update to version 2012-01-19.16.
3139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3143 2012-02-24 Roland McGrath <roland@hack.frob.com>
3146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3147 * manual/fdl-1.3.texi: New file.
3148 * manual/fdl-1.1.texi: File removed.
3151 * manual/libc.texinfo (FDL_VERSION): New @set.
3152 Use it for mention of FDL in cover text.
3153 (Documentation License): Use it in @include file name.
3155 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3156 Roland McGrath <roland@hack.frob.com>
3159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3160 not LONG_LONG_MAX and LONG_LONG_MIN.
3161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3171 manipulate bits before adding and subtracting TWO23[sx].
3172 * math/libm-test.inc (nearbyint_test): Add more tests.
3174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3178 bits before adding and subtracting TWO23[sx].
3179 * math/libm-test.inc (rint_test): Add more tests.
3180 (rint_test_tonearest): Likewise.
3181 (rint_test_towardzero): Likewise.
3182 (rint_test_downward): Likewise.
3183 (rint_test_upward: Likewise.
3185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3188 * include/stdc-predef.h: New file. Extracted from features.h.
3189 * include/features.h: Include stdc-predef.h.
3190 * Makefile (headers): Add stdc-predef.h.
3191 * CONFORMANCE (Compiler limitations): Update.
3193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3197 2012-02-21 David S. Miller <davem@davemloft.net>
3199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3202 2012-02-20 David S. Miller <davem@davemloft.net>
3204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3205 using a normal save/restore sequence, rather than allocating a
3206 dummy stack frame just to store a frame pointer and restore.
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3209 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3211 * manual/install.texi: Fix stray word in line-wrapped comment.
3213 2012-02-20 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3216 both binutils and gcc support GOTDATA.
3218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3219 "rd %pc" in the PIC register setup sequences.
3221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3230 (SYSCALL_ERROR_HANDLER): Likewise.
3231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3234 (SYSCALL_ERROR_HANDLER): Likewise.
3236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3237 (HAVE_GCC_GOTDATA): New.
3238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3239 relocation support in both binutils and gcc.
3240 * sysdeps/sparc/elf/configure: Regenerate.
3242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3243 * sysdeps/sparc/sparc32/elf/configure: Delete.
3244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3245 * sysdeps/sparc/sparc64/elf/configure: Delete.
3246 * sysdeps/sparc/elf/configure.in: New file.
3247 * sysdeps/sparc/elf/configure: Generate.
3249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3255 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3257 * manual/install.texi: Do not mention specific glibc version
3259 * manual/libc.texinfo (VERSION, UPDATED): Update.
3260 (@copying): Use @copyright{} and range of years.
3262 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3266 [crti.S not in sysdirs] (generated): Do not append.
3267 [crti.S not in sysdirs] (omit-deps): Likewise.
3268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3277 * csu/defs.awk: Remove file.
3278 * sysdeps/generic/initfini.c: Likewise.
3279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3284 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3294 (__EPOLL_PACKED): Define to empty if not defined by
3296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3300 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3320 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3325 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3335 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3337 * math/w_acos.c: Use non-signaling floating-point comparisons.
3338 * math/w_acosf.c: Likewise.
3339 * math/w_acosh.c: Likewise.
3340 * math/w_acoshf.c: Likewise.
3341 * math/w_acoshl.c: Likewise.
3342 * math/w_acosl.c: Likewise.
3343 * math/w_asin.c: Likewise.
3344 * math/w_asinf.c: Likewise.
3345 * math/w_asinl.c: Likewise.
3346 * math/w_atanh.c: Likewise.
3347 * math/w_atanhf.c: Likewise.
3348 * math/w_atanhl.c: Likewise.
3349 * math/w_exp2.c: Likewise.
3350 * math/w_exp2f.c: Likewise.
3351 * math/w_exp2l.c: Likewise.
3352 * math/w_j0.c: Likewise.
3353 * math/w_j0f.c: Likewise.
3354 * math/w_j0l.c: Likewise.
3355 * math/w_j1.c: Likewise.
3356 * math/w_j1f.c: Likewise.
3357 * math/w_j1l.c: Likewise.
3358 * math/w_jn.c: Likewise.
3359 * math/w_jnf.c: Likewise.
3360 * math/w_log.c: Likewise.
3361 * math/w_log10.c: Likewise.
3362 * math/w_log10f.c: Likewise.
3363 * math/w_log10l.c: Likewise.
3364 * math/w_log2.c: Likewise.
3365 * math/w_log2f.c: Likewise.
3366 * math/w_log2l.c: Likewise.
3367 * math/w_logf.c: Likewise.
3368 * math/w_logl.c: Likewise.
3369 * math/w_sqrt.c: Likewise.
3370 * math/w_sqrtf.c: Likewise.
3371 * math/w_sqrtl.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3381 * manual/string.texi (strnlen): Use correct parameter name in
3382 equivalent expression.
3384 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3387 * manual/users.texi (seteuid): Consistently use neweuid for
3390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3393 * manual/nss.texi (Services in the NSS configuration): Correct
3394 list of services in example configuration file.
3396 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3399 * manual/arith.texi: Remove statements about negative zero
3400 behaving identically to zero.
3402 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3405 * manual/install.texi: Do not document upgrading from libc5.
3407 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3412 2012-02-18 David S. Miller <davem@davemloft.net>
3414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3416 %o7 across the call.
3417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3423 * sysdeps/sparc/crtn.S: Likewise.
3425 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3427 * aout/Makefile: Remove.
3429 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3432 * manual/examples/argp-ex1.c (main): Format definition in GNU
3434 * manual/examples/argp-ex2.c (main): Likewise.
3435 * manual/examples/argp-ex3.c (main): Likewise.
3436 * manual/examples/argp-ex4.c (main): Likewise.
3437 * manual/examples/longopt.c (main): Use new-style prototype
3439 * manual/examples/strncat.c (main): Specify return type and use
3440 (void) for arguments.
3441 * manual/examples/subopt.c (main): Use char **argv argument.
3443 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3449 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3452 * manual/string.texi (strchr): Change when strchrnul is
3455 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3458 * manual/locale.texi (setlocale): Document LOCPATH.
3460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3463 * manual/process.texi (execle): Move @dots{} before last argument.
3465 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3468 * manual/charset.texi (Generic Charset Conversion): Fix typo
3469 (LC_TYPE -> LC_CTYPE).
3471 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3475 (scalbnf): Likewise.
3476 (scalbnl): Likewise.
3477 (scalbln): Likewise.
3478 (scalblnf): Likewise.
3479 (scalblnl): Likewise.
3480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3484 * manual/filesys.texi (telldir): Use braces around return type.
3485 * manual/llio.texi (mmap): Add space after comma.
3487 * manual/math.texi (jn): Use @var{} on parameter names.
3493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3498 (sched_get_priority_max): Likewise.
3499 * manual/signal.texi (sigvec): Add space after comma.
3500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3502 (if_indextoname): Likewise.
3503 (if_freenameindex): Likewise.
3504 (sendto): Use ',' instead of '.' in prototype.
3505 * manual/startup.texi (syscall): Use @dots{} instead of literal
3507 * manual/stdio.texi (__fpending): Separate initial words of
3508 paragraph from @deftypefun line.
3509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3511 (vsyslog): Use @var{} on parameter names.
3512 * manual/terminal.texi (stty): Use @var{} on parameter names.
3513 * manual/users.texi (getutmp): Use @var{} on parameter names.
3514 (getutmpx): Likewise.
3516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3519 * manual/stdio.texi (fopen): Fix typos in description of
3522 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3526 get clock_id definition.
3528 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3532 (madvise): Cast every argument to void on its own.
3534 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3537 * manual/startup.texi (Exit Status): Fix typo.
3539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3543 * manual/examples/argp-ex2.c: Likewise.
3544 * manual/examples/argp-ex3.c: Likewise.
3546 2012-02-16 Richard Henderson <rth@redhat.com>
3548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3549 * sysdeps/s390/s390-32/initfini.c: Remove.
3550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3551 * sysdeps/s390/s390-64/initfini.c: Remove.
3553 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3556 compiler output for sysdeps/generic/initfini.c.
3557 * sysdeps/sh/elf/initfini.c: Remove file.
3559 2012-02-16 David S. Miller <davem@davemloft.net>
3562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3565 * sysdeps/sparc/crti.S: New file.
3566 * sysdeps/sparc/crtn.S: New file.
3567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3568 * sysdeps/sparc/sparc64/Makefile: Likewise.
3570 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3575 2012-02-15 Roland McGrath <roland@hack.frob.com>
3578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3581 (write, read, close): Likewise.
3582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3584 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3595 2012-02-14 Marek Polacek <polacek@redhat.com>
3597 * sysdeps/x86_64/crti.S: New file.
3598 * sysdeps/x86_64/crtn.S: New file.
3599 * sysdeps/x86_64/elf/initfini.c: Remove file.
3601 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3612 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3623 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3626 __feraiseexcept instead of feraiseexcept.
3628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3629 nanosleep invocations.
3630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3631 strings, and add error checking for a nanosleep invocations.
3633 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3635 Replace FSF snail mail address with URLs, as per GNU coding standards.
3636 Most of the snail mail addresses were wrong anyway, and omitting
3637 them makes the source code easier to maintain. Almost all of the
3638 changes are to license notices and to locale LC_IDENTIFICATION
3639 addresses, except for this one:
3640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3641 not its snail mail address.
3643 2012-02-09 Richard Henderson <rth@twiddle.net>
3645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3646 of kernel-features.h.
3648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3650 2012-02-08 Marek Polacek <polacek@redhat.com>
3652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3654 * sysdeps/gnu/_G_config.h: Likewise.
3655 * sysdeps/generic/_G_config.h: Likewise.
3657 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3663 * sysdeps/powerpc/powerpc32/crti.S: New file.
3664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3665 * sysdeps/powerpc/powerpc64/crti.S: New file.
3666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3668 * Makeconfig (have-initfini): Don't set.
3669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3670 * configure.in (nopic_initfini): Don't substitute.
3671 * config.h.in (HAVE_INITFINI): Don't #undef.
3672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3675 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3677 Support crti.S and crtn.S provided directly by architectures.
3678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3679 [crti.S in sysdirs] (omit-deps): Likewise.
3680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3689 compiler output for sysdeps/generic/initfini.c.
3690 * sysdeps/i386/elf/Makefile: Remove file.
3691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3693 2012-02-07 Marek Polacek <polacek@redhat.com>
3695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3696 * sysdeps/gnu/_G_config.h: Likewise.
3697 * sysdeps/mach/hurd/_G_config.h: Likewise.
3699 2012-02-07 Marek Polacek <polacek@redhat.com>
3701 * math/Makefile (tests): Add tst-CMPLX2.
3702 * math/tst-CMPLX2.c: New file.
3704 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3708 * math/libm-test.inc (jn_test): Add missing L suffix.
3710 2012-02-06 Marek Polacek <polacek@redhat.com>
3712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3713 * sysdeps/i386/fpu/e_powf.S: Likewise.
3714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3717 * sysdeps/i386/fpu/e_pow.S: Likewise.
3718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3722 * sysdeps/i386/fpu/e_log2.S: Likewise.
3723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3725 * sysdeps/i386/fpu/e_powl.S: Likewise.
3726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3729 * sysdeps/i386/fpu/e_logl.S: Likewise.
3730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3736 * sysdeps/i386/fpu/e_log.S: Likewise.
3737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3740 * sysdeps/i386/fpu/e_logf.S: Likewise.
3741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3746 * sysdeps/i386/fpu/e_log10.S: Likewise.
3747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3753 * sysdeps/i386/asm-syntax.h: Likewise.
3754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3763 * sysdeps/powerpc/sysdep.h: Likewise.
3764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3767 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3772 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3774 * sysdeps/i386/sysdep.h: Include <features.h>.
3775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3778 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3785 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3788 (SETUP_PIC_REG): Use GET_PC_THUNK.
3789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3792 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3795 for non-PIC compilation.
3796 (SETUP_PIC_REG): Add .p2align directive.
3797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3841 * math/tst-CMPLX.c: Include <stdio.h>.
3843 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3848 * sysdeps/sparc/bits/mathdef.h: Likewise.
3850 2012-01-31 Marek Polacek <polacek@redhat.com>
3852 * libio/libio.h: Don't define _PARAMS.
3853 * locale/programs/config.h: Don't define PARAMS.
3854 * stdlib/strtol_l.c: Likewise.
3855 (__strtol_l): Remove PARAMS from the prototype.
3857 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3860 names. Just use the correct names. Remove unnecessary wrapper
3862 * malloc/arena.c: Likewise.
3863 * malloc/hooks.c: Likewise.
3865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3866 ARENA_TEST says not to. Simplify test for creation of a new arena.
3867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3869 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3873 (update_get_addr): New function.
3874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3875 GET_ADDR_MODULE parameter.
3877 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3879 * crypt/cert.c: Remove __STDC__ conditionals.
3880 * crypt/crypt-entry.c: Likewise.
3881 * crypt/crypt_util.c: Likewise.
3882 * libio/filedoalloc.c: Likewise.
3883 * libio/fileops.c: Likewise.
3884 * libio/genops.c: Likewise.
3885 * libio/iofclose.c: Likewise.
3886 * libio/iofdopen.c: Likewise.
3887 * libio/iofopen.c: Likewise.
3888 * libio/iofopen64.c: Likewise.
3889 * libio/iogetdelim.c: Likewise.
3890 * libio/iopopen.c: Likewise.
3891 * libio/obprintf.c: Likewise.
3892 * libio/oldfileops.c: Likewise.
3893 * libio/oldiofclose.c: Likewise.
3894 * libio/oldiofdopen.c: Likewise.
3895 * libio/oldiofopen.c: Likewise.
3896 * libio/oldiopopen.c: Likewise.
3897 * libio/wfiledoalloc.c: Likewise.
3898 * libio/wgenops.c: Likewise.
3899 * locale/programs/xmalloc.c: Likewise.
3900 * misc/syslog.c: Likewise.
3901 * stdio-common/xbug.c: Likewise.
3902 * string/memchr.c: Likewise.
3903 * string/memcmp.c: Likewise.
3904 * string/memrchr.c: Likewise.
3905 * string/rawmemchr.c: Likewise.
3906 * sysdeps/posix/getcwd.c: Likewise.
3907 * time/strftime_l.c: Likewise.
3909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3912 * config.make.in (config-cflags-sse2avx): Define.
3913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3916 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3918 * scripts/config.guess: Update from upstream config git repository.
3919 * scripts/config.sub: Likewise.
3921 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3925 (R_TILEPRO_*, R_TILEGX_*): New macros.
3927 * scripts/firstversions.awk: Fix bug in version range handling.
3929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3933 * include/sys/epoll.h: New file.
3934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3937 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3940 Avoid unnecessary __WORDSIZE == 64 test.
3941 (fmaxf): Use VEX format if possible.
3946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3947 * math/math_private.h: Remove libc_fegetround* and
3949 * sysdeps/i386/configure.in: Check for -msse2avx.
3950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3951 also if SSE2AVX is defined.
3952 Remove libc_fegetround* and libc_fesetround*.
3953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3965 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3971 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3976 * Makeconfig (libm): Define.
3977 * elf/Makefile: Add rules to build and run tst-relsort1.
3978 * elf/tst-relsort1.c: New file.
3979 * elf/tst-relsort1mod1.c: New file.
3980 * elf/tst-relsort1mod2.c: New file.
3982 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3984 * math/s_ldexp.c: Remove __STDC__ conditionals.
3985 * math/s_ldexpf.c: Likewise.
3986 * math/s_ldexpl.c: Likewise.
3987 * math/s_nextafter.c: Likewise.
3988 * math/s_nexttowardf.c: Likewise.
3989 * math/s_significand.c: Likewise.
3990 * math/s_significandf.c: Likewise.
3991 * math/s_significandl.c: Likewise.
3992 * math/w_jnl.c: Likewise.
3993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4033 * sysdeps/ieee754/k_standard.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4113 * sysdeps/ieee754/s_matherr.c: Likewise.
4114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4121 * crypt/md5.h: Remove __STDC__ conditionals.
4122 * libio/libioP.h: Likewise.
4123 * locale/programs/config.h: Likewise.
4124 * sysdeps/generic/sysdep.h: Likewise.
4125 * sysdeps/i386/asm-syntax.h: Likewise.
4126 * sysdeps/s390/asm-syntax.h: Likewise.
4127 * sysdeps/unix/sysdep.h: Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4133 * libio/libio.h: Remove __STDC__ conditionals.
4134 * malloc/obstack.h: Likewise.
4135 * math/complex.h: Likewise.
4136 * math/math.h: Likewise.
4137 * sysdeps/generic/_G_config.h: Likewise.
4138 * sysdeps/gnu/_G_config.h: Likewise.
4139 * sysdeps/mach/hurd/_G_config.h: Likewise.
4140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4142 * sysdeps/sparc/bits/mathdef.h: Likewise.
4144 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4148 Clean up HAS_* macros.
4149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4160 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4162 * elf/tst-unique3.cc (gets): Remove declaration.
4163 * elf/tst-unique3lib.cc (gets): Likewise.
4164 * elf/tst-unique3lib2.cc (gets): Likewise.
4165 * elf/tst-unique4.cc (gets): Likewise.
4167 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4169 * include/stdio.h: Add C++ protection. Add gets declarations and
4171 * debug/tst-chk1.c: Don't declare gets here.
4172 * stdio-common/tst-gets.c: Likewise.
4174 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4176 * posix/glob: Remove directory.
4178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4182 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4185 of the non-standard EPFNOSUPPORT.
4187 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4193 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4197 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4201 * nscd/grpcache.c (cache_addgr): Likewise.
4202 * nscd/hstcache.c (cache_addhst): Likewise.
4203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4204 * nscd/pwdcache.c (cache_addpw): Likewise.
4205 * nscd/servicescache.c (cache_addserv): Likewise.
4207 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4209 * malloc/malloc.c: Various cleanups.
4210 * malloc/hooks.c: Likewise.
4212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4213 * stdlib/bug-fmtmsg1.c: New file.
4215 * stdlib/fmtmsg.c (init): Add missing unlock.
4216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4218 2012-01-12 Marek Polacek <polacek@redhat.com>
4220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4223 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4227 macro to ensure uniqueness of label name.
4228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4231 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4240 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4255 * math/bits/math-finite.h: Add ldexp support.
4257 2012-01-10 Marek Polacek <polacek@redhat.com>
4259 * locale/programs/localedef.h (show_archive_content): Add noreturn
4262 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4270 * io/Makefile (headers): Add bits/poll2.h.
4272 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4275 typo #include statement.
4277 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4279 * include/sys/cdefs.h: Define __attribute_alloc_size.
4280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4282 * elf/pldd.c: Likewise.
4283 * iconv/iconv_charmap.c: Likewise.
4284 * iconv/iconvconfig.c: Likewise.
4285 * iconv/strtab.c: Likewise.
4286 * locale/programs/locale.c: Likewise.
4287 * locale/programs/localedef.h: Likewise.
4288 * locale/programs/simple-hash.c: Likewise.
4289 * nscd/nscd.h: Likewise.
4290 * nss/makedb.c: Likewise.
4291 * sysdeps/generic/ldconfig.h: Likewise.
4292 * locale/programs/localedef.c: Remove xmalloc prototype.
4293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4295 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4300 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4302 * math/Makefile (tests): Add tst-CMPLX.
4303 * math/tst-CMPLX.c: New file.
4305 * math/complex.h (CMPLXL): Fix typo.
4307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4310 * debug/tst-chk1.c: Add poll and ppoll tests.
4311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4312 * include/sys/poll.h: Add hidden proto for ppoll.
4313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4314 * sysdeps/mach/hurd/ppoll.c: Likewise.
4315 * io/ppoll.c: Likewise.
4316 * debug/poll_chk.c: New file.
4317 * debug/ppoll_chk.c: New file.
4318 * include/bits/poll2.h: New file.
4319 * io/bits/poll2.h: New file.
4322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4324 * configure.in: static is always set to yes. Remove.
4325 * config.make.in: Don't set build-static.
4326 * Makeconfig: Remove use of build-static.
4327 * dlfcn/Makefile: Likewise.
4328 * elf/Makefile: Likewise.
4329 * math/Makefile: Likewise.
4330 * misc/Makefile: Likewise.
4331 * nptl/Makefile: Likewise.
4332 * sysdeps/mach/hurd/Makefile: Likewise.
4334 * configure.in: PWD_P is not used anymore.
4335 * config.make.in: Remove PWD_P entry.
4337 * configure.in: Remove last remnants of RANLIB.
4338 No need to check for signed size_t anymore.
4339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4341 Remove __builtin_expect test because we require at least gcc 3.4.
4342 * aclocal.m4: Likewise.
4344 * wcsmbs/mbrtoc16.c: Implement using towc function.
4345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4346 * wcsmbs/wcsmbsload.c: Likewise.
4347 * iconv/gconv_simple.c: Likewise.
4348 * iconv/gconv_int.h: Likewise.
4349 * iconv/gconv_builtin.h: Likewise.
4350 * iconv/iconv_prog.c: Remove CHAR16 handling.
4352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4356 * configure.in: Remove --with-elf and --enable-bounded options.
4357 Dont set base_machine for ia64. More non-ELF conditions removed.
4358 Remove testing and setting of leading underscore information.
4359 * config.make.in (build-bounded): Set to no.
4360 * config.h.in: Remove NO_UNDERSCORES entry.
4361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4363 * csu/start.c: Remove !NO_UNDERSCORE code.
4364 * locale/localeinfo.h: Likewise.
4365 * sysdeps/generic/machine-gmon.h: Likewise.
4366 * sysdeps/generic/sysdep.h: Likewise.
4367 * sysdeps/i386/sysdep.h: Likewise.
4368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4369 * sysdeps/mach/sysdep.h: Likewise.
4370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4372 * sysdeps/sh/sysdep.h: Likewise.
4373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4374 * sysdeps/unix/i386/sysdep.S: Likewise.
4375 * sysdeps/unix/sparc/start.c: Likewise.
4376 * sysdeps/unix/sparc/sysdep.S: Likewise.
4377 * sysdeps/unix/sparc/sysdep.h: Likewise.
4378 * sysdeps/unix/start.c: Likewise.
4379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4380 * sysdeps/x86_64/sysdep.h: Likewise.
4382 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4387 * argp/argp-fmtstream.h: Use const instead __const.
4388 * argp/argp.h: Likewise.
4389 * assert/assert.h: Likewise.
4390 * bits/fenv.h: Likewise.
4391 * bits/sched.h: Likewise.
4392 * bits/sigset.h: Likewise.
4393 * bits/sigthread.h: Likewise.
4394 * catgets/nl_types.h: Likewise.
4395 * conform/data/pthread.h-data: Likewise.
4396 * crypt/crypt-private.h: Likewise.
4397 * crypt/crypt.h: Likewise.
4398 * crypt/crypt_util.c: Likewise.
4399 * ctype/ctype.h: Likewise.
4400 * debug/execinfo.h: Likewise.
4401 * debug/mbsnrtowcs_chk.c: Likewise.
4402 * debug/mbsrtowcs_chk.c: Likewise.
4403 * debug/wcsnrtombs_chk.c: Likewise.
4404 * debug/wcsrtombs_chk.c: Likewise.
4405 * debug/wcstombs_chk.c: Likewise.
4406 * dirent/dirent.h: Likewise.
4407 * dlfcn/dlfcn.h: Likewise.
4408 * elf/neededtest4.c: Likewise.
4409 * grp/grp.h: Likewise.
4410 * gshadow/gshadow.h: Likewise.
4411 * iconv/gconv.h: Likewise.
4412 * iconv/gconv_int.h: Likewise.
4413 * iconv/gconv_simple.c: Likewise.
4414 * iconv/iconv.h: Likewise.
4415 * iconv/loop.c: Likewise.
4416 * iconv/skeleton.c: Likewise.
4417 * include/aio.h: Likewise.
4418 * include/aliases.h: Likewise.
4419 * include/argz.h: Likewise.
4420 * include/arpa/inet.h: Likewise.
4421 * include/assert.h: Likewise.
4422 * include/dirent.h: Likewise.
4423 * include/dlfcn.h: Likewise.
4424 * include/execinfo.h: Likewise.
4425 * include/fcntl.h: Likewise.
4426 * include/fenv.h: Likewise.
4427 * include/glob.h: Likewise.
4428 * include/grp.h: Likewise.
4429 * include/libintl.h: Likewise.
4430 * include/mntent.h: Likewise.
4431 * include/netdb.h: Likewise.
4432 * include/pwd.h: Likewise.
4433 * include/rpc/netdb.h: Likewise.
4434 * include/sched.h: Likewise.
4435 * include/search.h: Likewise.
4436 * include/shadow.h: Likewise.
4437 * include/signal.h: Likewise.
4438 * include/stdio.h: Likewise.
4439 * include/stdlib.h: Likewise.
4440 * include/string.h: Likewise.
4441 * include/sys/socket.h: Likewise.
4442 * include/sys/stat.h: Likewise.
4443 * include/sys/statfs.h: Likewise.
4444 * include/sys/statvfs.h: Likewise.
4445 * include/sys/syslog.h: Likewise.
4446 * include/sys/time.h: Likewise.
4447 * include/sys/uio.h: Likewise.
4448 * include/time.h: Likewise.
4449 * include/unistd.h: Likewise.
4450 * include/utmp.h: Likewise.
4451 * include/wchar.h: Likewise.
4452 * include/wctype.h: Likewise.
4453 * inet/aliases.h: Likewise.
4454 * inet/arpa/inet.h: Likewise.
4455 * inet/netinet/ether.h: Likewise.
4456 * inet/netinet/in.h: Likewise.
4457 * intl/libintl.h: Likewise.
4458 * io/bits/fcntl2.h: Likewise.
4459 * io/fcntl.h: Likewise.
4460 * io/ftw.h: Likewise.
4461 * io/sys/poll.h: Likewise.
4462 * io/sys/stat.h: Likewise.
4463 * io/sys/statfs.h: Likewise.
4464 * io/sys/statvfs.h: Likewise.
4465 * io/utime.h: Likewise.
4466 * libio/bits/stdio.h: Likewise.
4467 * libio/bits/stdio2.h: Likewise.
4468 * libio/libio.h: Likewise.
4469 * libio/libioP.h: Likewise.
4470 * libio/stdio.h: Likewise.
4471 * locale/lc-ctype.c: Likewise.
4472 * locale/locale.h: Likewise.
4473 * login/utmp.h: Likewise.
4474 * malloc/arena.c: Likewise.
4475 * malloc/malloc.c: Likewise.
4476 * malloc/malloc.h: Likewise.
4477 * malloc/mcheck.c: Likewise.
4478 * malloc/mtrace.c: Likewise.
4479 * math/bits/mathcalls.h: Likewise.
4480 * math/fenv.h: Likewise.
4481 * math/math_private.h: Likewise.
4482 * misc/bits/error.h: Likewise.
4483 * misc/bits/syslog.h: Likewise.
4484 * misc/err.h: Likewise.
4485 * misc/error.h: Likewise.
4486 * misc/fstab.h: Likewise.
4487 * misc/mntent.h: Likewise.
4488 * misc/regexp.h: Likewise.
4489 * misc/search.h: Likewise.
4490 * misc/sgtty.h: Likewise.
4491 * misc/sys/mman.h: Likewise.
4492 * misc/sys/syslog.h: Likewise.
4493 * misc/sys/uio.h: Likewise.
4494 * misc/sys/xattr.h: Likewise.
4495 * misc/ttyent.h: Likewise.
4496 * nis/rpcsvc/ypclnt.h: Likewise.
4497 * nss/nss.h: Likewise.
4498 * posix/bits/unistd.h: Likewise.
4499 * posix/fnmatch.h: Likewise.
4500 * posix/glob.h: Likewise.
4501 * posix/sched.h: Likewise.
4502 * posix/spawn.h: Likewise.
4503 * posix/sys/wait.h: Likewise.
4504 * posix/unistd.h: Likewise.
4505 * posix/wordexp.h: Likewise.
4506 * pwd/pwd.h: Likewise.
4507 * resolv/netdb.h: Likewise.
4508 * resource/sys/resource.h: Likewise.
4509 * rt/aio.h: Likewise.
4510 * rt/bits/mqueue2.h: Likewise.
4511 * rt/mqueue.h: Likewise.
4512 * shadow/shadow.h: Likewise.
4513 * signal/signal.h: Likewise.
4514 * socket/send.c: Likewise.
4515 * socket/sendto.c: Likewise.
4516 * socket/sys/socket.h: Likewise.
4517 * stdio-common/printf.h: Likewise.
4518 * stdlib/bits/stdlib.h: Likewise.
4519 * stdlib/fmtmsg.h: Likewise.
4520 * stdlib/monetary.h: Likewise.
4521 * stdlib/stdlib.h: Likewise.
4522 * stdlib/ucontext.h: Likewise.
4523 * streams/stropts.h: Likewise.
4524 * string/argz.h: Likewise.
4525 * string/bits/string2.h: Likewise.
4526 * string/string.h: Likewise.
4527 * string/strings.h: Likewise.
4528 * sunrpc/rpc/auth.h: Likewise.
4529 * sunrpc/rpc/auth_des.h: Likewise.
4530 * sunrpc/rpc/clnt.h: Likewise.
4531 * sunrpc/rpc/netdb.h: Likewise.
4532 * sunrpc/rpc/pmap_clnt.h: Likewise.
4533 * sunrpc/rpc/xdr.h: Likewise.
4534 * sysdeps/generic/inttypes.h: Likewise.
4535 * sysdeps/generic/net/if.h: Likewise.
4536 * sysdeps/generic/sys/swap.h: Likewise.
4537 * sysdeps/gnu/net/if.h: Likewise.
4538 * sysdeps/gnu/utmpx.h: Likewise.
4539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4540 * sysdeps/i386/i486/bits/string.h: Likewise.
4541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4542 * sysdeps/s390/bits/string.h: Likewise.
4543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4574 * sysvipc/sys/ipc.h: Likewise.
4575 * sysvipc/sys/msg.h: Likewise.
4576 * sysvipc/sys/sem.h: Likewise.
4577 * sysvipc/sys/shm.h: Likewise.
4578 * termios/termios.h: Likewise.
4579 * time/sys/time.h: Likewise.
4580 * time/time.h: Likewise.
4581 * wcsmbs/bits/wchar2.h: Likewise.
4582 * wcsmbs/uchar.h: Likewise.
4583 * wcsmbs/wchar.h: Likewise.
4584 * wctype/wctype.h: Likewise.
4587 * Makeconfig: Remove all but ELF support including AIX support.
4588 * Makerules: Likewise.
4589 * config.h.in: Likewise.
4590 * config.make.in: Likewise.
4591 * configure: Likewise.
4592 * configure.in: Likewise.
4593 * csu/Makefile: Likewise.
4594 * csu/version.c: Likewise.
4595 * debug/Makefile: Likewise.
4596 * dlfcn/Makefile: Likewise.
4597 * elf/Makefile: Likewise.
4598 * extra-lib.mk: Likewise.
4599 * iconv/Makefile: Likewise.
4600 * include/libc-symbols.h: Likewise.
4601 * include/shlib-compat.h: Likewise.
4602 * resolv/Makefile: Likewise.
4603 * resolv/res_libc.c: Likewise.
4604 * rt/Makefile: Likewise.
4605 * sysdeps/i386/asm-syntax.h: Likewise.
4606 * sysdeps/i386/sysdep.h: Likewise.
4607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4608 * sysdeps/mach/sysdep.h: Likewise.
4609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4611 * sysdeps/s390/asm-syntax.h: Likewise.
4612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4614 * sysdeps/sh/sysdep.h: Likewise.
4615 * sysdeps/unix/sparc/sysdep.h: Likewise.
4616 * sysdeps/wordsize-32/divdi3.c: Likewise.
4617 * sysdeps/x86_64/sysdep.h: Likewise.
4619 * argp/Versions: Remove _argp_unlock_xxx.
4622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4623 * abilist/libBrokenLocale.abilist: Likewise.
4624 * abilist/libanl.abilist: Likewise.
4625 * abilist/libc.abilist: Likewise.
4626 * abilist/libcrypt.abilist: Likewise.
4627 * abilist/libdl.abilist: Likewise.
4628 * abilist/libm.abilist: Likewise.
4629 * abilist/libnsl.abilist: Likewise.
4630 * abilist/libpthread.abilist: Likewise.
4631 * abilist/libresolv.abilist: Likewise.
4632 * abilist/librt.abilist: Likewise.
4633 * abilist/libthread_db.abilist: Likewise.
4634 * abilist/libutil.abilist: Likewise.
4635 * abilist/libnss_db.abilist: New file.
4637 * scripts/abilist.awk: Add support for indirect functions.
4639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4643 * shlib-versions: Remove entries for ports architectures.
4645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4647 * elf/stackguard-macros.h: Remove support for IA-64.
4648 * elf/tst-auditmod1.c: Likewise.
4649 * sysdeps/generic/ldsodefs.h: Likewise.
4651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4656 * configure.in: Remove --enable-omitfp support.
4658 * config.make.in: Likewise.
4659 * Makeconfig: Likewise.
4660 * manual/install.texi: Likewise.
4662 In case anyone cares, the IA-64 architecture could move to ports.
4663 * sysdeps/ia64/*: Removed.
4664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4668 * configure.in: Remove entries for unsupported architectures.
4671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4677 fall back to using wcrtomb.
4678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4682 * wcsmbs/tst-c16c32-1.c: New file.
4684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4689 * elf/tst-unique3.cc: Add explicit declaration of gets.
4690 * elf/tst-unique3lib.cc: Likewise.
4691 * elf/tst-unique3lib2.cc: Likewise.
4692 * elf/tst-unique4.cc: Likewise.
4694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4696 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4699 * assert/assert.h (static_assert): Don't define for C++.
4700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4703 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4705 * iconv/loop.c (single loop): Fix assertion in storing of
4708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4710 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4712 * posix/getconf.c: Update copyright year.
4713 * nss/getent.c: Likewise.
4714 * nss/makedb.c: Likewise.
4715 * iconv/iconvconfig.c: Likewise.
4716 * iconv/iconv_prog.c: Likewise.
4717 * elf/ldconfig.c: Likewise.
4718 * elf/pldd.c: Likewise.
4719 * elf/sotruss.ksh: Likewise.
4720 * catgets/gencat.c: Likewise.
4721 * csu/version.c: Likewise.
4722 * elf/ldd.bash.in: Likewise.
4723 * elf/sprof.c (print_version): Likewise.
4724 * locale/programs/locale.c: Likewise.
4725 * locale/programs/localedef.c: Likewise.
4726 * login/programs/pt_chown.c: Likewise.
4727 * nscd/nscd.c (print_version): Likewise.
4728 * debug/xtrace.sh: Likewise.
4729 * malloc/memusage.sh: Likewise.
4730 * malloc/mtrace.pl: Likewise.
4731 * debug/catchsegv.sh: Likewise.
4733 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4738 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4744 * iconv/gconv_int.h: Likewise.
4745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4747 from libc for GLIBC_2.16.
4748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4750 * wcsmbs/uchar.h: Really define mbstate_t.
4751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4752 * wcsmbs/c16rtomb.c: New file.
4753 * wcsmbs/mbrtoc16.c: New file.
4754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4759 * wcsmbs/wchar.h: Add missing __restrict.
4761 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4764 * time/Makefile (routines): Add timespec_get.
4765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4767 timespec for ISO C11.
4768 * time/timespec_get.c: New file.
4769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4774 * stdlib/stdlib.h: Declare aligned_alloc.
4775 * Versions.def: Add GLIBC_2.16 for libc.
4776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4789 * assert/assert.h (static_assert): Define.
4791 * version.h: Update for 2.16 development version.
4794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4797 * version.h (RELEASE): Bump for 2.15 release.
4798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4801 Patch by Marek Polacek <mpolacek@redhat.com>.
4803 * bits/byteswap.h: Protect long long constants with __extension__.
4804 * sysdeps/i386/bits/byteswap.h: Likewise.
4805 * sysdeps/ia64/bits/byteswap.h: Likewise.
4806 * sysdeps/s390/bits/byteswap.h: Likewise.
4807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4809 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4816 2011-12-23 Marek Polacek <polacek@redhat.com>
4818 * elf/dl-addr.c (determine_info): Add inline keyword.
4819 * elf/tst-auditmod4b.c (check_avx): Likewise.
4820 * elf/tst-auditmod6b.c (check_avx): Likewise.
4821 * elf/tst-auditmod6c.c (check_avx): Likewise.
4822 * elf/tst-auditmod7b.c (check_avx): Likewise.
4824 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4833 processing for last bytes.
4835 2011-08-06 Bruno Haible <bruno@clisp.org>
4838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4839 U+0385, not to U+1FEE.
4842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4843 entry for U+00A5 U+0301.
4845 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4849 buffer for the output is too small.
4851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4856 SSE flags if possible.
4858 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4862 processing for last bytes.
4864 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4867 (syscall-list-default-options, syscall-list-default-condition)
4868 (syscall-list-includes): Define.
4869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4870 list of ABIs and options and #if conditions for each ABI. Do not
4871 handle common syscalls between ABIs specially.
4872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4874 (syscall-list-variants, syscall-list-32bit-options)
4875 (syscall-list-32bit-condition, syscall-list-64bit-options)
4876 (syscall-list-64bit-condition): Define.
4877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4878 (syscall-list-variants, syscall-list-32bit-options)
4879 (syscall-list-32bit-condition, syscall-list-64bit-options)
4880 (syscall-list-64bit-condition): Define.
4881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4883 (syscall-list-variants, syscall-list-32bit-options)
4884 (syscall-list-32bit-condition, syscall-list-64bit-options)
4885 (syscall-list-64bit-condition): Define.
4886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4888 (syscall-list-variants, syscall-list-32bit-options)
4889 (syscall-list-32bit-condition, syscall-list-64bit-options)
4890 (syscall-list-64bit-condition): Define.
4892 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4894 * locale/iso-639.def: Add brx entry.
4897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4901 __feraiseexcept_renamed.
4903 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4907 EPOLLET with unsigned values.
4908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4912 to large cancellation.
4913 * math/s_cacoshf.c: Likewise.
4914 * math/s_cacoshl.c: Likewise.
4916 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4921 * math/s_cacoshf.c: Likewise.
4922 * math/s_cacoshl.c: Likewise.
4924 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4927 * iconv/gconv.h: Define __GCONV_SWAP.
4928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4929 * iconvdata/utf-16.c: Likewise.
4930 * iconvdata/utf-32.c: Likewise.
4932 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4936 numerator after shifting it by one limb.
4938 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4941 under [__USE_EXTERN_INLINES].
4943 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4948 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4957 for strncasecmp/strncasecmp_l compilation.
4958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4961 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4967 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4970 * time/tzfile.c (__tzfile_read): Check values from file header.
4972 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4976 * powerpc/powerpc32/dl-start.S: Likewise.
4977 * powerpc/powerpc32/elf/start.S: Likewise.
4978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4991 * powerpc/powerpc32/memset.S: Likewise.
4992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5006 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008 * math/libm-test.inc: Added more nearbyint tests.
5009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5014 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5019 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5022 Add wcscpy-ssse3 wcscpy-c.
5023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5026 * sysdeps/x86_64/wcschr.S: New file.
5027 * sysdeps/x86_64/wcsrchr.S: New file.
5028 * string/test-strcmp.c: Remove checking of wcscmp function for
5030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5032 wcsrchr-sse2 wcsrchr-c.
5033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5042 * wcsmbc/wcschr.c (WCSCHR): New macro.
5044 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5047 * wcsmbs/test-wcsrchr.c: New file.
5048 * string/test-strrchr.c: Add wcsrchr support.
5050 * wcsmbs/test-wcscpy.c: New file.
5051 * string/test-strcpy.c: Add wcscpy support.
5054 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5059 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5064 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5067 Minor optimizations.
5069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5073 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5078 for gcc to avoid warnings.
5079 * inet/Makefile (tests): Add tst-checks.
5080 * inet/tst-checks.c: New file.
5082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5093 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5100 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5103 conditional on GCC version.
5104 (__arch_compare_and_exchange_val_8_acq)
5105 (__arch_compare_and_exchange_val_16_acq)
5106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5110 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5112 * sysdeps/sh/backtrace.c: New file.
5114 2011-12-02 Andreas Schwab <schwab@redhat.com>
5116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5119 2011-12-01 Andreas Schwab <schwab@redhat.com>
5121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5122 falling back to utime.
5124 2011-11-30 Andreas Schwab <schwab@redhat.com>
5126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5127 expectations for float.
5129 2011-11-29 Andreas Schwab <schwab@redhat.com>
5131 * locale/weight.h (findidx): Add parameter len.
5132 * locale/weightwc.h (findidx): Likewise.
5133 * posix/fnmatch_loop.c (FCT): Adjust caller.
5134 * posix/regcomp.c (build_equiv_class): Likewise.
5135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5136 * posix/regexec.c (check_node_accept_bytes): Likewise.
5137 * string/strcoll_l.c (STRCOLL): Likewise.
5138 * string/strxfrm_l.c (STRXFRM): Likewise.
5140 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5142 * Makefile.in: Remove CVSOPT handling.
5143 * configure.in: Remove use of AC_REVISION.
5144 * iconvdata/Makefile (distribute): No need to filter out CVS.
5145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5148 2011-11-16 Andreas Schwab <schwab@redhat.com>
5150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5152 [USE_AS_STRNCASECMP_L]: Likewise.
5153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5154 NO_TLS_DIRECT_SEG_REFS.
5155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5156 Fix argument offsets for non-PIC.
5157 [USE_AS_STRNCASECMP_L]: Likewise.
5158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5159 NO_TLS_DIRECT_SEG_REFS.
5161 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5165 * locale/loadlocale.c (_nl_load_locale): Likewise.
5167 2011-11-15 Andreas Schwab <schwab@redhat.com>
5169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5172 (SYSCALL_GETTIME): Set errno on error.
5174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5175 count references to noai6ai_cached.
5177 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5182 FD_CLOEXEC for /proc/self/maps.
5184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5185 FD_CLOEXEC for /proc/meminfo.
5187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5191 FD_CLOEXEC for given file.
5193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5196 FD_CLOEXEC for /etc/hosts.
5197 (_gethtent): Likewise.
5199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5202 cancellation and set FD_CLOEXEC for /etc/netgroup.
5204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5205 reading /etc/publickey.
5207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5208 allow cancellation when reading /etc/group.
5210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5215 when using data file.
5217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5220 (write_nis_obj): Use "c" and "e" in fopen.
5222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5240 file parsing and set FD_CLOEXEC.
5242 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5246 2011-11-14 Andreas Schwab <schwab@redhat.com>
5248 * malloc/arena.c (arena_get2): Don't call reused_arena when
5249 _int_new_arena failed.
5251 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5259 to compile strcasecmp and strncasecmp.
5260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5265 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5268 locale-defines.sym to gen-as-const-headers.
5269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5272 to compile strcasecmp and strncasecmp.
5273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5274 strcasecmp_l and strncasecmp_l.
5275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5287 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5290 result of SYSDEP_GETTIME_CPU to retval.
5291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5292 parameter list to macro. Remove trailing semicolon. Adjust users.
5294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5302 from unused variable.
5304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5312 * sunrpc/rpc_prot.c (rejected): Fix case value.
5314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5315 unsigned long long int to avoid warnings in shift.
5317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5326 * nis/nis_table.c (nis_list): Use variable of correct type for
5327 result of __follow_path call.
5329 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5332 of math functions ceil, trunc, floor, round, and sqrt, when
5333 avaliable on the platform.
5334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5340 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5345 2011-11-11 Roland McGrath <roland@hack.frob.com>
5347 * include/unistd.h: Fix __readlink return type.
5348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5350 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5352 * stdlib/ucontext.h: Undo last change for makecontext.
5354 2011-11-11 Andreas Schwab <schwab@redhat.com>
5356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5359 * setjmp/setjmp.h: Mark functions as non-leaf.
5360 * setjmp/bits/setjmp2.h: Likewise.
5361 * stdlib/ucontext.h: Likewise.
5363 2011-11-10 Andreas Schwab <schwab@redhat.com>
5365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5366 (reused_arena): Don't check arena limit.
5367 (arena_get2): Atomically check arena limit.
5369 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5377 2011-11-07 Andreas Schwab <schwab@redhat.com>
5379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5380 handler when locking.
5382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5383 Fix size of allocated buffer.
5385 2011-11-04 Andreas Schwab <schwab@redhat.com>
5388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5389 declarations for long double functions.
5390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5394 2011-11-03 Andreas Schwab <schwab@redhat.com>
5396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5402 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5406 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5408 * include/alloca.h (stackinfo_alloca_round): Define.
5409 (extend_alloca): Use it.
5410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5414 * scripts/check-local-headers.sh: Ignore libaudit.h.
5416 * nscd/Makefile (extra-objs): Make recursively expanded.
5418 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5424 * posix/tst-rfc3484-2.c: Likewise.
5425 * posix/tst-rfc3484-3.c: Likewise.
5427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5432 process_vm_writev from libc using GLIBC_2.15 version.
5434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5436 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5441 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5444 * nss/getent.c (initgroups_keys): Show error message in case no group
5447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5449 __bump_nl_timestamp.
5450 * nscd/connections (nscd_init): When host database is served open
5451 netlink socket and request notification about configuration changes.
5452 (main_loop_poll): Track netlink file descriptor and bump timestamp
5453 in case data becomes available.
5454 (main_loop_epoll): Likewise.
5455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5456 (database_pers_head): Add extra_data fileds.
5457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5462 in6ai data, call __free_in6ai.
5463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5466 interface information. Reuse previous data if netlink timestamp
5468 (__bump_nl_timestamp): New function.
5469 (__free_in6ai): New function.
5471 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5474 close_not_cancel_no_status here.
5475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5477 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5487 2011-07-03 Andreas Jaeger <aj@suse.de>
5490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5492 * math/libm-test.inc (sin_test): Add test case.
5494 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5500 * elf/chroot_canon.c (chroot_canon): Cleanups.
5502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5508 * string/test-strchr.c: Make usable for strchrnul testing.
5509 * string/test-strchrnul.c: New file.
5510 * string/Makefile (strop-tests): Add strchrnul.
5512 * po/it.po: Update from translation team.
5513 * po/es.po: Likewise.
5515 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5518 the three constants needed as parameters. Drop the others.
5519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5520 __m128i_strloadu_tolower.
5521 Create and initialize variable zero and use it in all the places
5522 where _mm_setzero_si128 was used.
5524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5534 __mpranred, __mptan.
5535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5545 2011-10-28 Andreas Schwab <schwab@redhat.com>
5547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5552 wide char related routines to wcsmbs subdir.
5554 2011-10-27 Andreas Schwab <schwab@redhat.com>
5557 * misc/sys/cdefs.h (__THROWNL): Define.
5558 * posix/unistd.h: Use __THREADNL instead of __THREAD
5559 for memory synchronization functions.
5561 2011-10-26 Roland McGrath <roland@hack.frob.com>
5564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5566 * manual/stdio.texi (Obstack Streams): Node removed.
5568 2011-10-26 Andreas Schwab <schwab@redhat.com>
5570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5574 * math/math_private.h (math_force_eval): Allow non-addressable
5576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5578 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5616 place. Use VEX encoding when compiling for AVX.
5618 2011-10-25 Andreas Schwab <schwab@redhat.com>
5620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5625 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5628 useless if() expression.
5629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5651 2011-10-25 Andreas Schwab <schwab@redhat.com>
5653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5660 .text section. Avoid duplicate constants.
5661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5707 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5709 * sysdeps/x86_64/dla.h: Move to ...
5710 * sysdeps/x86_64/fpu/dla.h: ...here.
5711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5712 situations. Use __builtin_fma only for gcc 4.6 and up.
5714 * config.make.in: Add have-mfma4 entry.
5715 * configure.in: Substitute libc_cv_cc_fma4.
5716 * math/Makefile (dbl-only-routines): Add sincostab.
5717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5718 Use __sincostab not sincos.
5719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5735 define aliases when function name is a macro.
5736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5737 sysdeps/ieee754/dbl-64/sincos.tbl.
5738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5739 fma4-enabled routines.
5740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5782 2011-10-24 Andreas Schwab <schwab@redhat.com>
5784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5795 Remove unused variable magic_bits.
5796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5798 * string/strnlen.c: Define and use STRNLEN macro.
5799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5802 * wcsmbs/wcslen.c: Define and use WCSLEN.
5803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5811 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5814 strnlen-sse2-no-bsf.
5815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5818 Add strnlen support.
5819 (USE_AS_STRNLEN): New macro.
5820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5823 * sysdeps/x86_64/wcslen.S: New file.
5825 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5828 XMM-moves are used for copying on small sizes.
5830 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5832 * wcsmbs/Makefile (strop-tests): Add wcschr.
5833 * wcsmbs/test-wcschr.c: New file.
5834 * string/test-strchr.c: Update.
5838 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5840 * wcsmbs/Makefile (strop-tests): Add wcslen.
5841 * wcsmbs/test-wcslen.c: New file.
5842 * string/test-strlen.c: Update.
5846 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5848 * po/it.po: Update from translation team.
5850 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5852 * sysdeps/x86_64/wcscmp.S: Update.
5853 Fix wrong comparison semantics.
5854 wcscmp shall use signed comparison not unsigned.
5855 Don't use substraction to avoid overflow bug.
5856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5857 * wcsmbc/wcscmp.c: Likewise.
5858 * string/test-strcmp.c: Likewise.
5859 Add new tests to check cases with negative values.
5861 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5864 * sysdeps/x86_64/dla.h: ...here. New file.
5865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5875 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5878 __ynl_finite aliases.
5880 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5886 [DLA_FMA] (EMULV): Use DLA_FMA.
5887 [DLA_FMA] (MUL12): Use EMULV.
5888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5889 that are not needed.
5890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5898 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5900 * math/s_nan.c: Undef __nan.
5901 * math/s_nanf.c: Undef __nanf.
5902 * math/s_nanl.c: Undef __nanl.
5903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5906 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5908 * math/s_catan.c: Add branch predictions.
5909 * math/s_catanf.c: Likewise.
5910 * math/s_catanh.c: Likewise.
5911 * math/s_catanhf.c: Likewise.
5912 * math/s_catanhl.c: Likewise.
5913 * math/s_catanl.c: Likewise.
5914 * math/s_cexp.c: Likewise.
5915 * math/s_cexpf.c: Likewise.
5916 * math/s_cexpl.c: Likewise.
5917 * math/s_clog.c: Likewise.
5918 * math/s_clog10.c: Likewise.
5919 * math/s_clog10f.c: Likewise.
5920 * math/s_clog10l.c: Likewise.
5921 * math/s_clogf.c: Likewise.
5922 * math/s_clogl.c: Likewise.
5923 * math/s_csqrt.c: Likewise.
5924 * math/s_csqrtf.c: Likewise.
5925 * math/s_csqrtl.c: Likewise.
5926 * math/s_ctanf.c: Likewise.
5927 * math/s_ctanh.c: Likewise.
5928 * math/s_ctanhf.c: Likewise.
5929 * math/s_ctanhl.c: Likewise.
5930 * math/s_ctanl.c: Likewise.
5932 * math/math_private.h: Define __nan, __nanf, __nanl.
5933 * math/s_cacosh.c: Include <math_private.h>.
5934 * math/s_cacoshl.c: Likewise.
5935 * math/s_casinh.c: Likewise.
5936 * math/s_casinhf.c: Likewise.
5937 * math/s_casinhl.c: Likewise.
5938 * math/s_ccos.c: Rely entire on ccosh.
5939 * math/s_ccosf.c: Rely entire on ccoshf.
5940 * math/s_ccosl.c: Rely entirely on ccoshl.
5941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5942 Remove tests for FE_INVALID.
5943 * math/s_ccoshf.c: Likewise.
5944 * math/s_ccoshl.c: Likewise.
5945 * math/s_csin.c: Likewise.
5946 * math/s_csinf.c: Likewise.
5947 * math/s_csinh.c Likewise.
5948 * math/s_csinhf.c: Likewise.
5949 * math/s_csinhl.c: Likewise.
5950 * math/s_csinl.c: Likewise.
5951 * math/s_ctan.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5956 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5959 compilation problems.
5961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5964 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5966 * sysdeps/i386/configure.in: Test for -mfma4 option.
5967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5969 COMMON_CPUID_INDEX_80000001.
5970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5972 use it if FMA3 is not supported.
5973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5978 2011-10-20 Andreas Schwab <schwab@redhat.com>
5981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5982 it would create a cycle with a link time dependency.
5984 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5988 * string/Makefile (strop-tests): Add rawmemchr.
5989 * string/test-rawmemchr.c: New file.
5991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5994 when compiling str{,n}casecmp and when AVX is available. Hook up
5995 new optimized code in initializers.
5997 2011-10-19 Andreas Schwab <schwab@redhat.com>
5999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6000 __feraiseexcept instead of feraiseexcept.
6002 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6004 * math/math_private.h: Define defaults for libc_fetestexcept and
6006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6012 libc_fetestexcept and libc_feupdateenv.
6014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6018 libc_feholdexcept_setround.
6020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6021 Add s_nearbyint-c and s_nearbyintf-c.
6022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6029 * math/math_private.h: Define defaults for libc_fegetround,
6030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6037 Remove comments and hacks for old compiler versions.
6038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6042 2011-10-18 Andreas Schwab <schwab@redhat.com>
6044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6045 (__feraiseexcept_renamed): Add __NTH.
6046 (feraiseexcept): Add __NTH. Rename local variables to fix
6047 namespace violations.
6049 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6056 recently added interfaces.
6057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6060 about macro parameter expansion.
6062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6063 __NO_MATH_INLINES is defined. Cleanups.
6065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6066 and __floorf is target has SSE4.1.
6067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6078 2011-10-17 Andreas Schwab <schwab@redhat.com>
6080 * misc/sys/cdefs.h: Fix last change.
6082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6085 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6113 ceil, ceilf, floor, floorf.
6115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6116 Perform IRELATIVE relocations last.
6118 * elf/do-rel.h: Add another parameter nrelative, replacing the
6119 local variable with the same name. Change name of the function
6120 to end in Rel or Rela (uppercase).
6121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6123 elf_dynamic_do_##reloc function.
6125 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6128 is sufficient, at least on modern CPUs.
6130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6137 * math/bits/math-finite.h: Add entries for exp.
6138 * math/e_expl.c: Add __*_finite alias.
6139 * sysdeps/i386/fpu/e_exp.S: Likewise.
6140 * sysdeps/i386/fpu/e_expf.S: Likewise.
6141 * sysdeps/i386/fpu/e_expl.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6151 is sufficient, at least on modern CPUs.
6153 * ctype/ctype-info.c (__ctype_init): Define.
6154 * include/ctype.h (__ctype_init): Declare.
6155 (__ctype_b_loc): The variable is always initialized.
6156 (__ctype_toupper_loc): Likewise.
6157 (__ctype_tolower_loc): Likewise.
6158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6161 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6165 * configure.in: Also look in $cxxmachine/include for C++ system
6168 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6175 (USE_AS_WMEMCMP): New macro.
6177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6188 (USE_AS_WMEMCMP): New macro.
6189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6190 * sysdeps/string/test-memcmp.c: Update.
6193 * wcsmbs/wmemcmp.c: Update.
6194 (WMEMCMP): New macro.
6197 2011-10-12 Andreas Jaeger <aj@suse.de>
6200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6202 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6204 * libio/iofwide.c (do_length): Avoid warning.
6206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6208 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6215 * sysdeps/i386/i686/fpu/e_log.S: New file.
6216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6219 * ctype/ctype.h: Add support for inlined isXXX functions when
6222 2011-10-14 Andreas Schwab <schwab@redhat.com>
6224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6228 2011-10-13 Roland McGrath <roland@hack.frob.com>
6231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6233 2011-10-13 Andreas Schwab <schwab@redhat.com>
6235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6239 * sysdeps/x86_64/memrchr.S: Check for zero size.
6241 * string/stratcliff.c: Add memrchr tests.
6243 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6247 rawmemchr-sse2 rawmemchr-sse2-bsf.
6248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6258 * string/memrchr.c (MEMRCHR): New macro.
6260 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6262 Add integration with gcc's -ffinite-math-only and optimize wrapper
6264 * Versions.def: Define GLIBC_2.15 version for libm.
6265 * math/Makefile (headers): Add bits/math-finite.h.
6266 * math/bits/math-finite.h: New file.
6267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6269 * math/e_acoshl.c: Add __*_finite alias.
6270 * math/e_acosl.c: Likewise.
6271 * math/e_asinl.c: Likewise.
6272 * math/e_atan2l.c: Likewise.
6273 * math/e_atanhl.c: Likewise.
6274 * math/e_coshl.c: Likewise.
6275 * math/e_exp10.c: Likewise.
6276 * math/e_exp10f.c: Likewise.
6277 * math/e_exp10l.c: Likewise.
6278 * math/e_exp2l.c: Likewise.
6279 * math/e_fmodl.c: Likewise.
6280 * math/e_gammal_r.c: Likewise.
6281 * math/e_hypotl.c: Likewise.
6282 * math/e_j0l.c: Likewise.
6283 * math/e_j1l.c: Likewise.
6284 * math/e_jnl.c: Likewise.
6285 * math/e_lgammal_r.c: Likewise.
6286 * math/e_log10l.c: Likewise.
6287 * math/e_log2l.c: Likewise.
6288 * math/e_logl.c: Likewise.
6289 * math/e_powl.c: Likewise.
6290 * math/e_sinhl.c: Likewise.
6291 * math/e_sqrtl.c: Likewise.
6292 * math/e_scalb.c: Completely rewritten and optimized.
6293 * math/e_scalbf.c: Likewise.
6294 * math/e_scalbl.c: Likewise.
6295 * math/w_acos.c: Likewise.
6296 * math/w_acosf.c: Likewise.
6297 * math/w_acosl.c: Likewise.
6298 * math/w_acosh.c: Likewise.
6299 * math/w_acoshf.c: Likewise.
6300 * math/w_acoshl.c: Likewise.
6301 * math/w_asin.c: Likewise.
6302 * math/w_asinf.c: Likewise.
6303 * math/w_asinl.c: Likewise.
6304 * math/w_atan2.c: Likewise.
6305 * math/w_atan2f.c: Likewise.
6306 * math/w_atan2l.c: Likewise.
6307 * math/w_atanh.c: Likewise.
6308 * math/w_atanhf.c: Likewise.
6309 * math/w_atanhl.c: Likewise.
6310 * math/w_exp10.c: Likewise.
6311 * math/w_exp10f.c: Likewise.
6312 * math/w_exp10l.c: Likewise.
6313 * math/w_fmod.c: Likewise.
6314 * math/w_fmodf.c: Likewise.
6315 * math/w_fmodl.c: Likewise.
6316 * math/w_j0.c: Likewise.
6317 * math/w_j0f.c: Likewise.
6318 * math/w_j0l.c: Likewise.
6319 * math/w_j1.c: Likewise.
6320 * math/w_j1f.c: Likewise.
6321 * math/w_j1l.c: Likewise.
6322 * math/w_jn.c: Likewise.
6323 * math/w_jnf.c: Likewise.
6324 * math/w_log.c: Likewise.
6325 * math/w_logf.c: Likewise.
6326 * math/w_logl.c: Likewise.
6327 * math/w_log10.c: Likewise.
6328 * math/w_log10f.c: Likewise.
6329 * math/w_log10l.c: Likewise.
6330 * math/w_log2.c: Likewise.
6331 * math/w_log2f.c: Likewise.
6332 * math/w_log2l.c: Likewise.
6333 * math/w_pow.c: Likewise.
6334 * math/w_powf.c: Likewise.
6335 * math/w_powl.c: Likewise.
6336 * math/w_remainder.c: Likewise.
6337 * math/w_remainderf.c: Likewise.
6338 * math/w_remainderl.c: Likewise.
6339 * math/w_scalb.c: Likewise.
6340 * math/w_scalbf.c: Likewise.
6341 * math/w_scalbl.c: Likewise.
6342 * math/w_sqrt.c: Likewise.
6343 * math/w_sqrtf.c: Likewise.
6344 * math/w_sqrtl.c: Likewise.
6345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6348 * math/math_private.h: Declare __kernel_standard_f.
6349 * math/w_cosh.c: Remove cruft and optimize a bit.
6350 * math/w_coshf.c: Likewise.
6351 * math/w_coshl.c: Likewise.
6352 * math/w_exp2.c: Likewise.
6353 * math/w_exp2f.c: Likewise.
6354 * math/w_exp2l.c: Likewise.
6355 * math/w_hypot.c: Likewise.
6356 * math/w_hypotf.c: Likewise.
6357 * math/w_hypotl.c: Likewise.
6358 * math/w_lgamma.c: Likewise.
6359 * math/w_lgamma_r.c: Likewise.
6360 * math/w_lgammaf.c: Likewise.
6361 * math/w_lgammaf_r.c: Likewise.
6362 * math/w_lgammal.c: Likewise.
6363 * math/w_lgammal_r.c: Likewise.
6364 * math/w_sinh.c: Likewise.
6365 * math/w_sinhf.c: Likewise.
6366 * math/w_sinhl.c: Likewise.
6367 * math/w_tgamma.c: Likewise.
6368 * math/w_tgammaf.c: Likewise.
6369 * math/w_tgammal.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6373 Minor optimizations. Pretty printing. Remove cruft.
6374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6379 * sysdeps/i386/fpu/e_asin.S: Likewise.
6380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6398 * sysdeps/i386/fpu/e_log.S: Likewise.
6399 * sysdeps/i386/fpu/e_log10.S: Likewise.
6400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6402 * sysdeps/i386/fpu/e_log2.S: Likewise.
6403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6405 * sysdeps/i386/fpu/e_logf.S: Likewise.
6406 * sysdeps/i386/fpu/e_logl.S: Likewise.
6407 * sysdeps/i386/fpu/e_pow.S: Likewise.
6408 * sysdeps/i386/fpu/e_powf.S: Likewise.
6409 * sysdeps/i386/fpu/e_powl.S: Likewise.
6410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6532 (__isnanf): Likewise.
6533 (__isinf_ns): Likewise.
6534 (__isinf_nsf): Likewise.
6535 (__finite): Likewise.
6536 (__finitef): Likewise.
6537 (__ieee754_sqrt): Define as macro.
6538 (__ieee754_sqrtf): Define as macro.
6539 (__ieee754_sqrtl): Define as macro.
6540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6543 __FINITE_MATH_ONLY__ consistent.
6544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6546 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6553 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6555 * po/ja.po: Update from translation team.
6557 2011-10-08 Roland McGrath <roland@hack.frob.com>
6559 * locale/programs/locarchive.c (prepare_address_space): New function.
6560 (create_archive, enlarge_archive, open_archive): Use it.
6562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6563 inside [SHARED], where it is used.
6565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6567 * nss/getent.c (netgroup_keys): Remove unused variable.
6568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6570 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6578 * math/Makefile (libm-calls): Add s_isinf_ns.
6579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6580 * math/multc3.c: Likewise.
6581 * math/s_casin.c: Likewise.
6582 * math/s_casinf.c: Likewise.
6583 * math/s_casinl.c: Likewise.
6584 * math/s_ccos.c: Likewise.
6585 * math/s_ccosf.c: Likewise.
6586 * math/s_ccosl.c: Likewise.
6587 * math/s_ctan.c: Likewise.
6588 * math/s_ctanf.c: Likewise.
6589 * math/s_ctanh.c: Likewise.
6590 * math/s_ctanhf.c: Likewise.
6591 * math/s_ctanhl.c: Likewise.
6592 * math/s_ctanl.c: Likewise.
6593 * math/w_fmod.c: Likewise.
6594 * math/w_fmodf.c: Likewise.
6595 * math/w_fmodl.c: Likewise.
6596 * math/w_remainder.c: Likewise.
6597 * math/w_remainderf.c: Likewise.
6598 * math/w_remainderl.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6610 * stdio-common/printf_fphex.c: Likewise.
6611 * stdio-common/printf_size.c: Likewise.
6613 * math/e_exp10.c: Include math_private.h using <...> not "...".
6614 * math/e_exp10f.c: Likewise.
6615 * math/e_exp10l.c: Likewise.
6616 * math/e_exp2l.c: Likewise.
6617 * math/e_j0l.c: Likewise.
6618 * math/e_j1l.c: Likewise.
6619 * math/e_jnl.c: Likewise.
6620 * math/e_lgammal_r.c: Likewise.
6621 * math/e_rem_pio2l.c: Likewise.
6622 * math/e_scalb.c: Likewise.
6623 * math/e_scalbf.c: Likewise.
6624 * math/e_scalbl.c: Likewise.
6625 * math/k_cosl.c: Likewise.
6626 * math/k_sinl.c: Likewise.
6627 * math/k_tanl.c: Likewise.
6628 * math/s_cacoshf.c: Likewise.
6629 * math/s_catan.c: Likewise.
6630 * math/s_catanf.c: Likewise.
6631 * math/s_catanh.c: Likewise.
6632 * math/s_catanhf.c: Likewise.
6633 * math/s_catanhl.c: Likewise.
6634 * math/s_catanl.c: Likewise.
6635 * math/s_ccosh.c: Likewise.
6636 * math/s_ccoshf.c: Likewise.
6637 * math/s_ccoshl.c: Likewise.
6638 * math/s_cexp.c: Likewise.
6639 * math/s_cexpf.c: Likewise.
6640 * math/s_cexpl.c: Likewise.
6641 * math/s_clog.c: Likewise.
6642 * math/s_clog10.c: Likewise.
6643 * math/s_clog10f.c: Likewise.
6644 * math/s_clog10l.c: Likewise.
6645 * math/s_clogf.c: Likewise.
6646 * math/s_clogl.c: Likewise.
6647 * math/s_csin.c: Likewise.
6648 * math/s_csinf.c: Likewise.
6649 * math/s_csinh.c: Likewise.
6650 * math/s_csinhf.c: Likewise.
6651 * math/s_csinhl.c: Likewise.
6652 * math/s_csinl.c: Likewise.
6653 * math/s_csqrt.c: Likewise.
6654 * math/s_csqrtf.c: Likewise.
6655 * math/s_csqrtl.c: Likewise.
6656 * math/s_ctan.c: Likewise.
6657 * math/s_ctanf.c: Likewise.
6658 * math/s_ctanh.c: Likewise.
6659 * math/s_ctanhf.c: Likewise.
6660 * math/s_ctanhl.c: Likewise.
6661 * math/s_ctanl.c: Likewise.
6662 * math/s_ldexp.c: Likewise.
6663 * math/s_ldexpf.c: Likewise.
6664 * math/s_ldexpl.c: Likewise.
6665 * math/s_significand.c: Likewise.
6666 * math/s_significandf.c: Likewise.
6667 * math/s_significandl.c: Likewise.
6668 * math/w_acos.c: Likewise.
6669 * math/w_acosf.c: Likewise.
6670 * math/w_acosh.c: Likewise.
6671 * math/w_acoshf.c: Likewise.
6672 * math/w_acoshl.c: Likewise.
6673 * math/w_acosl.c: Likewise.
6674 * math/w_asin.c: Likewise.
6675 * math/w_asinf.c: Likewise.
6676 * math/w_asinl.c: Likewise.
6677 * math/w_atan2.c: Likewise.
6678 * math/w_atan2f.c: Likewise.
6679 * math/w_atan2l.c: Likewise.
6680 * math/w_atanh.c: Likewise.
6681 * math/w_atanhf.c: Likewise.
6682 * math/w_atanhl.c: Likewise.
6683 * math/w_cosh.c: Likewise.
6684 * math/w_coshf.c: Likewise.
6685 * math/w_coshl.c: Likewise.
6686 * math/w_dremf.c: Likewise.
6687 * math/w_exp10.c: Likewise.
6688 * math/w_exp10f.c: Likewise.
6689 * math/w_exp10l.c: Likewise.
6690 * math/w_exp2.c: Likewise.
6691 * math/w_exp2f.c: Likewise.
6692 * math/w_fmod.c: Likewise.
6693 * math/w_fmodf.c: Likewise.
6694 * math/w_fmodl.c: Likewise.
6695 * math/w_hypot.c: Likewise.
6696 * math/w_hypotf.c: Likewise.
6697 * math/w_hypotl.c: Likewise.
6698 * math/w_j0.c: Likewise.
6699 * math/w_j0f.c: Likewise.
6700 * math/w_j0l.c: Likewise.
6701 * math/w_j1.c: Likewise.
6702 * math/w_j1f.c: Likewise.
6703 * math/w_j1l.c: Likewise.
6704 * math/w_jn.c: Likewise.
6705 * math/w_jnf.c: Likewise.
6706 * math/w_jnl.c: Likewise.
6707 * math/w_lgamma.c: Likewise.
6708 * math/w_lgamma_r.c: Likewise.
6709 * math/w_lgammaf.c: Likewise.
6710 * math/w_lgammaf_r.c: Likewise.
6711 * math/w_lgammal.c: Likewise.
6712 * math/w_lgammal_r.c: Likewise.
6713 * math/w_log.c: Likewise.
6714 * math/w_log10.c: Likewise.
6715 * math/w_log10f.c: Likewise.
6716 * math/w_log10l.c: Likewise.
6717 * math/w_log2.c: Likewise.
6718 * math/w_log2f.c: Likewise.
6719 * math/w_log2l.c: Likewise.
6720 * math/w_logf.c: Likewise.
6721 * math/w_logl.c: Likewise.
6722 * math/w_pow.c: Likewise.
6723 * math/w_powf.c: Likewise.
6724 * math/w_powl.c: Likewise.
6725 * math/w_remainder.c: Likewise.
6726 * math/w_remainderf.c: Likewise.
6727 * math/w_remainderl.c: Likewise.
6728 * math/w_scalb.c: Likewise.
6729 * math/w_scalbf.c: Likewise.
6730 * math/w_scalbl.c: Likewise.
6731 * math/w_sinh.c: Likewise.
6732 * math/w_sinhf.c: Likewise.
6733 * math/w_sinhl.c: Likewise.
6734 * math/w_sqrt.c: Likewise.
6735 * math/w_sqrtf.c: Likewise.
6736 * math/w_sqrtl.c: Likewise.
6737 * math/w_tgamma.c: Likewise.
6738 * math/w_tgammaf.c: Likewise.
6739 * math/w_tgammal.c: Likewise.
6741 * po/ja.po: Update from translation team.
6743 2011-09-29 Andreas Jaeger <aj@suse.de>
6746 * sunrpc/netname.c (netname2host): Fix logic.
6750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6752 * math/w_remainder.c (__remainder): Likewise.
6753 * math/w_remainderf.c (__remainderf): Likewise.
6754 * math/libm-test.inc (remainder_test): Add test cases.
6756 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6761 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6763 * string/test-memcmp.c: Avoid unncessary #defines.
6764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6766 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6769 Use new sse2 version for core i3 - i7 as it's faster
6771 (bit_Prefer_PMINUB_for_stringop): New.
6772 * sysdeps/x86_64/rawmemchr.S: Update.
6773 Replace with faster SSE2 version.
6774 * sysdeps/x86_64/memrchr.S: New file.
6775 * sysdeps/x86_64/memchr.S: Update.
6776 Replace with faster SSE2 version.
6778 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6780 * elf/dl-load.c (lose): Add cast to avoid warning.
6782 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6784 * po/ca.po: Update from translation team.
6786 * inet/getnetgrent_r.c: Hook up nscd.
6787 * nscd/Makefile (routines): Add nscd_netgroup.
6788 (nscd-modules): Add netgroupcache.
6789 (CFLAGS-netgroupcache.c): Define.
6790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6791 (cache_search): Add const to second parameter.
6792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6794 (dbs): Add netgrdb entry.
6795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6796 (verify_persistent_db): Handle netgrdb.
6797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6800 (netgroup_response_header): Define.
6801 (innetgroup_response_header): Define.
6802 (datahead): Add netgroup_response_header and innetgroup_response_header
6804 * nscd/nscd.conf: Add entries for netgroup cache.
6805 * nscd/nscd.h (dbtype): Add netgrdb.
6806 (_PATH_NSCD_NETGROUP_DB): Define.
6807 (netgroup_iov_disabled): Declare.
6808 (xmalloc, xcalloc, xrealloc): Move declarations here.
6809 (cache_search): Adjust prototype.
6810 Add netgroup-related prototypes.
6811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6813 (__nscd_innetgr): Declare.
6814 * nscd/selinux.c (perms): Use access_vector_t as element type and
6815 add netgroup-related initializers.
6816 * nscd/netgroupcache.c: New file.
6817 * nscd/nscd_netgroup.c: New file.
6818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6820 For four parameters use innetgr.
6821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6826 * nscd/connections.c (register_traced_file): Don't register file
6827 for disabled databases.
6829 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6834 from tree and freeing node.
6836 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6838 * nss/nsswitch.c (__nss_database_lookup): Handle
6839 nss_parse_service_list out of memory case.
6841 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6846 2011-10-04 Andreas Schwab <schwab@redhat.com>
6848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6852 elf_machine_rela, elf_machine_lazy_rel.
6853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6854 (ELF_DYNAMIC_DO_REL): Likewise.
6855 (ELF_DYNAMIC_DO_RELA): Likewise.
6856 (ELF_DYNAMIC_RELOCATE): Likewise.
6857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6858 to ELF_DYNAMIC_DO_REL.
6859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6864 skip_ifunc, don't call ifunc function if non-zero.
6865 (elf_machine_rela): Likewise.
6866 (elf_machine_lazy_rel): Likewise.
6867 (elf_machine_lazy_rela): Likewise.
6868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6869 (elf_machine_lazy_rel): Likewise.
6870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6872 (elf_machine_lazy_rel): Likewise.
6873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6875 (elf_machine_lazy_rel): Likewise.
6876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6877 (elf_machine_lazy_rel): Likewise.
6878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6879 (elf_machine_lazy_rel): Likewise.
6880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6881 (elf_machine_lazy_rel): Likewise.
6882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6883 (elf_machine_lazy_rel): Likewise.
6884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6885 (elf_machine_lazy_rel): Likewise.
6886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6887 (elf_machine_lazy_rel): Likewise.
6889 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6891 * nss/nss_files/files-init.c (_nss_files_init): Use static
6892 initialization for all the *_traced_file variables.
6894 2011-09-28 Andreas Schwab <schwab@redhat.com>
6896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6898 2011-09-27 Roland McGrath <roland@hack.frob.com>
6901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6903 2011-09-27 Andreas Schwab <schwab@redhat.com>
6905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6906 Reread the line before reparsing it.
6908 2011-09-26 Andreas Schwab <schwab@redhat.com>
6910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6912 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6913 Maxim Kuvyrkov <maxim@codesourcery.com>
6914 Joseph Myers <joseph@codesourcery.com>
6916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6917 if needed for __stack_chk_guard.
6919 2011-09-19 Roland McGrath <roland@hack.frob.com>
6921 * sysdeps/posix/spawni.c (script_execute): Always define it.
6922 It will be optimized away if unused.
6923 (maybe_script_execute): New function.
6924 (__spawni): Call it.
6926 * Makerules: Don't include tls.make.
6927 (config-tls): Always set to thread.
6928 * tls.make.c: File removed.
6930 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6933 * config.make.in (CPPFLAGS-config): New substituted variable.
6935 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6943 2011-09-15 Roland McGrath <roland@hack.frob.com>
6945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6948 (CALL_FAIL): Likewise.
6949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6950 (CALL_FAIL): Macro removed.
6951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6953 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6956 for __FINITE_MATH_ONLY__ == 1.
6958 2011-09-15 Andreas Schwab <schwab@redhat.com>
6960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6961 __ieee754_sqrt instead of sqrt.
6962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6963 __ieee754_sqrtf instead of sqrtf.
6964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6965 __floorf instead of floorf.
6966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6967 __floorf, __truncf instead of floorf, truncf.
6969 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6974 __extern_always_inline.
6975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6978 2011-09-14 Andreas Schwab <schwab@redhat.com>
6980 * elf/rtld.c (dl_main): Also relocate in dependency order when
6981 doing symbol dependency testing.
6983 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6986 Always define `refsym'.
6988 2011-09-13 Andreas Schwab <schwab@redhat.com>
6990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6991 (__FD_ELT): Renamed from __FDELT.
6992 * misc/bits/select2.h (__FD_ELT): Likewise.
6993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6994 __FD_MASK instead of __FDELT, __FDMASK.
6995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7000 * elf/Makefile (gen-ldd): Fix pattern.
7002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7003 (init_tls): Likewise.
7005 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7009 2011-09-12 Andreas Schwab <schwab@redhat.com>
7011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7012 `struct cmsghdr *' instead of `void *'.
7013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7016 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7023 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7025 * configure.in: Remove --with-tls option.
7026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7028 out in case it is missing.
7029 * sysdeps/ia64/elf/configure.in: Likewise.
7030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7034 * sysdeps/sh/elf/configure.in: Likewise.
7035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7037 * sysdeps/x86_64/elf/configure.in: Likewise.
7038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7039 * sysdeps/mach/hurd/tls.h: Likewise.
7042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7045 * configure.in: Fix use of AC_INIT.
7047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7049 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7053 * malloc/hooks.c: Likewise.
7056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7057 variables statically.
7058 (narenas): Initialize.
7059 (list_lock): Initialize.
7060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7061 initializtion of main_arena and list_lock. Small cleanups.
7062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7064 Add initializers to main_arena and mp_.
7065 (malloc_state): Remove pagesize member. Change all users to use
7068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7070 is always initialized.
7072 * malloc/malloc.c: Removed unused configurations and dead code.
7073 * malloc/arena.c: Likewise.
7074 * malloc/hooks.c: Likewise.
7075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7077 * include/tls.h: Removed. USE___THREAD must always be defined.
7078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7079 * elf/dl-libc.c: Likewise.
7080 * elf/dl-tsd.c: Likewise.
7081 * include/errno.h: Likewise.
7082 * include/netdb.h: Likewise.
7083 * include/resolv.h: Likewise.
7084 * inet/herrno-loc.c: Likewise.
7085 * inet/herrno.c: Likewise.
7086 * malloc/arena.c: Likewise.
7087 * malloc/hooks.c: Likewise.
7088 * malloc/malloc.c: Likewise.
7089 * resolv/res-state.c: Likewise.
7090 * resolv/res_libc.c: Likewise.
7091 * sysdeps/i386/dl-machine.h: Likewise.
7092 * sysdeps/ia64/dl-machine.h: Likewise.
7093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7097 * sysdeps/sh/dl-machine.h: Likewise.
7098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7100 * sysdeps/unix/i386/sysdep.S: Likewise.
7101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7112 * sysdeps/x86_64/dl-machine.h: Likewise.
7113 * tls.make.c: Likewise.
7115 * configure.in: Remove --with-__thread option. Make tests for
7116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7117 tls_model attribute fail if no support is available. Remove
7119 * Makeconfig: Adjust for dropped configure option. All features are
7121 * Makerules: Likewise.
7122 * Versions.def: Likewise.
7123 * argp/argp-fmtstream.c: Likewise.
7124 * argp/argp-fmtstream.h: Likewise.
7125 * argp/argp-help.c: Likewise.
7126 * assert/assert.c: Likewise.
7127 * config.h.in: Likewise.
7128 * config.make.in: Likewise.
7129 * configure: Likewise.
7130 * configure.in: Likewise.
7131 * csu/Versions: Likewise.
7132 * csu/init.c: Likewise.
7133 * elf/tst-audit2.c: Likewise.
7134 * elf/tst-tls10.c: Likewise.
7135 * elf/tst-tls10.h: Likewise.
7136 * elf/tst-tls11.c: Likewise.
7137 * elf/tst-tls12.c: Likewise.
7138 * elf/tst-tls14.c: Likewise.
7139 * elf/tst-tlsmod11.c: Likewise.
7140 * elf/tst-tlsmod12.c: Likewise.
7141 * elf/tst-tlsmod13.c: Likewise.
7142 * elf/tst-tlsmod13a.c: Likewise.
7143 * elf/tst-tlsmod14a.c: Likewise.
7144 * elf/tst-tlsmod15b.c: Likewise.
7145 * elf/tst-tlsmod16a.c: Likewise.
7146 * elf/tst-tlsmod16b.c: Likewise.
7147 * elf/tst-tlsmod7.c: Likewise.
7148 * elf/tst-tlsmod8.c: Likewise.
7149 * elf/tst-tlsmod9.c: Likewise.
7150 * gmon/gmon.c: Likewise.
7151 * grp/fgetgrent_r.c: Likewise.
7152 * grp/putgrent.c: Likewise.
7153 * hurd/fopenport.c: Likewise.
7154 * include/libc-symbols.h: Likewise.
7155 * include/tls.h: Likewise.
7156 * intl/gettextP.h: Likewise.
7157 * intl/loadinfo.h: Likewise.
7158 * locale/global-locale.c: Likewise.
7159 * locale/localeinfo.h: Likewise.
7160 * mach/devstream.c: Likewise.
7161 * malloc/arena.c: Likewise.
7162 * malloc/set-freeres.c: Likewise.
7163 * misc/err.c: Likewise.
7164 * misc/getttyent.c: Likewise.
7165 * misc/mntent_r.c: Likewise.
7166 * posix/getopt.c: Likewise.
7167 * posix/wordexp.c: Likewise.
7168 * pwd/fgetpwent_r.c: Likewise.
7169 * resolv/Versions: Likewise.
7170 * resolv/res_hconf.c: Likewise.
7171 * shadow/fgetspent_r.c: Likewise.
7172 * shadow/putspent.c: Likewise.
7173 * stdio-common/printf_fphex.c: Likewise.
7174 * stdio-common/tmpfile.c: Likewise.
7175 * stdlib/abort.c: Likewise.
7176 * stdlib/fmtmsg.c: Likewise.
7177 * sunrpc/auth_unix.c: Likewise.
7178 * sunrpc/clnt_perr.c: Likewise.
7179 * sunrpc/clnt_tcp.c: Likewise.
7180 * sunrpc/clnt_udp.c: Likewise.
7181 * sunrpc/clnt_unix.c: Likewise.
7182 * sunrpc/openchild.c: Likewise.
7183 * sunrpc/svc_simple.c: Likewise.
7184 * sunrpc/svc_tcp.c: Likewise.
7185 * sunrpc/svc_udp.c: Likewise.
7186 * sunrpc/svc_unix.c: Likewise.
7187 * sunrpc/xdr.c: Likewise.
7188 * sunrpc/xdr_array.c: Likewise.
7189 * sunrpc/xdr_rec.c: Likewise.
7190 * sunrpc/xdr_ref.c: Likewise.
7191 * sunrpc/xdr_stdio.c: Likewise.
7193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7197 2011-07-03 Andreas Jaeger <aj@suse.de>
7199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7201 regenerate with gen-libm-tests.pl.
7203 2010-05-12 Petr Baudis <pasky@suse.cz>
7206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7207 around j0() zero points by switching to j1().
7208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7220 Patch in part by Pavel Roskin <proski@gnu.org>.
7223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7226 Free memory block if necessary.
7229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7230 be NULL. Don't lock in this case.
7232 2011-09-09 Roland McGrath <roland@hack.frob.com>
7234 * elf/elf.h (ELFOSABI_GNU): New macro.
7235 (ELFOSABI_LINUX): Define to that.
7237 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7239 * string/strncat.c (strncat): Undef the symbol in case it has been
7240 defined in bits/string.h.
7242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7249 2011-08-17 Andreas Jaeger <aj@suse.de>
7251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7253 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7254 Ian Lance Taylor <iant@google.com>
7256 * math/libm-test.inc (lround_test): New testcase.
7257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7259 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7261 * Makefile: Remove support for automatic cvs check-ins.
7262 * Makerules: Likewise.
7263 * config.make.in: Likewise.
7264 * configure.in: Likewise.
7265 * intl/Makefile: Likewise.
7266 * locale/Makefile: Likewise.
7267 * po/Makefile: Likewise.
7268 * posix/Makefile: Likewise.
7269 * sysdeps/gnu/Makefile: Likewise.
7270 * sysdeps/mach/hurd/Makefile: Likewise.
7271 * sysdeps/sparc/sparc32/Makefile: Likewise.
7274 * posix/Makefile (bug-regex32-ENV): Define.
7275 Patch by John Stanley <jpsinthemix@verizon.net>.
7277 * misc/Makefile (headers): Add bits/select2.h.
7278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7279 * misc/bits/select2.h: New file.
7280 * include/bits/select2.h: New file.
7281 * debug/Makefile (routines): Add fdelt_chk.
7282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7285 * debug/fdelt_chk.c: New file.
7287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7288 * wcsmbs/test-wmemcmp.c: Likewise.
7289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7292 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7294 * string/Makefile (strop-tests): Add memcmp.
7295 * string/test-wmemcmp.c: New file.
7296 * string/test-memcmp.c: Add wmemcmp support.
7298 2011-09-08 Roland McGrath <roland@hack.frob.com>
7301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7305 garbage value in a __mach_port_mod_refs call in the cases of the
7306 task-self and thread-self ports.
7308 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7312 2011-09-08 Andreas Schwab <schwab@redhat.com>
7314 * elf/dl-load.c (lose): Check for non-null L.
7316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7320 * elf/dl-libc.c (dlerror_run): Pass back error code from
7324 * elf/dl-load.c (lose): Free l_origin if it is valid.
7326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7335 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7348 2011-08-15 Alan Modra <amodra@gmail.com>
7351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7354 ppc_mcount to static-only-routines.
7355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7360 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7363 for finite and infinity parameters.
7365 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7368 and add nop instructions for throughput optimization.
7369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7371 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7374 aligned copy for power7 with vector-scalar instructions.
7375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7377 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7382 2011-09-07 Andreas Schwab <schwab@redhat.com>
7385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7388 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7399 Forgot to demangle the pointer.
7401 * sysdeps/i386/sysdep.h: Define atom_text_section.
7402 * sysdeps/x86_64/sysdep.h: Likewise.
7403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7404 section with atom_text_section.
7405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7413 already be defined. Change to take two parameters and don't assign
7414 result to variable. Adjust all users.
7415 Define INTERNAL_GETTIME if not already defined.
7416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7419 HAVE_CLOCK_GETTIME_VSYSCALL.
7420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7423 gettimeofday vsyscall, just use time.
7425 2011-09-06 Andreas Schwab <schwab@redhat.com>
7427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7430 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7438 syscall if possible.
7440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7443 e_ident. Don't pass to find_mapsXX.
7444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7446 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7450 * sysdeps/x86_64/multiarch/strchr.S: Update.
7451 Check bit_slow_BSF bit.
7452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7456 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7462 (__spawni): Change last parameter to be flag. Test
7463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7466 * posix/spawni.c: Likewise.
7467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7468 * posix/spawnp.c: Likewise. Change normal version to use
7469 SPAWN_XFLAGS_USE_PATH.
7470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7471 SPAWN_XFLAGS_TRY_SHELL.
7474 * posix/glob.h: Remove gcc 1.x support.
7477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7491 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7493 * sysdeps/x86_64/wcscmp.S: New file.
7495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7496 wcscmp-c wcscmp-sse2
7497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7500 * wcsmbs/wcscmp.c: Allow renaming.
7502 2011-09-05 David S. Miller <davem@davemloft.net>
7504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7505 stack slot, rather than the struct return pointer slot.
7506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7511 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7513 * po/ja.po: Update from translation team.
7516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7517 kernel in 64-bit binaries.
7519 2011-09-01 David S. Miller <davem@davemloft.net>
7521 * elf/elf.h (HWCAP_SPARC_*): Move to..
7522 * sysdeps/sparc/sysdep.h: this new file and add new values.
7523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7525 _DL_HWCAP_COUNT to 24.
7526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7532 instead of magic constants.
7533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7535 2011-08-31 David S. Miller <davem@davemloft.net>
7537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7539 Reimplement to do errno handling inline.
7540 (SYSCALL_ERROR_HANDLER): New macro.
7541 (__SYSCALL_STRING): Do not do errno handling in asm.
7542 (__CLONE_SYSCALL_STRING): Delete.
7543 (__INTERNAL_SYSCALL_STRING): Delete.
7544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7546 (PSEUDO): Reimplement to do errno handling inline.
7547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7548 (SYSCALL_ERROR_HANDLER): New macro.
7549 (__SYSCALL_STRING): Do not do errno handling in asm.
7550 (__CLONE_SYSCALL_STRING): Delete.
7551 (__INTERNAL_SYSCALL_STRING): Delete.
7552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7556 (inline_syscall*): Add 'err' argument.
7557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7565 2011-08-30 Andreas Schwab <schwab@redhat.com>
7567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7569 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7574 2011-08-24 David S. Miller <davem@davemloft.net>
7576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7578 2011-08-24 Andreas Schwab <schwab@redhat.com>
7580 * elf/Makefile: Add rules to build and run unload8 test.
7581 * elf/unload8.c: New file.
7582 * elf/unload8mod1.c: New file.
7583 * elf/unload8mod1x.c: New file.
7584 * elf/unload8mod2.c: New file.
7585 * elf/unload8mod3.c: New file.
7587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7590 2011-08-23 David S. Miller <davem@davemloft.net>
7592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7593 subtract stack bias.
7594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7595 %sp not %fp in calculations.
7596 (_JMPBUF_UNWINDS_ADJ): Likewise.
7598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7599 (aio_suspend): Call it to force an exception region around the
7600 AIO_MISC_WAIT() invocation.
7602 2011-08-23 Andreas Schwab <schwab@redhat.com>
7604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7607 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7613 (Elf64_FuncDesc): Remove.
7615 2011-08-22 David S. Miller <davem@davemloft.net>
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7618 sigaltstack check, add missing cfi directives.
7619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7620 missing cfi directives, and sigaltstack handling.
7622 2011-08-16 Andreas Schwab <schwab@redhat.com>
7625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7626 object is seen twice.
7627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7629 * elf/Makefile (distribute): Add tst-initorder2.c.
7630 (tests): Add tst-initorder2.
7631 (modules-names): Add tst-initorder2a tst-initorder2b
7632 tst-initorder2c tst-initorder2d. Add rules to build them.
7633 ($(objpfx)tst-initorder2.out): New rule.
7634 * elf/tst-initorder2.c: New file.
7635 * elf/tst-initorder2.exp: New file.
7637 2011-08-22 Andreas Schwab <schwab@redhat.com>
7639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7642 dependencies back to end of function.
7644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7647 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7654 of __vdso_gettimeofday.
7655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7658 (_libc_vdso_platform_setup): Remove initialization of
7659 __vdso_gettimeofday and __vdso_time.
7661 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7668 * elf/dl-open.c (add_to_global): Report additions to the global scope
7669 for LD_DEBUG=scopes.
7670 (dl_open_worker): Also print scope of newly loaded dependencies.
7671 (_dl_show_scope): Indicate if there is no scope.
7674 * stdio-common/Makefile (tests): Add bug24.
7675 * stdio-common/bug24.c: New file.
7677 2011-08-19 Andreas Jaeger <aj@suse.de>
7680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7681 non-existant file when using close-on-exec mode.
7683 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7686 the very first instruction.
7688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7689 the CFI state in the end.
7690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7691 inclusion of dl-trampoline.h.
7692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7694 2011-08-19 Andreas Schwab <schwab@redhat.com>
7696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7697 expectations for long double.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7702 2011-08-14 David S. Miller <davem@davemloft.net>
7704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7705 artificual limit depends upon the system page size.
7707 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7710 * resolv/Makefile: Define CFLAGS-libresolv.
7712 2011-08-17 Andreas Schwab <schwab@redhat.com>
7714 * nss/makedb.c (compute_tables): Make variables used in nested
7717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7721 if buffer was too small.
7723 * elf/pldd.c (main): Attach to all threads in the process.
7724 Rewrite /proc handling to use *at functions.
7726 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7729 specifies first scope to show.
7730 (dl_open_worker): Update callers. Move printing scope of new
7731 object to before the relocation.
7732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7733 * sysdeps/generic/ldsodefs.h: Update declaration.
7735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7736 string for the scope number.
7738 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7740 * nscd/servicescache.c (cache_addserv): Make sure written is always
7743 2011-08-14 Roland McGrath <roland@hack.frob.com>
7745 * sysdeps/i386/i486/bits/atomic.h
7746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7747 statement expression, so as to suppress "set but not used" warning.
7748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7750 * string/strncat.c (STRNCAT): Use prototype definition.
7752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7756 (localedef-modules): Add localedef.
7757 (locale-modules): Add locale.
7759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7763 2011-08-14 David S. Miller <davem@davemloft.net>
7765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7768 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7772 * elf/rtld.c (dl_main): Set l_name of vDSO.
7773 Call _dl_show_scope when DL_DEBUG_SCOPES.
7774 (process_dl_debug): Recognize scopes flag and also set it for all.
7775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7776 Declare _dl_show_scope.
7778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7779 (do_dlopen): Pass caller_dlopen to dl_open.
7780 (__libc_dlopen_mode): Initialize caller_dlopen.
7782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7783 of libc. Make tolower call locale-independent. Optimize a bit by
7784 using isdigit instead of isalnum.
7785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7787 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7790 was a dependency or dynamically loaded.
7792 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7794 * intl/l10nflist.c: Allow architecture-specific pop function.
7795 * sysdeps/x86_64/l10nflist.c: New file.
7797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7800 2011-08-10 Andreas Schwab <schwab@redhat.com>
7802 * include/dirent.h: Add libc_hidden_proto for scandirat and
7803 scandirat64. Don't declare __scandirat64.
7804 * dirent/scandirat.c: Add libc_hidden_def.
7805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7808 2011-08-10 David S. Miller <davem@davemloft.net>
7810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7816 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7818 * Versions.def [libc]: Add GLIBC_2.15.
7819 * dirent/Makefile (routines): Add scandirat and scandirat64.
7820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7822 * dirent/dirent.h: Declare scandirat and scandirat64.
7823 * dirent/scandirat.c: New file.
7824 * dirent/scandirat64.c: New file.
7825 * sysdeps/wordsize-64/scandirat.c: New file.
7826 * sysdeps/wordsize-64/scandirat64.c: New file.
7827 * dirent/opendir.c: Define opendirat.
7828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7830 * dirent/scandir64.c: Adjust for scandir.c change.
7831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7832 __scandirat64, and __scandir_cancel_handler.
7833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7834 additional parameter and use openat instead of open (outside of ld.so).
7835 Add new __opendir as wrapper around __opendirat.
7836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7837 here without requiring old scandirat implementation.
7839 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7841 * dirent/scandir.c (cancel_handler): Renamed to
7842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7843 defined. Adjust users.
7844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7847 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7849 * string/test-string.h (IMPL): Use __STRING to expand name and then
7852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7855 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7857 * string/Makefile: Update.
7858 (strop-tests): Append strncat.
7859 * string/test-wcscmp.c: New file.
7860 New comprehensive test for wcscmp.
7861 * string/test-strcmp.c: Update.
7864 2011-07-22 Andreas Schwab <schwab@redhat.com>
7866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7869 2011-07-26 Andreas Schwab <schwab@redhat.com>
7871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7872 encoding to ACE if AI_IDN.
7874 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7879 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7882 Fix overflow bug in strncat.
7883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7885 * string/test-strncat.c: Update.
7886 Add new tests for checking overflow bugs.
7888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7901 (USE_AS_STRCAT): Define.
7902 Add strcat and strncat support.
7903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7905 2011-07-25 Andreas Schwab <schwab@redhat.com>
7907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7908 __n bigger than INT_MAX+1.
7909 (__strncmp_g): Likewise.
7911 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7914 * libio/stido.h: Likewise.
7916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7933 (_dl_x86_64_save_sse): Likewise.
7935 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7939 (_dl_x86_64_save_sse): Likewise.
7941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7945 2011-07-21 Andreas Schwab <schwab@redhat.com>
7947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7949 (_dl_x86_64_save_sse): Use correct AVX check.
7951 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7954 bug in strncpy/strncat.
7955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7957 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7959 * string/tester.c (test_strcat): Add tests for different alignments
7960 of source and destination.
7961 (test_strncat): Likewise.
7963 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7966 * posix/glob.c (glob): Check passed in values before using them in
7967 expressions to avoid some overflows.
7968 (glob_in_dir): Likewise.
7971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7972 check for AVX enablement so that we don't crash with old kernels and
7974 * elf/tst-audit4.c: Add same checks here.
7975 * elf/tst-audit6.c: Likewise.
7977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7979 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7985 * po/cs.po: Update from translation team.
7986 * po/bg.po: Likewise.
7988 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7990 * misc/sys/cdefs.h: Add support for const attribute.
7991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7992 to gnu_dev_{major,minor,makedev} functions.
7994 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7998 2011-07-20 Andreas Schwab <schwab@redhat.com>
8000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8003 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8007 register in order to avoid conflicts with the soft frame pointer
8008 being held in r11 when necessary.
8009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8010 (INTERNAL_VSYSCALL_NCS): Likewise.
8012 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8015 * elf/dl-fini.c (_dl_fini): Adjust caller.
8016 * elf/dl-close.c (_dl_close_worker): Likewise.
8017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8022 "aux_cache->nlibs < 0".
8024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8025 in the reload-count case.
8027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8033 * sysdeps/x86_64/multiarch/strcat.S: New file.
8034 * sysdeps/x86_64/multiarch/strncat.S: New file.
8035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8040 (USE_AS_STRCAT): Define.
8041 Add strcat and strncat support.
8042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8045 * string/strncat.c: Update.
8046 (USE_AS_STRNCAT): Define.
8047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8050 * sysdeps/x86_64/multiarch/init-arch.h
8051 (bit_Prefer_PMINUB_for_stringop): New.
8052 (index_Prefer_PMINUB_for_stringop): Likewise.
8053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8054 bit_Prefer_PMINUB_for_stringop.
8056 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8061 of casting of buffer.
8062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8063 buffer32 and buffer64.
8064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8065 writes instead of casting of buffer.
8066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8071 2011-07-19 Andreas Schwab <schwab@redhat.com>
8073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8075 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8077 * nscd/nscd.c (termination_handler): Don't do anything for a database
8078 if it has not yet been initialized.
8080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8084 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8088 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8090 * po/nl.po: Update from translation team.
8091 * po/sv.po: Likewise.
8093 2011-07-16 Roland McGrath <roland@hack.frob.com>
8095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8096 now disallowed by GCC.
8098 * configure.in (use-default-link): Default to yes if a test -shared
8099 link meets our qualifications.
8100 * configure: Regenerated.
8102 * config.make.in (output-format): New variable.
8103 * configure.in: Check for ld --print-output-format support.
8104 * configure: Regenerated.
8105 * Makerules ($(common-objpfx)format.lds)
8106 [$(output-format) != unknown]: Just use $(output-format),
8107 instead of the linker-script munging.
8109 2011-07-14 Roland McGrath <roland@hack.frob.com>
8111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8112 of $(common-objpfx)shlib.lds.
8113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8118 * configure.in (-z relro check): Adjust test code to add a large
8119 writable data section after it.
8120 * configure: Regenerated.
8122 2011-07-11 Roland McGrath <roland@hack.frob.com>
8124 * configure.in (-z relro check): Fix test code to make the variable
8126 * configure: Regenerated.
8128 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8130 * nscd/nscd.h (struct traced_file): Define.
8131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8132 elements. Add traced_files.
8133 (inotify_fd): Declare.
8134 (register_traced_file): Declare.
8135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8136 (inotify_fd): Export.
8137 (resolv_conf_descr): Remove.
8138 (nscd_init): Move inotify descriptor creation to main.
8139 Don't register files for notification here.
8140 (register_traced_file): New function.
8141 (invalidate_cache): Don't use reset_res to determine whether to call
8142 res_init, go through the list of registered files.
8143 (main_loop_poll): The inotify descriptors are now stored in the
8144 structures for the traced files.
8145 (main_loop_epoll): Likewise
8146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8147 to __nss_disable_nscd.
8148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8149 for a database anymore. Check the records for all the registered
8151 * nss/Makefile (libnss_files-routines): Add files-init.
8152 (libnss_db-routines): Add db-init.
8153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8155 * nss/nss_db/db-init.c: New file.
8156 * nss/nss_files/files-init.c: New file.
8157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8158 __nss_lookup_function.
8159 (__nss_lookup_function): Call nss_load_library.
8160 (nss_load_all_libraries): New function.
8161 (__nss_disable_nscd): Take parameter with callback function for files
8162 to register. Set is_nscd. Load all the DSOs for the NSS modules
8163 used for the cached services.
8164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8166 options for features to all the files in nscd.
8168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8170 2011-07-10 Roland McGrath <roland@hack.frob.com>
8172 * csu/elf-init.c (__libc_csu_init): Comment typo.
8174 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8176 * po/pl.po: Update from translation team.
8177 * po/ja.po: Likewise.
8178 * po/ru.po: Likewise.
8179 * po/ko.po: Likewise.
8180 * po/fr.po: Likewise.
8182 2011-07-09 Roland McGrath <roland@hack.frob.com>
8184 * configure.in (.ctors/.dtors header and trailer check):
8185 Use an empirical test on a built program.
8186 * configure: Regenerated.
8188 * configure.in (-z relro check): Use an empirical test on a built DSO.
8189 Detect, but do not require, on ia64.
8190 * configure: Regenerated.
8192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8193 Update tests that use readelf to use $READELF instead.
8194 * configure: Regenerated.
8196 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8199 if the result is not used.
8201 2011-07-05 Andreas Jaeger <aj@suse.de>
8204 * stdlib/tst-strtod.c: Add testcase.
8206 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8210 The latter has a higher limit. Take additional parameter to pass to
8212 (__pathconf): Pass file to __statfs_link_max.
8213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8223 (__statfs_filesize_max): Likewise.
8224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8226 2011-07-05 Andreas Jaeger <aj@suse.de>
8228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8230 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8237 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8239 * Makefile (strop-tests): Add strncat.
8240 * string/test-strncat.c: New file.
8242 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8246 2011-06-21 Andreas Jaeger <aj@suse.de>
8248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8249 Copy rule from iconvdata/Makefile.
8251 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8255 but no long options are defined, just return 'W'.
8257 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8262 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8266 (innetgr): Likewise.
8268 2011-07-05 Roland McGrath <roland@hack.frob.com>
8270 * config.make.in (install_root): Default to $(DESTDIR).
8272 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8276 2011-07-02 Roland McGrath <roland@hack.frob.com>
8278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8281 containing directory rather than embedding absolute directory names.
8283 * scripts/check-local-headers.sh: Rewritten using awk.
8284 Match by word, not by line. Print error messages for matches.
8285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8287 * Makerules [shlib-lds-flags empty]:
8288 ($(common-objpfx)libc_pic.opts): New target.
8289 ($(common-objpfx)libc_pic.os.clean): New target.
8290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8292 * config.make.in (OBJCOPY): New variable.
8293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8294 * configure: Regenerated.
8296 * config.make.in (use-default-link): New variable.
8297 * configure.in (use_default_link): Grok --with-default-link to set it.
8298 * configure: Regenerated.
8299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8300 (shlib-lds, shlib-lds-flags): Define to empty.
8302 * Makerules (shlib-lds): New variable.
8303 (shlib-lds-flags): New variable.
8304 (build-shlib, build-moduile, build-module-asneeded): Use it.
8305 ($(common-objpfx)libc.so): Use $(shlib-lds).
8306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8310 DT_FLAGS/DT_FLAGS_1 with zero flags.
8312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8313 linker script munging.
8315 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8319 * crypt/sha512.c (sha512_process_block): Perform total addition using
8320 128-bit if possible.
8321 (__sha512_finish_ctx): Likewise.
8322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8324 * crypt/sha256.c (SWAP64): Define.
8325 (sha256_process_block): Perform total addition using 64-bit if
8327 (__sha256_finish_ctx): Likewise.
8329 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8333 * nscd/hstcache.c (cache_addhst): Likewise.
8334 * nscd/grpcache.c (cache_addgr): Likewise.
8335 * nscd/aicache.c (addhstaiX): Likewise
8336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8338 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8342 * nscd/hstcache.c (cache_addhst): Likewise.
8343 * nscd/grpcache.c (cache_addgr): Likewise.
8344 * nscd/aicache.c (addhstaiX): Likewise
8346 2011-07-01 Andreas Schwab <schwab@redhat.com>
8348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8349 domain only when needed.
8351 2011-06-30 Andreas Schwab <schwab@redhat.com>
8353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8356 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8359 are re-adding the entry.
8360 * nscd/servicescache.c (cache_addserv): Likewise.
8362 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8364 * sysdeps/generic/dl-irel.h: fix protection against multiple
8366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8368 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8371 * malloc/memusage.sh: Fix quoting in message.
8372 * debug/xtrace.sh: Likewise.
8374 * configure.in: Remove support for --experimental-malloc option, make
8376 * config.make.in: Likewise.
8377 * malloc/Makefile: Likewise.
8379 2011-06-27 Andreas Schwab <schwab@redhat.com>
8381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8382 two-byte characters.
8384 2011-06-27 Roland McGrath <roland@hack.frob.com>
8386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8387 AC_CACHE_CHECK invocation.
8388 * configure: Regenerated.
8390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8392 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8396 bit from old_res_options.
8398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8401 value type for setfct.
8403 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8406 __gettimeofday instead of gettimeofday.
8408 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8412 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8419 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8423 strcpy-sse2-unaligned strncpy-sse2-unaligned
8424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8434 (STRCPY): Support SSE2 and SSSE3 versions.
8436 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8441 kernels which artificially limit size of requests.
8443 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8461 Enable unaligned load optimization for Intel Core i3, i5 and i7
8463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8465 (index_Fast_Unaligned_Load): Define.
8466 (HAS_FAST_UNALIGNED_LOAD): Define.
8468 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8472 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8476 until it is clear that the information is realy needed.
8477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8479 2011-06-22 Andreas Schwab <schwab@redhat.com>
8481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8483 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8486 /sys/devices/system/cpu/online if it is usable.
8488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8489 reading the information from the /proc filesystem to once a second.
8491 2011-06-21 Andreas Jaeger <aj@suse.de>
8493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8494 NULL after inclusion of kernel headers.
8496 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8499 calls to internal_setent.
8502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8503 addresses using gethostbyname4_r ignore IPv4 addresses.
8505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8510 2011-06-20 David S. Miller <davem@davemloft.net>
8512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8522 * sysdeps/x86_64/dl-irel.h: Likewise.
8524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8525 * elf/dl-sym.c: Likewise.
8527 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8530 need to dereference resplen2.
8532 2011-06-14 Andreas Schwab <schwab@redhat.com>
8534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8536 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8538 * Makeconfig: Define vardbdir and inst_vardbdir.
8539 * nss/Makefile: Add rules to install db-Makefile.
8541 * nss/nss_db/db-XXX.c: Cleanup.
8543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8547 * nss/makedb.c: Implement -g option to specify that value strings
8548 are generated and should not be added to table iterated over for
8550 * nss/nss_db/db-initgroups.c: New file.
8552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8556 (internal_getgrouplist): Adjust to name change.
8557 Update use_initgroups_entry if this is not the first call.
8558 * nss/databases.def: Add initgroups entry.
8560 * nss/makedb.c (compute_tables): Check result of multiple hash table
8561 sizes to minimize maximum chain length.
8563 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8565 * Versions.def: Add entry for libnss_db.
8566 * shlib-versions: Likewise.
8567 * nss/Makefile: Add rules to build libnss_db.
8568 * nss/Versions: Add libnss_db information. Organize libnss_files
8570 * nss/db-Makefile: Add gshadow support. Change rules for the new
8571 makedb progra. Some minor improvements to generate smaller files.
8572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8574 * nss/makedb.c: ...here.
8575 Improve database format to be smaller and require less memory at
8577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8579 * nss/nss_db/db-netgrp.c: Likewise.
8580 * nss/nss_db/db-open.c: Likewise.
8581 * nss/nss_files/flies-XXX.x: Adjust comments.
8582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8583 * nss/nss_files/files-grp.c: Likewise.
8584 * nss/nss_files/files-hosts.c: Likewise.
8585 * nss/nss_files/files-network.c: Likewise.
8586 * nss/nss_files/files-proto.c: Likewise.
8587 * nss/nss_files/files-pwd.c: Likewise.
8588 * nss/nss_files/files-rpc.c: Likewise.
8589 * nss/nss_files/files-service.c: Likewise.
8590 * nss/nss_files/files-sgrp.c: Likewise.
8591 * nss/nss_files/files-spwd.c: Likewise.
8592 * nss/nss_db/db-alias.c: Removed.
8593 * nss/nss_db/dummy-db.h: Removed.
8595 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8597 * nss/makedb.c: Rewritten to not use database library.
8598 * nss/Makefile: Update to build new makedb program.
8600 2011-06-14 Andreas Jaeger <aj@suse.de>
8602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8605 2011-06-10 Andreas Schwab <schwab@redhat.com>
8607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8610 2011-06-10 Roland McGrath <roland@hack.frob.com>
8612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8613 * elf/Makefile ($(objpfx)ld.so): Likewise.
8615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8616 Don't list ld.so twice in dependencies.
8618 * posix/bug-regex31.c: Include <stdlib.h>.
8620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8622 * nis/nss_compat/compat-spwd.c
8623 (getspent_next_nss_netgr): Remove unused variable.
8624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8627 nonmembers" output to use the right array.
8629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8635 * catgets/gencat.c (read_input_file): Likewise.
8636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8639 variable definition inside #if's controlling its use.
8641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8653 * configure: Regenerated.
8655 * Makerules: Revert last change.
8656 * elf/Makefile: Likewise.
8658 2011-06-09 Roland McGrath <roland@hack.frob.com>
8660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8662 (reloc-link): Likewise.
8664 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8666 * elf/Makefile: Add rules to build pldd.
8667 * elf/pldd.c: New file.
8668 * elf/pldd-xx.c: New file.
8670 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8672 * version.h: Update for 2.15 development version.
8674 2011-06-07 David S. Miller <davem@davemloft.net>
8676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8679 elf_machine_lazy_rel): Likewise.
8680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8682 elf_machine_lazy_rel): Likewise.
8683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8684 dl_hwcap via passed in argument.
8685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8688 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8692 2011-06-06 Roland McGrath <roland@hack.frob.com>
8695 * manual/fdl-1.1.texi: New file, verbatim from:
8696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8697 * manual/lgpl-2.1.texi: New file, verbatim from:
8698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8699 * manual/Makefile (licenses): New variable, list those new file names.
8701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8703 * manual/fdl.texi: File removed.
8704 * manual/lesser.texi: File removed.
8705 * manual/libc.texinfo (Copying, Documentation License):
8706 Use new @include file names, put @appendix directive before @include.
8708 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8713 (mq_open): Add __NTH.
8715 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8718 Assume Intel Core i3/i5/i7 processor if AVX is available.
8720 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8725 2011-05-31 Andreas Schwab <schwab@redhat.com>
8727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8728 memory. Use alloca_account. Fix memory leak when retrying.
8730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8732 * version.h (RELEASE): Bump for 2.14 release.
8733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8735 * config.make.in (RANLIB): Remove entry.
8737 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8740 (libc.pot): Work around missing support for .ksh extension in xgettext.
8743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8744 if both request failed.
8745 (send_dg): In case of server errors clear resplen or *resplen2.
8748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8749 when there are multiple maps.
8750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8751 (_dl_fini): Remove test here.
8753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8755 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8759 bit from old_res_options.
8760 (gaih_inet): Likewise.
8763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8766 * resolv/res_init.c (res_setoptions): Make the code more compact.
8769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8778 * malloc/malloc.h: Declare malloc hook variables as volatile.
8780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8785 raise in the comment.
8786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8790 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8794 grow the buffers more if it already has to be sufficient.
8795 (build_wcs_upper_buffer): Likewise.
8796 * posix/regexec.c (check_matching): Likewise.
8797 (clean_state_log_if_needed): Likewise.
8798 (extend_buffers): Don't enlarge buffers beyond size of the input
8800 Patches mostly by Emil Wojak <emil@wojak.eu>.
8801 * posix/bug-regex32.c: New file.
8802 * posix/Makefile (tests): Add bug-regex32.
8804 * locale/findlocale.c (_nl_find_locale): Return right away if
8805 _nl_explode_name failed.
8806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8810 * debug/xtrace.sh: Unify messages.
8811 * malloc/memusage.sh: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8815 time symbol from vDSO. Substitute with vsyscall if not available.
8816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8822 Add sendmmsg and internal_sendmmsg.
8823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8831 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8841 * iconvdata/Makefile (tests): Add bug-iconv9.
8842 * iconvdata/bug-iconv9.c: New file.
8844 2011-05-27 Andreas Schwab <schwab@redhat.com>
8847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8849 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8852 (struct user_regs_struct): Change intcs field back to cs.
8854 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8856 * po/ja.po: Update from translation team.
8858 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8864 2011-05-20 Andreas Schwab <schwab@redhat.com>
8866 * stdlib/longlong.h: Update from GCC.
8868 2011-05-23 Andreas Schwab <schwab@redhat.com>
8870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8874 (__sysconf): Pass it down.
8876 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8883 add in in __libc_use_alloca calls. Adjust callers.
8884 (glob): Use malloc in some situations.
8886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8890 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8893 and CLOCK_BOOTTIME_ALARM.
8896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8899 * string/_strerror.c (__strerror_r): Print negative errors as signed
8903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8907 * configure.in: Fix typo in redirection and correct removal of test
8911 * locale/setlocale.c (new_composite_name): Fix test to check for
8912 identical name of all categories.
8915 * libio/filedoalloc.c (local_isatty): New function.
8916 (_IO_file_doallocate): Use local_isatty.
8917 * stdio-common/perror.c (perror): In case a new stream is used
8918 forward the stream error.
8919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8922 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8927 * include/alloca.h (extend_alloca_account): Define.
8930 * posix/regex.h: Fix comments with documentation of user-accessible
8931 fields after compilation and describe correct free'ing of pattern
8932 after re_compile_pattern.
8933 Patch by Reuben Thomas <rrt@sc3d.org>.
8935 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8938 and -mno-altivec to prevent the compiler from using Altivec and/or
8939 VSX instructions when the corresponding registers are not available.
8941 2011-05-19 Andreas Schwab <schwab@redhat.com>
8943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8945 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8947 * libio/freopen.c (freopen): Use __dup2, not dup2.
8948 * libio/freopen64.c (freopen64): Likewise.
8950 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8954 * math/Makefile (tests): Add test-powl.
8955 (CFLAGS-test-powl.c): Define.
8956 * math/test-powl.c: New file.
8958 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8962 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8965 * iconvdata/gb18030.c: Update to GB18020-2005.
8967 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8971 Patch by Aharon Robbins <arnold@skeeve.com>.
8974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8983 point to strings before performing equality test for error_one_per_line
8987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8991 (struct user_fpregs_struct): Avoid __uint*_t types.
8994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8995 symbol info. Use it instead of calling _dl_addr locally.
8996 (lock_and_info): New function.
8997 (tr_freehook): Call lock_and_info and pass symbol info as additional
8998 parameter to tr_where.
8999 (tr_mallochook): Likewise.
9000 (tr_reallochook): Likewise.
9001 (tr_memalignhook): Likewise.
9003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9004 used and couldn't be at all thread-safe.
9006 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9008 * libio/freopen.c (freopen): Don't close old file descriptor
9009 before the new one is opened. Instead dup the new file descriptor
9010 to the old one after the new stream is created.
9011 * libio/freopen64.c (freopen64): Likewise.
9012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9013 * libio/fileops.c (_IO_new_file_close_it): Handle new
9014 _IO_FLAGS2_NOCLOSE flag.
9015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9018 _IO_FLAGS2_NOCLOSE flag.
9019 * include/unistd.h: Add hidden_proto for dup3.
9021 * io/dup3.c: Define hidden symbol.
9022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9026 when an incomplete long option is used.
9027 * posix/tst-getopt_long1.c: New file.
9028 * posix/Makefile (tests): Add tst-getopt_long1.
9031 * scripts/config.guess: Update from autoconf-2.68.
9032 * scripts/config.sub: Likewise.
9035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9037 (has_cpuclock): ...this. New function.
9038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9039 macro here based on has_cpuclock code.
9042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9043 First byte (not low byte) is now always NUL.
9044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9047 Use non-cancelable interfaces.
9050 * locale/iso-639.def: Add entry for Sorani.
9053 * include/stdlib.h: Move include protection to the right place.
9054 Define abort_msg_s. Declare __abort_msg with it.
9055 * stdlib/abort.c (__abort_msg): Adjust type.
9056 * assert/assert.c (__assert_fail_base): New function. Majority
9057 of code from __assert_fail. Allocate memory for __abort_msg with
9059 (__assert_fail): Now call __assert_fail_base.
9060 * assert/assert-perr.c: Remove bulk of implementation. Use
9062 * include/assert.hL Declare __assert_fail_base.
9063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9067 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9072 until all modules are registered in the DTV.
9073 * elf/Makefile: Add rules to build and run tst-tls19.
9074 * elf/tst-tls19.c: New file.
9075 * elf/tst-tls19mod1.c: New file.
9076 * elf/tst-tls19mod2.c: New file.
9077 * elf/tst-tls19mod3.c: New file.
9078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9086 two-byte sequence errors.
9087 * iconvdata/Makefile (tests): Add bug-iconv8.
9088 * iconvdata/bug-iconv8.c: New file.
9091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9098 (dummy_getcfa): New function.
9099 (init): Get _Unwind_GetCFA address, use dummy if not found.
9100 (backtrace_helper): In recursion check, also check whether CFA changes.
9101 (__backtrace): Completely initialize arg.
9103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9104 storing incomplete byte sequence in state object. Avoid testing for
9105 guaranteed too small input if we know there is enough data available.
9107 2011-05-11 Andreas Schwab <schwab@redhat.com>
9109 * Makeconfig (+link-pie): Indent.
9110 * Rules (binaries-pie): Define if $(have-fpie) and
9112 (binaries-shared): Also filter out $(binaries-pie).
9113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9114 * nscd/Makefile (others-pie): Add nscd.
9115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9116 ($(objpfx)nscd): Remove command override.
9117 * login/Makefile (others-pie): Add pt_chown.
9118 ($(objpfx)pt_chown): Remove command override.
9119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9120 remove command overrides.
9122 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9124 * libio/tst_putwc.c: Fix error messages.
9127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9128 currently writing and seek to current position when not.
9129 * libio/Makefile (tests): Add bug-fclose1.
9130 * libio/bug-fclose1.c: New file.
9132 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9136 don't set DF_1_NODELETE here.
9137 (do_lookup_x): When entering new entry test for copy relocation
9138 and if necessary set DF_1_NODELETE flag.
9139 * elf/tst-unique4.cc: New file.
9140 * elf/tst-unique4.h: New file.
9141 * elf/tst-unique4lib.cc: New file.
9142 * elf/Makefile: Add rules to build and run tst-unique4.
9143 Patch by Piotr Bury <pbury@goahead.com>.
9145 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9151 * misc/mntent_r.c (addmntent): Flush the stream after the output
9154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9155 (is_trusted_path_normalize): Skip initial colon. Append slash
9156 to empty buffer. Duplicate is_trusted_path code but allow
9157 constructed patch to be prefix.
9158 (is_dst): Allow $ORIGIN followed by /.
9159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9160 Correct testing of result of is_trusted_path_normalize
9161 (decompose_rpath): Fix warning.
9163 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9166 * grp/initgroups.c (internal_getgrouplist): When we found the service
9167 list through the initgroups entry in nsswitch.conf do not always
9168 continue on a successful lookup. Don't always use the
9169 __nss_group_database value if it is set.
9170 * nss/nsswitch.conf (initgroups): Change action for successful db
9171 lookup to continue for compatibility.
9173 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9180 * iconvdata/tst-tables.sh: Likewise.
9181 * iconvdata/cp770.c: New file.
9182 * iconvdata/cp771.c: New file.
9183 * iconvdata/cp772.c: New file.
9184 * iconvdata/cp773.c: New file.
9185 * iconvdata/cp774.c: New file.
9186 * iconvdata/testdata/CP770: New file.
9187 * iconvdata/testdata/CP770..UTF8: New file.
9188 * iconvdata/testdata/CP771: New file.
9189 * iconvdata/testdata/CP771..UTF8: New file.
9190 * iconvdata/testdata/CP772: New file.
9191 * iconvdata/testdata/CP772..UTF8: New file.
9192 * iconvdata/testdata/CP773: New file.
9193 * iconvdata/testdata/CP773..UTF8: New file.
9194 * iconvdata/testdata/CP774: New file.
9195 * iconvdata/testdata/CP774..UTF8: New file.
9197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9199 * iconvdata/gen-8bit-gap.sh: Likewise.
9200 * iconvdata/gen-8bit.sh: Likewise.
9202 * locale/iso-639.def: Add ary entry.
9205 * locale/C-translit.h.in: Add U20A1 transliteration.
9208 * locale/iso-639.def: Add wae entry.
9209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9216 * locale/C-translit.h.in: Add entry for U20B9.
9217 Patch by pravin.d.s@gmail.com.
9219 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9223 ENAMETOOLONG use generic getcwd.
9224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9225 in rtld. Use *stat64.
9226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9235 * dirent/rewinddir.c: Add libc_hidden_def.
9236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9239 * include/dirent.h (__alloc_dir): Add flags parameter.
9240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9244 from fdopendir if O_CLOEXEC is already set.
9246 2011-03-15 Alan Modra <amodra@gmail.com>
9248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9249 l_tls_firstbyte_offset non-zero. Save padding offset in
9250 l_tls_firstbyte_offset for later use.
9251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9252 freeing static tls block.
9254 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9257 where #ifdef was intended. The intent is to prevent ARG_MAX from
9258 being defined by the kernel headers.
9260 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9263 * resolv/resolv.h: Define RES_NOTLDQUERY.
9264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9265 no-tld-query and set RES_NOTLDQUERY.
9266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9268 modern BIND to search name as TLD unless forbidden.
9270 2011-05-07 Petr Baudis <pasky@suse.cz>
9271 Ulrich Drepper <drepper@gmail.com>
9274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9275 (is_trusted_path): ...to here.
9276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9278 using is_trusted_path_normalize() in setuid scripts.
9280 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9283 __BEGIN/__END_DECLS.
9285 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9288 NSS_STATUS_NOTFOUND if no record was found.
9290 2011-05-05 Andreas Schwab <schwab@redhat.com>
9292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9293 (headers-not-in-tirpc): Remove rpc/netdb.h
9294 * resolv/netdb.h: Revert last change.
9296 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9299 circular dependency between libgcc.a and libc.a.
9301 2011-05-05 Andreas Schwab <schwab@redhat.com>
9303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9304 * nis/Makefile: Don't install rpcsvc/*.
9305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9306 instead of <rpc/types.h>.
9307 (MAXHOSTNAMELEN): Define.
9309 2011-05-03 Andreas Schwab <schwab@redhat.com>
9311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9313 2011-04-28 Maciej Babinski <mbabinski@google.com>
9316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9317 gethostbyname4_r when IPv6 results are possible.
9319 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9323 _PC_PIPE_BUF handling.
9325 2011-04-30 Bruno Haible <bruno@clisp.org>
9328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9331 * inet/getnameinfo.c (getnameinfo): Likewise.
9333 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9336 to groups setting in database lookup.
9337 * nss/nsswitch.conf: Add initgroups entry.
9339 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9344 Patch by Eric Blake <eblake@redhat.com>.
9346 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9348 * sunrpc/Makefile (need-export-routines): Add svc_run.
9349 (routines): Remove svc_run.
9350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9352 * sunrpc/svc_run.c (svc_run): Likewise.
9353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9355 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9358 problem in reallocation in last patch.
9360 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9362 * sunrpc/Makefile: Move inclusion of Rules.
9364 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9366 * nss/nss_files/files-initgroups.c: New file.
9367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9369 _nss_files_initgroups_dyn.
9371 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9373 * elf/elf.h (R_ARM_IRELATIVE): Define.
9375 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9377 * po/ru.po: Update from translation team.
9379 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9384 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9393 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9401 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9406 * stdlib/bug-getcontext.c: New file.
9407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9409 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9412 instructions into .machine "z9-109".
9413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9416 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9419 between environment variables and auxiliary vector.
9421 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9423 * Makefile: Add rules to build linkobj/libc.so.
9424 * include/libc-symbols.h: Define libc_hidden_nolink.
9425 * include/rpc/auth.h: Mark functions which are to be hidden.
9426 * include/rpc/auth_des.h: Likewise.
9427 * include/rpc/auth_unix.h: Likewise.
9428 * include/rpc/clnt.h: Likewise.
9429 * include/rpc/des_crypt.h: Likewise.
9430 * include/rpc/key_prot.h: Likewise.
9431 * include/rpc/pmap_clnt.h: Likewise.
9432 * include/rpc/pmap_prot.h: Likewise.
9433 * include/rpc/pmap_rmt.h: Likewise.
9434 * include/rpc/rpc_msg.h: Likewise.
9435 * include/rpc/svc.h: Likewise.
9436 * include/rpc/svc_auth.h: Likewise.
9437 * include/rpc/xdr.h: Likewise.
9438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9439 * nss/Makefile: Likewise.
9440 * sunrpc/Makefile: Don't install headers. Build library with normal
9441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9443 for the compat linking library. Remove use of INTDEF/INTUSE.
9444 * sunrpc/auth_none.c: Likewise.
9445 * sunrpc/auth_unix.c: Likewise.
9446 * sunrpc/authdes_prot.c: Likewise.
9447 * sunrpc/authuxprot.c: Likewise.
9448 * sunrpc/clnt_gen.c: Likewise.
9449 * sunrpc/clnt_perr.c: Likewise.
9450 * sunrpc/clnt_raw.c: Likewise.
9451 * sunrpc/clnt_simp.c: Likewise.
9452 * sunrpc/clnt_tcp.c: Likewise.
9453 * sunrpc/clnt_udp.c: Likewise.
9454 * sunrpc/clnt_unix.c: Likewise.
9455 * sunrpc/des_crypt.c: Likewise.
9456 * sunrpc/des_soft.c: Likewise.
9457 * sunrpc/get_myaddr.c: Likewise.
9458 * sunrpc/key_call.c: Likewise.
9459 * sunrpc/key_prot.c: Likewise.
9460 * sunrpc/netname.c: Likewise.
9461 * sunrpc/pm_getmaps.c: Likewise.
9462 * sunrpc/pm_getport.c: Likewise.
9463 * sunrpc/pmap_clnt.c: Likewise.
9464 * sunrpc/pmap_prot.c: Likewise.
9465 * sunrpc/pmap_prot2.c: Likewise.
9466 * sunrpc/pmap_rmt.c: Likewise.
9467 * sunrpc/publickey.c: Likewise.
9468 * sunrpc/rpc_cmsg.c: Likewise.
9469 * sunrpc/rpc_common.c: Likewise.
9470 * sunrpc/rpc_dtable.c: Likewise.
9471 * sunrpc/rpc_prot.c: Likewise.
9472 * sunrpc/rpc_thread.c: Likewise.
9473 * sunrpc/rtime.c: Likewise.
9474 * sunrpc/svc.c: Likewise.
9475 * sunrpc/svc_auth.c: Likewise.
9476 * sunrpc/svc_authux.c: Likewise.
9477 * sunrpc/svc_raw.c: Likewise.
9478 * sunrpc/svc_run.c: Likewise.
9479 * sunrpc/svc_simple.c: Likewise.
9480 * sunrpc/svc_tcp.c: Likewise.
9481 * sunrpc/svc_udp.c: Likewise.
9482 * sunrpc/svc_unix.c: Likewise.
9483 * sunrpc/svcauth_des.c: Likewise.
9484 * sunrpc/xcrypt.c: Likewise.
9485 * sunrpc/xdr.c: Likewise.
9486 * sunrpc/xdr_array.c: Likewise.
9487 * sunrpc/xdr_float.c: Likewise.
9488 * sunrpc/xdr_intXX_t.c: Likewise.
9489 * sunrpc/xdr_mem.c: Likewise.
9490 * sunrpc/xdr_rec.c: Likewise.
9491 * sunrpc/xdr_ref.c: Likewise.
9492 * sunrpc/xdr_sizeof.c: Likewise.
9493 * sunrpc/xdr_stdio.c: Likewise.
9495 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9499 * sysdeps/ia64/dl-tls.h: Likewise.
9500 * sysdeps/powerpc/dl-tls.h: Likewise.
9501 * sysdeps/s390/dl-tls.h: Likewise.
9502 * sysdeps/sh/dl-tls.h: Likewise.
9503 * sysdeps/sparc/dl-tls.h: Likewise.
9504 * sysdeps/x86_64/dl-tls.h: Likewise.
9505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9507 2011-03-14 Andreas Schwab <schwab@redhat.com>
9509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9510 rpath element also skip the following colon.
9511 (expand_dynamic_string_token): Add is_path parameter and pass
9512 down to DL_DST_REQUIRED and _dl_dst_substitute.
9513 (decompose_rpath): Call expand_dynamic_string_token with
9514 non-zero is_path. Ignore empty rpaths.
9515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9518 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9523 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9527 Patch by Filipe David Manana <fdmanana@apache.org>.
9529 2011-04-07 Andreas Schwab <schwab@redhat.com>
9531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9532 Maintain aligned stack.
9533 (CHECK_RSP): Remove unused macro.
9535 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9540 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9546 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9551 * sysdeps/x86_64/memmove.c: New file.
9552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9553 (memcpy): Renamed to ...
9554 (__new_memcpy): This.
9555 (memcpy): Provide GLIBC_2_14 memcpy.
9556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9557 (memcpy): Provide GLIBC_2_2_5 memcpy.
9559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9564 2011-03-30 Andreas Schwab <schwab@redhat.com>
9566 * misc/syncfs.c: New file.
9567 * misc/Makefile (routines): Add syncfs.
9568 * posix/unistd.h: Declare syncfs.
9569 * sysdeps/unix/syscalls.list: Add syncfs.
9571 2011-04-01 Andreas Schwab <schwab@redhat.com>
9573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9583 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9594 sync_file_range.c with -fexceptions.
9595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9602 sync_file_range as cancellation point
9603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9604 now a wrapper around __call_sync_file_range with cancellation handling.
9605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9607 function name to __call_sync_file_range.
9608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9609 Add call_sync_file_range.
9611 2011-04-01 Andreas Schwab <schwab@redhat.com>
9613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9618 * iconv/iconv.h: Fix typo in comment.
9619 * io/fcntl.h: Likewise.
9620 * libio/stdio.h: Likewise.
9621 * posix/spawn.h: Likewise.
9622 * posix/unistd.h: Likewise.
9623 * stdlib/stdlib.h: Likewise.
9624 * time/time.h: Likewise.
9625 * wcsmbs/wchar.h: Likewise.
9627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9628 open_by_handle): Add.
9629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9631 Augment a few comments.
9632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9640 * io/fcntl.h (AT_EMPTY_PATH): Define.
9642 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9649 * Versions.def: Add GLIBC_2.14.
9650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9653 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9659 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9662 * string/test-strncmp.c (do_page_test): New function.
9664 (test_main): Call check2.
9665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9667 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9671 Handle cache information in CPU leaf 4.
9672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9674 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9678 character representation.
9679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9681 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9684 END(__isnan) to END(__isnanf) to match function entry point/label
9685 EALIGN(__isnanf,...).
9687 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9691 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9695 copy from the symbol referenced in the relocation to initialize the
9697 Patch by Piotr Bury <pbury@goahead.com>.
9698 * elf/Makefile: Add rules to build and tst-unique3.
9699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9700 * elf/tst-unique3.cc: New file.
9701 * elf/tst-unique3.h: New file.
9702 * elf/tst-unique3lib.cc: New file.
9703 * elf/tst-unique3lib2.cc: New file.
9705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9707 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9713 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9716 to-be-loaded object along a path to loader is ld.so.
9718 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9719 Ulrich Drepper <drepper@gmail.com>
9721 * sysdeps/x86_64/memset.S: After aligning destination, code
9722 branches to different locations depending on the value of
9723 misalignment, when multiarch is enabled. Fix this.
9725 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9728 Set _x86_64_preferred_memory_instruction for AMD processsors.
9729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9730 Set bit_Prefer_SSE_for_memop for AMD processors.
9732 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9734 * libio/fmemopen.c (fmemopen): Optimize a bit.
9736 2011-03-03 Andreas Schwab <schwab@redhat.com>
9738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9740 2011-03-03 Roland McGrath <roland@redhat.com>
9742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9744 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9747 __bzero_ultra1 instead of __memset_ultra1.
9749 2011-02-23 Andreas Schwab <schwab@redhat.com>
9750 Ulrich Drepper <drepper@gmail.com>
9753 * include/link.h (struct link_map): Add l_orig_initfini.
9754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9755 returning unsuccessfully.
9756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9757 close of a file loaded at startup, restore the original l_initfini
9759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9760 list, store the pointer.
9761 * elf/Makefile ($(objpfx)noload-mem): New rule.
9762 (noload-ENV): Define.
9763 (tests): Add $(objpfx)noload-mem.
9764 * elf/noload.c: Include <memcheck.h>.
9765 (main): Call mtrace. Close all opened handles.
9767 2011-02-17 Andreas Schwab <schwab@redhat.com>
9770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9771 dependencies are missing.
9773 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9775 Fix __if_freereq crash: Unlike the generic version which uses free,
9777 * sysdeps/mach/hurd/ifreq.h: New file.
9779 2011-01-27 Petr Baudis <pasky@suse.cz>
9780 Ulrich Drepper <drepper@gmail.com>
9783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9785 * stdio-common/bug23.c: New file.
9786 * stdio-common/Makefile (tests): Add bug23.
9788 2010-09-28 Andreas Schwab <schwab@redhat.com>
9789 Ulrich Drepper <drepper@gmail.com>
9792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9793 before performing relro protection. At old place add assertion
9794 to make sure nothing changed.
9796 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9797 Glauber de Oliveira Costa <glommer@gmail.com>
9799 * elf/elf.h: Add new ARM TLS relocs.
9801 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9808 * sysdeps/wordsize-64/tst-writev.c: New file.
9810 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9814 insns in _dl_start to prevent a TOC reference before relocs are
9817 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9820 * Makeconfig: Remove RANLIB definition.
9821 * Makerules: Don't use RANLIB.
9822 * aclocal.m4: Remove ranlib test.
9823 * configure.in: No need to check for ranlib.
9824 * elf/rtld-Rules: Don't use RANLIB.
9826 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9831 inclusion protection macro.
9833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9834 SIGRTMIN and SIGRTMAX and print information in that case only when
9835 SIGRTMIN is defined.
9837 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9840 arginfo fn returning -1.
9842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9843 and thousands string is zero terminated.
9845 2011-02-03 Andreas Schwab <schwab@redhat.com>
9847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9848 sysdeps/unix/sysv/linux/bits/socket.h.
9850 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9853 (__CPU_COUNT): Remove old macros.
9854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9856 (__CPU_ALLOC, __CPU_FREE): Add macros.
9857 (__sched_cpualloc, __sched_cpufree): Add declarations.
9859 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9864 (readdhstai): Return value of addhstaiX call.
9865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9866 (addgrbyX): Return value returned by cache_addgr.
9867 (readdgrbyname): Return value returned by addgrbyX.
9868 (readdgrbygid): Likewise.
9869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9870 (addpwbyX): Return value returned by cache_addpw.
9871 (readdpwbyname): Return value returned by addhstbyX.
9872 (readdpwbyuid): Likewise.
9873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9874 (addservbyX): Return value returned by cache_addserv.
9875 (readdservbyname): Return value returned by addservbyX:
9876 (readdservbyport): Likewise.
9877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9878 (addhstbyX): Return value returned by cache_addhst.
9879 (readdhstbyname): Return value returned by addhstbyX.
9880 (readdhstbyaddr): Likewise.
9881 (readdhstbynamev6): Likewise.
9882 (readdhstbyaddrv6): Likewise.
9883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9884 (readdinitgroups): Return value returned by addinitgroupsX.
9885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9886 (prune_cache): Keep track of timeout value of re-added entries.
9887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9888 * nscd/nscd.h: Adjust prototypes of readd* functions.
9890 2011-02-04 Roland McGrath <roland@redhat.com>
9892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9893 (nis_stats): Likewise.
9894 * nis/nis_modify.c (nis_modify): Likewise.
9895 * nis/nis_remove.c (nis_remove): Likewise.
9896 * nis/nis_add.c (nis_add): Likewise.
9898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9900 * posix/fnmatch_loop.c: Add some consts.
9902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9904 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9907 * config.make.in (config-cflags-novzeroupper): Define.
9908 * configure.in: Substitute libc_cv_cc_novzeroupper.
9909 * elf/Makefile (AVX-CFLAGS): Define.
9910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9911 (CFLAGS-tst-auditmod4a.c): Likewise.
9912 (CFLAGS-tst-auditmod4b.c): Likewise.
9913 (CFLAGS-tst-auditmod6b.c): Likewise.
9914 (CFLAGS-tst-auditmod6c.c): Likewise.
9915 (CFLAGS-tst-auditmod7b.c): Likewise.
9916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9918 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9921 function to the callback.
9922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9924 2011-02-02 Andreas Schwab <schwab@redhat.com>
9926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9929 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9939 * elf/Makefile: Add rules to build and run new test.
9940 * elf/tst-initorder.c: New file.
9941 * elf/tst-initorder.exp: New file.
9942 * elf/tst-initordera1.c: New file.
9943 * elf/tst-initordera2.c: New file.
9944 * elf/tst-initordera3.c: New file.
9945 * elf/tst-initordera4.c: New file.
9946 * elf/tst-initorderb1.c: New file.
9947 * elf/tst-initorderb2.c: New file.
9948 * elf/tst-order-a1.c: New file.
9949 * elf/tst-order-a2.c: New file.
9950 * elf/tst-order-a3.c: New file.
9951 * elf/tst-order-a4.c: New file.
9952 * elf/tst-order-b1.c: New file.
9953 * elf/tst-order-b2.c: New file.
9954 * elf/tst-order-main.c: New file.
9955 New test case by George Gensure <werkt0@gmail.com>.
9957 2010-10-01 Andreas Schwab <schwab@redhat.com>
9959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9960 decoding ACE if AI_CANONIDN.
9962 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9966 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9968 * version.h (RELEASE): Bump for 2.13 release.
9969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9982 * posix/getconf.c: Update copyright year.
9983 * catgets/gencat.c: Likewise.
9984 * csu/version.c: Likewise.
9985 * debug/catchsegv.sh: Likewise.
9986 * debug/xtrace.sh: Likewise.
9987 * elf/ldconfig.c: Likewise.
9988 * elf/ldd.bash.in: Likewise.
9989 * elf/sprof.c (print_version): Likewise.
9990 * iconv/iconv_prog.c: Likewise.
9991 * iconv/iconvconfig.c: Likewise.
9992 * locale/programs/locale.c: Likewise.
9993 * locale/programs/localedef.c: Likewise.
9994 * malloc/memusage.sh: Likewise.
9995 * malloc/mtrace.pl: Likewise.
9996 * nscd/nscd.c (print_version): Likewise.
9997 * nss/getent.c: Likewise.
9999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10000 PF_CAIF, and PF_ALG.
10001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10003 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10006 (modules-names): Use them.
10007 (ifunc-test-modules, ifunc-pie-tests): Define.
10008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10010 (test-extras): Likewise.
10011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10012 $(compile-command.c).
10013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10014 (all-built-dso): Define.
10015 (check-textrel.out, check-execstack.out): Depend on it.
10017 * configure.in: Don't override --enable-multi-arch.
10019 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10022 * nscd/hstcache.c (tryagain): Define.
10023 (cache_addhst): Return tryagain not notfound for temporary errors.
10024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10027 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10031 to make the syscall.
10032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10036 and fall back to matching as normal character if the string ends before
10037 the matching ']' is found. This is what POSIX requires.
10038 * posix/testfnm.c: Adjust test result.
10039 * posix/globtest.sh: Adjust test result. Add new test.
10040 * posix/tst-fnmatch.input: Likewise.
10041 * posix/tst-fnmatch2.c: Add new test.
10043 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10045 * elf/Makefile (check-execstack): Revert last change. Depend on
10047 (check-execstack.h): New target.
10048 (generated): Add check-execstack.h.
10049 * elf/check-execstack.c: Include "check-execstack.h".
10050 (main): Revert last change.
10051 (handle_file): Return zero if GNU_STACK is absent and
10052 DEFAULT_STACK_PERMS doesn't include PF_X.
10054 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10057 in child fails because the descriptor is already closed.
10058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10068 temporary buffer used to handle multi lookups locally.
10069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10071 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10076 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10079 alignment for SSE2.
10081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10085 characters. When rounding increased number of integer digits recompute
10087 * stdio-common/tst-grouping.c: New file.
10088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10090 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10097 * bits/select.h: Likewise.
10099 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10101 * po/ja.po: Update from translation team.
10103 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10107 implementation just like for lxstat, fxstatat, et al.
10109 2010-12-27 Jim Meyering <meyering@redhat.com>
10112 * posix/regexec.c (build_trtable): Return failure indication upon
10113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10115 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10130 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10134 script has SORT_BY_INIT_PRIORITY.
10135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10136 NO_CTORS_DTORS_SECTIONS is defined.
10137 * elf/soinit.c: Likewise.
10138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10139 NO_CTORS_DTORS_SECTIONS is defined.
10140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10142 * sysdeps/sh/init-first.c: Likewise.
10143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10145 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10148 always use the slow path.
10150 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10153 similar rule which adds the sysdep directories to the header search in
10154 order to pick up the correct platform stackinfo.h.
10155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10156 perform test if it is, otherwise return successfully without testing.
10157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10158 DEFAULT_STACK_PERMS define in stackinfo.h.
10159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10160 defined in stackinfo.h.
10161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10162 DEFAULT_STACK_PERMS defined in stackinfo.h.
10163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10164 * sysdeps/ia64/stackinfo.h: Likewise.
10165 * sysdeps/s390/stackinfo.h: Likewise.
10166 * sysdeps/sh/stackinfo.h: Likewise.
10167 * sysdeps/sparc/stackinfo.h: Likewise.
10168 * sysdeps/x86_64/stackinfo.h: Likewise.
10169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10170 PF_X for powerpc64. Retain PF_X for powerpc32.
10172 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10177 GETDENTS_64BIT_ALIGNED.
10179 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10183 2010-12-10 Andreas Schwab <schwab@redhat.com>
10185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10194 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10200 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10204 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10206 * po/it.po: Update from translation team.
10208 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10213 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10217 2010-11-24 Andreas Schwab <schwab@redhat.com>
10219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10221 (gaih_getanswer_slice): Likewise.
10223 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10227 2010-05-31 Petr Baudis <pasky@suse.cz>
10230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10231 silently even in the chroot mode.
10233 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10236 last patch a bit. Pretty printing
10238 2010-05-31 Petr Baudis <pasky@suse.cz>
10241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10242 initialization of skip_initgroups_dyn.
10244 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10249 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10253 2010-11-11 Andreas Schwab <schwab@redhat.com>
10255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10258 ($(objpfx)tst-fnmatch-mem): New rule.
10259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10260 * posix/tst-fnmatch.c (main): Call mtrace.
10262 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10265 Support Intel processor model 6 and model 0x2c.
10267 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10272 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10275 * string/test-strncasecmp.c (check_result): New function.
10276 (do_one_test): Use it.
10277 (check1): New function.
10278 (test_main): Use it.
10279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10280 Support strcasecmp and strncasecmp.
10282 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10288 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10294 * sysdeps/x86_64/multiarch/bzero.S: New file.
10295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10297 * sysdeps/x86_64/multiarch/memset.S: New file.
10298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10300 Set bit_Prefer_SSE_for_memop for Intel processors.
10301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10303 (index_Prefer_SSE_for_memop): Define.
10304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10306 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10311 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10315 (__x86_64_raw_data_cache_size_half): Likewise.
10316 (__x86_64_raw_shared_cache_size): Likewise.
10317 (__x86_64_raw_shared_cache_size_half): Likewise.
10319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10320 (__x86_64_raw_data_cache_size_half): Likewise.
10321 (__x86_64_raw_shared_cache_size): Likewise.
10322 (__x86_64_raw_shared_cache_size_half): Likewise.
10323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10325 and __x86_64_raw_shared_cache_size_half. Round
10326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10328 to multiple of 256 bytes.
10330 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10334 of inacessible symlinks. Verify result of symlink before returning it.
10335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10338 2010-10-28 Erich Ritz <erichritz@gmail.com>
10340 * math/math.h (isinf): Fix typo in comment.
10342 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10344 * po/da.po: Update from translation team.
10346 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10349 is added to the list.
10351 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10352 Ulrich Drepper <drepper@gmail.com>
10354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10355 the global list here. Move code to...
10356 (_dl_add_to_namespace_list): ...here. New function.
10357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10359 * elf/dl-load.c (lose): Don't remove the element from the list.
10360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10361 (_dl_map_object): Likewise.
10363 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10367 into all bytes of SSE register.
10368 Patch by Richard Li <richardpku@gmail.com>.
10370 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10376 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10386 2010-10-22 Andreas Schwab <schwab@redhat.com>
10388 * include/dlfcn.h (__RTLD_SECURE): Define.
10389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10390 mode & __RTLD_SECURE instead.
10391 (open_path): Rename preloaded parameter to secure.
10392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10394 * elf/dl-deps.c (openaux): Likewise.
10395 * elf/rtld.c (struct map_args): Remove is_preloaded.
10396 (map_doit): Don't use it.
10397 (dl_main): Likewise.
10398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10401 2010-09-09 Andreas Schwab <schwab@redhat.com>
10403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10404 (sysd-rules-targets): Remove duplicates.
10405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10406 rtld-%.$o dependency.
10408 2010-10-18 Andreas Schwab <schwab@redhat.com>
10410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10411 _dl_map_object do it.
10413 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10416 fast fma builtins, define the macros in the C99 standard.
10417 (FP_FAST_FMAF): Likewise.
10418 (FP_FAST_FMAL): Likewise.
10419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10421 * bits/mathdef.h: Update copyright year.
10422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10424 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10427 builtins, define the macros in the C99 standard.
10428 (FP_FAST_FMAF): Likewise.
10429 (FP_FAST_FMAL): Likewise.
10430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10432 (FP_FAST_FMAF): Likewise.
10434 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10437 * math/libm-test.inc (fma_test): Some new testcases.
10438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10440 y and infinite z. Do multiplication by C already in long double.
10441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10443 y and infinite z. Do bitwise or of inexact bit into u.d.
10444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10446 * sysdeps/i386/fpu/s_fma.S: Removed.
10447 * sysdeps/i386/fpu/s_fmal.S: Removed.
10449 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10454 computation is not scheduled after fetestexcept. Fix value
10455 of minimum denormal long double.
10457 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10460 * math/libm-test.inc (fma_test): Add some more tests.
10461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10464 2010-10-15 Andreas Schwab <schwab@redhat.com>
10466 * scripts/data/localplt-s390-linux-gnu.data: New file.
10467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10469 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10479 if one of x and y is very large and the other is subnormal.
10480 * sysdeps/s390/fpu/s_fmaf.c: New file.
10481 * sysdeps/s390/fpu/s_fma.c: New file.
10482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10483 * sysdeps/powerpc/fpu/s_fma.S: New file.
10484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10488 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10501 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10505 * posix/bug-regex31.input: Add test case.
10507 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10510 * posix/bug-regex31.input: New file.
10513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10514 (parse_sub_exp): Fix last change, use postorder.
10516 * posix/bug-regex31.c: New file.
10517 * posix/Makefile: Add rules to build and run bug-regex31.
10519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10526 to have entries in sys_siglist.
10529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10532 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10548 * math/ftestexcept.c (fetestexcept): Likewise.
10549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10563 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10565 * string/bug-strstr1.c: New file.
10566 * string/Makefile: Add rules to build and run bug-strstr1.
10568 2010-10-05 Eric Blake <eblake@redhat.com>
10571 * string/str-two-way.h (two_way_long_needle): Always clear memory
10572 when skipping input due to the shift table.
10574 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10577 * malloc/mcheck.c: Handle large requests.
10580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10581 for strncmp and strncasecmp.
10582 * string/stratcliff.c: Add tests for strcmp and strncmp.
10583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10585 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10590 2010-09-30 Andreas Jaeger <aj@suse.de>
10592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10593 (CGROUP_SUPER_MAGIC): Define.
10594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10595 Handle btrfs and cgroup file systems.
10596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10599 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10604 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10608 trying to locate the ELF header.
10610 2010-09-27 Andreas Schwab <schwab@redhat.com>
10613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10614 Mask out sign-bit copies when constructing f_fsid.
10616 2010-09-24 Petr Baudis <pasky@suse.cz>
10618 * debug/stack_chk_fail_local.c: Add missing licence exception.
10619 * debug/warning-nop.c: Likewise.
10621 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10624 implementing getdents64 using getdents syscall, set d_type if
10625 __ASSUME_GETDENTS32_D_TYPE.
10627 2010-09-16 Andreas Schwab <schwab@redhat.com>
10629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10632 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10635 * posix/unistd.h: Undo change of feature selection for ftruncate from
10638 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10643 2010-09-20 Andreas Schwab <schwab@redhat.com>
10645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10649 2010-09-14 Andreas Schwab <schwab@redhat.com>
10651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10652 variables after CHECK_SP call.
10653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10655 2010-09-13 Andreas Schwab <schwab@redhat.com>
10656 Ulrich Drepper <drepper@redhat.com>
10658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10659 re-relocationg ld.so.
10660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10661 _dl_init_paths call.
10662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10665 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10667 * resolv/res_init.c (__res_vinit): Count the default server we added.
10669 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10670 Ulrich Drepper <drepper@redhat.com>
10673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10674 (____longjmp_chk): Use %ebx for saving value across system call.
10677 2010-09-06 Andreas Schwab <schwab@redhat.com>
10679 * manual/Makefile: Don't mix pattern rules with normal rules.
10681 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10692 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10698 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10701 * sysdeps/x86_64/addmul_1.S: Likewise.
10702 * sysdeps/x86_64/lshift.S: Likewise.
10703 * sysdeps/x86_64/mul_1.S: Likewise.
10704 * sysdeps/x86_64/rshift.S: Likewise.
10705 * sysdeps/x86_64/sub_n.S: Likewise.
10706 * sysdeps/x86_64/submul_1.S: Likewise.
10708 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10711 Define __sched_param instead of SCHED_* and sched_param when
10712 <bits/sched.h> is included with __need_schedparam defined.
10713 * bits/sched.h [__need_schedparam]
10714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10716 (__defined_schedparam): Define to 1.
10717 (__sched_param): New structure, identical to sched_param.
10718 (__need_schedparam): Undefine.
10720 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10723 (epoll_create1): Declare.
10725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10727 2010-08-31 Andreas Schwab <schwab@redhat.com>
10730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10731 shifting retval into place.
10733 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10735 * nis/rpcsvc/nis.h: Update copyright notice.
10736 * nis/rpcsvc/nis.x: Likewise.
10737 * nis/rpcsvc/nis_callback.h: Likewise.
10738 * nis/rpcsvc/nis_callback.x: Likewise.
10739 * nis/rpcsvc/nis_object.x: Likewise.
10740 * nis/rpcsvc/nis_tags.h: Likewise.
10741 * nis/rpcsvc/yp.h: Likewise.
10742 * nis/rpcsvc/yp.x: Likewise.
10743 * nis/rpcsvc/ypupd.h: Likewise.
10744 * nis/yp_xdr.c: Likewise.
10745 * nis/ypupdate_xdr.c: Likewise.
10747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10748 mainly the body of pmap_getport. Add parameters to specify timeouts.
10749 (pmap_getport): Use __libc_rpc_getport.
10750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10754 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10759 2010-08-27 Roland McGrath <roland@redhat.com>
10761 * sysdeps/i386/i686/multiarch/Makefile
10762 (CFLAGS-varshift.c): New variable.
10764 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10773 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10775 * sysdeps/x86_64/strlen.S: Unroll the loop.
10776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10777 strlen-sse2 strlen-sse2-bsf.
10778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10779 __strlen_no_bsf if bit_Slow_BSF is set.
10780 (__strlen_sse42): Removed.
10781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10784 2010-08-25 Roland McGrath <roland@redhat.com>
10786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10787 * sysdeps/x86_64/multiarch/varshift.c: New file.
10788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10793 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10796 strlen-sse2 strlen-sse2-bsf.
10797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10799 (__strlen_sse2): Removed.
10800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10803 bit_Slow_BSF for Atom.
10804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10805 (index_Slow_BSF): Define.
10806 (HAS_SLOW_BSF): Define.
10808 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10811 * resolv/res_init.c (__res_vinit): When no server address at all
10812 is given default to loopback.
10814 2010-08-24 Roland McGrath <roland@redhat.com>
10816 * configure.in: Remove config-name.h generation.
10817 * configure: Regenerated.
10818 * config-name.in: File removed.
10819 * scripts/config-uname.sh: New file.
10820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10821 ($(objdir)config-name.h): New target.
10823 * sunrpc/rpc_parse.h: Avoid nested comment.
10825 2010-08-24 Richard Henderson <rth@redhat.com>
10826 Ulrich Drepper <drepper@redhat.com>
10827 H.J. Lu <hongjiu.lu@intel.com>
10829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10833 _mm_alignr_epi8 with _mm_loadu_si128.
10834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10836 (__m128i_shift_right): Removed.
10837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10839 * sysdeps/x86_64/multiarch/varshift.h: New file.
10840 * sysdeps/x86_64/multiarch/varshift.S: New file.
10842 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10844 * configure.in: Move assembler checks to before sysdep dir checking.
10846 2010-08-20 Petr Baudis <pasky@suse.cz>
10848 * LICENSES: Sync the sunrpc license.
10850 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10852 * sunrpc/auth_des.c: Update copyright notice once again.
10853 * sunrpc/auth_none.c: Likewise.
10854 * sunrpc/auth_unix.c: Likewise.
10855 * sunrpc/authdes_prot.c: Likewise.
10856 * sunrpc/authuxprot.c: Likewise.
10857 * sunrpc/bindrsvprt.c: Likewise.
10858 * sunrpc/clnt_gen.c: Likewise.
10859 * sunrpc/clnt_perr.c: Likewise.
10860 * sunrpc/clnt_raw.c: Likewise.
10861 * sunrpc/clnt_simp.c: Likewise.
10862 * sunrpc/clnt_tcp.c: Likewise.
10863 * sunrpc/clnt_udp.c: Likewise.
10864 * sunrpc/clnt_unix.c: Likewise.
10865 * sunrpc/des_crypt.c: Likewise.
10866 * sunrpc/des_soft.c: Likewise.
10867 * sunrpc/get_myaddr.c: Likewise.
10868 * sunrpc/getrpcport.c: Likewise.
10869 * sunrpc/key_call.c: Likewise.
10870 * sunrpc/key_prot.c: Likewise.
10871 * sunrpc/openchild.c: Likewise.
10872 * sunrpc/pm_getmaps.c: Likewise.
10873 * sunrpc/pm_getport.c: Likewise.
10874 * sunrpc/pmap_clnt.c: Likewise.
10875 * sunrpc/pmap_prot.c: Likewise.
10876 * sunrpc/pmap_prot2.c: Likewise.
10877 * sunrpc/pmap_rmt.c: Likewise.
10878 * sunrpc/rpc/auth.h: Likewise.
10879 * sunrpc/rpc/auth_unix.h: Likewise.
10880 * sunrpc/rpc/clnt.h: Likewise.
10881 * sunrpc/rpc/des_crypt.h: Likewise.
10882 * sunrpc/rpc/key_prot.h: Likewise.
10883 * sunrpc/rpc/netdb.h: Likewise.
10884 * sunrpc/rpc/pmap_clnt.h: Likewise.
10885 * sunrpc/rpc/pmap_prot.h: Likewise.
10886 * sunrpc/rpc/pmap_rmt.h: Likewise.
10887 * sunrpc/rpc/rpc.h: Likewise.
10888 * sunrpc/rpc/rpc_des.h: Likewise.
10889 * sunrpc/rpc/rpc_msg.h: Likewise.
10890 * sunrpc/rpc/svc.h: Likewise.
10891 * sunrpc/rpc/svc_auth.h: Likewise.
10892 * sunrpc/rpc/types.h: Likewise.
10893 * sunrpc/rpc/xdr.h: Likewise.
10894 * sunrpc/rpc_clntout.c: Likewise.
10895 * sunrpc/rpc_cmsg.c: Likewise.
10896 * sunrpc/rpc_common.c: Likewise.
10897 * sunrpc/rpc_cout.c: Likewise.
10898 * sunrpc/rpc_dtable.c: Likewise.
10899 * sunrpc/rpc_hout.c: Likewise.
10900 * sunrpc/rpc_main.c: Likewise.
10901 * sunrpc/rpc_parse.c: Likewise.
10902 * sunrpc/rpc_parse.h: Likewise.
10903 * sunrpc/rpc_prot.c: Likewise.
10904 * sunrpc/rpc_sample.c: Likewise.
10905 * sunrpc/rpc_scan.c: Likewise.
10906 * sunrpc/rpc_scan.h: Likewise.
10907 * sunrpc/rpc_svcout.c: Likewise.
10908 * sunrpc/rpc_tblout.c: Likewise.
10909 * sunrpc/rpc_util.c: Likewise.
10910 * sunrpc/rpc_util.h: Likewise.
10911 * sunrpc/rpcinfo.c: Likewise.
10912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10913 * sunrpc/rpcsvc/key_prot.x: Likewise.
10914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10915 * sunrpc/rpcsvc/mount.x: Likewise.
10916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10918 * sunrpc/rpcsvc/rex.x: Likewise.
10919 * sunrpc/rpcsvc/rstat.x: Likewise.
10920 * sunrpc/rpcsvc/rusers.x: Likewise.
10921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10922 * sunrpc/rpcsvc/spray.x: Likewise.
10923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10924 * sunrpc/rtime.c: Likewise.
10925 * sunrpc/svc.c: Likewise.
10926 * sunrpc/svc_auth.c: Likewise.
10927 * sunrpc/svc_authux.c: Likewise.
10928 * sunrpc/svc_raw.c: Likewise.
10929 * sunrpc/svc_run.c: Likewise.
10930 * sunrpc/svc_simple.c: Likewise.
10931 * sunrpc/svc_tcp.c: Likewise.
10932 * sunrpc/svc_udp.c: Likewise.
10933 * sunrpc/svc_unix.c: Likewise.
10934 * sunrpc/svcauth_des.c: Likewise.
10935 * sunrpc/xcrypt.c: Likewise.
10936 * sunrpc/xdr.c: Likewise.
10937 * sunrpc/xdr_array.c: Likewise.
10938 * sunrpc/xdr_float.c: Likewise.
10939 * sunrpc/xdr_mem.c: Likewise.
10940 * sunrpc/xdr_rec.c: Likewise.
10941 * sunrpc/xdr_ref.c: Likewise.
10942 * sunrpc/xdr_sizeof.c: Likewise.
10943 * sunrpc/xdr_stdio.c: Likewise.
10945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10948 2010-08-19 Andreas Schwab <schwab@redhat.com>
10950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10952 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10969 2010-07-26 Anton Blanchard <anton@samba.org>
10971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10972 * malloc/arena.c (heap_trim): Likewise.
10974 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10981 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10983 * sysdeps/i386/elf/Makefile: New file.
10985 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10988 from fanotify_init.
10989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10992 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10996 * sysdeps/multiarch/strcmp.S: Likewise.
10998 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11001 strncase_l-nonascii.
11002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11003 Add strncase_l-ssse3.
11004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11005 * sysdeps/x86_64/strcmp.S: Likewise.
11006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11008 * sysdeps/x86_64/strncase.S: New file.
11009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11010 * sysdeps/x86_64/strncase_l.S: New file.
11011 * string/Makefile (strop-tests): Add strncasecmp.
11012 * string/test-strncasecmp.c: New file.
11014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11020 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11024 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11030 2010-05-01 Alan Modra <amodra@gmail.com>
11032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11037 tidying. Don't tail-call __sigjmp_save for static lib.
11038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11041 (CALL_MCOUNT): Add eh info, and nop after bl.
11042 (TAIL_CALL_SYSCALL_ERROR): New macro.
11043 (PSEUDO_RET): Use it.
11044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11045 Correct save location of integer regs and cr.
11046 (_dl_profile_resolve): Correct cr save location. Delete nops
11047 after bl when SHARED. Reduce cfi size a little by better
11048 placement of cfi directives.
11049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11050 make a stack frame. Instead use parm save area as a temp.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11054 Don't make a stack frame for parent, use parm save area.
11055 Increase child stack frame to 112 bytes. Don't save unused reg,
11056 and adjust reg usage. Set up cfi on error recovery and
11057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11059 (__makecontext): Add dummy nop after jump to exit.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11061 Use correct parm save area and cr save, reduce stack frame.
11062 Correct cfi for possible PSEUDO_RET frame setup.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11064 Branch to local label emitted by PSEUDO_RET rather than
11067 2010-08-12 Andreas Schwab <schwab@redhat.com>
11070 * locale/programs/locale.c (print_assignment): New function.
11071 (show_locale_vars): Use it.
11073 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11077 (struct statfs64): Likewise.
11078 (_STATFS_F_FLAGS): Define.
11079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11082 (ST_VALID): Define locally.
11083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11084 __statvfs_getflags, use the provided value.
11085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11086 __ASSUME_STATFS_F_FLAGS.
11088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11091 Add sys/fanotify.h.
11092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11093 fanotify_mask for GLIBC_2.13.
11094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11095 fanotify_init and fanotify_mark.
11096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11102 prlimit64 for GLIBC_2.13.
11103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11119 * nss/Makefile: Add rules to build and run tst-nss-test1.
11120 * shlib-versions: Add entry for libnss_test1.
11121 * nss/nss_test1.c: New file.
11122 * nss/tst-nss-test1.c: New file.
11124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11125 (__nss_configure_lookup): Set appropriate entry in
11126 __nss_configure_lookup to true.
11127 * nss/nsswitch.h: Define enum with indeces of databases in
11128 databases and __nss_database_custom arrays. Declare
11129 __nss_database_custom.
11130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11131 to avoid using nscd when custom rules are installed.
11132 * nss/getXXbyYY_r.c: Likewise.
11133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11135 * nss/nss_files/files-parse.c: Whitespace fixes.
11137 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11141 * posix/fnmatch_loop.c: Likewise.
11143 2010-07-17 Andi Kleen <ak@linux.intel.com>
11145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11148 * Versions.def [GLIBC_2.13]: Add.
11150 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11153 Also fail if tpwd after pwuid call is NULL.
11155 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11158 when converting to ms.
11160 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11163 EOPNOTSUPP errors with ENOTTY.
11164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11165 EOPNOTSUPP errors with ENOTTY.
11167 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11170 Add strcasecmp_l-ssse3.
11171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11177 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11181 * string/Makefile (strop-tests): Add strcasecmp.
11182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11183 strcasecmp_l-nonascii.
11184 (gen-as-const-headers): Add locale-defines.sym.
11185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11186 * sysdeps/x86_64/strcasecmp.S: New file.
11187 * sysdeps/x86_64/strcasecmp_l.S: New file.
11188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11189 * sysdeps/x86_64/locale-defines.sym: New file.
11190 * string/test-strcasecmp.c: New file.
11192 * string/test-strcasestr.c: Test both ends of the range of characters.
11193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11195 2010-07-29 Roland McGrath <roland@redhat.com>
11198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11200 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11205 2010-07-27 Andreas Schwab <schwab@redhat.com>
11207 * manual/memory.texi (Malloc Tunable Parameters): Document
11210 2010-07-26 Roland McGrath <roland@redhat.com>
11213 * configure.in (-fgnu89-inline check): Set and substitute
11214 gnu89_inline, not libc_cv_gnu89_inline.
11215 * configure: Regenerated.
11216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11218 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11220 * string/test-strnlen.c: New file.
11221 * string/Makefile (strop-tests): Add strnlen.
11222 * string/tester.c (test_strnlen): Add a few more test cases.
11223 * string/tst-strlen.c: Better error reporting.
11225 * sysdeps/x86_64/strnlen.S: New file.
11227 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11230 lower-latency instructions.
11232 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11234 * string/test-strcasestr.c: New file.
11235 * string/test-strstr.c: New file.
11236 * string/Makefile (strop-tests): Add strstr and strcasestr.
11237 * string/str-two-way.h: Don't undefine MAX.
11238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11240 2010-07-21 Andreas Schwab <schwab@redhat.com>
11242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11243 strcasestr-nonascii.
11244 (CFLAGS-strcasestr-nonascii.c): Define.
11245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11247 Remove unused attribute.
11249 2010-07-20 Roland McGrath <roland@redhat.com>
11251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11253 ld.so.cache was broken. With it, there is no way to disable dsocaps
11254 like LD_HWCAP_MASK can disable hwcaps.
11256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11260 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11263 call in strcasestr.
11264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11265 __strcasestr_sse42_nonascii.
11266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11267 strcasestr-nonascii.c.
11268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11270 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11277 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11282 2010-07-06 Andreas Schwab <schwab@redhat.com>
11285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11288 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11291 _PC_PIPE_BUF using F_GETPIPE_SZ.
11293 2010-07-05 Roland McGrath <roland@redhat.com>
11295 * manual/arith.texi (Rounding Functions): Fix rint description
11296 implicit in round description.
11298 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11300 * elf/Makefile: Fix linking for a few tests to make recent linker
11303 2010-06-30 Andreas Schwab <schwab@redhat.com>
11305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11306 $(common-objpfx)libc_nonshared.a.
11308 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11359 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11363 * string/memmove.c (memmove): Renamed to ...
11364 (MEMMOVE): ...this. Default to memmove.
11365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11370 mempcpy-ssse3-back memmove-ssse3-back.
11371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11378 * sysdeps/x86_64/multiarch/memmove.c: New file.
11379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11386 (index_Fast_Copy_Backward): Define.
11387 (HAS_ARCH_FEATURE): Define.
11388 (HAS_FAST_REP_STRING): Define.
11389 (HAS_FAST_COPY_BACKWARD): Define.
11391 2010-06-21 Andreas Schwab <schwab@redhat.com>
11393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11394 Restore proper fallback handling.
11396 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11399 * posix/group_member.c (__group_member): Correct checking loop.
11401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11402 OOM in getpwuid_r correctly. Return error number when the caller
11403 should return, otherwise -1.
11404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11405 call returning > 0 value.
11406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11408 2010-06-07 Andreas Schwab <schwab@redhat.com>
11410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11411 libc_nonshared.a from targets in modules-names.
11413 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11418 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11425 2010-06-02 Andreas Schwab <schwab@redhat.com>
11427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11429 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11440 2010-06-14 Roland McGrath <roland@redhat.com>
11442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11444 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11447 __REDIRECT followed by __THROW.
11448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11449 * posix/getopt.h (getopt): Likewise.
11451 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11460 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11464 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11468 Properly check family and model.
11470 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11474 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11478 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11483 2010-05-19 Andreas Schwab <schwab@redhat.com>
11485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11488 2010-05-21 Andreas Schwab <schwab@redhat.com>
11490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11491 and internal_recvmmsg.
11492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11501 2010-05-20 Andreas Schwab <schwab@redhat.com>
11503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11505 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11507 POWER7 optimizations.
11508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11511 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11513 * version.h: Update for 2.13 development version.
11515 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11518 exceptions. Return 0.
11520 2010-05-07 Roland McGrath <roland@redhat.com>
11522 * elf/ldconfig.c (main): Add a const.
11524 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11527 (args_options): Add no-idn option.
11528 (ahosts_keys_int): Add idn_flags to ai_flags.
11529 (parse_option): Handle 'i' option to clear idn_flags.
11531 * malloc/malloc.c (_int_free): Possible race in the most recently
11532 added check. Only act on the data if no current modification
11535 See ChangeLog.17 for earlier changes.