1 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3 * bits/types.h (__snseconds_t): New type.
4 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8 (__SNSECONDS_T_TYPE): Likewise.
9 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10 (__SNSECONDS_T_TYPE): Likewise.
11 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12 (__SNSECONDS_T_TYPE): Likewise.
14 2012-04-09 Andreas Jaeger <aj@suse.de>
17 * manual/time.texi (Processor Time): Return type of times is
18 elapsed real time since an arbitrary point in the past.
19 (CPU Time): Move CLK_TCK from here...
20 (Processor Time): ...to here. Correct description.
21 * manual/conf.texi (Constants for Sysconf): Correct description of
24 2012-04-10 David S. Miller <davem@davemloft.net>
27 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28 where the is a gap between DT_REL(A) and DT_JMPREL.
30 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40 (dl_main): Handle --inhibit-cache.
41 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43 * elf/dl-load.c (_dl_map_object): Use it.
44 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50 (__ieee754_powl): Saturate large exponents rather than testing for
51 overflow of y*log2(x).
52 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53 * math/libm-test.inc (pow_test): Do not permit spurious overflow
57 * math/s_ctan.c: Include <float.h>.
58 (__ctan): Avoid internal overflow or cancellation in calculating
60 * math/s_ctanf.c: Likewise.
61 * math/s_ctanl.c: Likewise.
62 * math/s_ctanh.c: Likewise.
63 * math/s_ctanhf.c: Likewise.
64 * math/s_ctanhl.c: Likewise.
65 * math/libm-test.inc (ctan_test): Add more tests.
66 (ctanh_test): Likewise.
67 * sysdeps/i386/fpu/libm-test-ulps: Update.
68 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70 2012-04-09 Andreas Jaeger <aj@suse.de>
73 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74 is an optional BSD extension.
77 * manual/stdio.texi (Opening Streams): Document additional fopen
80 2012-04-09 Roland McGrath <roland@hack.frob.com>
82 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83 %eax without telling the compiler.
85 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
88 * manual/install.texi: Use sourceware.org.
90 2012-04-09 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
94 (__ieee754_pow): Generate overflow and underflow using huge*huge
95 and tiny*tiny rather than just returning constant infinity or zero
97 * math/libm-test.inc (pow_test): Require overflow exceptions for
98 applicable cases of large exponents.
101 * sysdeps/i386/fpu/e_pow.S (p10): New object.
102 (__ieee754_pow): Use iterative multiplication algorithm only for
103 integer exponents with absolute value below 1024. Check for odd
104 integer exponents when using algorithm for real exponents.
105 * math/libm-test.inc (pow_test): Add more tests.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
108 2012-04-08 Joseph Myers <joseph@codesourcery.com>
111 * math/libm-test.inc (exp_test): Do not allow overflow exception
114 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
117 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
118 instead of __kernel_standard_f.
120 2012-04-08 Mike Frysinger <vapier@gentoo.org>
122 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
123 * sysdeps/x86_64/memset_chk.S: Likewise.
125 2012-04-08 Andreas Jaeger <aj@suse.de>
128 * manual/startup.texi (Environment Access): Describe return value
129 for putenv and setenv.
132 * manual/filesys.texi (Directory Entries): Add description for
136 * manual/filesys.texi (Directory Entries): Clarify that it's file
137 system not operating system in the description of DT_UNKNOWN.
140 * manual/syslog.texi (closelog): Fix reference, it's openlog.
142 2012-04-08 Stephen Compall <s11@member.fsf.org>
145 * manual/llio.texi (Opening and Closing Files): Add cross
146 reference to explain mode argument.
148 2012-04-07 Mike Frysinger <vapier@gentoo.org>
150 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
151 * sysdeps/x86_64/memset_chk.S: Likewise.
153 2012-04-07 David S. Miller <davem@davemloft.net>
155 * elf/elf.h (R_SPARC_WDISP10): Define.
156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
159 R_SPARC_SIZE64 and R_SPARC_H34.
161 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
164 conditions and remove no longer applicable assertion.
166 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
168 * bits/byteswap.h: Include <features.h>.
169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
172 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
174 * bits/byteswap.h (__bswap_16): Removed.
175 Include <bits/byteswap-16.h> to get __bswap_16.
176 * sysdeps/i386/bits/byteswap.h: Likewise.
177 * sysdeps/s390/bits/byteswap.h: Likewise.
178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
179 * bits/byteswap-16.h: New file.
180 * sysdeps/i386/bits/byteswap-16.h: Likewise.
181 * sysdeps/s390/bits/byteswap-16.h: Likewise.
182 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
183 * string/Makefile (headers): Add bits/byteswap-16.h.
185 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
188 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
190 * nss/Makefile (tests-static, tests): Add tst-nss-static.
191 * nss/tst-nss-static.c: New.
193 2012-04-06 Robert Millan <rmh@gnu.org>
196 * manual/llio.texi (File Position Primitive): lseek
197 refers to WHENCE when it really means OFFSET.
199 2012-04-06 Andreas Jaeger <aj@suse.de>
201 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
202 strncmp declarations.
204 * abilist/libc.abilist: Add __poll and __ppoll.
206 2012-04-05 David S. Miller <davem@davemloft.net>
208 * scripts/check-local-headers.sh: Accept a host triplet in the
209 path matched by the exclude regexp.
211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
213 * sysdeps/powerpc/powerpc32/dl-machine.h
214 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
215 * sysdeps/s390/s390-32/dl-machine.h
216 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
217 * sysdeps/sparc/sparc32/dl-machine.h
218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
219 * sysdeps/sparc/sparc64/dl-machine.h
220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
222 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
224 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
225 undefined symbol errors.
227 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
230 2012-04-05 Michael Matz <matz@suse.de>
233 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
235 2012-04-05 Andreas Jaeger <aj@suse.de>
238 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
241 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
244 which ROUND is no valid rounding mode.
246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
250 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
254 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
255 an exception using FPU order intentionally.
257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
259 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
260 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
261 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
262 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
264 2012-04-05 Simon Josefsson <simon@josefsson.org>
267 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
268 EINVAL when BUFLEN is too smal.
270 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
273 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
274 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
276 2012-04-03 Andreas Jaeger <aj@suse.de>
279 * manual/setjmp.texi (System V contexts): Fix sentence.
282 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
283 New macro for this case.
284 [!__GNUC__] (__bswap_64): New inline function for this case.
285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
286 * bits/byteswap.h: Likewise.
287 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
288 ull, guard with __GLIBC_HAVE_LONG_LONG.
290 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
291 __GLIBC_HAVE_LONG_LONG.
293 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
294 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
296 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
299 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
300 inptr and inend, rather than using last_ch.
302 2012-04-02 David S. Miller <davem@davemloft.net>
304 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
305 * stdio-common/printf-parse.h (read_int): Change return type to
306 'int', return -1 on INT_MAX overflow.
307 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
308 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
309 overflows INT_MAX. Check for overflow of in-format-string precision
310 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
311 SIZE_MAX not INT_MAX for integer overflow test.
312 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
313 skip the construct in the format string but do not record anything.
314 * stdio-common/bug22.c: Adjust to test both width/prevision
315 INT_MAX overflow as well as total length INT_MAX overflow. Check
316 explicitly for proper errno values.
318 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
320 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
322 * string/test-strcmp.c [! WIDE]: Likewise.
323 * time/tst-mktime2.c: Likewise for INT_MAX.
324 * string/test-string.h: #include <sys/param.h> for MIN.
326 * csu/init-first.c (__libc_init_first): Call __ctype_init.
327 * sysdeps/i386/init-first.c (init): Likewise.
328 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
329 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
330 * sysdeps/sh/init-first.c (init): Likewise.
332 2012-04-01 Ulrich Drepper <drepper@gmail.com>
334 * po/ru.po: Update from translation team.
335 * po/vi.po: Likewise.
337 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
339 * resolv/nss_dns/dns-host.c: Merge copyright years.
341 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
344 Optimize memcpy with prefetch if
345 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
346 src, dst pointers have unequal 16 byte alignments.
348 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
351 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
352 from a CNAME entry and return the minimum ttl for the query.
353 (gaih_getanswer_slice): Likewise.
355 2012-03-30 Jeff Law <law@redhat.com>
357 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
359 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
360 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
362 * resolv/nss_dns/dns-host.c: Update copyright year.
364 2012-03-30 Ulrich Drepper <drepper@gmail.com>
366 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
367 requests to save a system call. Fix check that all bytes are sent.
369 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
370 comments for sendmmsg.
372 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
375 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
376 with only 1 character between 0x0041 and 0x01b0.
377 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
378 * wcsmbs/tst-mbsnrtowcs.c: New file.
380 2012-03-29 David S. Miller <davem@davemloft.net>
382 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
383 small copies by hand.
385 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
388 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
389 _nss_compat_initgroups_dyn): Fall back to malloc/free
390 for large group memberships.
392 2012-03-28 David S. Miller <davem@davemloft.net>
394 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
395 that branches into memcpy.
396 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
399 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
402 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
404 * sysdeps/sparc/mempcpy.S: New file.
406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
407 the IFUNC routine in the libc case.
408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
411 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
412 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
413 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
414 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
415 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
416 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
417 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
419 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
420 loop to 256 bytes instead of 64 bytes and fix test signedness.
422 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
423 * sysdeps/sparc/sparc32/Makefile: rather than here...
424 * sysdeps/sparc/sparc64/Makefile: and here.
426 2012-03-28 Ulrich Drepper <drepper@gmail.com>
428 * malloc/mallocbug.c: Avoid warnings about unused variables.
430 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
433 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
434 in the right place. Discard and retry query if response is
435 larger than input buffer size.
437 2012-03-28 Joseph Myers <joseph@codesourcery.com>
442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
443 x for large integer exponent.
444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
445 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
446 sign of result as needed afterwards.
447 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
448 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
449 result for underflowing pow the same as for overflow.
450 (__kernel_standard_l): Handle powl overflow and underflow here
451 rather than calling __kernel_standard.
452 * math/libm-test.inc (pow_test): Add more tests.
467 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
468 * sysdeps/ieee754/k_standard.c: Include <float.h>.
469 (__kernel_standard_l): New function.
470 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
472 * math/w_acosl.c (__acosl): Likewise.
473 * math/w_asinl.c (__asinl): Likewise.
474 * math/w_atan2l.c (__atan2l): Likewise.
475 * math/w_atanhl.c (__atanhl): Likewise.
476 * math/w_coshl.c (__coshl): Likewise.
477 * math/w_exp10l.c (__exp10l): Likewise.
478 * math/w_exp2l.c (__exp2l): Likewise.
479 * math/w_fmodl.c (__fmodl): Likewise.
480 * math/w_hypotl.c (__hypotl): Likewise.
481 * math/w_j0l.c (__j0l, __y0l): Likewise.
482 * math/w_j1l.c (__j1l, __y1l): Likewise.
483 * math/w_jnl.c (__jnl, __ynl): Likewise.
484 * math/w_lgammal.c (__lgammal): Likewise.
485 * math/w_log10l.c (__log10l): Likewise.
486 * math/w_log2l.c (__log2l): Likewise.
487 * math/w_logl.c (__logl): Likewise.
488 * math/w_powl.c (__powl): Likewise.
489 * math/w_remainderl.c (__remainderl): Likewise.
490 * math/w_scalbl.c (sysv_scalbl): Likewise.
491 * math/w_sinhl.c (__sinhl): Likewise.
492 * math/w_sqrtl.c (__sqrtl): Likewise.
493 * math/w_tgammal.c (__tgammal): Likewise.
494 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
495 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
496 * math/libm-test.inc (acos_test): Add more tests.
497 (acosh_test): Likewise.
498 (asin_test): Likewise.
499 (atanh_test): Likewise.
500 (exp_test): Likewise.
501 (exp10_test): Likewise.
502 (exp2_test): Likewise.
503 (expm1_test): Likewise.
504 (lgamma_test): Likewise.
505 (log_test): Likewise.
506 (log10_test): Likewise.
507 (log1p_test): Likewise.
508 (log2_test): Likewise.
509 (pow_test): Do not allow some spurious overflow exceptions.
510 (sqrt_test): Add more tests.
511 (tgamma_test): Likewise.
516 2012-03-27 Anton Blanchard <anton@samba.org>
518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
524 2012-03-27 David S. Miller <davem@davemloft.net>
526 * conform/Makefile: Run run-conformtest.sh using $(BASH).
528 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
531 2012-03-27 Andreas Jaeger <aj@suse.de>
533 * sysdeps/x86_64/elf/configure.in: Moved to ...
534 * sysdeps/x86_64/configure.in: ... here.
535 * sysdeps/x86_64/elf/start.S: Moved to ...
536 * sysdeps/x86_64/start.S: ... here.
537 * sysdeps/x86_64/elf/configure: Delete.
539 * sysdeps/x86_64/configure.in: Merge contents from
540 sysdeps/i386/configure.in (without i686 check).
542 * sysdeps/i386/elf/Versions: Merge into ...
543 * sysdeps/i386/Versions: ... this.
544 * sysdeps/i386/elf/Versions: Delete file.
545 * sysdeps/i386/elf/start.S: Moved to ...
546 * sysdeps/i386/start.S: ...here.
547 * sysdeps/i386/elf/configure.in: Merge into...
548 * sysdeps/i386/configure.in: ...here.
549 * sysdeps/i386/elf/configure.in: Delete file.
550 * sysdeps/i386/elf/configure: Delete file.
552 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
553 * debug/backtracesyms.c: ... here.
554 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
555 * debug/backtracesymsfd.c: ... here.
556 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
557 * sysdeps/generic/ifunc-sel.h: ... here.
559 * sysdeps/unix/i386/start.c: Delete file.
560 * sysdeps/unix/sparc/start.c: Delete file.
561 * sysdeps/unix/start.c: Delete file.
563 * sysdeps/sh/elf/configure.in: Moved to ...
564 * sysdeps/sh/configure.in: ... here.
565 * sysdeps/sh/elf/start.S: Moved to ...
566 * sysdeps/sh/start.S: ... here.
567 * sysdeps/sh/elf/configure: Delete file.
569 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
570 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
571 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
572 * sysdeps/powerpc/powerpc64/entry.h: ... here.
573 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
574 * sysdeps/powerpc/powerpc64/start.S: here.
575 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
576 * sysdeps/powerpc/powerpc64/Makefile: ... this.
577 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
578 * sysdeps/powerpc/powerpc64/configure.in: ... this.
579 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
581 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
582 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
583 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
584 * sysdeps/powerpc/powerpc32/start.S: ... here.
585 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
586 * sysdeps/powerpc/powerpc32/configure.in: ... this.
587 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
589 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
590 * sysdeps/powerpc/ifunc-sel.h: ... here.
591 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
592 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
594 * sysdeps/sparc/elf/configure.in: Moved to ...
595 * sysdeps/sparc/configure.in: ... here.
596 * sysdeps/sparc/elf/configure: Delete file.
597 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
598 * sysdeps/sparc/sparc32/start.S: ... here.
599 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
600 * sysdeps/sparc/sparc64/start.S: ... here.
601 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
602 * sysdeps/sparc/sparc32/Makefile: ... this.
603 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
604 * sysdeps/sparc/sparc64/Makefile: ... this.
606 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
607 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
608 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
609 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
610 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
611 * sysdeps/s390/s390-32/setjmp.S: ... here.
612 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
613 * sysdeps/s390/s390-32/configure.in: ... here.
614 * sysdeps/s390/s390-32/elf/configure: Delete file.
615 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
616 * sysdeps/s390/s390-32/start.S: ... here.
618 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
619 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
620 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
621 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
622 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
623 * sysdeps/s390/s390-64/setjmp.S: ... here.
624 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
625 * sysdeps/s390/s390-64/configure.in: ... here
626 * sysdeps/s390/s390-64/elf/configure: Delete file.
627 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
628 * sysdeps/s390/s390-64/start.S: ... here.
629 * sysdeps/s390/s390-64/elf/configure: Delete.
631 * configure.in: Remove support for elf directories in sysdeps.
633 * configure: Regenerated.
634 * sysdeps/i386/configure: Regenerated.
635 * sysdeps/powerpc/powerpc32/configure: Regenerated.
636 * sysdeps/powerpc/powerpc64/configure: Regenerated.
637 * sysdeps/s390/s390-32/configure: Regenerated.
638 * sysdeps/s390/s390-64/configure: Regenerated.
639 * sysdeps/sh/configure: Regenerated.
640 * sysdeps/sparc/configure: Regenerated.
641 * sysdeps/x86_64/configure: Regenerated.
643 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
648 denormal result into account.
650 2012-03-25 Roland McGrath <roland@hack.frob.com>
652 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
653 Reported by Allan McRae <allan@archlinux.org>.
655 2012-03-23 Jeff Law <law@redhat.com>
657 * nss/getnssent.c (__nss_getent): Fix typo.
659 2012-03-23 David S. Miller <davem@davemloft.net>
661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
663 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
665 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
666 to pad to uint64_t for each field.
667 (dl_tls_index): Replace unsigned long with uint64_t.
669 2012-03-23 Daniel Jacobowitz <dmj@google.com>
670 Paul Pluzhnikov <ppluzhnikov@google.com>
673 * grp/Makefile (otherlibs): Don't set it.
674 * inet/Makefile (otherlibs): Likewise.
675 * login/Makefile (otherlibs): Likewise.
676 * nscd/Makefile (otherlibs): Likewise.
677 * posix/Makefile (otherlibs): Likewise.
678 * pwd/Makefile (otherlibs): Likewise.
679 * rt/Makefile (otherlibs): Likewise.
680 * sunrpc/Makefile (otherlibs): Likewise.
681 * nss/Makefile (otherlibs): Likewise.
682 Add libnss_files to routines and static-only-routines.
683 ($(objpfx)getent): Remove rule.
684 * resolv/Makefile: Add libnss_dns and libresolv to routines and
685 static-only-routines.
687 2012-03-22 Joseph Myers <joseph@codesourcery.com>
690 * math/s_cexp.c: Include <float.h>.
691 (__cexp): Handle exp result overflowing not necessarily
692 overflowing both real and imaginary parts of result.
693 * math/s_cexpf.c: Likewise.
694 * math/s_cexpl.c: Likewise.
695 * math/libm-test.inc (cexp_test): Add more tests.
696 * sysdeps/i386/fpu/libm-test-ulps: Update.
697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
701 * include/link.h (ELFW): New macro.
702 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
703 Replace ELF64_R_TYPE with ELFW(R_TYPE).
705 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
707 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
712 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
714 (struct La_x32_retval): Likewise.
716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
718 * sysdeps/x86_64/preconfigure.in: New file.
719 * sysdeps/x86_64/preconfigure: New generated file.
721 2012-03-22 Joseph Myers <joseph@codesourcery.com>
724 * math/e_exp2l.c: Include <float.h>.
725 (__ieee754_exp2l): Handle overflow and underflow cases
726 separately. Only pass fractional part of argument to
728 * math/libm-test.inc (exp2_test): Add more tests.
730 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
731 negating x to take absolute value.
732 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
737 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
738 computing low part if x was negated.
739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
741 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
743 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
745 (pltexit): Cast int_retval to ptrdiff_t.
746 * elf/tst-auditmod3b.c: Likewise.
747 * elf/tst-auditmod4b.c: Likewise.
748 * elf/tst-auditmod5b.c: Likewise.
749 * elf/tst-auditmod6b.c: Likewise.
750 * elf/tst-auditmod6c.c: Likewise.
751 * elf/tst-auditmod7b.c: Likewise.
753 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
756 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
758 (La_x32_regs): New macro.
759 (La_x32_retval): Likewise.
760 (la_x32_gnu_pltenter): New function prototype.
761 (la_x32_gnu_pltexit): Likewise.
763 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
770 * configure.in (libc_cv_cc_nofma): Check for option to disable
771 generation of FMA instructions.
772 * configure: Regenerate.
773 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
774 * sysdeps/ieee754/dbl-64/Makefile: New file.
775 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
776 Remove brandred-fma4.
777 (CFLAGS-brandred-fma4.c): Remove.
778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
781 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
784 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
786 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
787 LLONG_MAX != LONG_MAX.
788 (_itoa_word): Use _ITOA_WORD_TYPE on value.
789 (_fitoa_word): Likewise.
790 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
791 LLONG_MAX != LONG_MAX.
792 * stdio-common/_itowa.h: Include <_itoa.h>.
793 (_itowa_word): Use _ITOA_WORD_TYPE on value.
794 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
795 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
797 (_ITOA_WORD_TYPE): Likewise.
798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
799 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
801 2012-03-21 David S. Miller <davem@davemloft.net>
803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
805 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
807 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
808 of x86_64 when setting libc_cv_slibdir, libdir and
810 * sysdeps/unix/sysv/linux/configure: Regenerated.
812 2012-03-21 Joseph Myers <joseph@codesourcery.com>
814 * manual/lang.texi (Old Varargs): Remove section.
815 (How Variadic): Update menu.
816 (va_start): Do not mention varargs.h.
818 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
819 Joseph Myers <joseph@codesourcery.com>
821 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
823 * configure: Regenerated.
825 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
827 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
828 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
831 2012-03-21 Joseph Myers <joseph@codesourcery.com>
834 * Makefile (files-for-dist): Remove NOTES.
835 (NOTES): Remove rule.
836 * README: Don't refer to NOTES.
837 * manual/creature.texi: Don't include macros.texi.
838 * manual/intro.texi (creature.texi): Remove comment referring to
841 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
842 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
843 * configure: Regenerated.
844 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
846 (libc_cv_as_i686): Likewise.
847 (libc_cv_cc_avx): Likewise.
848 (libc_cv_cc_sse2avx): Likewise.
849 (libc_cv_cc_fma4): Likewise.
850 (libc_cv_cc_novzeroupper): Likewise.
851 * sysdeps/i386/configure: Regenerated.
854 * sysdeps/i386/fpu/s_cexp.S: Remove.
855 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
856 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
857 * math/libm-test.inc (cexp_test): Add more tests.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861 2012-03-21 Allan McRae <allan@archlinux.org>
863 * timezone/Makefile: Do not install iso3166.tab and zone.tab
865 2012-03-21 Joseph Myers <joseph@codesourcery.com>
868 * math/w_exp2.c: Do not include <float.h>.
869 (o_threshold, u_threshold): Remove.
870 (__exp2): Calculate result before checking finiteness and calling
872 * math/w_exp2f.c: Likewise.
873 * math/w_exp2l.c: Likewise.
874 * math/libm-test.inc (exp2_test): Require overflow exception for
878 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
879 range of signed 64-bit integers before using fistpll. Remove
880 checks for whether integers fit in mantissa bits.
881 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
882 the range of signed 32-bit integers before using fistpl. Remove
883 checks for whether integers fit in mantissa bits.
884 * sysdeps/i386/fpu/e_powl.S (p64): New object.
885 (__ieee754_powl): Test for y outside the range of signed 64-bit
886 integers before using fistpll. Reduce 64-bit values to 63-bit
888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
889 divide-by-zero is raised for zero to large negative powers.
890 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
891 (__ieee754_powl): Test for y outside the range of signed 64-bit
892 integers before using fistpll. Reduce 64-bit values to 63-bit
894 * math/libm-test.inc (pow_test): Add more tests.
896 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
898 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
899 <stdio-common/_itoa.h>.
900 * debug/segfault.c: Likewise.
901 * elf/dl-cache.c: Likewise.
902 * elf/dl-minimal.c: Likewise.
903 * elf/dl-misc.c: Likewise.
904 * elf/dl-sysdep.c: Likewise.
905 * elf/dl-version.c: Likewise.
906 * elf/rtld.c: Likewise.
907 * hurd/hurdsock.c: Likewise.
908 * hurd/lookup-retry.c: Likewise.
909 * malloc/malloc.c: Likewise.
910 * malloc/mtrace.c: Likewise.
911 * nscd/nscd_getgr_r.c: Likewise.
912 * nscd/nscd_getpw_r.c: Likewise.
913 * nscd/nscd_getserv_r.c: Likewise.
914 * posix/getopt_init.c: Likewise.
915 * posix/wordexp.c: Likewise.
916 * stdio-common/_itoa.c: Likewise.
917 * stdio-common/printf_fphex.c: Likewise.
918 * stdio-common/vfprintf.c: Likewise.
919 * string/_strerror.c: Likewise.
920 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
921 * sysdeps/i386/i686/hp-timing.h: Likewise.
922 * sysdeps/mach/_strerror.c: Likewise.
923 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
924 * sysdeps/mach/hurd/sethostid.c: Likewise.
925 * sysdeps/mach/hurd/xmknodat.c: Likewise.
926 * sysdeps/mach/xpg-strerror.c: Likewise.
927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
929 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
930 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
932 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
933 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
934 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
935 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
936 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
937 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
939 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
941 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
942 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
943 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
944 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
945 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
946 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
947 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
949 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
951 * stdio-common/_itoa.h: Moved to ...
952 * sysdeps/generic/_itoa.h: Here.
954 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
956 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
957 instead of "_itoa.h" and "_itowa.h".
958 * stdio-common/vfprintf.: Likewise.
960 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
962 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
964 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
965 (__signbit): Likwise.
969 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
971 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
974 2012-03-20 Joseph Myers <joseph@codesourcery.com>
976 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
977 OVERFLOW_EXCEPTION_OK.
978 * math/libm-test.inc ("Philosophy"): Update comment about
980 (OVERFLOW_EXCEPTION): Define.
981 (OVERFLOW_EXCEPTION_OK): Likewise.
982 (INVALID_EXCEPTION_OK): Renumber.
983 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
984 (IGNORE_ZERO_INF_SIGN): Likewise.
985 (test_exceptions): Handle FE_OVERFLOW.
986 (exp10_test): Expect overflow exceptions.
987 (exp2_test): Likewise.
988 (expm1_test): Likewise.
989 (nextafter_test): Likewise.
990 (pow_test): Likewise.
991 (scalbn_test): Likewise.
992 (scalbln_test): Likewise.
994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
996 * sysdeps/x86_64/bits/atomic.h
997 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
999 (atomic_exchange_acq): Likewise.
1000 (__arch_exchange_and_add_body): Likewise.
1001 (__arch_add_body): Likewise.
1002 (atomic_add_negative): Likewise.
1003 (atomic_add_zero): Likewise.
1005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1007 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1008 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1012 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1013 Check __x86_64__ instead of __WORDSIZE.
1015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1017 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1019 2012-03-19 David S. Miller <davem@davemloft.net>
1021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1023 * sysdeps/sparc/fpu/fenv_private.h: New file.
1024 * sysdeps/sparc/fpu/math_private.h: Use it.
1025 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1027 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1028 (libc_feholdexcept_setroundl): Remove.
1029 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1031 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1032 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1036 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1037 int64_t instead of long int.
1038 (INSERT_WORDS64): Likwise.
1040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1042 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1043 _Unwind_GetCFA return to _Unwind_Ptr first.
1045 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1048 * math/s_clog.c: Include <float.h>.
1049 (__clog): Scale large or subnormal inputs.
1050 * math/s_clogf.c: Likewise.
1051 * math/s_clogl.c: Likewise.
1052 * math/s_clog10.c: Include <float.h>.
1053 (M_LOG10_2): Define.
1054 (__clog10): Scale large or subnormal inputs.
1055 * math/s_clog10f.c: Likewise.
1056 * math/s_clog10l.c: Likewise.
1057 * math/libm-test.inc (clog_test): Add more tests.
1058 (clog10_test): Likewise.
1059 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1065 * math/libm-test.inc (atan2_test): Add another test.
1067 * Makerules (common-objdir-compile): Remove.
1068 * sysdeps/unix/Makefile (config-generated): Do not add
1069 $(unix-generated) to variable.
1070 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1071 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1073 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1075 [generic bits/local_lim.h] (before-compile): Do not append to
1077 [generic bits/local_lim.h] (common-generated): Likewise.
1078 [generic sys/param.h] (before-compile): Do not append to variable.
1079 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1080 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1082 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1084 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1085 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1086 [generic sys/param.h] ($(addprefix
1087 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1088 [generic sys/param.h] (common-generated): Do not append to
1090 [generic sys/param.h] (sysdep_headers): Likewise.
1091 [generic bits/errno.h] (before-compile): Do not append to
1093 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1095 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1096 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1097 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1098 [generic bits/errno.h] (common-generated): Do not append to
1100 [generic bits/ioctls.h] (before-compile): Do not append to
1102 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1104 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1105 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1106 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1109 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1110 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1111 [generic bits/ioctls.h] (common-generated): Do not append to
1113 [generic sys/syscall.h] (syscall.h): Remove variable.
1114 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1116 [generic sys/syscall.h] (before-compile): Do not append to
1118 [generic sys/syscall.h] (common-generated): Likewise.
1119 * sysdeps/unix/errnos-tmpl.c: Remove file.
1120 * sysdeps/unix/errnos.awk: Likewise.
1121 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1122 * sysdeps/unix/ioctls.awk: Likewise.
1123 * sysdeps/unix/mk-local_lim.c: Likewise.
1124 * sysdeps/unix/snarf-ioctls: Likewise.
1126 2012-03-19 Richard Henderson <rth@twiddle.net>
1128 * sysdeps/i386/fpu/fenv_private.h: New file.
1129 * sysdeps/i386/fpu/math_private.h: Use it.
1130 (math_opt_barrier, math_force_eval): Remove.
1131 (libc_feholdexcept_setround_53bit): Remove.
1132 (libc_feupdateenv_53bit): Remove.
1133 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1134 (math_opt_barrier, math_force_eval): Remove.
1135 (libc_feholdexcept): Remove.
1136 (libc_feholdexcept_setround): Remove.
1137 (libc_fetestexcept, libc_fesetenv): Remove.
1138 (libc_feupdateenv_test): Remove.
1139 (libc_feupdateenv, libc_feholdsetround): Remove.
1140 (libc_feresetround): Remove.
1142 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1143 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1145 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1146 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1147 (libc_feupdateenv_testl): New.
1148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1149 (libc_feupdateenv_testf): New.
1150 (libc_feupdateenv): Use libc_feupdateenv_test.
1151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1154 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1155 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1156 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1157 (libc_feresetround_noex): New.
1158 (libc_feresetround_noexf): New.
1159 (libc_feresetround_noexl): New.
1160 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1161 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1162 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1168 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1170 SET_RESTORE_ROUND_NOEX.
1171 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1172 SET_RESTORE_ROUND_NOEXF.
1173 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1174 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1175 (libc_feholdsetroundf): New.
1176 (libc_feresetround, libc_feresetroundf): New.
1178 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1179 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1180 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1182 * sysdeps/generic/math_private.h: Include <fenv.h>.
1183 (default_libc_feholdexcept): New.
1184 (default_libc_feholdexcept_setround): New.
1185 (default_libc_fesetenv, default_libc_feupdateenv): New.
1186 (libc_feholdexcept): Only define if undefined.
1187 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1189 (libc_feholdexcept_setroundl): Likewise.
1190 (libc_feholdexcept_setround_53bit): Likewise.
1191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1194 (libc_feupdateenv_53bit): Likewise.
1195 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1196 (libc_feholdexcept): Convert from macro to inline function.
1197 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1198 (libc_fesetenv, libc_feupdateenv): Likewise.
1200 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1201 not previously defined.
1202 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1203 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1204 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1206 * sysdeps/ieee754/flt-32/math_private.h: New file.
1207 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1208 math_private.h below SET_FLOAT_WORD.
1209 (__isnan, __isinf_ns, __finite): Remove.
1210 (__isnanf, __isinf_nsf, __finitef): Remove.
1212 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1216 2012-03-17 David S. Miller <davem@davemloft.net>
1219 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1222 2012-03-16 David S. Miller <davem@davemloft.net>
1224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1228 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1230 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1231 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1232 sysdep_routines when subdir is sysvipc.
1233 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1236 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1243 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1246 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1247 (__lround): Renamed to ...
1248 (__llround): This. Replace long int with long long int.
1249 Define lround functions as aliases of llround functions.
1250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1255 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1256 adresses to uintptr_t. Replace "long int" and "unsigned long
1257 int" with "greg_t" on va_arg.
1259 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1261 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1262 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1264 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1265 Move e_machine check before EI_CLASS check. Handle x32
1266 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1267 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1268 SKIP_EM_IA_64 and include
1269 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1271 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1272 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1273 (add_system_dir): New macro.
1275 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1276 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1278 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1289 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1291 * math/w_j0f.c (j0f): Likewise.
1293 * math/w_j0l.c (__j0l): Likewise.
1295 * math/w_j1.c (j1): Likewise.
1297 * math/w_j1f.c (j1f): Likewise.
1299 * math/w_j1l.c (__j1l): Likewise.
1301 * math/w_jn.c (jn): Likewise.
1303 * math/w_jnf.c (jnf): Likewise.
1305 * math/w_jnl.c (__jnl): Likewise.
1307 * math/libm-test.inc (j0_test): Add more tests.
1308 (j1_test): Likewise.
1309 (jn_test): Likewise. Add trailing semicolon to existing test.
1310 (y0_test): Likewise.
1311 (y1_test): Likewise.
1312 * sysdeps/i386/fpu/libm-test-ulps: Update.
1313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1318 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1319 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1321 (__tanl): Set errno for infinite argument.
1322 * sysdeps/i386/fpu/mptan.c: Remove.
1323 * sysdeps/i386/fpu/s_tan.S: Likewise.
1324 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1325 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1326 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1327 * math/libm-test.inc (tan_test): Add more tests and enable more
1328 tests for double and long double.
1329 * sysdeps/i386/fpu/libm-test-ulps: Update.
1330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1332 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1334 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1335 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1337 2012-03-16 Roland McGrath <roland@hack.frob.com>
1339 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1340 * configure.in: Use it for both main tree and add-ons.
1341 * configure: Regenerated.
1343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1345 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1347 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1353 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1354 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1359 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1362 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1363 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1364 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1365 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1366 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1367 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1368 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1369 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1370 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1371 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1372 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1373 * math/libm-test.inc (cos_test): Add more tests and enable more
1374 tests for long double.
1375 (sin_test): Likewise.
1376 (sincos_test): Likewise.
1377 * sysdeps/i386/fpu/libm-test-ulps: Update.
1378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1380 2012-03-16 David S. Miller <davem@davemloft.net>
1382 * sysdeps/sparc/fpu/math_private.h: New file.
1384 2012-03-15 David S. Miller <davem@davemloft.net>
1386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1400 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1401 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1403 * sysdeps/sparc/sparc-ifunc.h: New file.
1404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1449 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1451 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1455 2012-03-15 Andreas Jaeger <aj@suse.de>
1458 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1459 ieee754/flt-32 implementation for sin, cos and sincos.
1460 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1461 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1462 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1463 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1464 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1465 ieee754/flt-32 implementation for tan.
1467 * math/libm-test.inc (cos_test): Enable some large input tests for
1469 (sin_test): Likewise.
1470 (sincos_test): Likewise.
1471 (tan_test): Add tests for large input.
1473 * sysdeps/i386/fpu/libm-test-ulps: Update.
1475 2012-03-15 Andreas Jaeger <aj@suse.de>
1478 * math/libm-test.inc (cos_test): Add more test cases.
1479 (sin_test): Likewise.
1480 (sincos_test): Likewise.
1482 2012-03-15 Andreas Jaeger <aj@suse.de>
1485 * math/libm-test.inc (cos_test): Add a test case for large input
1487 (sin_test): Likewise.
1488 (sincos_test): Likewise.
1490 2012-03-15 Andreas Jaeger <aj@suse.de>,
1491 Joseph Myers <joseph@codesourcery.com>
1494 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1495 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1496 * sysdeps/i386/fpu/branred.c: Likewise.
1497 * sysdeps/i386/fpu/dosincos.c: Likewise.
1498 * sysdeps/i386/fpu/mpa.c: Likewise.
1499 * sysdeps/i386/fpu/s_cos.S: Likewise.
1500 * sysdeps/i386/fpu/s_sin.S: Likewise.
1501 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1502 * sysdeps/i386/fpu/sincos32.c: Likewise.
1504 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1506 (libc_feupdateenv_53bit): Define.
1507 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1509 (libc_feupdateenv_53bit): Define.
1511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1512 53 bit (without extend i386 double precision).
1514 * math/libm-test.inc (sincos_test): Add tests for large input.
1518 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1520 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524 2012-03-15 David S. Miller <davem@davemloft.net>
1526 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1528 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1529 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1554 fmin/fmax sysdep routines.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1557 2012-03-14 David S. Miller <davem@davemloft.net>
1559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1631 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1636 * sysdeps/sparc/configure.in: New file.
1637 * sysdeps/sparc/configure: Generate.
1638 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1639 * configure: Regenerate.
1640 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1641 * config.make.in (have-as-vis3): New.
1642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1643 available use -Av9d instead of -Av9a.
1644 * sysdeps/sparc/sparc64/Makefile: Likewise.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1660 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1661 fzeros/fnegs to load 0x80000000 into a float register instead of
1663 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1665 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1669 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1670 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1671 ($(inst_includedir)/bits/syscall.h): Remove rule.
1672 ($(objpfx)bits/syscall.d): Include instead of
1673 $(objpfx)syscall-list.d.
1674 (generated): Change syscall-list.h and syscall-list.d to
1675 bits/syscall.h and bits/syscall.d.
1677 2012-03-14 Roland McGrath <roland@hack.frob.com>
1680 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1682 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1685 * math/s_csqrt.c: Include <float.h>.
1686 (__csqrt): Scale large or subnormal inputs.
1687 * math/s_csqrtf.c: Likewise.
1688 * math/s_csqrtl.c: Likewise.
1689 * math/libm-test.inc (csqrt_test): Add more tests.
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1694 * math/libm-test.inc (hypot_test): Add more tests.
1696 2012-03-13 David S. Miller <davem@davemloft.net>
1699 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1700 double-precision for the calculation instead of scaling.
1702 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1704 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1705 manipulate bits before adding and subtracting TWO52[sx].
1706 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1707 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1709 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1711 2012-03-13 David S. Miller <davem@davemloft.net>
1713 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1714 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1716 rtld-global-offsets.h
1717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1719 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1724 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1725 'err' in the ifdef scope in which it is actually used.
1727 * nss/nss_db/db-init.c: Include string.h
1729 2012-03-12 David S. Miller <davem@davemloft.net>
1731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1732 masking out of the most significant byte of random value used.
1733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1734 Fix coding style in previous change.
1736 * sysdeps/unix/sysv/linux/kernel-features.h
1737 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1738 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1740 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1743 2012-03-11 David S. Miller <davem@davemloft.net>
1745 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1746 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1748 for 'resultvar' otherwise things get truncated on 64-bit.
1750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1751 Fix masking out of the most significant byte of random value used.
1753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1755 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1759 2012-03-09 David S. Miller <davem@davemloft.net>
1761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1762 variables with appropriate CPP guards.
1763 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1764 frame pointer, not the stack pointer. Correct layout comments. Fix test
1765 on resulting framesize and the management of the outregs buffer for pltexit.
1766 Preserve floating point return values across _dl_call_pltexit call.
1767 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1768 framesize and the management of the outregs buffer for pltexit.
1769 Preserve floating point return values across _dl_call_pltexit
1771 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1772 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1773 (print_exit): Fix format string for return register value.
1775 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1777 * sunrpc/Makefile (others): Add rpcgen.
1778 ($(objpfx)rpcgen): Remove special build rule and dependency on
1780 * sunrpc/rpcgen.c: New file.
1782 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1785 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1786 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1787 * sysdeps/i386/crti.S: Likewise.
1788 * sysdeps/i386/crtn.S: Likewise.
1789 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1790 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1791 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1792 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1793 * sysdeps/sh/crti.S: Likewise.
1794 * sysdeps/sh/crtn.S: Likewise.
1795 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1798 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1800 * locale/programs/locfile-kw.gperf: Likewise.
1801 * locale/programs/charmap-kw.h: Regenerated.
1802 * locale/programs/locfile-kw.h: Likewise.
1805 * intl/plural.y: Replace FSF snail mail address with URL.
1806 * intl/plural.c: Regenerated.
1808 2012-03-09 Richard Henderson <rth@twiddle.net>
1810 * include/math_private.h: Remove file.
1811 * math/math_private.h: Move file ...
1812 * sysdeps/generic/math_private.h: ... here.
1814 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1815 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1818 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1819 and <math_private.h>.
1820 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1821 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1822 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1823 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1824 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1828 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1908 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1911 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1914 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1915 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1917 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1920 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1921 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1922 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1923 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1925 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1926 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1927 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1928 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1930 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1931 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1932 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1934 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1935 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1939 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1940 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1941 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1943 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1944 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1945 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1947 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1948 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1949 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1950 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1951 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1952 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1953 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1954 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1956 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1958 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1961 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1963 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1964 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1965 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1967 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1969 * sysdeps/ieee754/k_standard.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2085 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2097 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2102 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2119 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2120 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2130 * sysdeps/ieee754/s_lib_version.c: Likewise.
2131 * sysdeps/ieee754/s_matherr.c: Likewise.
2132 * sysdeps/ieee754/s_signgam.c: Likewise.
2133 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2134 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2135 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2136 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2137 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2138 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2139 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2140 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2141 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2142 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2143 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2144 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2145 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2147 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2150 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2155 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2157 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2158 * sunrpc/rpc_main.c: Likewise.
2159 * sunrpc/rpc_svcout.c: Likewise.
2161 2012-03-09 David S. Miller <davem@davemloft.net>
2163 * include/math_private.h: New file.
2165 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2167 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2168 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2169 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2170 from <bits/socket_type.h>.
2171 (enum __socket_type): Don't define here.
2172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2177 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2180 * Makerules ($(inst_includedir)/%.h): New rule.
2181 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2182 (install-others): Remove variable setting.
2183 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2185 2012-03-08 Richard Henderson <rth@twiddle.net>
2187 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2188 from macro to inline function; merge with the
2189 !__LIBC_INTERNAL_MATH_INLINES version.
2190 (__ieee754_sqrtf): Likewise.
2192 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2194 (__rintf, __floor, __floorf): Likewise.
2196 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2197 macro to inline function.
2198 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2201 not <math/math_private.h>.
2203 2012-03-08 David S. Miller <davem@davemloft.net>
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2207 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2209 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2211 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2213 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2214 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2216 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2218 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2219 be defined individually, they must be defined as a block. Define
2220 S for printing a string instead of hidint the different by using a
2221 macro for adding the 'l'.
2222 * stdio-common/tst-fphex-wide.c: Adjust.
2224 2012-03-07 Marek Polacek <polacek@redhat.com>
2226 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2228 2012-03-08 Marek Polacek <polacek@redhat.com>
2231 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2232 * stdio-common/tst-fphex.c: Define a few macros to make the
2233 test reusable. Use them.
2234 * stdio-common/tst-fphex-wide.c: New file.
2236 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2239 * manual/macros.texi (gnusystems): New macro.
2240 (nongnusystems): Likewise.
2241 (gnulinuxhurdsystems): Likewise.
2242 (gnuhurdsystems): Likewise..
2243 (gnulinuxsystems): Likewise.
2244 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2245 variants of the GNU system, not "GNU system".
2246 * manual/conf.texi: Likewise.
2247 * manual/errno.texi: Likewise. Update example of errno macro
2249 * manual/filesys.texi: Likewise.
2250 (getumask): Document as specific to GNU/Hurd.
2251 * manual/install.texi: Likewise. Reword some references to
2253 * manual/intro.texi: Likewise.
2254 * manual/io.texi: Likewise.
2255 (File Name Portability): Detail which constraints are inapplicable
2256 to all GNU systems and which are only inapplicable to GNU/Hurd.
2257 * manual/job.texi: Likewise.
2258 * manual/llio.texi: Likewise.
2259 (O_NOCTTY): Document as present on GNU/Linux.
2260 * manual/maint.texi: Likewise.
2261 * manual/memory.texi: Likewise.
2262 * manual/pattern.texi: Likewise.
2263 * manual/pipe.texi: Likewise.
2264 * manual/process.texi: Likewise.
2265 * manual/resource.texi: Likewise.
2266 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2268 * manual/setjmp.texi: Likewise.
2269 * manual/signal.texi: Likewise.
2270 * manual/startup.texi: Likewise.
2271 * manual/stdio.texi: Likewise.
2272 * manual/terminal.texi: Likewise.
2273 (ONLCR): Document as POSIX.
2274 (OXTABS): Document availability on GNU/Linux as XTABS.
2275 (ONOEOT): Document availability separately from other bits.
2276 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2277 * manual/time.texi: Likewise.
2278 * manual/users.texi: Likewise.
2279 * INSTALL: Regenerated.
2280 * sysdeps/gnu/errlist.c: Regenerated.
2282 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2283 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2284 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2286 * configure: Regenerated.
2288 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2290 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2291 default includes instead of AC_HEADER_CHECK.
2292 * sysdeps/i386/configure: Regenerated.
2295 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2296 * math/s_cacoshf.c (__cacoshf): Likewise.
2297 * math/s_cacoshl.c (__cacoshl): Likewise.
2298 * math/s_casinh.c (__casinh): Set signs of result from argument.
2299 * math/s_casinhf.c (__casinhf): Likewise.
2300 * math/s_casinhl.c (__casinhl): Likewise.
2301 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2302 (casinh_test): Add more tests.
2303 * sysdeps/i386/fpu/libm-test-ulps: Update.
2304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2306 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2308 * po/zh_TW.po: Update from translation team.
2310 * login/Makefile (distribute): Remove variable.
2311 * catgets/Makefile: Likewise.
2312 * mach/Makefile: Likewise.
2313 * malloc/Makefile: Likewise.
2314 * misc/Makefile: Likewise.
2315 * iconv/Makefile: Likewise.
2316 * nscd/Makefile: Likewise.
2317 * hurd/Makefile: Likewise.
2318 * manual/Makefile: Likewise.
2319 * locale/Makefile: Likewise.
2320 * intl/Makefile: Likewise.
2321 * conform/Makefile: Likewise.
2322 * nss/Makefile: Likewise.
2323 * time/Makefile: Likewise.
2324 * soft-fp/Makefile: Likewise.
2325 * dirent/Makefile: Likewise.
2326 * gmon/Makefile: Likewise.
2327 * po/Makefile: Likewise.
2328 * rt/Makefile: Likewise.
2329 * socket/Makefile: Likewise.
2330 * math/Makefile: Likewise.
2331 * signal/Makefile: Likewise.
2332 * debug/Makefile: Likewise.
2333 * elf/Makefile: Likewise.
2334 * timezone/Makefile: Likewise.
2335 * stdlib/Makefile: Likewise.
2336 * iconvdata/Makefile: Likewise.
2337 * sunrpc/Makefile: Likewise.
2338 * io/Makefile: Likewise.
2339 * argp/Makefile: Likewise.
2340 * inet/Makefile: Likewise.
2341 * hesiod/Makefile: Likewise.
2342 * grp/Makefile: Likewise.
2343 * csu/Makefile: Likewise.
2344 * wctype/Makefile: Likewise.
2345 * crypt/Makefile: Likewise.
2346 * libio/Makefile: Likewise.
2347 * string/Makefile: Likewise.
2348 * nis/Makefile: Likewise.
2349 * resolv/Makefile: Likewise.
2350 * stdio-common/Makefile: Likewise.
2351 * wcsmbs/Makefile: Likewise.
2352 * dlfcn/Makefile: Likewise.
2353 * posix/Makefile: Likewise.
2355 * timezone/Makefile: Don't install timezone files, just the programs
2358 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2360 * nss/databases.def: Add missing gshadow entry.
2362 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2364 2012-03-06 Marek Polacek <polacek@redhat.com>
2367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2369 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2370 * stdio-common/tst-long-dbl-fphex.c: New file.
2372 2012-03-06 David S. Miller <davem@davemloft.net>
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2375 (set_obp_int): New function.
2376 (get_obp_int): New function.
2377 (__get_clockfreq_via_dev_openprom): Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2379 Avoid unused variable warnings on 'val' and use builtin_expect.
2380 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2382 (INLINE_CLONE_SYSCALL): Likewise.
2384 2012-03-05 David S. Miller <davem@davemloft.net>
2386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2388 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2396 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2399 Replace gettimeofday with __vdso_gettimeofday.
2401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2402 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2403 __vdso_clock_gettime and __vdso_getcpu.
2405 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2406 time with __vdso_time.
2408 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2410 * manual/lang.texi (size_t): Note types to which size_t may be
2411 equivalent with the GNU C Library, but do not describe when
2412 differences between them are significant.
2414 2012-03-05 Andreas Jaeger <aj@suse.de>
2416 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2421 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2422 (__ieee754_pow): Save and restore rounding mode and use
2423 round-to-nearest for main computations.
2424 * math/libm-test.inc (pow_test_tonearest): New function.
2425 (pow_test_towardzero): Likewise.
2426 (pow_test_downward): Likewise.
2427 (pow_test_upward): Likewise.
2428 (main): Call the new functions.
2429 * sysdeps/i386/fpu/libm-test-ulps: Update.
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433 * math/libm-test.inc (cosh_test_tonearest): New function.
2434 (cosh_test_towardzero): Likewise.
2435 (cosh_test_downward): Likewise.
2436 (cosh_test_upward): Likewise.
2437 (sinh_test_tonearest): Likewise.
2438 (sinh_test_towardzero): Likewise.
2439 (sinh_test_downward): Likewise.
2440 (sinh_test_upward): Likewise.
2441 (main): Call the new functions.
2442 * sysdeps/i386/fpu/libm-test-ulps: Update.
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2445 2012-03-05 Tom de Vries <tom@codesourcery.com>
2447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2448 default stack guard is set in last bytes.
2449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2451 2012-03-05 Kees Cook <keescook@chromium.org>
2453 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2456 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2457 possibly allocate from heap instead of stack.
2458 * stdio-common/bug-vfprintf-nargs.c: New file.
2459 * stdio-common/Makefile (tests): Add nargs overflow test.
2461 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2465 2012-03-03 Marek Polacek <polacek@redhat.com>
2467 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2468 * math/math_private.h: Likewise.
2469 * stdlib/tst-strtod.c: Likewise.
2470 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2471 * sysdeps/x86_64/bits/atomic.h: Likewise.
2473 2012-03-02 David S. Miller <davem@davemloft.net>
2475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2479 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2480 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2481 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2484 2012-03-02 Roland McGrath <roland@hack.frob.com>
2487 * manual/examples/README: New file, says the example source files
2488 can be used under GPL>=2.
2489 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2490 line containing just "*/".
2491 * manual/examples/add.c: Add copyright header (GPL>=2).
2492 * manual/examples/argp-ex1.c: Likewise.
2493 * manual/examples/argp-ex2.c: Likewise.
2494 * manual/examples/argp-ex3.c: Likewise.
2495 * manual/examples/argp-ex4.c: Likewise.
2496 * manual/examples/atexit.c: Likewise.
2497 * manual/examples/db.c: Likewise.
2498 * manual/examples/dir.c: Likewise.
2499 * manual/examples/dir2.c: Likewise.
2500 * manual/examples/execinfo.c: Likewise.
2501 * manual/examples/filecli.c: Likewise.
2502 * manual/examples/filesrv.c: Likewise.
2503 * manual/examples/fmtmsgexpl.c: Likewise.
2504 * manual/examples/genpass.c: Likewise.
2505 * manual/examples/inetcli.c: Likewise.
2506 * manual/examples/inetsrv.c: Likewise.
2507 * manual/examples/isockad.c: Likewise.
2508 * manual/examples/longopt.c: Likewise.
2509 * manual/examples/memopen.c: Likewise.
2510 * manual/examples/memstrm.c: Likewise.
2511 * manual/examples/mkfsock.c: Likewise.
2512 * manual/examples/mkisock.c: Likewise.
2513 * manual/examples/mygetpass.c: Likewise.
2514 * manual/examples/pipe.c: Likewise.
2515 * manual/examples/popen.c: Likewise.
2516 * manual/examples/rprintf.c: Likewise.
2517 * manual/examples/search.c: Likewise.
2518 * manual/examples/select.c: Likewise.
2519 * manual/examples/setjmp.c: Likewise.
2520 * manual/examples/sigh1.c: Likewise.
2521 * manual/examples/sigusr.c: Likewise.
2522 * manual/examples/stpcpy.c: Likewise.
2523 * manual/examples/strdupa.c: Likewise.
2524 * manual/examples/strftim.c: Likewise.
2525 * manual/examples/strncat.c: Likewise.
2526 * manual/examples/subopt.c: Likewise.
2527 * manual/examples/swapcontext.c: Likewise.
2528 * manual/examples/termios.c: Likewise.
2529 * manual/examples/testopt.c: Likewise.
2530 * manual/examples/testpass.c: Likewise.
2531 * manual/examples/timeval_subtract.c: Likewise.
2534 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2536 * manual/timeval_subtract.c.texi: ... here, new file.
2538 2012-03-02 David S. Miller <davem@davemloft.net>
2540 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2542 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2545 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2546 (__sin): Save and restore rounding mode and use round-to-nearest
2547 for all computations.
2548 (__cos): Save and restore rounding mode and use round-to-nearest
2549 for all computations.
2550 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2552 (tan): Save and restore rounding mode and use round-to-nearest for
2554 * math/libm-test.inc (cos_test_tonearest): New function.
2555 (cos_test_towardzero): Likewise.
2556 (cos_test_downward): Likewise.
2557 (cos_test_upward): Likewise.
2558 (sin_test_tonearest): Likewise.
2559 (sin_test_towardzero): Likewise.
2560 (sin_test_downward): Likewise.
2561 (sin_test_upward): Likewise.
2562 (tan_test_tonearest): Likewise.
2563 (tan_test_towardzero): Likewise.
2564 (tan_test_downward): Likewise.
2565 (tan_test_upward): Likewise.
2566 (main): Call the new functions.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2572 small n, then large n, before computing and testing k+n.
2573 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2578 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2579 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2586 * math/libm-test.inc (scalbn_test): Add more tests.
2587 (scalbln_test): Likewise.
2589 * manual/filesys.texi (mode_t): Describe constraints on size and
2590 signedness, not exact equivalence to a particular type.
2592 (ino64_t): Likewise.
2594 (nlink_t): Likewise.
2595 (blkcnt_t): Likewise.
2596 (blkcnt64_t): Likewise.
2597 * manual/llio.texi (off_t): Likewise.
2600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2601 (__ieee754_exp): Save and restore rounding mode and use
2602 round-to-nearest for all computations.
2603 * math/libm-test.inc (exp_test_tonearest): New function.
2604 (exp_test_towardzero): Likewise.
2605 (exp_test_downward): Likewise.
2606 (exp_test_upward): Likewise.
2607 (main): Call the new functions.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611 2012-03-01 Chris Demetriou <cgd@google.com>
2613 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2614 have predictable order.
2616 2012-03-01 David S. Miller <davem@davemloft.net>
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2620 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2621 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2622 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2623 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2625 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2626 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2627 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2629 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2630 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2631 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2632 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2633 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2638 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2641 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2644 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2645 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2649 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2650 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2651 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2657 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2658 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2659 * sysdeps/sparc/elf/configure: Regenerated.
2661 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2663 * configure.in (AS, LD): Require binutils 2.20 or later.
2664 * configure: Regenerated.
2665 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2666 as required minimum version.
2667 * INSTALL: Regenerated.
2671 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2672 before squaring exponent.
2673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2674 bottom long double and 27 bits of top long double before squaring
2676 * math/libm-test.inc (erfc_test): Add more tests.
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681 2012-03-01 Kai Tietz <ktietz@redhat.com>
2683 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2684 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2685 containing bit-fields.
2686 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2687 * soft-fp/single.h (_FP_UNION_S): Likewise.
2688 * soft-fp/double.h (_FP_UNION_D): Likewise.
2690 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2693 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2694 not include ../strcmp.S.
2695 [USE_AS_STRNCASECMP_L]: Likewise.
2696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2697 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2698 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2699 (__strncasecmp_l_ia32): Define as alias to
2700 __strncasecmp_l_nonascii.
2703 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2704 * sysdeps/i386/fpu/libm-test-ulps: Update.
2705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2707 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710 2012-02-29 Jeff Law <law@redhat.com>
2712 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2715 2012-02-29 Marek Polacek <polacek@redhat.com>
2718 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2719 * elf/Makefile: Add rules to run tst-unused-dep.out.
2721 2012-02-28 David S. Miller <davem@davemloft.net>
2723 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2724 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2730 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2732 * math/libm-test.inc (llround_test): Move one test from
2733 lround_test. Use TEST_f_L in moved test.
2734 (lround_test): Move misplaced test to llround_test. Add testcase
2737 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2739 * sysdeps/x86_64/fpu/e_expf.S: New file.
2740 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2742 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2745 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2746 of remain_len that may cause incomplete multi-byte character and
2748 * posix/bug-regex33.c: New file.
2749 * posix/Makefile (tests): Add bug-regex33.
2751 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2753 * manual/macros.texi: New file.
2754 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2755 * manual/libc.texinfo: Include macros.texi.
2756 * manual/creatute.texi: Likewise.
2757 * manual/install.texi: Likewise.
2758 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2759 @glibcadj{} in references to the GNU C Library.
2760 * manual/charset.texi: Likewise.
2761 * manual/conf.texi: Likewise.
2762 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2763 when not using those macros.
2764 * manual/creature.texi: Likewise.
2765 * manual/crypt.texi: Likewise.
2766 * manual/errno.texi: Likewise.
2767 * manual/filesys.texi: Likewise.
2768 * manual/header.texi: Likewise.
2769 * manual/install.texi: Likewise.
2770 * manual/intro.texi: Likewise.
2771 * manual/io.texi: Likewise.
2772 * manual/job.texi: Likewise.
2773 * manual/lang.texi: Likewise.
2774 * manual/libc.texiinfo: Likewise.
2775 * manual/llio.texi: Likewise.
2776 * manual/locale.texi: Likewise.
2777 * manual/maint.texi: Likewise.
2778 * manual/math.texi: Likewise.
2779 * manual/memory.texi: Likewise.
2780 * manual/message.texi: Likewise.
2781 * manual/nss.texi: Likewise.
2782 * manual/pattern.texi: Likewise.
2783 * manual/process.texi: Likewise.
2784 * manual/resource.texi: Likewise.
2785 * manual/search.texi: Likewise.
2786 * manual/setjmp.texi: Likewise.
2787 * manual/signal.texi: Likewise.
2788 * manual/socket.texi: Likewise.
2789 * manual/startup.texi: Likewise.
2790 * manual/stdio.texi: Likewise.
2791 * manual/string.texi: Likewise.
2792 * manual/sysinfo.texi: Likewise.
2793 * manual/syslog.texi: Likewise.
2794 * manual/terminal.texi: Likewise.
2795 * manual/time.texi: Likewise.
2796 * manual/users.texi: Likewise.
2797 * INSTALL: Regenerated.
2798 * NOTES: Regenerated.
2799 * sysdeps/gnu/errlist.c: Regenerated.
2801 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2803 * include/dirent.h: Include <dirstream.h> before
2806 2012-02-28 David S. Miller <davem@davemloft.net>
2808 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2809 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2810 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2813 2012-02-27 David S. Miller <davem@davemloft.net>
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2817 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2818 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2821 frame pointer instead of stack pointer relative arg slot.
2822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2826 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2829 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2831 2012-02-27 David S. Miller <davem@davemloft.net>
2833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2839 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2842 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2844 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2845 later. Allow versions 5-9.
2846 * configure: Regenerated.
2847 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2848 required minimum version and 4.6 as recommended version. Do not
2849 mention bugs in GCC 2.7 and 2.8.
2850 * INSTALL: Regenerated.
2852 2012-02-27 David S. Miller <davem@davemloft.net>
2854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2860 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2861 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2864 manipulate bits before adding and subtracting TWO112[sx].
2865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2867 2012-02-27 Roland McGrath <roland@hack.frob.com>
2870 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2871 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2872 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2873 being in POSIX, because they are in 1003.1-2008.
2875 * rt/tst-aio.c: Include <fcntl.h>.
2876 * rt/tst-aio7.c: Likewise.
2877 * rt/tst-aio64.c: Likewise.
2879 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2881 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2883 * manual/install.texi (--with-headers): Describe headers as
2884 interface headers, not private headers.
2885 (Specific advice for GNU/Linux systems): Describe use of headers
2886 from "make headers_install", not private headers from older
2888 * INSTALL: Regenerated.
2889 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2891 * sysdeps/unix/sysv/linux/configure: Regenerated.
2893 * manual/llio.texi (fclean): Remove documentation.
2895 * manual/Makefile (libc-texi-generated): New variable. Include
2897 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2898 $(libc-texi-generated), not duplicated list of files.
2899 (version.texi, stamp-version): New rules.
2900 (realclean): Remove $(libc-texi-generated), not individual files
2901 from that list. Do not remove dir-add.texinfo.
2902 * manual/libc.texinfo: Comment out uses of edition numbers and
2903 references to printed manual. Remove last-updated dates.
2904 (EDITION): Comment out.
2906 (VERSION, UPDATED): Remove.
2907 (version.texi): Include.
2909 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2911 * sysdeps/posix/spawni.c: Include <signal.h>.
2912 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2913 * sysdeps/pthread/aio_fsync.c: Likewise.
2915 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2917 * conform/Makefile (tests): Run only when not cross-compiling and
2918 when fast-check is not defined.
2920 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2921 * conform/data/limits.h-data: Fixes for POSIX2008.
2922 * conform/run-conformtest.sh: Run all tests.
2923 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2925 * include/bits/dlfcn.h: Likewise.
2926 * include/langinfo.h: Likewise.
2927 * include/monetary.h: Likewise.
2928 * include/sys/poll.h: Likewise.
2930 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2932 * posix/spawn.h: Define __need_sigset_t.
2933 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2934 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2935 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2936 to get sigevent_t only.
2937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2940 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2941 process_vm_writev only for __USE_GNU.
2942 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2944 * conform/Makefile: For now ignore errors from run-conformtest.
2945 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2946 POSIX to avoid namespace pollution. Don't prepend headers.
2947 * conform/data/aio.h-data: Fixes for POSIX testing.
2948 * conform/data/fcntl.h-data: Likewise.
2949 * conform/data/glob.h-data: Likewise.
2950 * conform/data/grp.h-data: Likewise.
2951 * conform/data/pthread.h-data: Likewise.
2952 * conform/data/pwd.h-data: Likewise.
2953 * conform/data/signal.h-data: Likewise.
2954 * conform/data/spawn.h-data: Likewise.
2955 * conform/data/stdio.h-data: Likewise.
2956 * conform/data/stdlib.h-data: Likewise.
2957 * conform/data/stropts.h-data: Likewise.
2958 * conform/data/sys/mman.h-data: Likewise.
2959 * conform/data/sys/stat.h-data: Likewise.
2960 * conform/data/sys/types.h-data: Likewise.
2961 * conform/data/sys/wait.h-data: Likewise.
2962 * conform/data/time.h-data: Likewise.
2963 * conform/data/unistd.h-data: Likewise.
2964 * conform/data/utime.h-data: Likewise.
2966 * io/sys/stat.h: fchmod was always in POSIX.
2967 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2968 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2969 * rt/aio.h: Define __need_timespec before including <time.h>.
2970 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2971 struct. Add forward declaration of pthread_attr_t and use it in
2973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2975 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2976 always remove CLK_TCK definition.
2978 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2980 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2982 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2984 * conform/run-conformtest.sh: New file.
2985 * conform/Makefile: Run run-conformtest for tests.
2986 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2989 * conform/data/uchar.h-data: New file.
2990 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2991 * conform/data/arpa/inet.h-data: Likewise.
2992 * conform/data/assert.h-data: Likewise.
2993 * conform/data/complex.h-data: Likewise.
2994 * conform/data/cpio.h-data: Likewise.
2995 * conform/data/ctype.h-data: Likewise.
2996 * conform/data/dirent.h-data: Likewise.
2997 * conform/data/dlfcn.h-data: Likewise.
2998 * conform/data/errno.h-data: Likewise.
2999 * conform/data/fcntl.h-data: Likewise.
3000 * conform/data/float.h-data: Likewise.
3001 * conform/data/fmtmsg.h-data: Likewise.
3002 * conform/data/fnmatch.h-data: Likewise.
3003 * conform/data/ftw.h-data: Likewise.
3004 * conform/data/glob.h-data: Likewise.
3005 * conform/data/grp.h-data: Likewise.
3006 * conform/data/iconv.h-data: Likewise.
3007 * conform/data/inttypes.h-data: Likewise.
3008 * conform/data/langinfo.h-data: Likewise.
3009 * conform/data/libgen.h-data: Likewise.
3010 * conform/data/limits.h-data: Likewise.
3011 * conform/data/locale.h-data: Likewise.
3012 * conform/data/math.h-data: Likewise.
3013 * conform/data/monetary.h-data: Likewise.
3014 * conform/data/mqueue.h-data: Likewise.
3015 * conform/data/ndbm.h-data: Likewise.
3016 * conform/data/net/if.h-data: Likewise.
3017 * conform/data/netdb.h-data: Likewise.
3018 * conform/data/netinet/in.h-data: Likewise.
3019 * conform/data/nl_types.h-data: Likewise.
3020 * conform/data/poll.h-data: Likewise.
3021 * conform/data/pthread.h-data: Likewise.
3022 * conform/data/pwd.h-data: Likewise.
3023 * conform/data/regex.h-data: Likewise.
3024 * conform/data/sched.h-data: Likewise.
3025 * conform/data/search.h-data: Likewise.
3026 * conform/data/semaphore.h-data: Likewise.
3027 * conform/data/setjmp.h-data: Likewise.
3028 * conform/data/signal.h-data: Likewise.
3029 * conform/data/spawn.h-data: Likewise.
3030 * conform/data/stdarg.h-data: Likewise.
3031 * conform/data/stdio.h-data: Likewise.
3032 * conform/data/stdlib.h-data: Likewise.
3033 * conform/data/string.h-data: Likewise.
3034 * conform/data/strings.h-data: Likewise.
3035 * conform/data/stropts.h-data: Likewise.
3036 * conform/data/sys/ipc.h-data: Likewise.
3037 * conform/data/sys/mman.h-data: Likewise.
3038 * conform/data/sys/msg.h-data: Likewise.
3039 * conform/data/sys/resource.h-data: Likewise.
3040 * conform/data/sys/select.h-data: Likewise.
3041 * conform/data/sys/sem.h-data: Likewise.
3042 * conform/data/sys/shm.h-data: Likewise.
3043 * conform/data/sys/socket.h-data: Likewise.
3044 * conform/data/sys/stat.h-data: Likewise.
3045 * conform/data/sys/statvfs.h-data: Likewise.
3046 * conform/data/sys/time.h-data: Likewise.
3047 * conform/data/sys/timeb.h-data: Likewise.
3048 * conform/data/sys/times.h-data: Likewise.
3049 * conform/data/sys/types.h-data: Likewise.
3050 * conform/data/sys/uio.h-data: Likewise.
3051 * conform/data/sys/un.h-data: Likewise.
3052 * conform/data/sys/utsname.h-data: Likewise.
3053 * conform/data/sys/wait.h-data: Likewise.
3054 * conform/data/syslog.h-data: Likewise.
3055 * conform/data/tar.h-data: Likewise.
3056 * conform/data/termios.h-data: Likewise.
3057 * conform/data/utime.h-data: Likewise.
3058 * conform/data/utmpx.h-data: Likewise.
3059 * conform/data/varargs.h-data: Likewise.
3060 * conform/data/wchar.h-data: Likewise.
3061 * conform/data/wctype.h-data: Likewise.
3062 * conform/data/wordexp.h-data: Likewise.
3064 * include/stropts.h: New file.
3065 * include/uchar.h: New file.
3066 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3067 * include/assert.h: Likewise.
3068 * include/ctype.h: Likewise.
3069 * include/dirent.h: Likewise.
3070 * include/dlfcn.h: Likewise.
3071 * include/fcntl.h: Likewise.
3072 * include/fnmatch.h: Likewise.
3073 * include/glob.h: Likewise.
3074 * include/grp.h: Likewise.
3075 * include/libio.h: Likewise.
3076 * include/locale.h: Likewise.
3077 * include/math.h: Likewise.
3078 * include/net/if.h: Likewise.
3079 * include/netdb.h: Likewise.
3080 * include/netinet/in.h: Likewise.
3081 * include/pthread.h: Likewise.
3082 * include/pwd.h: Likewise.
3083 * include/regex.h: Likewise.
3084 * include/sched.h: Likewise.
3085 * include/search.h: Likewise.
3086 * include/setjmp.h: Likewise.
3087 * include/signal.h: Likewise.
3088 * include/stdio.h: Likewise.
3089 * include/stdlib.h: Likewise.
3090 * include/string.h: Likewise.
3091 * include/sys/cdefs.h: Likewise.
3092 * include/sys/mman.h: Likewise.
3093 * include/sys/msg.h: Likewise.
3094 * include/sys/resource.h: Likewise.
3095 * include/sys/select.h: Likewise.
3096 * include/sys/socket.h: Likewise.
3097 * include/sys/stat.h: Likewise.
3098 * include/sys/statvfs.h: Likewise.
3099 * include/sys/time.h: Likewise.
3100 * include/sys/times.h: Likewise.
3101 * include/sys/uio.h: Likewise.
3102 * include/sys/utsname.h: Likewise.
3103 * include/sys/wait.h: Likewise.
3104 * include/termios.h: Likewise.
3105 * include/time.h: Likewise.
3106 * include/ulimit.h: Likewise.
3107 * include/unistd.h: Likewise.
3108 * include/utime.h: Likewise.
3109 * include/wchar.h: Likewise.
3110 * include/wctype.h: Likewise.
3111 * include/wordexp.h: Likewise.
3113 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3115 * time/time.h: TIME_UTC must be a macro.
3116 Make timespec_get available for ISO C11 only as well.
3118 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3120 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3121 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3125 * configure.in: Use -o not -a in test for unsupported multi-arch.
3127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3129 * manual/texinfo.tex: Update to version 2012-01-19.16.
3131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3133 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3135 2012-02-24 Roland McGrath <roland@hack.frob.com>
3138 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3139 * manual/fdl-1.3.texi: New file.
3140 * manual/fdl-1.1.texi: File removed.
3143 * manual/libc.texinfo (FDL_VERSION): New @set.
3144 Use it for mention of FDL in cover text.
3145 (Documentation License): Use it in @include file name.
3147 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3148 Roland McGrath <roland@hack.frob.com>
3151 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3152 not LONG_LONG_MAX and LONG_LONG_MIN.
3153 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3154 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3156 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3158 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3162 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3163 manipulate bits before adding and subtracting TWO23[sx].
3164 * math/libm-test.inc (nearbyint_test): Add more tests.
3166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3170 bits before adding and subtracting TWO23[sx].
3171 * math/libm-test.inc (rint_test): Add more tests.
3172 (rint_test_tonearest): Likewise.
3173 (rint_test_towardzero): Likewise.
3174 (rint_test_downward): Likewise.
3175 (rint_test_upward: Likewise.
3177 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3180 * include/stdc-predef.h: New file. Extracted from features.h.
3181 * include/features.h: Include stdc-predef.h.
3182 * Makefile (headers): Add stdc-predef.h.
3183 * CONFORMANCE (Compiler limitations): Update.
3185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3187 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3189 2012-02-21 David S. Miller <davem@davemloft.net>
3191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3194 2012-02-20 David S. Miller <davem@davemloft.net>
3196 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3197 using a normal save/restore sequence, rather than allocating a
3198 dummy stack frame just to store a frame pointer and restore.
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3201 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3203 * manual/install.texi: Fix stray word in line-wrapped comment.
3205 2012-02-20 David S. Miller <davem@davemloft.net>
3207 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3208 both binutils and gcc support GOTDATA.
3210 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3211 "rd %pc" in the PIC register setup sequences.
3213 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3214 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3215 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3216 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3217 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3222 (SYSCALL_ERROR_HANDLER): Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3226 (SYSCALL_ERROR_HANDLER): Likewise.
3228 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3229 (HAVE_GCC_GOTDATA): New.
3230 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3231 relocation support in both binutils and gcc.
3232 * sysdeps/sparc/elf/configure: Regenerate.
3234 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3235 * sysdeps/sparc/sparc32/elf/configure: Delete.
3236 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3237 * sysdeps/sparc/sparc64/elf/configure: Delete.
3238 * sysdeps/sparc/elf/configure.in: New file.
3239 * sysdeps/sparc/elf/configure: Generate.
3241 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3242 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3243 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3244 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3245 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3247 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3249 * manual/install.texi: Do not mention specific glibc version
3251 * manual/libc.texinfo (VERSION, UPDATED): Update.
3252 (@copying): Use @copyright{} and range of years.
3254 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3257 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3258 [crti.S not in sysdirs] (generated): Do not append.
3259 [crti.S not in sysdirs] (omit-deps): Likewise.
3260 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3261 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3262 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3263 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3264 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3266 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3267 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3268 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3269 * csu/defs.awk: Remove file.
3270 * sysdeps/generic/initfini.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3273 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3276 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3278 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3279 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3283 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3285 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3286 (__EPOLL_PACKED): Define to empty if not defined by
3288 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3292 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3294 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3295 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3297 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3299 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3303 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3305 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3309 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3312 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3317 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3319 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3320 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3322 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3324 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3327 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3329 * math/w_acos.c: Use non-signaling floating-point comparisons.
3330 * math/w_acosf.c: Likewise.
3331 * math/w_acosh.c: Likewise.
3332 * math/w_acoshf.c: Likewise.
3333 * math/w_acoshl.c: Likewise.
3334 * math/w_acosl.c: Likewise.
3335 * math/w_asin.c: Likewise.
3336 * math/w_asinf.c: Likewise.
3337 * math/w_asinl.c: Likewise.
3338 * math/w_atanh.c: Likewise.
3339 * math/w_atanhf.c: Likewise.
3340 * math/w_atanhl.c: Likewise.
3341 * math/w_exp2.c: Likewise.
3342 * math/w_exp2f.c: Likewise.
3343 * math/w_exp2l.c: Likewise.
3344 * math/w_j0.c: Likewise.
3345 * math/w_j0f.c: Likewise.
3346 * math/w_j0l.c: Likewise.
3347 * math/w_j1.c: Likewise.
3348 * math/w_j1f.c: Likewise.
3349 * math/w_j1l.c: Likewise.
3350 * math/w_jn.c: Likewise.
3351 * math/w_jnf.c: Likewise.
3352 * math/w_log.c: Likewise.
3353 * math/w_log10.c: Likewise.
3354 * math/w_log10f.c: Likewise.
3355 * math/w_log10l.c: Likewise.
3356 * math/w_log2.c: Likewise.
3357 * math/w_log2f.c: Likewise.
3358 * math/w_log2l.c: Likewise.
3359 * math/w_logf.c: Likewise.
3360 * math/w_logl.c: Likewise.
3361 * math/w_sqrt.c: Likewise.
3362 * math/w_sqrtf.c: Likewise.
3363 * math/w_sqrtl.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3365 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3370 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3373 * manual/string.texi (strnlen): Use correct parameter name in
3374 equivalent expression.
3376 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3379 * manual/users.texi (seteuid): Consistently use neweuid for
3382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3385 * manual/nss.texi (Services in the NSS configuration): Correct
3386 list of services in example configuration file.
3388 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3391 * manual/arith.texi: Remove statements about negative zero
3392 behaving identically to zero.
3394 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3397 * manual/install.texi: Do not document upgrading from libc5.
3399 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3402 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3404 2012-02-18 David S. Miller <davem@davemloft.net>
3406 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3407 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3408 %o7 across the call.
3409 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3414 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3415 * sysdeps/sparc/crtn.S: Likewise.
3417 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3419 * aout/Makefile: Remove.
3421 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3424 * manual/examples/argp-ex1.c (main): Format definition in GNU
3426 * manual/examples/argp-ex2.c (main): Likewise.
3427 * manual/examples/argp-ex3.c (main): Likewise.
3428 * manual/examples/argp-ex4.c (main): Likewise.
3429 * manual/examples/longopt.c (main): Use new-style prototype
3431 * manual/examples/strncat.c (main): Specify return type and use
3432 (void) for arguments.
3433 * manual/examples/subopt.c (main): Use char **argv argument.
3435 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3438 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3441 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3444 * manual/string.texi (strchr): Change when strchrnul is
3447 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3450 * manual/locale.texi (setlocale): Document LOCPATH.
3452 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3455 * manual/process.texi (execle): Move @dots{} before last argument.
3457 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3460 * manual/charset.texi (Generic Charset Conversion): Fix typo
3461 (LC_TYPE -> LC_CTYPE).
3463 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3466 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3467 (scalbnf): Likewise.
3468 (scalbnl): Likewise.
3469 (scalbln): Likewise.
3470 (scalblnf): Likewise.
3471 (scalblnl): Likewise.
3472 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3476 * manual/filesys.texi (telldir): Use braces around return type.
3477 * manual/llio.texi (mmap): Add space after comma.
3479 * manual/math.texi (jn): Use @var{} on parameter names.
3485 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3487 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3489 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3490 (sched_get_priority_max): Likewise.
3491 * manual/signal.texi (sigvec): Add space after comma.
3492 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3494 (if_indextoname): Likewise.
3495 (if_freenameindex): Likewise.
3496 (sendto): Use ',' instead of '.' in prototype.
3497 * manual/startup.texi (syscall): Use @dots{} instead of literal
3499 * manual/stdio.texi (__fpending): Separate initial words of
3500 paragraph from @deftypefun line.
3501 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3503 (vsyslog): Use @var{} on parameter names.
3504 * manual/terminal.texi (stty): Use @var{} on parameter names.
3505 * manual/users.texi (getutmp): Use @var{} on parameter names.
3506 (getutmpx): Likewise.
3508 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3511 * manual/stdio.texi (fopen): Fix typos in description of
3514 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3517 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3518 get clock_id definition.
3520 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3523 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3524 (madvise): Cast every argument to void on its own.
3526 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3529 * manual/startup.texi (Exit Status): Fix typo.
3531 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3534 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3535 * manual/examples/argp-ex2.c: Likewise.
3536 * manual/examples/argp-ex3.c: Likewise.
3538 2012-02-16 Richard Henderson <rth@redhat.com>
3540 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3541 * sysdeps/s390/s390-32/initfini.c: Remove.
3542 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3543 * sysdeps/s390/s390-64/initfini.c: Remove.
3545 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3547 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3548 compiler output for sysdeps/generic/initfini.c.
3549 * sysdeps/sh/elf/initfini.c: Remove file.
3551 2012-02-16 David S. Miller <davem@davemloft.net>
3554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3556 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3557 * sysdeps/sparc/crti.S: New file.
3558 * sysdeps/sparc/crtn.S: New file.
3559 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3560 * sysdeps/sparc/sparc64/Makefile: Likewise.
3562 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3565 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3567 2012-02-15 Roland McGrath <roland@hack.frob.com>
3570 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3572 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3573 (write, read, close): Likewise.
3574 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3576 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3578 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3579 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3581 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3583 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3587 2012-02-14 Marek Polacek <polacek@redhat.com>
3589 * sysdeps/x86_64/crti.S: New file.
3590 * sysdeps/x86_64/crtn.S: New file.
3591 * sysdeps/x86_64/elf/initfini.c: Remove file.
3593 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3595 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3596 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3597 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3598 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3600 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3604 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3607 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3608 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3609 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3611 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3615 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3617 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3618 __feraiseexcept instead of feraiseexcept.
3620 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3621 nanosleep invocations.
3622 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3623 strings, and add error checking for a nanosleep invocations.
3625 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3627 Replace FSF snail mail address with URLs, as per GNU coding standards.
3628 Most of the snail mail addresses were wrong anyway, and omitting
3629 them makes the source code easier to maintain. Almost all of the
3630 changes are to license notices and to locale LC_IDENTIFICATION
3631 addresses, except for this one:
3632 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3633 not its snail mail address.
3635 2012-02-09 Richard Henderson <rth@twiddle.net>
3637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3638 of kernel-features.h.
3640 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3642 2012-02-08 Marek Polacek <polacek@redhat.com>
3644 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3645 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3646 * sysdeps/gnu/_G_config.h: Likewise.
3647 * sysdeps/generic/_G_config.h: Likewise.
3649 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3651 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655 * sysdeps/powerpc/powerpc32/crti.S: New file.
3656 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3657 * sysdeps/powerpc/powerpc64/crti.S: New file.
3658 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3660 * Makeconfig (have-initfini): Don't set.
3661 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3662 * configure.in (nopic_initfini): Don't substitute.
3663 * config.h.in (HAVE_INITFINI): Don't #undef.
3664 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3665 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3667 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3669 Support crti.S and crtn.S provided directly by architectures.
3670 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3671 [crti.S in sysdirs] (omit-deps): Likewise.
3672 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3673 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3674 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3675 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3676 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3677 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3678 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3679 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3680 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3681 compiler output for sysdeps/generic/initfini.c.
3682 * sysdeps/i386/elf/Makefile: Remove file.
3683 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3685 2012-02-07 Marek Polacek <polacek@redhat.com>
3687 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3688 * sysdeps/gnu/_G_config.h: Likewise.
3689 * sysdeps/mach/hurd/_G_config.h: Likewise.
3691 2012-02-07 Marek Polacek <polacek@redhat.com>
3693 * math/Makefile (tests): Add tst-CMPLX2.
3694 * math/tst-CMPLX2.c: New file.
3696 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3700 * math/libm-test.inc (jn_test): Add missing L suffix.
3702 2012-02-06 Marek Polacek <polacek@redhat.com>
3704 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3705 * sysdeps/i386/fpu/e_powf.S: Likewise.
3706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3707 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3709 * sysdeps/i386/fpu/e_pow.S: Likewise.
3710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3714 * sysdeps/i386/fpu/e_log2.S: Likewise.
3715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3717 * sysdeps/i386/fpu/e_powl.S: Likewise.
3718 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3719 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3720 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3721 * sysdeps/i386/fpu/e_logl.S: Likewise.
3722 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3723 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3728 * sysdeps/i386/fpu/e_log.S: Likewise.
3729 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3731 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3732 * sysdeps/i386/fpu/e_logf.S: Likewise.
3733 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3735 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3736 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3738 * sysdeps/i386/fpu/e_log10.S: Likewise.
3739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3744 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3745 * sysdeps/i386/asm-syntax.h: Likewise.
3746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3749 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3750 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3751 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3752 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3753 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3755 * sysdeps/powerpc/sysdep.h: Likewise.
3756 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3759 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3762 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3764 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3766 * sysdeps/i386/sysdep.h: Include <features.h>.
3767 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3770 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3772 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3774 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3777 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3779 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3780 (SETUP_PIC_REG): Use GET_PC_THUNK.
3781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3784 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3787 for non-PIC compilation.
3788 (SETUP_PIC_REG): Add .p2align directive.
3789 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3790 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3791 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3792 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3795 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3797 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3798 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3799 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3800 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3801 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3802 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3803 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3804 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3805 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3811 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3812 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3831 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3833 * math/tst-CMPLX.c: Include <stdio.h>.
3835 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3839 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3840 * sysdeps/sparc/bits/mathdef.h: Likewise.
3842 2012-01-31 Marek Polacek <polacek@redhat.com>
3844 * libio/libio.h: Don't define _PARAMS.
3845 * locale/programs/config.h: Don't define PARAMS.
3846 * stdlib/strtol_l.c: Likewise.
3847 (__strtol_l): Remove PARAMS from the prototype.
3849 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3851 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3852 names. Just use the correct names. Remove unnecessary wrapper
3854 * malloc/arena.c: Likewise.
3855 * malloc/hooks.c: Likewise.
3857 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3858 ARENA_TEST says not to. Simplify test for creation of a new arena.
3859 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3861 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3863 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3865 (update_get_addr): New function.
3866 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3867 GET_ADDR_MODULE parameter.
3869 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3871 * crypt/cert.c: Remove __STDC__ conditionals.
3872 * crypt/crypt-entry.c: Likewise.
3873 * crypt/crypt_util.c: Likewise.
3874 * libio/filedoalloc.c: Likewise.
3875 * libio/fileops.c: Likewise.
3876 * libio/genops.c: Likewise.
3877 * libio/iofclose.c: Likewise.
3878 * libio/iofdopen.c: Likewise.
3879 * libio/iofopen.c: Likewise.
3880 * libio/iofopen64.c: Likewise.
3881 * libio/iogetdelim.c: Likewise.
3882 * libio/iopopen.c: Likewise.
3883 * libio/obprintf.c: Likewise.
3884 * libio/oldfileops.c: Likewise.
3885 * libio/oldiofclose.c: Likewise.
3886 * libio/oldiofdopen.c: Likewise.
3887 * libio/oldiofopen.c: Likewise.
3888 * libio/oldiopopen.c: Likewise.
3889 * libio/wfiledoalloc.c: Likewise.
3890 * libio/wgenops.c: Likewise.
3891 * locale/programs/xmalloc.c: Likewise.
3892 * misc/syslog.c: Likewise.
3893 * stdio-common/xbug.c: Likewise.
3894 * string/memchr.c: Likewise.
3895 * string/memcmp.c: Likewise.
3896 * string/memrchr.c: Likewise.
3897 * string/rawmemchr.c: Likewise.
3898 * sysdeps/posix/getcwd.c: Likewise.
3899 * time/strftime_l.c: Likewise.
3901 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3903 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3904 * config.make.in (config-cflags-sse2avx): Define.
3905 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3908 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3910 * scripts/config.guess: Update from upstream config git repository.
3911 * scripts/config.sub: Likewise.
3913 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3915 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3917 (R_TILEPRO_*, R_TILEGX_*): New macros.
3919 * scripts/firstversions.awk: Fix bug in version range handling.
3921 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3925 * include/sys/epoll.h: New file.
3926 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3929 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3931 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3932 Avoid unnecessary __WORDSIZE == 64 test.
3933 (fmaxf): Use VEX format if possible.
3938 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3939 * math/math_private.h: Remove libc_fegetround* and
3941 * sysdeps/i386/configure.in: Check for -msse2avx.
3942 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3943 also if SSE2AVX is defined.
3944 Remove libc_fegetround* and libc_fesetround*.
3945 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3946 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3955 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3957 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3959 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3963 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3966 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3968 * Makeconfig (libm): Define.
3969 * elf/Makefile: Add rules to build and run tst-relsort1.
3970 * elf/tst-relsort1.c: New file.
3971 * elf/tst-relsort1mod1.c: New file.
3972 * elf/tst-relsort1mod2.c: New file.
3974 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3976 * math/s_ldexp.c: Remove __STDC__ conditionals.
3977 * math/s_ldexpf.c: Likewise.
3978 * math/s_ldexpl.c: Likewise.
3979 * math/s_nextafter.c: Likewise.
3980 * math/s_nexttowardf.c: Likewise.
3981 * math/s_significand.c: Likewise.
3982 * math/s_significandf.c: Likewise.
3983 * math/s_significandl.c: Likewise.
3984 * math/w_jnl.c: Likewise.
3985 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3986 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3987 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3988 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3989 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4004 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4005 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4007 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4009 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4015 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4017 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4025 * sysdeps/ieee754/k_standard.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4105 * sysdeps/ieee754/s_matherr.c: Likewise.
4106 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4111 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4113 * crypt/md5.h: Remove __STDC__ conditionals.
4114 * libio/libioP.h: Likewise.
4115 * locale/programs/config.h: Likewise.
4116 * sysdeps/generic/sysdep.h: Likewise.
4117 * sysdeps/i386/asm-syntax.h: Likewise.
4118 * sysdeps/s390/asm-syntax.h: Likewise.
4119 * sysdeps/unix/sysdep.h: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4123 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4125 * libio/libio.h: Remove __STDC__ conditionals.
4126 * malloc/obstack.h: Likewise.
4127 * math/complex.h: Likewise.
4128 * math/math.h: Likewise.
4129 * sysdeps/generic/_G_config.h: Likewise.
4130 * sysdeps/gnu/_G_config.h: Likewise.
4131 * sysdeps/mach/hurd/_G_config.h: Likewise.
4132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4134 * sysdeps/sparc/bits/mathdef.h: Likewise.
4136 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4140 Clean up HAS_* macros.
4141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4142 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4144 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4146 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4147 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4148 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4152 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4154 * elf/tst-unique3.cc (gets): Remove declaration.
4155 * elf/tst-unique3lib.cc (gets): Likewise.
4156 * elf/tst-unique3lib2.cc (gets): Likewise.
4157 * elf/tst-unique4.cc (gets): Likewise.
4159 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4161 * include/stdio.h: Add C++ protection. Add gets declarations and
4163 * debug/tst-chk1.c: Don't declare gets here.
4164 * stdio-common/tst-gets.c: Likewise.
4166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4168 * posix/glob: Remove directory.
4170 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4172 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4174 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4176 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4177 of the non-standard EPFNOSUPPORT.
4179 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4181 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4182 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4183 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4185 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4187 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4189 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4191 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4193 * nscd/grpcache.c (cache_addgr): Likewise.
4194 * nscd/hstcache.c (cache_addhst): Likewise.
4195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4196 * nscd/pwdcache.c (cache_addpw): Likewise.
4197 * nscd/servicescache.c (cache_addserv): Likewise.
4199 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4201 * malloc/malloc.c: Various cleanups.
4202 * malloc/hooks.c: Likewise.
4204 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4205 * stdlib/bug-fmtmsg1.c: New file.
4207 * stdlib/fmtmsg.c (init): Add missing unlock.
4208 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4210 2012-01-12 Marek Polacek <polacek@redhat.com>
4212 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4215 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4217 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4218 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4219 macro to ensure uniqueness of label name.
4220 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4221 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4223 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4228 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4232 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4236 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4237 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4240 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4247 * math/bits/math-finite.h: Add ldexp support.
4249 2012-01-10 Marek Polacek <polacek@redhat.com>
4251 * locale/programs/localedef.h (show_archive_content): Add noreturn
4254 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4256 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4258 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4260 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4262 * io/Makefile (headers): Add bits/poll2.h.
4264 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4267 typo #include statement.
4269 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4271 * include/sys/cdefs.h: Define __attribute_alloc_size.
4272 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4273 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4274 * elf/pldd.c: Likewise.
4275 * iconv/iconv_charmap.c: Likewise.
4276 * iconv/iconvconfig.c: Likewise.
4277 * iconv/strtab.c: Likewise.
4278 * locale/programs/locale.c: Likewise.
4279 * locale/programs/localedef.h: Likewise.
4280 * locale/programs/simple-hash.c: Likewise.
4281 * nscd/nscd.h: Likewise.
4282 * nss/makedb.c: Likewise.
4283 * sysdeps/generic/ldconfig.h: Likewise.
4284 * locale/programs/localedef.c: Remove xmalloc prototype.
4285 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4287 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4292 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4294 * math/Makefile (tests): Add tst-CMPLX.
4295 * math/tst-CMPLX.c: New file.
4297 * math/complex.h (CMPLXL): Fix typo.
4299 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4300 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4302 * debug/tst-chk1.c: Add poll and ppoll tests.
4303 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4304 * include/sys/poll.h: Add hidden proto for ppoll.
4305 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4306 * sysdeps/mach/hurd/ppoll.c: Likewise.
4307 * io/ppoll.c: Likewise.
4308 * debug/poll_chk.c: New file.
4309 * debug/ppoll_chk.c: New file.
4310 * include/bits/poll2.h: New file.
4311 * io/bits/poll2.h: New file.
4314 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4316 * configure.in: static is always set to yes. Remove.
4317 * config.make.in: Don't set build-static.
4318 * Makeconfig: Remove use of build-static.
4319 * dlfcn/Makefile: Likewise.
4320 * elf/Makefile: Likewise.
4321 * math/Makefile: Likewise.
4322 * misc/Makefile: Likewise.
4323 * nptl/Makefile: Likewise.
4324 * sysdeps/mach/hurd/Makefile: Likewise.
4326 * configure.in: PWD_P is not used anymore.
4327 * config.make.in: Remove PWD_P entry.
4329 * configure.in: Remove last remnants of RANLIB.
4330 No need to check for signed size_t anymore.
4331 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4333 Remove __builtin_expect test because we require at least gcc 3.4.
4334 * aclocal.m4: Likewise.
4336 * wcsmbs/mbrtoc16.c: Implement using towc function.
4337 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4338 * wcsmbs/wcsmbsload.c: Likewise.
4339 * iconv/gconv_simple.c: Likewise.
4340 * iconv/gconv_int.h: Likewise.
4341 * iconv/gconv_builtin.h: Likewise.
4342 * iconv/iconv_prog.c: Remove CHAR16 handling.
4344 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4346 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4348 * configure.in: Remove --with-elf and --enable-bounded options.
4349 Dont set base_machine for ia64. More non-ELF conditions removed.
4350 Remove testing and setting of leading underscore information.
4351 * config.make.in (build-bounded): Set to no.
4352 * config.h.in: Remove NO_UNDERSCORES entry.
4353 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4355 * csu/start.c: Remove !NO_UNDERSCORE code.
4356 * locale/localeinfo.h: Likewise.
4357 * sysdeps/generic/machine-gmon.h: Likewise.
4358 * sysdeps/generic/sysdep.h: Likewise.
4359 * sysdeps/i386/sysdep.h: Likewise.
4360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4361 * sysdeps/mach/sysdep.h: Likewise.
4362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4364 * sysdeps/sh/sysdep.h: Likewise.
4365 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4366 * sysdeps/unix/i386/sysdep.S: Likewise.
4367 * sysdeps/unix/sparc/start.c: Likewise.
4368 * sysdeps/unix/sparc/sysdep.S: Likewise.
4369 * sysdeps/unix/sparc/sysdep.h: Likewise.
4370 * sysdeps/unix/start.c: Likewise.
4371 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4372 * sysdeps/x86_64/sysdep.h: Likewise.
4374 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4377 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4379 * argp/argp-fmtstream.h: Use const instead __const.
4380 * argp/argp.h: Likewise.
4381 * assert/assert.h: Likewise.
4382 * bits/fenv.h: Likewise.
4383 * bits/sched.h: Likewise.
4384 * bits/sigset.h: Likewise.
4385 * bits/sigthread.h: Likewise.
4386 * catgets/nl_types.h: Likewise.
4387 * conform/data/pthread.h-data: Likewise.
4388 * crypt/crypt-private.h: Likewise.
4389 * crypt/crypt.h: Likewise.
4390 * crypt/crypt_util.c: Likewise.
4391 * ctype/ctype.h: Likewise.
4392 * debug/execinfo.h: Likewise.
4393 * debug/mbsnrtowcs_chk.c: Likewise.
4394 * debug/mbsrtowcs_chk.c: Likewise.
4395 * debug/wcsnrtombs_chk.c: Likewise.
4396 * debug/wcsrtombs_chk.c: Likewise.
4397 * debug/wcstombs_chk.c: Likewise.
4398 * dirent/dirent.h: Likewise.
4399 * dlfcn/dlfcn.h: Likewise.
4400 * elf/neededtest4.c: Likewise.
4401 * grp/grp.h: Likewise.
4402 * gshadow/gshadow.h: Likewise.
4403 * iconv/gconv.h: Likewise.
4404 * iconv/gconv_int.h: Likewise.
4405 * iconv/gconv_simple.c: Likewise.
4406 * iconv/iconv.h: Likewise.
4407 * iconv/loop.c: Likewise.
4408 * iconv/skeleton.c: Likewise.
4409 * include/aio.h: Likewise.
4410 * include/aliases.h: Likewise.
4411 * include/argz.h: Likewise.
4412 * include/arpa/inet.h: Likewise.
4413 * include/assert.h: Likewise.
4414 * include/dirent.h: Likewise.
4415 * include/dlfcn.h: Likewise.
4416 * include/execinfo.h: Likewise.
4417 * include/fcntl.h: Likewise.
4418 * include/fenv.h: Likewise.
4419 * include/glob.h: Likewise.
4420 * include/grp.h: Likewise.
4421 * include/libintl.h: Likewise.
4422 * include/mntent.h: Likewise.
4423 * include/netdb.h: Likewise.
4424 * include/pwd.h: Likewise.
4425 * include/rpc/netdb.h: Likewise.
4426 * include/sched.h: Likewise.
4427 * include/search.h: Likewise.
4428 * include/shadow.h: Likewise.
4429 * include/signal.h: Likewise.
4430 * include/stdio.h: Likewise.
4431 * include/stdlib.h: Likewise.
4432 * include/string.h: Likewise.
4433 * include/sys/socket.h: Likewise.
4434 * include/sys/stat.h: Likewise.
4435 * include/sys/statfs.h: Likewise.
4436 * include/sys/statvfs.h: Likewise.
4437 * include/sys/syslog.h: Likewise.
4438 * include/sys/time.h: Likewise.
4439 * include/sys/uio.h: Likewise.
4440 * include/time.h: Likewise.
4441 * include/unistd.h: Likewise.
4442 * include/utmp.h: Likewise.
4443 * include/wchar.h: Likewise.
4444 * include/wctype.h: Likewise.
4445 * inet/aliases.h: Likewise.
4446 * inet/arpa/inet.h: Likewise.
4447 * inet/netinet/ether.h: Likewise.
4448 * inet/netinet/in.h: Likewise.
4449 * intl/libintl.h: Likewise.
4450 * io/bits/fcntl2.h: Likewise.
4451 * io/fcntl.h: Likewise.
4452 * io/ftw.h: Likewise.
4453 * io/sys/poll.h: Likewise.
4454 * io/sys/stat.h: Likewise.
4455 * io/sys/statfs.h: Likewise.
4456 * io/sys/statvfs.h: Likewise.
4457 * io/utime.h: Likewise.
4458 * libio/bits/stdio.h: Likewise.
4459 * libio/bits/stdio2.h: Likewise.
4460 * libio/libio.h: Likewise.
4461 * libio/libioP.h: Likewise.
4462 * libio/stdio.h: Likewise.
4463 * locale/lc-ctype.c: Likewise.
4464 * locale/locale.h: Likewise.
4465 * login/utmp.h: Likewise.
4466 * malloc/arena.c: Likewise.
4467 * malloc/malloc.c: Likewise.
4468 * malloc/malloc.h: Likewise.
4469 * malloc/mcheck.c: Likewise.
4470 * malloc/mtrace.c: Likewise.
4471 * math/bits/mathcalls.h: Likewise.
4472 * math/fenv.h: Likewise.
4473 * math/math_private.h: Likewise.
4474 * misc/bits/error.h: Likewise.
4475 * misc/bits/syslog.h: Likewise.
4476 * misc/err.h: Likewise.
4477 * misc/error.h: Likewise.
4478 * misc/fstab.h: Likewise.
4479 * misc/mntent.h: Likewise.
4480 * misc/regexp.h: Likewise.
4481 * misc/search.h: Likewise.
4482 * misc/sgtty.h: Likewise.
4483 * misc/sys/mman.h: Likewise.
4484 * misc/sys/syslog.h: Likewise.
4485 * misc/sys/uio.h: Likewise.
4486 * misc/sys/xattr.h: Likewise.
4487 * misc/ttyent.h: Likewise.
4488 * nis/rpcsvc/ypclnt.h: Likewise.
4489 * nss/nss.h: Likewise.
4490 * posix/bits/unistd.h: Likewise.
4491 * posix/fnmatch.h: Likewise.
4492 * posix/glob.h: Likewise.
4493 * posix/sched.h: Likewise.
4494 * posix/spawn.h: Likewise.
4495 * posix/sys/wait.h: Likewise.
4496 * posix/unistd.h: Likewise.
4497 * posix/wordexp.h: Likewise.
4498 * pwd/pwd.h: Likewise.
4499 * resolv/netdb.h: Likewise.
4500 * resource/sys/resource.h: Likewise.
4501 * rt/aio.h: Likewise.
4502 * rt/bits/mqueue2.h: Likewise.
4503 * rt/mqueue.h: Likewise.
4504 * shadow/shadow.h: Likewise.
4505 * signal/signal.h: Likewise.
4506 * socket/send.c: Likewise.
4507 * socket/sendto.c: Likewise.
4508 * socket/sys/socket.h: Likewise.
4509 * stdio-common/printf.h: Likewise.
4510 * stdlib/bits/stdlib.h: Likewise.
4511 * stdlib/fmtmsg.h: Likewise.
4512 * stdlib/monetary.h: Likewise.
4513 * stdlib/stdlib.h: Likewise.
4514 * stdlib/ucontext.h: Likewise.
4515 * streams/stropts.h: Likewise.
4516 * string/argz.h: Likewise.
4517 * string/bits/string2.h: Likewise.
4518 * string/string.h: Likewise.
4519 * string/strings.h: Likewise.
4520 * sunrpc/rpc/auth.h: Likewise.
4521 * sunrpc/rpc/auth_des.h: Likewise.
4522 * sunrpc/rpc/clnt.h: Likewise.
4523 * sunrpc/rpc/netdb.h: Likewise.
4524 * sunrpc/rpc/pmap_clnt.h: Likewise.
4525 * sunrpc/rpc/xdr.h: Likewise.
4526 * sysdeps/generic/inttypes.h: Likewise.
4527 * sysdeps/generic/net/if.h: Likewise.
4528 * sysdeps/generic/sys/swap.h: Likewise.
4529 * sysdeps/gnu/net/if.h: Likewise.
4530 * sysdeps/gnu/utmpx.h: Likewise.
4531 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4532 * sysdeps/i386/i486/bits/string.h: Likewise.
4533 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4534 * sysdeps/s390/bits/string.h: Likewise.
4535 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4536 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4537 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4538 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4539 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4540 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4541 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4542 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4543 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4544 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4545 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4546 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4547 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4549 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4550 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4551 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4556 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4557 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4558 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4559 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4560 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4561 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4563 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4564 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4565 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4566 * sysvipc/sys/ipc.h: Likewise.
4567 * sysvipc/sys/msg.h: Likewise.
4568 * sysvipc/sys/sem.h: Likewise.
4569 * sysvipc/sys/shm.h: Likewise.
4570 * termios/termios.h: Likewise.
4571 * time/sys/time.h: Likewise.
4572 * time/time.h: Likewise.
4573 * wcsmbs/bits/wchar2.h: Likewise.
4574 * wcsmbs/uchar.h: Likewise.
4575 * wcsmbs/wchar.h: Likewise.
4576 * wctype/wctype.h: Likewise.
4579 * Makeconfig: Remove all but ELF support including AIX support.
4580 * Makerules: Likewise.
4581 * config.h.in: Likewise.
4582 * config.make.in: Likewise.
4583 * configure: Likewise.
4584 * configure.in: Likewise.
4585 * csu/Makefile: Likewise.
4586 * csu/version.c: Likewise.
4587 * debug/Makefile: Likewise.
4588 * dlfcn/Makefile: Likewise.
4589 * elf/Makefile: Likewise.
4590 * extra-lib.mk: Likewise.
4591 * iconv/Makefile: Likewise.
4592 * include/libc-symbols.h: Likewise.
4593 * include/shlib-compat.h: Likewise.
4594 * resolv/Makefile: Likewise.
4595 * resolv/res_libc.c: Likewise.
4596 * rt/Makefile: Likewise.
4597 * sysdeps/i386/asm-syntax.h: Likewise.
4598 * sysdeps/i386/sysdep.h: Likewise.
4599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4600 * sysdeps/mach/sysdep.h: Likewise.
4601 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4602 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4603 * sysdeps/s390/asm-syntax.h: Likewise.
4604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4606 * sysdeps/sh/sysdep.h: Likewise.
4607 * sysdeps/unix/sparc/sysdep.h: Likewise.
4608 * sysdeps/wordsize-32/divdi3.c: Likewise.
4609 * sysdeps/x86_64/sysdep.h: Likewise.
4611 * argp/Versions: Remove _argp_unlock_xxx.
4614 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4615 * abilist/libBrokenLocale.abilist: Likewise.
4616 * abilist/libanl.abilist: Likewise.
4617 * abilist/libc.abilist: Likewise.
4618 * abilist/libcrypt.abilist: Likewise.
4619 * abilist/libdl.abilist: Likewise.
4620 * abilist/libm.abilist: Likewise.
4621 * abilist/libnsl.abilist: Likewise.
4622 * abilist/libpthread.abilist: Likewise.
4623 * abilist/libresolv.abilist: Likewise.
4624 * abilist/librt.abilist: Likewise.
4625 * abilist/libthread_db.abilist: Likewise.
4626 * abilist/libutil.abilist: Likewise.
4627 * abilist/libnss_db.abilist: New file.
4629 * scripts/abilist.awk: Add support for indirect functions.
4631 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4633 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4635 * shlib-versions: Remove entries for ports architectures.
4637 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4639 * elf/stackguard-macros.h: Remove support for IA-64.
4640 * elf/tst-auditmod1.c: Likewise.
4641 * sysdeps/generic/ldsodefs.h: Likewise.
4643 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4644 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4648 * configure.in: Remove --enable-omitfp support.
4650 * config.make.in: Likewise.
4651 * Makeconfig: Likewise.
4652 * manual/install.texi: Likewise.
4654 In case anyone cares, the IA-64 architecture could move to ports.
4655 * sysdeps/ia64/*: Removed.
4656 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4657 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4660 * configure.in: Remove entries for unsupported architectures.
4663 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4664 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4666 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4667 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4668 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4669 fall back to using wcrtomb.
4670 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4671 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4673 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4674 * wcsmbs/tst-c16c32-1.c: New file.
4676 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4679 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4681 * elf/tst-unique3.cc: Add explicit declaration of gets.
4682 * elf/tst-unique3lib.cc: Likewise.
4683 * elf/tst-unique3lib2.cc: Likewise.
4684 * elf/tst-unique4.cc: Likewise.
4686 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4688 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4691 * assert/assert.h (static_assert): Don't define for C++.
4692 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4693 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4695 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4697 * iconv/loop.c (single loop): Fix assertion in storing of
4700 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4702 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4704 * posix/getconf.c: Update copyright year.
4705 * nss/getent.c: Likewise.
4706 * nss/makedb.c: Likewise.
4707 * iconv/iconvconfig.c: Likewise.
4708 * iconv/iconv_prog.c: Likewise.
4709 * elf/ldconfig.c: Likewise.
4710 * elf/pldd.c: Likewise.
4711 * elf/sotruss.ksh: Likewise.
4712 * catgets/gencat.c: Likewise.
4713 * csu/version.c: Likewise.
4714 * elf/ldd.bash.in: Likewise.
4715 * elf/sprof.c (print_version): Likewise.
4716 * locale/programs/locale.c: Likewise.
4717 * locale/programs/localedef.c: Likewise.
4718 * login/programs/pt_chown.c: Likewise.
4719 * nscd/nscd.c (print_version): Likewise.
4720 * debug/xtrace.sh: Likewise.
4721 * malloc/memusage.sh: Likewise.
4722 * malloc/mtrace.pl: Likewise.
4723 * debug/catchsegv.sh: Likewise.
4725 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4727 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4730 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4733 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4734 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4736 * iconv/gconv_int.h: Likewise.
4737 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4738 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4739 from libc for GLIBC_2.16.
4740 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4741 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4742 * wcsmbs/uchar.h: Really define mbstate_t.
4743 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4744 * wcsmbs/c16rtomb.c: New file.
4745 * wcsmbs/mbrtoc16.c: New file.
4746 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4748 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4749 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4751 * wcsmbs/wchar.h: Add missing __restrict.
4753 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4756 * time/Makefile (routines): Add timespec_get.
4757 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4758 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4759 timespec for ISO C11.
4760 * time/timespec_get.c: New file.
4761 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4762 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4765 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4766 * stdlib/stdlib.h: Declare aligned_alloc.
4767 * Versions.def: Add GLIBC_2.16 for libc.
4768 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4771 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4774 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4778 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4781 * assert/assert.h (static_assert): Define.
4783 * version.h: Update for 2.16 development version.
4786 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4789 * version.h (RELEASE): Bump for 2.15 release.
4790 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4792 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4793 Patch by Marek Polacek <mpolacek@redhat.com>.
4795 * bits/byteswap.h: Protect long long constants with __extension__.
4796 * sysdeps/i386/bits/byteswap.h: Likewise.
4797 * sysdeps/ia64/bits/byteswap.h: Likewise.
4798 * sysdeps/s390/bits/byteswap.h: Likewise.
4799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4801 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4808 2011-12-23 Marek Polacek <polacek@redhat.com>
4810 * elf/dl-addr.c (determine_info): Add inline keyword.
4811 * elf/tst-auditmod4b.c (check_avx): Likewise.
4812 * elf/tst-auditmod6b.c (check_avx): Likewise.
4813 * elf/tst-auditmod6c.c (check_avx): Likewise.
4814 * elf/tst-auditmod7b.c (check_avx): Likewise.
4816 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4818 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4821 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4824 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4825 processing for last bytes.
4827 2011-08-06 Bruno Haible <bruno@clisp.org>
4830 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4831 U+0385, not to U+1FEE.
4834 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4835 entry for U+00A5 U+0301.
4837 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4840 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4841 buffer for the output is too small.
4843 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4847 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4848 SSE flags if possible.
4850 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4854 processing for last bytes.
4856 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4859 (syscall-list-default-options, syscall-list-default-condition)
4860 (syscall-list-includes): Define.
4861 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4862 list of ABIs and options and #if conditions for each ABI. Do not
4863 handle common syscalls between ABIs specially.
4864 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4866 (syscall-list-variants, syscall-list-32bit-options)
4867 (syscall-list-32bit-condition, syscall-list-64bit-options)
4868 (syscall-list-64bit-condition): Define.
4869 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4870 (syscall-list-variants, syscall-list-32bit-options)
4871 (syscall-list-32bit-condition, syscall-list-64bit-options)
4872 (syscall-list-64bit-condition): Define.
4873 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4875 (syscall-list-variants, syscall-list-32bit-options)
4876 (syscall-list-32bit-condition, syscall-list-64bit-options)
4877 (syscall-list-64bit-condition): Define.
4878 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4880 (syscall-list-variants, syscall-list-32bit-options)
4881 (syscall-list-32bit-condition, syscall-list-64bit-options)
4882 (syscall-list-64bit-condition): Define.
4884 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4886 * locale/iso-639.def: Add brx entry.
4889 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4890 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4892 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4893 __feraiseexcept_renamed.
4895 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4898 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4899 EPOLLET with unsigned values.
4900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4903 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4904 to large cancellation.
4905 * math/s_cacoshf.c: Likewise.
4906 * math/s_cacoshl.c: Likewise.
4908 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4912 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4913 * math/s_cacoshf.c: Likewise.
4914 * math/s_cacoshl.c: Likewise.
4916 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4919 * iconv/gconv.h: Define __GCONV_SWAP.
4920 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4921 * iconvdata/utf-16.c: Likewise.
4922 * iconvdata/utf-32.c: Likewise.
4924 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4928 numerator after shifting it by one limb.
4930 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4933 under [__USE_EXTERN_INLINES].
4935 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4938 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4940 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4943 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4945 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4946 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4947 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4948 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4949 for strncasecmp/strncasecmp_l compilation.
4950 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4951 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4953 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4956 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4959 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4962 * time/tzfile.c (__tzfile_read): Check values from file header.
4964 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4966 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4967 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4968 * powerpc/powerpc32/dl-start.S: Likewise.
4969 * powerpc/powerpc32/elf/start.S: Likewise.
4970 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4971 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4972 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4973 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4974 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4975 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4976 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4977 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4978 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4979 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4980 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4981 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4982 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4983 * powerpc/powerpc32/memset.S: Likewise.
4984 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4985 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4986 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4987 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4988 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4989 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4990 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4991 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4992 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4993 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4995 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4996 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4998 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5000 * math/libm-test.inc: Added more nearbyint tests.
5001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5006 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5008 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5011 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5013 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5014 Add wcscpy-ssse3 wcscpy-c.
5015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5016 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5017 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5018 * sysdeps/x86_64/wcschr.S: New file.
5019 * sysdeps/x86_64/wcsrchr.S: New file.
5020 * string/test-strcmp.c: Remove checking of wcscmp function for
5022 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5023 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5024 wcsrchr-sse2 wcsrchr-c.
5025 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5026 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5027 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5028 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5029 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5030 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5031 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5032 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5034 * wcsmbc/wcschr.c (WCSCHR): New macro.
5036 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5038 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5039 * wcsmbs/test-wcsrchr.c: New file.
5040 * string/test-strrchr.c: Add wcsrchr support.
5042 * wcsmbs/test-wcscpy.c: New file.
5043 * string/test-strcpy.c: Add wcscpy support.
5046 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5051 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5054 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5056 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5059 Minor optimizations.
5061 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5062 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5063 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5065 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5067 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5068 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5069 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5070 for gcc to avoid warnings.
5071 * inet/Makefile (tests): Add tst-checks.
5072 * inet/tst-checks.c: New file.
5074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5077 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5080 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5081 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5083 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5085 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5087 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5090 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5092 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5094 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5095 conditional on GCC version.
5096 (__arch_compare_and_exchange_val_8_acq)
5097 (__arch_compare_and_exchange_val_16_acq)
5098 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5099 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5100 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5102 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5104 * sysdeps/sh/backtrace.c: New file.
5106 2011-12-02 Andreas Schwab <schwab@redhat.com>
5108 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5111 2011-12-01 Andreas Schwab <schwab@redhat.com>
5113 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5114 falling back to utime.
5116 2011-11-30 Andreas Schwab <schwab@redhat.com>
5118 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5119 expectations for float.
5121 2011-11-29 Andreas Schwab <schwab@redhat.com>
5123 * locale/weight.h (findidx): Add parameter len.
5124 * locale/weightwc.h (findidx): Likewise.
5125 * posix/fnmatch_loop.c (FCT): Adjust caller.
5126 * posix/regcomp.c (build_equiv_class): Likewise.
5127 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5128 * posix/regexec.c (check_node_accept_bytes): Likewise.
5129 * string/strcoll_l.c (STRCOLL): Likewise.
5130 * string/strxfrm_l.c (STRXFRM): Likewise.
5132 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5134 * Makefile.in: Remove CVSOPT handling.
5135 * configure.in: Remove use of AC_REVISION.
5136 * iconvdata/Makefile (distribute): No need to filter out CVS.
5137 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5140 2011-11-16 Andreas Schwab <schwab@redhat.com>
5142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5143 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5144 [USE_AS_STRNCASECMP_L]: Likewise.
5145 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5146 NO_TLS_DIRECT_SEG_REFS.
5147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5148 Fix argument offsets for non-PIC.
5149 [USE_AS_STRNCASECMP_L]: Likewise.
5150 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5151 NO_TLS_DIRECT_SEG_REFS.
5153 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5155 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5157 * locale/loadlocale.c (_nl_load_locale): Likewise.
5159 2011-11-15 Andreas Schwab <schwab@redhat.com>
5161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5162 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5164 (SYSCALL_GETTIME): Set errno on error.
5166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5167 count references to noai6ai_cached.
5169 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5171 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5173 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5174 FD_CLOEXEC for /proc/self/maps.
5176 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5177 FD_CLOEXEC for /proc/meminfo.
5179 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5182 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5183 FD_CLOEXEC for given file.
5185 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5187 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5188 FD_CLOEXEC for /etc/hosts.
5189 (_gethtent): Likewise.
5191 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5194 cancellation and set FD_CLOEXEC for /etc/netgroup.
5196 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5197 reading /etc/publickey.
5199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5200 allow cancellation when reading /etc/group.
5202 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5204 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5206 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5207 when using data file.
5209 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5211 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5212 (write_nis_obj): Use "c" and "e" in fopen.
5214 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5216 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5218 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5220 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5222 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5225 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5227 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5229 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5231 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5232 file parsing and set FD_CLOEXEC.
5234 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5236 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5238 2011-11-14 Andreas Schwab <schwab@redhat.com>
5240 * malloc/arena.c (arena_get2): Don't call reused_arena when
5241 _int_new_arena failed.
5243 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5245 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5246 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5251 to compile strcasecmp and strncasecmp.
5252 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5253 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5257 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5259 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5260 locale-defines.sym to gen-as-const-headers.
5261 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5262 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5264 to compile strcasecmp and strncasecmp.
5265 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5266 strcasecmp_l and strncasecmp_l.
5267 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5268 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5269 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5271 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5272 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5273 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5274 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5275 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5276 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5277 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5279 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5281 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5282 result of SYSDEP_GETTIME_CPU to retval.
5283 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5284 parameter list to macro. Remove trailing semicolon. Adjust users.
5286 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5289 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5291 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5294 from unused variable.
5296 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5298 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5301 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5304 * sunrpc/rpc_prot.c (rejected): Fix case value.
5306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5307 unsigned long long int to avoid warnings in shift.
5309 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5311 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5315 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5316 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5318 * nis/nis_table.c (nis_list): Use variable of correct type for
5319 result of __follow_path call.
5321 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5324 of math functions ceil, trunc, floor, round, and sqrt, when
5325 avaliable on the platform.
5326 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5332 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5334 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5337 2011-11-11 Roland McGrath <roland@hack.frob.com>
5339 * include/unistd.h: Fix __readlink return type.
5340 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5342 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5344 * stdlib/ucontext.h: Undo last change for makecontext.
5346 2011-11-11 Andreas Schwab <schwab@redhat.com>
5348 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5350 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5351 * setjmp/setjmp.h: Mark functions as non-leaf.
5352 * setjmp/bits/setjmp2.h: Likewise.
5353 * stdlib/ucontext.h: Likewise.
5355 2011-11-10 Andreas Schwab <schwab@redhat.com>
5357 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5358 (reused_arena): Don't check arena limit.
5359 (arena_get2): Atomically check arena limit.
5361 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5363 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5364 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5369 2011-11-07 Andreas Schwab <schwab@redhat.com>
5371 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5372 handler when locking.
5374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5375 Fix size of allocated buffer.
5377 2011-11-04 Andreas Schwab <schwab@redhat.com>
5380 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5381 declarations for long double functions.
5382 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5384 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5386 2011-11-03 Andreas Schwab <schwab@redhat.com>
5388 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5391 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5394 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5396 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5398 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5400 * include/alloca.h (stackinfo_alloca_round): Define.
5401 (extend_alloca): Use it.
5402 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5403 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5406 * scripts/check-local-headers.sh: Ignore libaudit.h.
5408 * nscd/Makefile (extra-objs): Make recursively expanded.
5410 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5412 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5415 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5416 * posix/tst-rfc3484-2.c: Likewise.
5417 * posix/tst-rfc3484-3.c: Likewise.
5419 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5421 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5423 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5424 process_vm_writev from libc using GLIBC_2.15 version.
5426 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5428 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5430 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5433 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5436 * nss/getent.c (initgroups_keys): Show error message in case no group
5439 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5440 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5441 __bump_nl_timestamp.
5442 * nscd/connections (nscd_init): When host database is served open
5443 netlink socket and request notification about configuration changes.
5444 (main_loop_poll): Track netlink file descriptor and bump timestamp
5445 in case data becomes available.
5446 (main_loop_epoll): Likewise.
5447 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5448 (database_pers_head): Add extra_data fileds.
5449 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5451 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5454 in6ai data, call __free_in6ai.
5455 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5457 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5458 interface information. Reuse previous data if netlink timestamp
5460 (__bump_nl_timestamp): New function.
5461 (__free_in6ai): New function.
5463 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5466 close_not_cancel_no_status here.
5467 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5469 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5472 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5475 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5476 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5477 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5479 2011-07-03 Andreas Jaeger <aj@suse.de>
5482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5483 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5484 * math/libm-test.inc (sin_test): Add test case.
5486 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5489 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5490 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5492 * elf/chroot_canon.c (chroot_canon): Cleanups.
5494 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5497 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5500 * string/test-strchr.c: Make usable for strchrnul testing.
5501 * string/test-strchrnul.c: New file.
5502 * string/Makefile (strop-tests): Add strchrnul.
5504 * po/it.po: Update from translation team.
5505 * po/es.po: Likewise.
5507 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5510 the three constants needed as parameters. Drop the others.
5511 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5512 __m128i_strloadu_tolower.
5513 Create and initialize variable zero and use it in all the places
5514 where _mm_setzero_si128 was used.
5516 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5517 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5518 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5524 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5525 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5526 __mpranred, __mptan.
5527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5535 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5537 2011-10-28 Andreas Schwab <schwab@redhat.com>
5539 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5541 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5544 wide char related routines to wcsmbs subdir.
5546 2011-10-27 Andreas Schwab <schwab@redhat.com>
5549 * misc/sys/cdefs.h (__THROWNL): Define.
5550 * posix/unistd.h: Use __THREADNL instead of __THREAD
5551 for memory synchronization functions.
5553 2011-10-26 Roland McGrath <roland@hack.frob.com>
5556 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5558 * manual/stdio.texi (Obstack Streams): Node removed.
5560 2011-10-26 Andreas Schwab <schwab@redhat.com>
5562 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5566 * math/math_private.h (math_force_eval): Allow non-addressable
5568 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5570 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5578 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5582 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5588 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5589 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5590 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5592 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5593 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5594 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5595 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5597 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5598 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5599 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5600 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5604 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5605 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5607 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5608 place. Use VEX encoding when compiling for AVX.
5610 2011-10-25 Andreas Schwab <schwab@redhat.com>
5612 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5613 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5615 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5617 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5619 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5620 useless if() expression.
5621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5639 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5641 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5643 2011-10-25 Andreas Schwab <schwab@redhat.com>
5645 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5649 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5651 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5652 .text section. Avoid duplicate constants.
5653 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5663 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5665 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5668 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5681 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5682 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5699 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5701 * sysdeps/x86_64/dla.h: Move to ...
5702 * sysdeps/x86_64/fpu/dla.h: ...here.
5703 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5704 situations. Use __builtin_fma only for gcc 4.6 and up.
5706 * config.make.in: Add have-mfma4 entry.
5707 * configure.in: Substitute libc_cv_cc_fma4.
5708 * math/Makefile (dbl-only-routines): Add sincostab.
5709 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5710 Use __sincostab not sincos.
5711 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5718 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5719 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5720 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5721 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5724 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5726 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5727 define aliases when function name is a macro.
5728 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5729 sysdeps/ieee754/dbl-64/sincos.tbl.
5730 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5731 fma4-enabled routines.
5732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5742 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5744 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5747 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5748 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5749 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5750 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5752 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5753 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5759 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5761 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5763 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5774 2011-10-24 Andreas Schwab <schwab@redhat.com>
5776 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5778 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5780 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5782 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5786 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5787 Remove unused variable magic_bits.
5788 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5790 * string/strnlen.c: Define and use STRNLEN macro.
5791 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5792 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5794 * wcsmbs/wcslen.c: Define and use WCSLEN.
5795 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5796 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5797 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5798 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5799 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5800 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5803 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5806 strnlen-sse2-no-bsf.
5807 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5809 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5810 Add strnlen support.
5811 (USE_AS_STRNLEN): New macro.
5812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5814 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5815 * sysdeps/x86_64/wcslen.S: New file.
5817 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5820 XMM-moves are used for copying on small sizes.
5822 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5824 * wcsmbs/Makefile (strop-tests): Add wcschr.
5825 * wcsmbs/test-wcschr.c: New file.
5826 * string/test-strchr.c: Update.
5830 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5832 * wcsmbs/Makefile (strop-tests): Add wcslen.
5833 * wcsmbs/test-wcslen.c: New file.
5834 * string/test-strlen.c: Update.
5838 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5840 * po/it.po: Update from translation team.
5842 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5844 * sysdeps/x86_64/wcscmp.S: Update.
5845 Fix wrong comparison semantics.
5846 wcscmp shall use signed comparison not unsigned.
5847 Don't use substraction to avoid overflow bug.
5848 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5849 * wcsmbc/wcscmp.c: Likewise.
5850 * string/test-strcmp.c: Likewise.
5851 Add new tests to check cases with negative values.
5853 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5855 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5856 * sysdeps/x86_64/dla.h: ...here. New file.
5857 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5867 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5870 __ynl_finite aliases.
5872 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5876 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5878 [DLA_FMA] (EMULV): Use DLA_FMA.
5879 [DLA_FMA] (MUL12): Use EMULV.
5880 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5881 that are not needed.
5882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5890 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5892 * math/s_nan.c: Undef __nan.
5893 * math/s_nanf.c: Undef __nanf.
5894 * math/s_nanl.c: Undef __nanl.
5895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5898 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5900 * math/s_catan.c: Add branch predictions.
5901 * math/s_catanf.c: Likewise.
5902 * math/s_catanh.c: Likewise.
5903 * math/s_catanhf.c: Likewise.
5904 * math/s_catanhl.c: Likewise.
5905 * math/s_catanl.c: Likewise.
5906 * math/s_cexp.c: Likewise.
5907 * math/s_cexpf.c: Likewise.
5908 * math/s_cexpl.c: Likewise.
5909 * math/s_clog.c: Likewise.
5910 * math/s_clog10.c: Likewise.
5911 * math/s_clog10f.c: Likewise.
5912 * math/s_clog10l.c: Likewise.
5913 * math/s_clogf.c: Likewise.
5914 * math/s_clogl.c: Likewise.
5915 * math/s_csqrt.c: Likewise.
5916 * math/s_csqrtf.c: Likewise.
5917 * math/s_csqrtl.c: Likewise.
5918 * math/s_ctanf.c: Likewise.
5919 * math/s_ctanh.c: Likewise.
5920 * math/s_ctanhf.c: Likewise.
5921 * math/s_ctanhl.c: Likewise.
5922 * math/s_ctanl.c: Likewise.
5924 * math/math_private.h: Define __nan, __nanf, __nanl.
5925 * math/s_cacosh.c: Include <math_private.h>.
5926 * math/s_cacoshl.c: Likewise.
5927 * math/s_casinh.c: Likewise.
5928 * math/s_casinhf.c: Likewise.
5929 * math/s_casinhl.c: Likewise.
5930 * math/s_ccos.c: Rely entire on ccosh.
5931 * math/s_ccosf.c: Rely entire on ccoshf.
5932 * math/s_ccosl.c: Rely entirely on ccoshl.
5933 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5934 Remove tests for FE_INVALID.
5935 * math/s_ccoshf.c: Likewise.
5936 * math/s_ccoshl.c: Likewise.
5937 * math/s_csin.c: Likewise.
5938 * math/s_csinf.c: Likewise.
5939 * math/s_csinh.c Likewise.
5940 * math/s_csinhf.c: Likewise.
5941 * math/s_csinhl.c: Likewise.
5942 * math/s_csinl.c: Likewise.
5943 * math/s_ctan.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5945 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5948 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5951 compilation problems.
5953 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5956 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5958 * sysdeps/i386/configure.in: Test for -mfma4 option.
5959 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5960 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5961 COMMON_CPUID_INDEX_80000001.
5962 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5963 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5964 use it if FMA3 is not supported.
5965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5967 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5968 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5970 2011-10-20 Andreas Schwab <schwab@redhat.com>
5973 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5974 it would create a cycle with a link time dependency.
5976 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5978 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5980 * string/Makefile (strop-tests): Add rawmemchr.
5981 * string/test-rawmemchr.c: New file.
5983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5985 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5986 when compiling str{,n}casecmp and when AVX is available. Hook up
5987 new optimized code in initializers.
5989 2011-10-19 Andreas Schwab <schwab@redhat.com>
5991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5992 __feraiseexcept instead of feraiseexcept.
5994 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5996 * math/math_private.h: Define defaults for libc_fetestexcept and
5998 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5999 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6003 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6004 libc_fetestexcept and libc_feupdateenv.
6006 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6007 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6008 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6009 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6010 libc_feholdexcept_setround.
6012 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6013 Add s_nearbyint-c and s_nearbyintf-c.
6014 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6016 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6018 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6021 * math/math_private.h: Define defaults for libc_fegetround,
6022 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6023 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6024 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6026 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6029 Remove comments and hacks for old compiler versions.
6030 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6031 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6034 2011-10-18 Andreas Schwab <schwab@redhat.com>
6036 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6037 (__feraiseexcept_renamed): Add __NTH.
6038 (feraiseexcept): Add __NTH. Rename local variables to fix
6039 namespace violations.
6041 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6043 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6047 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6048 recently added interfaces.
6049 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6051 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6052 about macro parameter expansion.
6054 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6055 __NO_MATH_INLINES is defined. Cleanups.
6057 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6058 and __floorf is target has SSE4.1.
6059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6060 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6061 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6062 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6064 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6068 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6070 2011-10-17 Andreas Schwab <schwab@redhat.com>
6072 * misc/sys/cdefs.h: Fix last change.
6074 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6077 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6079 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6081 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6090 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6091 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6092 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6093 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6095 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6096 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6098 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6099 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6100 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6102 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6105 ceil, ceilf, floor, floorf.
6107 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6108 Perform IRELATIVE relocations last.
6110 * elf/do-rel.h: Add another parameter nrelative, replacing the
6111 local variable with the same name. Change name of the function
6112 to end in Rel or Rela (uppercase).
6113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6114 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6115 elf_dynamic_do_##reloc function.
6117 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6119 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6120 is sufficient, at least on modern CPUs.
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6124 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6127 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6129 * math/bits/math-finite.h: Add entries for exp.
6130 * math/e_expl.c: Add __*_finite alias.
6131 * sysdeps/i386/fpu/e_exp.S: Likewise.
6132 * sysdeps/i386/fpu/e_expf.S: Likewise.
6133 * sysdeps/i386/fpu/e_expl.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6142 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6143 is sufficient, at least on modern CPUs.
6145 * ctype/ctype-info.c (__ctype_init): Define.
6146 * include/ctype.h (__ctype_init): Declare.
6147 (__ctype_b_loc): The variable is always initialized.
6148 (__ctype_toupper_loc): Likewise.
6149 (__ctype_tolower_loc): Likewise.
6150 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6151 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6153 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6155 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6157 * configure.in: Also look in $cxxmachine/include for C++ system
6160 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6162 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6163 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6164 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6165 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6167 (USE_AS_WMEMCMP): New macro.
6169 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6170 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6171 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6172 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6174 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6175 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6176 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6177 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6178 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6180 (USE_AS_WMEMCMP): New macro.
6181 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6182 * sysdeps/string/test-memcmp.c: Update.
6185 * wcsmbs/wmemcmp.c: Update.
6186 (WMEMCMP): New macro.
6189 2011-10-12 Andreas Jaeger <aj@suse.de>
6192 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6194 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6196 * libio/iofwide.c (do_length): Avoid warning.
6198 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6200 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6202 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6204 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6205 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6206 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6207 * sysdeps/i386/i686/fpu/e_log.S: New file.
6208 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6209 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6211 * ctype/ctype.h: Add support for inlined isXXX functions when
6214 2011-10-14 Andreas Schwab <schwab@redhat.com>
6216 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6218 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6220 2011-10-13 Roland McGrath <roland@hack.frob.com>
6223 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6225 2011-10-13 Andreas Schwab <schwab@redhat.com>
6227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6228 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6231 * sysdeps/x86_64/memrchr.S: Check for zero size.
6233 * string/stratcliff.c: Add memrchr tests.
6235 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6238 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6239 rawmemchr-sse2 rawmemchr-sse2-bsf.
6240 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6241 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6242 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6243 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6244 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6245 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6246 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6247 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6248 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6250 * string/memrchr.c (MEMRCHR): New macro.
6252 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6254 Add integration with gcc's -ffinite-math-only and optimize wrapper
6256 * Versions.def: Define GLIBC_2.15 version for libm.
6257 * math/Makefile (headers): Add bits/math-finite.h.
6258 * math/bits/math-finite.h: New file.
6259 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6260 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6261 * math/e_acoshl.c: Add __*_finite alias.
6262 * math/e_acosl.c: Likewise.
6263 * math/e_asinl.c: Likewise.
6264 * math/e_atan2l.c: Likewise.
6265 * math/e_atanhl.c: Likewise.
6266 * math/e_coshl.c: Likewise.
6267 * math/e_exp10.c: Likewise.
6268 * math/e_exp10f.c: Likewise.
6269 * math/e_exp10l.c: Likewise.
6270 * math/e_exp2l.c: Likewise.
6271 * math/e_fmodl.c: Likewise.
6272 * math/e_gammal_r.c: Likewise.
6273 * math/e_hypotl.c: Likewise.
6274 * math/e_j0l.c: Likewise.
6275 * math/e_j1l.c: Likewise.
6276 * math/e_jnl.c: Likewise.
6277 * math/e_lgammal_r.c: Likewise.
6278 * math/e_log10l.c: Likewise.
6279 * math/e_log2l.c: Likewise.
6280 * math/e_logl.c: Likewise.
6281 * math/e_powl.c: Likewise.
6282 * math/e_sinhl.c: Likewise.
6283 * math/e_sqrtl.c: Likewise.
6284 * math/e_scalb.c: Completely rewritten and optimized.
6285 * math/e_scalbf.c: Likewise.
6286 * math/e_scalbl.c: Likewise.
6287 * math/w_acos.c: Likewise.
6288 * math/w_acosf.c: Likewise.
6289 * math/w_acosl.c: Likewise.
6290 * math/w_acosh.c: Likewise.
6291 * math/w_acoshf.c: Likewise.
6292 * math/w_acoshl.c: Likewise.
6293 * math/w_asin.c: Likewise.
6294 * math/w_asinf.c: Likewise.
6295 * math/w_asinl.c: Likewise.
6296 * math/w_atan2.c: Likewise.
6297 * math/w_atan2f.c: Likewise.
6298 * math/w_atan2l.c: Likewise.
6299 * math/w_atanh.c: Likewise.
6300 * math/w_atanhf.c: Likewise.
6301 * math/w_atanhl.c: Likewise.
6302 * math/w_exp10.c: Likewise.
6303 * math/w_exp10f.c: Likewise.
6304 * math/w_exp10l.c: Likewise.
6305 * math/w_fmod.c: Likewise.
6306 * math/w_fmodf.c: Likewise.
6307 * math/w_fmodl.c: Likewise.
6308 * math/w_j0.c: Likewise.
6309 * math/w_j0f.c: Likewise.
6310 * math/w_j0l.c: Likewise.
6311 * math/w_j1.c: Likewise.
6312 * math/w_j1f.c: Likewise.
6313 * math/w_j1l.c: Likewise.
6314 * math/w_jn.c: Likewise.
6315 * math/w_jnf.c: Likewise.
6316 * math/w_log.c: Likewise.
6317 * math/w_logf.c: Likewise.
6318 * math/w_logl.c: Likewise.
6319 * math/w_log10.c: Likewise.
6320 * math/w_log10f.c: Likewise.
6321 * math/w_log10l.c: Likewise.
6322 * math/w_log2.c: Likewise.
6323 * math/w_log2f.c: Likewise.
6324 * math/w_log2l.c: Likewise.
6325 * math/w_pow.c: Likewise.
6326 * math/w_powf.c: Likewise.
6327 * math/w_powl.c: Likewise.
6328 * math/w_remainder.c: Likewise.
6329 * math/w_remainderf.c: Likewise.
6330 * math/w_remainderl.c: Likewise.
6331 * math/w_scalb.c: Likewise.
6332 * math/w_scalbf.c: Likewise.
6333 * math/w_scalbl.c: Likewise.
6334 * math/w_sqrt.c: Likewise.
6335 * math/w_sqrtf.c: Likewise.
6336 * math/w_sqrtl.c: Likewise.
6337 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6338 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6340 * math/math_private.h: Declare __kernel_standard_f.
6341 * math/w_cosh.c: Remove cruft and optimize a bit.
6342 * math/w_coshf.c: Likewise.
6343 * math/w_coshl.c: Likewise.
6344 * math/w_exp2.c: Likewise.
6345 * math/w_exp2f.c: Likewise.
6346 * math/w_exp2l.c: Likewise.
6347 * math/w_hypot.c: Likewise.
6348 * math/w_hypotf.c: Likewise.
6349 * math/w_hypotl.c: Likewise.
6350 * math/w_lgamma.c: Likewise.
6351 * math/w_lgamma_r.c: Likewise.
6352 * math/w_lgammaf.c: Likewise.
6353 * math/w_lgammaf_r.c: Likewise.
6354 * math/w_lgammal.c: Likewise.
6355 * math/w_lgammal_r.c: Likewise.
6356 * math/w_sinh.c: Likewise.
6357 * math/w_sinhf.c: Likewise.
6358 * math/w_sinhl.c: Likewise.
6359 * math/w_tgamma.c: Likewise.
6360 * math/w_tgammaf.c: Likewise.
6361 * math/w_tgammal.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6364 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6365 Minor optimizations. Pretty printing. Remove cruft.
6366 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6369 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6370 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6371 * sysdeps/i386/fpu/e_asin.S: Likewise.
6372 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6373 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6374 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6375 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6379 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6380 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6381 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6382 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6383 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6384 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6385 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6386 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6387 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6388 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6389 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6390 * sysdeps/i386/fpu/e_log.S: Likewise.
6391 * sysdeps/i386/fpu/e_log10.S: Likewise.
6392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6394 * sysdeps/i386/fpu/e_log2.S: Likewise.
6395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6397 * sysdeps/i386/fpu/e_logf.S: Likewise.
6398 * sysdeps/i386/fpu/e_logl.S: Likewise.
6399 * sysdeps/i386/fpu/e_pow.S: Likewise.
6400 * sysdeps/i386/fpu/e_powf.S: Likewise.
6401 * sysdeps/i386/fpu/e_powl.S: Likewise.
6402 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6403 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6404 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6405 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6408 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6409 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6410 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6432 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6435 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6436 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6438 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6445 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6446 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6502 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6503 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6504 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6505 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6506 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6507 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6508 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6509 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6510 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6511 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6512 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6513 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6514 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6519 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6521 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6522 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6523 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6524 (__isnanf): Likewise.
6525 (__isinf_ns): Likewise.
6526 (__isinf_nsf): Likewise.
6527 (__finite): Likewise.
6528 (__finitef): Likewise.
6529 (__ieee754_sqrt): Define as macro.
6530 (__ieee754_sqrtf): Define as macro.
6531 (__ieee754_sqrtl): Define as macro.
6532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6534 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6535 __FINITE_MATH_ONLY__ consistent.
6536 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6538 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6540 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6545 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6547 * po/ja.po: Update from translation team.
6549 2011-10-08 Roland McGrath <roland@hack.frob.com>
6551 * locale/programs/locarchive.c (prepare_address_space): New function.
6552 (create_archive, enlarge_archive, open_archive): Use it.
6554 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6555 inside [SHARED], where it is used.
6557 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6559 * nss/getent.c (netgroup_keys): Remove unused variable.
6560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6562 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6564 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6565 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6568 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6570 * math/Makefile (libm-calls): Add s_isinf_ns.
6571 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6572 * math/multc3.c: Likewise.
6573 * math/s_casin.c: Likewise.
6574 * math/s_casinf.c: Likewise.
6575 * math/s_casinl.c: Likewise.
6576 * math/s_ccos.c: Likewise.
6577 * math/s_ccosf.c: Likewise.
6578 * math/s_ccosl.c: Likewise.
6579 * math/s_ctan.c: Likewise.
6580 * math/s_ctanf.c: Likewise.
6581 * math/s_ctanh.c: Likewise.
6582 * math/s_ctanhf.c: Likewise.
6583 * math/s_ctanhl.c: Likewise.
6584 * math/s_ctanl.c: Likewise.
6585 * math/w_fmod.c: Likewise.
6586 * math/w_fmodf.c: Likewise.
6587 * math/w_fmodl.c: Likewise.
6588 * math/w_remainder.c: Likewise.
6589 * math/w_remainderf.c: Likewise.
6590 * math/w_remainderl.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6592 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6595 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6596 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6597 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6598 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6600 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6602 * stdio-common/printf_fphex.c: Likewise.
6603 * stdio-common/printf_size.c: Likewise.
6605 * math/e_exp10.c: Include math_private.h using <...> not "...".
6606 * math/e_exp10f.c: Likewise.
6607 * math/e_exp10l.c: Likewise.
6608 * math/e_exp2l.c: Likewise.
6609 * math/e_j0l.c: Likewise.
6610 * math/e_j1l.c: Likewise.
6611 * math/e_jnl.c: Likewise.
6612 * math/e_lgammal_r.c: Likewise.
6613 * math/e_rem_pio2l.c: Likewise.
6614 * math/e_scalb.c: Likewise.
6615 * math/e_scalbf.c: Likewise.
6616 * math/e_scalbl.c: Likewise.
6617 * math/k_cosl.c: Likewise.
6618 * math/k_sinl.c: Likewise.
6619 * math/k_tanl.c: Likewise.
6620 * math/s_cacoshf.c: Likewise.
6621 * math/s_catan.c: Likewise.
6622 * math/s_catanf.c: Likewise.
6623 * math/s_catanh.c: Likewise.
6624 * math/s_catanhf.c: Likewise.
6625 * math/s_catanhl.c: Likewise.
6626 * math/s_catanl.c: Likewise.
6627 * math/s_ccosh.c: Likewise.
6628 * math/s_ccoshf.c: Likewise.
6629 * math/s_ccoshl.c: Likewise.
6630 * math/s_cexp.c: Likewise.
6631 * math/s_cexpf.c: Likewise.
6632 * math/s_cexpl.c: Likewise.
6633 * math/s_clog.c: Likewise.
6634 * math/s_clog10.c: Likewise.
6635 * math/s_clog10f.c: Likewise.
6636 * math/s_clog10l.c: Likewise.
6637 * math/s_clogf.c: Likewise.
6638 * math/s_clogl.c: Likewise.
6639 * math/s_csin.c: Likewise.
6640 * math/s_csinf.c: Likewise.
6641 * math/s_csinh.c: Likewise.
6642 * math/s_csinhf.c: Likewise.
6643 * math/s_csinhl.c: Likewise.
6644 * math/s_csinl.c: Likewise.
6645 * math/s_csqrt.c: Likewise.
6646 * math/s_csqrtf.c: Likewise.
6647 * math/s_csqrtl.c: Likewise.
6648 * math/s_ctan.c: Likewise.
6649 * math/s_ctanf.c: Likewise.
6650 * math/s_ctanh.c: Likewise.
6651 * math/s_ctanhf.c: Likewise.
6652 * math/s_ctanhl.c: Likewise.
6653 * math/s_ctanl.c: Likewise.
6654 * math/s_ldexp.c: Likewise.
6655 * math/s_ldexpf.c: Likewise.
6656 * math/s_ldexpl.c: Likewise.
6657 * math/s_significand.c: Likewise.
6658 * math/s_significandf.c: Likewise.
6659 * math/s_significandl.c: Likewise.
6660 * math/w_acos.c: Likewise.
6661 * math/w_acosf.c: Likewise.
6662 * math/w_acosh.c: Likewise.
6663 * math/w_acoshf.c: Likewise.
6664 * math/w_acoshl.c: Likewise.
6665 * math/w_acosl.c: Likewise.
6666 * math/w_asin.c: Likewise.
6667 * math/w_asinf.c: Likewise.
6668 * math/w_asinl.c: Likewise.
6669 * math/w_atan2.c: Likewise.
6670 * math/w_atan2f.c: Likewise.
6671 * math/w_atan2l.c: Likewise.
6672 * math/w_atanh.c: Likewise.
6673 * math/w_atanhf.c: Likewise.
6674 * math/w_atanhl.c: Likewise.
6675 * math/w_cosh.c: Likewise.
6676 * math/w_coshf.c: Likewise.
6677 * math/w_coshl.c: Likewise.
6678 * math/w_dremf.c: Likewise.
6679 * math/w_exp10.c: Likewise.
6680 * math/w_exp10f.c: Likewise.
6681 * math/w_exp10l.c: Likewise.
6682 * math/w_exp2.c: Likewise.
6683 * math/w_exp2f.c: Likewise.
6684 * math/w_fmod.c: Likewise.
6685 * math/w_fmodf.c: Likewise.
6686 * math/w_fmodl.c: Likewise.
6687 * math/w_hypot.c: Likewise.
6688 * math/w_hypotf.c: Likewise.
6689 * math/w_hypotl.c: Likewise.
6690 * math/w_j0.c: Likewise.
6691 * math/w_j0f.c: Likewise.
6692 * math/w_j0l.c: Likewise.
6693 * math/w_j1.c: Likewise.
6694 * math/w_j1f.c: Likewise.
6695 * math/w_j1l.c: Likewise.
6696 * math/w_jn.c: Likewise.
6697 * math/w_jnf.c: Likewise.
6698 * math/w_jnl.c: Likewise.
6699 * math/w_lgamma.c: Likewise.
6700 * math/w_lgamma_r.c: Likewise.
6701 * math/w_lgammaf.c: Likewise.
6702 * math/w_lgammaf_r.c: Likewise.
6703 * math/w_lgammal.c: Likewise.
6704 * math/w_lgammal_r.c: Likewise.
6705 * math/w_log.c: Likewise.
6706 * math/w_log10.c: Likewise.
6707 * math/w_log10f.c: Likewise.
6708 * math/w_log10l.c: Likewise.
6709 * math/w_log2.c: Likewise.
6710 * math/w_log2f.c: Likewise.
6711 * math/w_log2l.c: Likewise.
6712 * math/w_logf.c: Likewise.
6713 * math/w_logl.c: Likewise.
6714 * math/w_pow.c: Likewise.
6715 * math/w_powf.c: Likewise.
6716 * math/w_powl.c: Likewise.
6717 * math/w_remainder.c: Likewise.
6718 * math/w_remainderf.c: Likewise.
6719 * math/w_remainderl.c: Likewise.
6720 * math/w_scalb.c: Likewise.
6721 * math/w_scalbf.c: Likewise.
6722 * math/w_scalbl.c: Likewise.
6723 * math/w_sinh.c: Likewise.
6724 * math/w_sinhf.c: Likewise.
6725 * math/w_sinhl.c: Likewise.
6726 * math/w_sqrt.c: Likewise.
6727 * math/w_sqrtf.c: Likewise.
6728 * math/w_sqrtl.c: Likewise.
6729 * math/w_tgamma.c: Likewise.
6730 * math/w_tgammaf.c: Likewise.
6731 * math/w_tgammal.c: Likewise.
6733 * po/ja.po: Update from translation team.
6735 2011-09-29 Andreas Jaeger <aj@suse.de>
6738 * sunrpc/netname.c (netname2host): Fix logic.
6742 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6744 * math/w_remainder.c (__remainder): Likewise.
6745 * math/w_remainderf.c (__remainderf): Likewise.
6746 * math/libm-test.inc (remainder_test): Add test cases.
6748 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6750 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6753 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6755 * string/test-memcmp.c: Avoid unncessary #defines.
6756 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6758 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6760 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6761 Use new sse2 version for core i3 - i7 as it's faster
6763 (bit_Prefer_PMINUB_for_stringop): New.
6764 * sysdeps/x86_64/rawmemchr.S: Update.
6765 Replace with faster SSE2 version.
6766 * sysdeps/x86_64/memrchr.S: New file.
6767 * sysdeps/x86_64/memchr.S: Update.
6768 Replace with faster SSE2 version.
6770 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6772 * elf/dl-load.c (lose): Add cast to avoid warning.
6774 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6776 * po/ca.po: Update from translation team.
6778 * inet/getnetgrent_r.c: Hook up nscd.
6779 * nscd/Makefile (routines): Add nscd_netgroup.
6780 (nscd-modules): Add netgroupcache.
6781 (CFLAGS-netgroupcache.c): Define.
6782 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6783 (cache_search): Add const to second parameter.
6784 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6786 (dbs): Add netgrdb entry.
6787 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6788 (verify_persistent_db): Handle netgrdb.
6789 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6790 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6792 (netgroup_response_header): Define.
6793 (innetgroup_response_header): Define.
6794 (datahead): Add netgroup_response_header and innetgroup_response_header
6796 * nscd/nscd.conf: Add entries for netgroup cache.
6797 * nscd/nscd.h (dbtype): Add netgrdb.
6798 (_PATH_NSCD_NETGROUP_DB): Define.
6799 (netgroup_iov_disabled): Declare.
6800 (xmalloc, xcalloc, xrealloc): Move declarations here.
6801 (cache_search): Adjust prototype.
6802 Add netgroup-related prototypes.
6803 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6804 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6805 (__nscd_innetgr): Declare.
6806 * nscd/selinux.c (perms): Use access_vector_t as element type and
6807 add netgroup-related initializers.
6808 * nscd/netgroupcache.c: New file.
6809 * nscd/nscd_netgroup.c: New file.
6810 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6811 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6812 For four parameters use innetgr.
6813 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6814 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6815 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6816 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6818 * nscd/connections.c (register_traced_file): Don't register file
6819 for disabled databases.
6821 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6823 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6825 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6826 from tree and freeing node.
6828 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6830 * nss/nsswitch.c (__nss_database_lookup): Handle
6831 nss_parse_service_list out of memory case.
6833 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6835 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6838 2011-10-04 Andreas Schwab <schwab@redhat.com>
6840 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6841 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6843 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6844 elf_machine_rela, elf_machine_lazy_rel.
6845 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6846 (ELF_DYNAMIC_DO_REL): Likewise.
6847 (ELF_DYNAMIC_DO_RELA): Likewise.
6848 (ELF_DYNAMIC_RELOCATE): Likewise.
6849 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6850 to ELF_DYNAMIC_DO_REL.
6851 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6852 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6853 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6856 skip_ifunc, don't call ifunc function if non-zero.
6857 (elf_machine_rela): Likewise.
6858 (elf_machine_lazy_rel): Likewise.
6859 (elf_machine_lazy_rela): Likewise.
6860 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6861 (elf_machine_lazy_rel): Likewise.
6862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6864 (elf_machine_lazy_rel): Likewise.
6865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6867 (elf_machine_lazy_rel): Likewise.
6868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6869 (elf_machine_lazy_rel): Likewise.
6870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6871 (elf_machine_lazy_rel): Likewise.
6872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6873 (elf_machine_lazy_rel): Likewise.
6874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6875 (elf_machine_lazy_rel): Likewise.
6876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6877 (elf_machine_lazy_rel): Likewise.
6878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6879 (elf_machine_lazy_rel): Likewise.
6881 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6883 * nss/nss_files/files-init.c (_nss_files_init): Use static
6884 initialization for all the *_traced_file variables.
6886 2011-09-28 Andreas Schwab <schwab@redhat.com>
6888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6890 2011-09-27 Roland McGrath <roland@hack.frob.com>
6893 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6895 2011-09-27 Andreas Schwab <schwab@redhat.com>
6897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6898 Reread the line before reparsing it.
6900 2011-09-26 Andreas Schwab <schwab@redhat.com>
6902 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6904 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6905 Maxim Kuvyrkov <maxim@codesourcery.com>
6906 Joseph Myers <joseph@codesourcery.com>
6908 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6909 if needed for __stack_chk_guard.
6911 2011-09-19 Roland McGrath <roland@hack.frob.com>
6913 * sysdeps/posix/spawni.c (script_execute): Always define it.
6914 It will be optimized away if unused.
6915 (maybe_script_execute): New function.
6916 (__spawni): Call it.
6918 * Makerules: Don't include tls.make.
6919 (config-tls): Always set to thread.
6920 * tls.make.c: File removed.
6922 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6924 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6925 * config.make.in (CPPFLAGS-config): New substituted variable.
6927 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6932 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6933 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6935 2011-09-15 Roland McGrath <roland@hack.frob.com>
6937 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6938 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6940 (CALL_FAIL): Likewise.
6941 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6942 (CALL_FAIL): Macro removed.
6943 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6945 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6947 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6948 for __FINITE_MATH_ONLY__ == 1.
6950 2011-09-15 Andreas Schwab <schwab@redhat.com>
6952 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6953 __ieee754_sqrt instead of sqrt.
6954 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6955 __ieee754_sqrtf instead of sqrtf.
6956 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6957 __floorf instead of floorf.
6958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6959 __floorf, __truncf instead of floorf, truncf.
6961 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6963 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6965 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6966 __extern_always_inline.
6967 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6970 2011-09-14 Andreas Schwab <schwab@redhat.com>
6972 * elf/rtld.c (dl_main): Also relocate in dependency order when
6973 doing symbol dependency testing.
6975 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6978 Always define `refsym'.
6980 2011-09-13 Andreas Schwab <schwab@redhat.com>
6982 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6983 (__FD_ELT): Renamed from __FDELT.
6984 * misc/bits/select2.h (__FD_ELT): Likewise.
6985 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6986 __FD_MASK instead of __FDELT, __FDMASK.
6987 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6989 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6992 * elf/Makefile (gen-ldd): Fix pattern.
6994 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6995 (init_tls): Likewise.
6997 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7001 2011-09-12 Andreas Schwab <schwab@redhat.com>
7003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7004 `struct cmsghdr *' instead of `void *'.
7005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7008 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7010 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7012 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7015 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7017 * configure.in: Remove --with-tls option.
7018 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7019 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7020 out in case it is missing.
7021 * sysdeps/ia64/elf/configure.in: Likewise.
7022 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7023 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7024 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7025 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7026 * sysdeps/sh/elf/configure.in: Likewise.
7027 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7028 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7029 * sysdeps/x86_64/elf/configure.in: Likewise.
7030 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7031 * sysdeps/mach/hurd/tls.h: Likewise.
7034 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7037 * configure.in: Fix use of AC_INIT.
7039 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7041 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7043 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7045 * malloc/hooks.c: Likewise.
7048 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7049 variables statically.
7050 (narenas): Initialize.
7051 (list_lock): Initialize.
7052 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7053 initializtion of main_arena and list_lock. Small cleanups.
7054 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7055 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7056 Add initializers to main_arena and mp_.
7057 (malloc_state): Remove pagesize member. Change all users to use
7060 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7061 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7062 is always initialized.
7064 * malloc/malloc.c: Removed unused configurations and dead code.
7065 * malloc/arena.c: Likewise.
7066 * malloc/hooks.c: Likewise.
7067 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7069 * include/tls.h: Removed. USE___THREAD must always be defined.
7070 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7071 * elf/dl-libc.c: Likewise.
7072 * elf/dl-tsd.c: Likewise.
7073 * include/errno.h: Likewise.
7074 * include/netdb.h: Likewise.
7075 * include/resolv.h: Likewise.
7076 * inet/herrno-loc.c: Likewise.
7077 * inet/herrno.c: Likewise.
7078 * malloc/arena.c: Likewise.
7079 * malloc/hooks.c: Likewise.
7080 * malloc/malloc.c: Likewise.
7081 * resolv/res-state.c: Likewise.
7082 * resolv/res_libc.c: Likewise.
7083 * sysdeps/i386/dl-machine.h: Likewise.
7084 * sysdeps/ia64/dl-machine.h: Likewise.
7085 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7086 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7087 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7088 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7089 * sysdeps/sh/dl-machine.h: Likewise.
7090 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7091 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7092 * sysdeps/unix/i386/sysdep.S: Likewise.
7093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7094 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7099 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7103 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7104 * sysdeps/x86_64/dl-machine.h: Likewise.
7105 * tls.make.c: Likewise.
7107 * configure.in: Remove --with-__thread option. Make tests for
7108 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7109 tls_model attribute fail if no support is available. Remove
7111 * Makeconfig: Adjust for dropped configure option. All features are
7113 * Makerules: Likewise.
7114 * Versions.def: Likewise.
7115 * argp/argp-fmtstream.c: Likewise.
7116 * argp/argp-fmtstream.h: Likewise.
7117 * argp/argp-help.c: Likewise.
7118 * assert/assert.c: Likewise.
7119 * config.h.in: Likewise.
7120 * config.make.in: Likewise.
7121 * configure: Likewise.
7122 * configure.in: Likewise.
7123 * csu/Versions: Likewise.
7124 * csu/init.c: Likewise.
7125 * elf/tst-audit2.c: Likewise.
7126 * elf/tst-tls10.c: Likewise.
7127 * elf/tst-tls10.h: Likewise.
7128 * elf/tst-tls11.c: Likewise.
7129 * elf/tst-tls12.c: Likewise.
7130 * elf/tst-tls14.c: Likewise.
7131 * elf/tst-tlsmod11.c: Likewise.
7132 * elf/tst-tlsmod12.c: Likewise.
7133 * elf/tst-tlsmod13.c: Likewise.
7134 * elf/tst-tlsmod13a.c: Likewise.
7135 * elf/tst-tlsmod14a.c: Likewise.
7136 * elf/tst-tlsmod15b.c: Likewise.
7137 * elf/tst-tlsmod16a.c: Likewise.
7138 * elf/tst-tlsmod16b.c: Likewise.
7139 * elf/tst-tlsmod7.c: Likewise.
7140 * elf/tst-tlsmod8.c: Likewise.
7141 * elf/tst-tlsmod9.c: Likewise.
7142 * gmon/gmon.c: Likewise.
7143 * grp/fgetgrent_r.c: Likewise.
7144 * grp/putgrent.c: Likewise.
7145 * hurd/fopenport.c: Likewise.
7146 * include/libc-symbols.h: Likewise.
7147 * include/tls.h: Likewise.
7148 * intl/gettextP.h: Likewise.
7149 * intl/loadinfo.h: Likewise.
7150 * locale/global-locale.c: Likewise.
7151 * locale/localeinfo.h: Likewise.
7152 * mach/devstream.c: Likewise.
7153 * malloc/arena.c: Likewise.
7154 * malloc/set-freeres.c: Likewise.
7155 * misc/err.c: Likewise.
7156 * misc/getttyent.c: Likewise.
7157 * misc/mntent_r.c: Likewise.
7158 * posix/getopt.c: Likewise.
7159 * posix/wordexp.c: Likewise.
7160 * pwd/fgetpwent_r.c: Likewise.
7161 * resolv/Versions: Likewise.
7162 * resolv/res_hconf.c: Likewise.
7163 * shadow/fgetspent_r.c: Likewise.
7164 * shadow/putspent.c: Likewise.
7165 * stdio-common/printf_fphex.c: Likewise.
7166 * stdio-common/tmpfile.c: Likewise.
7167 * stdlib/abort.c: Likewise.
7168 * stdlib/fmtmsg.c: Likewise.
7169 * sunrpc/auth_unix.c: Likewise.
7170 * sunrpc/clnt_perr.c: Likewise.
7171 * sunrpc/clnt_tcp.c: Likewise.
7172 * sunrpc/clnt_udp.c: Likewise.
7173 * sunrpc/clnt_unix.c: Likewise.
7174 * sunrpc/openchild.c: Likewise.
7175 * sunrpc/svc_simple.c: Likewise.
7176 * sunrpc/svc_tcp.c: Likewise.
7177 * sunrpc/svc_udp.c: Likewise.
7178 * sunrpc/svc_unix.c: Likewise.
7179 * sunrpc/xdr.c: Likewise.
7180 * sunrpc/xdr_array.c: Likewise.
7181 * sunrpc/xdr_rec.c: Likewise.
7182 * sunrpc/xdr_ref.c: Likewise.
7183 * sunrpc/xdr_stdio.c: Likewise.
7185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7187 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7189 2011-07-03 Andreas Jaeger <aj@suse.de>
7191 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7192 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7193 regenerate with gen-libm-tests.pl.
7195 2010-05-12 Petr Baudis <pasky@suse.cz>
7198 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7199 around j0() zero points by switching to j1().
7200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7205 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7212 Patch in part by Pavel Roskin <proski@gnu.org>.
7215 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7217 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7218 Free memory block if necessary.
7221 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7222 be NULL. Don't lock in this case.
7224 2011-09-09 Roland McGrath <roland@hack.frob.com>
7226 * elf/elf.h (ELFOSABI_GNU): New macro.
7227 (ELFOSABI_LINUX): Define to that.
7229 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7231 * string/strncat.c (strncat): Undef the symbol in case it has been
7232 defined in bits/string.h.
7234 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7236 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7241 2011-08-17 Andreas Jaeger <aj@suse.de>
7243 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7245 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7246 Ian Lance Taylor <iant@google.com>
7248 * math/libm-test.inc (lround_test): New testcase.
7249 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7251 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7253 * Makefile: Remove support for automatic cvs check-ins.
7254 * Makerules: Likewise.
7255 * config.make.in: Likewise.
7256 * configure.in: Likewise.
7257 * intl/Makefile: Likewise.
7258 * locale/Makefile: Likewise.
7259 * po/Makefile: Likewise.
7260 * posix/Makefile: Likewise.
7261 * sysdeps/gnu/Makefile: Likewise.
7262 * sysdeps/mach/hurd/Makefile: Likewise.
7263 * sysdeps/sparc/sparc32/Makefile: Likewise.
7266 * posix/Makefile (bug-regex32-ENV): Define.
7267 Patch by John Stanley <jpsinthemix@verizon.net>.
7269 * misc/Makefile (headers): Add bits/select2.h.
7270 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7271 * misc/bits/select2.h: New file.
7272 * include/bits/select2.h: New file.
7273 * debug/Makefile (routines): Add fdelt_chk.
7274 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7275 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7277 * debug/fdelt_chk.c: New file.
7279 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7280 * wcsmbs/test-wmemcmp.c: Likewise.
7281 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7282 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7284 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7286 * string/Makefile (strop-tests): Add memcmp.
7287 * string/test-wmemcmp.c: New file.
7288 * string/test-memcmp.c: Add wmemcmp support.
7290 2011-09-08 Roland McGrath <roland@hack.frob.com>
7293 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7296 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7297 garbage value in a __mach_port_mod_refs call in the cases of the
7298 task-self and thread-self ports.
7300 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7302 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7304 2011-09-08 Andreas Schwab <schwab@redhat.com>
7306 * elf/dl-load.c (lose): Check for non-null L.
7308 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7310 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7312 * elf/dl-libc.c (dlerror_run): Pass back error code from
7316 * elf/dl-load.c (lose): Free l_origin if it is valid.
7318 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7320 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7325 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7327 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7329 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7330 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7333 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7334 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7335 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7336 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7337 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7338 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7340 2011-08-15 Alan Modra <amodra@gmail.com>
7343 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7344 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7345 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7346 ppc_mcount to static-only-routines.
7347 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7349 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7350 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7352 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7355 for finite and infinity parameters.
7357 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7360 and add nop instructions for throughput optimization.
7361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7363 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7366 aligned copy for power7 with vector-scalar instructions.
7367 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7369 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7374 2011-09-07 Andreas Schwab <schwab@redhat.com>
7377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7380 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7382 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7383 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7384 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7388 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7391 Forgot to demangle the pointer.
7393 * sysdeps/i386/sysdep.h: Define atom_text_section.
7394 * sysdeps/x86_64/sysdep.h: Likewise.
7395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7396 section with atom_text_section.
7397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7401 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7405 already be defined. Change to take two parameters and don't assign
7406 result to variable. Adjust all users.
7407 Define INTERNAL_GETTIME if not already defined.
7408 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7411 HAVE_CLOCK_GETTIME_VSYSCALL.
7412 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7415 gettimeofday vsyscall, just use time.
7417 2011-09-06 Andreas Schwab <schwab@redhat.com>
7419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7422 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7424 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7428 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7430 syscall if possible.
7432 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7434 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7435 e_ident. Don't pass to find_mapsXX.
7436 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7438 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7441 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7442 * sysdeps/x86_64/multiarch/strchr.S: Update.
7443 Check bit_slow_BSF bit.
7444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7445 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7448 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7451 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7454 (__spawni): Change last parameter to be flag. Test
7455 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7456 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7457 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7458 * posix/spawni.c: Likewise.
7459 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7460 * posix/spawnp.c: Likewise. Change normal version to use
7461 SPAWN_XFLAGS_USE_PATH.
7462 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7463 SPAWN_XFLAGS_TRY_SHELL.
7466 * posix/glob.h: Remove gcc 1.x support.
7469 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7471 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7474 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7476 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7477 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7478 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7481 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7483 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7485 * sysdeps/x86_64/wcscmp.S: New file.
7487 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7488 wcscmp-c wcscmp-sse2
7489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7490 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7492 * wcsmbs/wcscmp.c: Allow renaming.
7494 2011-09-05 David S. Miller <davem@davemloft.net>
7496 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7497 stack slot, rather than the struct return pointer slot.
7498 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7499 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7503 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7505 * po/ja.po: Update from translation team.
7508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7509 kernel in 64-bit binaries.
7511 2011-09-01 David S. Miller <davem@davemloft.net>
7513 * elf/elf.h (HWCAP_SPARC_*): Move to..
7514 * sysdeps/sparc/sysdep.h: this new file and add new values.
7515 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7516 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7517 _DL_HWCAP_COUNT to 24.
7518 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7520 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7521 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7522 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7524 instead of magic constants.
7525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7527 2011-08-31 David S. Miller <davem@davemloft.net>
7529 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7531 Reimplement to do errno handling inline.
7532 (SYSCALL_ERROR_HANDLER): New macro.
7533 (__SYSCALL_STRING): Do not do errno handling in asm.
7534 (__CLONE_SYSCALL_STRING): Delete.
7535 (__INTERNAL_SYSCALL_STRING): Delete.
7536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7537 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7538 (PSEUDO): Reimplement to do errno handling inline.
7539 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
7545 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7547 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7548 (inline_syscall*): Add 'err' argument.
7549 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7550 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7551 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7552 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7554 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7557 2011-08-30 Andreas Schwab <schwab@redhat.com>
7559 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7561 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7563 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7566 2011-08-24 David S. Miller <davem@davemloft.net>
7568 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7570 2011-08-24 Andreas Schwab <schwab@redhat.com>
7572 * elf/Makefile: Add rules to build and run unload8 test.
7573 * elf/unload8.c: New file.
7574 * elf/unload8mod1.c: New file.
7575 * elf/unload8mod1x.c: New file.
7576 * elf/unload8mod2.c: New file.
7577 * elf/unload8mod3.c: New file.
7579 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7582 2011-08-23 David S. Miller <davem@davemloft.net>
7584 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7585 subtract stack bias.
7586 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7587 %sp not %fp in calculations.
7588 (_JMPBUF_UNWINDS_ADJ): Likewise.
7590 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7591 (aio_suspend): Call it to force an exception region around the
7592 AIO_MISC_WAIT() invocation.
7594 2011-08-23 Andreas Schwab <schwab@redhat.com>
7596 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7599 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7601 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7603 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7605 (Elf64_FuncDesc): Remove.
7607 2011-08-22 David S. Miller <davem@davemloft.net>
7609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7610 sigaltstack check, add missing cfi directives.
7611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7612 missing cfi directives, and sigaltstack handling.
7614 2011-08-16 Andreas Schwab <schwab@redhat.com>
7617 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7618 object is seen twice.
7619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7621 * elf/Makefile (distribute): Add tst-initorder2.c.
7622 (tests): Add tst-initorder2.
7623 (modules-names): Add tst-initorder2a tst-initorder2b
7624 tst-initorder2c tst-initorder2d. Add rules to build them.
7625 ($(objpfx)tst-initorder2.out): New rule.
7626 * elf/tst-initorder2.c: New file.
7627 * elf/tst-initorder2.exp: New file.
7629 2011-08-22 Andreas Schwab <schwab@redhat.com>
7631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7633 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7634 dependencies back to end of function.
7636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7639 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7642 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7644 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7645 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7646 of __vdso_gettimeofday.
7647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7648 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7650 (_libc_vdso_platform_setup): Remove initialization of
7651 __vdso_gettimeofday and __vdso_time.
7653 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7655 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7657 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7660 * elf/dl-open.c (add_to_global): Report additions to the global scope
7661 for LD_DEBUG=scopes.
7662 (dl_open_worker): Also print scope of newly loaded dependencies.
7663 (_dl_show_scope): Indicate if there is no scope.
7666 * stdio-common/Makefile (tests): Add bug24.
7667 * stdio-common/bug24.c: New file.
7669 2011-08-19 Andreas Jaeger <aj@suse.de>
7672 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7673 non-existant file when using close-on-exec mode.
7675 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7678 the very first instruction.
7680 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7681 the CFI state in the end.
7682 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7683 inclusion of dl-trampoline.h.
7684 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7686 2011-08-19 Andreas Schwab <schwab@redhat.com>
7688 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7689 expectations for long double.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7692 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7694 2011-08-14 David S. Miller <davem@davemloft.net>
7696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7697 artificual limit depends upon the system page size.
7699 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7701 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7702 * resolv/Makefile: Define CFLAGS-libresolv.
7704 2011-08-17 Andreas Schwab <schwab@redhat.com>
7706 * nss/makedb.c (compute_tables): Make variables used in nested
7709 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7711 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7712 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7713 if buffer was too small.
7715 * elf/pldd.c (main): Attach to all threads in the process.
7716 Rewrite /proc handling to use *at functions.
7718 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7720 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7721 specifies first scope to show.
7722 (dl_open_worker): Update callers. Move printing scope of new
7723 object to before the relocation.
7724 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7725 * sysdeps/generic/ldsodefs.h: Update declaration.
7727 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7728 string for the scope number.
7730 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7732 * nscd/servicescache.c (cache_addserv): Make sure written is always
7735 2011-08-14 Roland McGrath <roland@hack.frob.com>
7737 * sysdeps/i386/i486/bits/atomic.h
7738 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7739 statement expression, so as to suppress "set but not used" warning.
7740 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7742 * string/strncat.c (STRNCAT): Use prototype definition.
7744 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7745 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7747 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7748 (localedef-modules): Add localedef.
7749 (locale-modules): Add locale.
7751 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7752 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7755 2011-08-14 David S. Miller <davem@davemloft.net>
7757 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7758 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7760 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7762 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7763 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7764 * elf/rtld.c (dl_main): Set l_name of vDSO.
7765 Call _dl_show_scope when DL_DEBUG_SCOPES.
7766 (process_dl_debug): Recognize scopes flag and also set it for all.
7767 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7768 Declare _dl_show_scope.
7770 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7771 (do_dlopen): Pass caller_dlopen to dl_open.
7772 (__libc_dlopen_mode): Initialize caller_dlopen.
7774 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7775 of libc. Make tolower call locale-independent. Optimize a bit by
7776 using isdigit instead of isalnum.
7777 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7779 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7781 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7782 was a dependency or dynamically loaded.
7784 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7786 * intl/l10nflist.c: Allow architecture-specific pop function.
7787 * sysdeps/x86_64/l10nflist.c: New file.
7789 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7792 2011-08-10 Andreas Schwab <schwab@redhat.com>
7794 * include/dirent.h: Add libc_hidden_proto for scandirat and
7795 scandirat64. Don't declare __scandirat64.
7796 * dirent/scandirat.c: Add libc_hidden_def.
7797 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7798 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7800 2011-08-10 David S. Miller <davem@davemloft.net>
7802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7808 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7810 * Versions.def [libc]: Add GLIBC_2.15.
7811 * dirent/Makefile (routines): Add scandirat and scandirat64.
7812 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7814 * dirent/dirent.h: Declare scandirat and scandirat64.
7815 * dirent/scandirat.c: New file.
7816 * dirent/scandirat64.c: New file.
7817 * sysdeps/wordsize-64/scandirat.c: New file.
7818 * sysdeps/wordsize-64/scandirat64.c: New file.
7819 * dirent/opendir.c: Define opendirat.
7820 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7822 * dirent/scandir64.c: Adjust for scandir.c change.
7823 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7824 __scandirat64, and __scandir_cancel_handler.
7825 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7826 additional parameter and use openat instead of open (outside of ld.so).
7827 Add new __opendir as wrapper around __opendirat.
7828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7829 here without requiring old scandirat implementation.
7831 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7833 * dirent/scandir.c (cancel_handler): Renamed to
7834 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7835 defined. Adjust users.
7836 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7839 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7841 * string/test-string.h (IMPL): Use __STRING to expand name and then
7844 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7847 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7849 * string/Makefile: Update.
7850 (strop-tests): Append strncat.
7851 * string/test-wcscmp.c: New file.
7852 New comprehensive test for wcscmp.
7853 * string/test-strcmp.c: Update.
7856 2011-07-22 Andreas Schwab <schwab@redhat.com>
7858 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7861 2011-07-26 Andreas Schwab <schwab@redhat.com>
7863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7864 encoding to ACE if AI_IDN.
7866 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7869 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7871 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7874 Fix overflow bug in strncat.
7875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7877 * string/test-strncat.c: Update.
7878 Add new tests for checking overflow bugs.
7880 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7883 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7884 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7885 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7887 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7888 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7889 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7890 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7893 (USE_AS_STRCAT): Define.
7894 Add strcat and strncat support.
7895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7897 2011-07-25 Andreas Schwab <schwab@redhat.com>
7899 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7900 __n bigger than INT_MAX+1.
7901 (__strncmp_g): Likewise.
7903 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7905 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7906 * libio/stido.h: Likewise.
7908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7913 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7920 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7925 (_dl_x86_64_save_sse): Likewise.
7927 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7931 (_dl_x86_64_save_sse): Likewise.
7933 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7935 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7937 2011-07-21 Andreas Schwab <schwab@redhat.com>
7939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7941 (_dl_x86_64_save_sse): Use correct AVX check.
7943 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7946 bug in strncpy/strncat.
7947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7949 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7951 * string/tester.c (test_strcat): Add tests for different alignments
7952 of source and destination.
7953 (test_strncat): Likewise.
7955 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7958 * posix/glob.c (glob): Check passed in values before using them in
7959 expressions to avoid some overflows.
7960 (glob_in_dir): Likewise.
7963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7964 check for AVX enablement so that we don't crash with old kernels and
7966 * elf/tst-audit4.c: Add same checks here.
7967 * elf/tst-audit6.c: Likewise.
7969 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7971 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7973 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7975 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7977 * po/cs.po: Update from translation team.
7978 * po/bg.po: Likewise.
7980 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7982 * misc/sys/cdefs.h: Add support for const attribute.
7983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7984 to gnu_dev_{major,minor,makedev} functions.
7986 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7988 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7990 2011-07-20 Andreas Schwab <schwab@redhat.com>
7992 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7995 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7998 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7999 register in order to avoid conflicts with the soft frame pointer
8000 being held in r11 when necessary.
8001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8002 (INTERNAL_VSYSCALL_NCS): Likewise.
8004 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8006 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8007 * elf/dl-fini.c (_dl_fini): Adjust caller.
8008 * elf/dl-close.c (_dl_close_worker): Likewise.
8009 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8011 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8013 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8014 "aux_cache->nlibs < 0".
8016 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8017 in the reload-count case.
8019 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8022 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8023 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8024 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8025 * sysdeps/x86_64/multiarch/strcat.S: New file.
8026 * sysdeps/x86_64/multiarch/strncat.S: New file.
8027 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8029 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8030 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8032 (USE_AS_STRCAT): Define.
8033 Add strcat and strncat support.
8034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8035 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8036 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8037 * string/strncat.c: Update.
8038 (USE_AS_STRNCAT): Define.
8039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8040 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8042 * sysdeps/x86_64/multiarch/init-arch.h
8043 (bit_Prefer_PMINUB_for_stringop): New.
8044 (index_Prefer_PMINUB_for_stringop): Likewise.
8045 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8046 bit_Prefer_PMINUB_for_stringop.
8048 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8050 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8052 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8053 of casting of buffer.
8054 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8055 buffer32 and buffer64.
8056 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8057 writes instead of casting of buffer.
8058 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8060 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8063 2011-07-19 Andreas Schwab <schwab@redhat.com>
8065 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8067 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8069 * nscd/nscd.c (termination_handler): Don't do anything for a database
8070 if it has not yet been initialized.
8072 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8074 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8076 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8078 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8082 * po/nl.po: Update from translation team.
8083 * po/sv.po: Likewise.
8085 2011-07-16 Roland McGrath <roland@hack.frob.com>
8087 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8088 now disallowed by GCC.
8090 * configure.in (use-default-link): Default to yes if a test -shared
8091 link meets our qualifications.
8092 * configure: Regenerated.
8094 * config.make.in (output-format): New variable.
8095 * configure.in: Check for ld --print-output-format support.
8096 * configure: Regenerated.
8097 * Makerules ($(common-objpfx)format.lds)
8098 [$(output-format) != unknown]: Just use $(output-format),
8099 instead of the linker-script munging.
8101 2011-07-14 Roland McGrath <roland@hack.frob.com>
8103 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8104 of $(common-objpfx)shlib.lds.
8105 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8107 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8108 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8110 * configure.in (-z relro check): Adjust test code to add a large
8111 writable data section after it.
8112 * configure: Regenerated.
8114 2011-07-11 Roland McGrath <roland@hack.frob.com>
8116 * configure.in (-z relro check): Fix test code to make the variable
8118 * configure: Regenerated.
8120 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8122 * nscd/nscd.h (struct traced_file): Define.
8123 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8124 elements. Add traced_files.
8125 (inotify_fd): Declare.
8126 (register_traced_file): Declare.
8127 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8128 (inotify_fd): Export.
8129 (resolv_conf_descr): Remove.
8130 (nscd_init): Move inotify descriptor creation to main.
8131 Don't register files for notification here.
8132 (register_traced_file): New function.
8133 (invalidate_cache): Don't use reset_res to determine whether to call
8134 res_init, go through the list of registered files.
8135 (main_loop_poll): The inotify descriptors are now stored in the
8136 structures for the traced files.
8137 (main_loop_epoll): Likewise
8138 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8139 to __nss_disable_nscd.
8140 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8141 for a database anymore. Check the records for all the registered
8143 * nss/Makefile (libnss_files-routines): Add files-init.
8144 (libnss_db-routines): Add db-init.
8145 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8146 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8147 * nss/nss_db/db-init.c: New file.
8148 * nss/nss_files/files-init.c: New file.
8149 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8150 __nss_lookup_function.
8151 (__nss_lookup_function): Call nss_load_library.
8152 (nss_load_all_libraries): New function.
8153 (__nss_disable_nscd): Take parameter with callback function for files
8154 to register. Set is_nscd. Load all the DSOs for the NSS modules
8155 used for the cached services.
8156 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8157 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8158 options for features to all the files in nscd.
8160 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8162 2011-07-10 Roland McGrath <roland@hack.frob.com>
8164 * csu/elf-init.c (__libc_csu_init): Comment typo.
8166 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8168 * po/pl.po: Update from translation team.
8169 * po/ja.po: Likewise.
8170 * po/ru.po: Likewise.
8171 * po/ko.po: Likewise.
8172 * po/fr.po: Likewise.
8174 2011-07-09 Roland McGrath <roland@hack.frob.com>
8176 * configure.in (.ctors/.dtors header and trailer check):
8177 Use an empirical test on a built program.
8178 * configure: Regenerated.
8180 * configure.in (-z relro check): Use an empirical test on a built DSO.
8181 Detect, but do not require, on ia64.
8182 * configure: Regenerated.
8184 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8185 Update tests that use readelf to use $READELF instead.
8186 * configure: Regenerated.
8188 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8190 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8191 if the result is not used.
8193 2011-07-05 Andreas Jaeger <aj@suse.de>
8196 * stdlib/tst-strtod.c: Add testcase.
8198 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8200 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8201 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8202 The latter has a higher limit. Take additional parameter to pass to
8204 (__pathconf): Pass file to __statfs_link_max.
8205 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8207 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8211 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8215 (__statfs_filesize_max): Likewise.
8216 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8218 2011-07-05 Andreas Jaeger <aj@suse.de>
8220 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8222 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8224 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8226 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8229 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8231 * Makefile (strop-tests): Add strncat.
8232 * string/test-strncat.c: New file.
8234 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8236 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8238 2011-06-21 Andreas Jaeger <aj@suse.de>
8240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8241 Copy rule from iconvdata/Makefile.
8243 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8246 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8247 but no long options are defined, just return 'W'.
8249 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8252 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8254 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8256 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8258 (innetgr): Likewise.
8260 2011-07-05 Roland McGrath <roland@hack.frob.com>
8262 * config.make.in (install_root): Default to $(DESTDIR).
8264 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8268 2011-07-02 Roland McGrath <roland@hack.frob.com>
8270 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8272 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8273 containing directory rather than embedding absolute directory names.
8275 * scripts/check-local-headers.sh: Rewritten using awk.
8276 Match by word, not by line. Print error messages for matches.
8277 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8279 * Makerules [shlib-lds-flags empty]:
8280 ($(common-objpfx)libc_pic.opts): New target.
8281 ($(common-objpfx)libc_pic.os.clean): New target.
8282 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8284 * config.make.in (OBJCOPY): New variable.
8285 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8286 * configure: Regenerated.
8288 * config.make.in (use-default-link): New variable.
8289 * configure.in (use_default_link): Grok --with-default-link to set it.
8290 * configure: Regenerated.
8291 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8292 (shlib-lds, shlib-lds-flags): Define to empty.
8294 * Makerules (shlib-lds): New variable.
8295 (shlib-lds-flags): New variable.
8296 (build-shlib, build-moduile, build-module-asneeded): Use it.
8297 ($(common-objpfx)libc.so): Use $(shlib-lds).
8298 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8301 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8302 DT_FLAGS/DT_FLAGS_1 with zero flags.
8304 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8305 linker script munging.
8307 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8309 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8311 * crypt/sha512.c (sha512_process_block): Perform total addition using
8312 128-bit if possible.
8313 (__sha512_finish_ctx): Likewise.
8314 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8316 * crypt/sha256.c (SWAP64): Define.
8317 (sha256_process_block): Perform total addition using 64-bit if
8319 (__sha256_finish_ctx): Likewise.
8321 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8323 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8325 * nscd/hstcache.c (cache_addhst): Likewise.
8326 * nscd/grpcache.c (cache_addgr): Likewise.
8327 * nscd/aicache.c (addhstaiX): Likewise
8328 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8330 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8332 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8334 * nscd/hstcache.c (cache_addhst): Likewise.
8335 * nscd/grpcache.c (cache_addgr): Likewise.
8336 * nscd/aicache.c (addhstaiX): Likewise
8338 2011-07-01 Andreas Schwab <schwab@redhat.com>
8340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8341 domain only when needed.
8343 2011-06-30 Andreas Schwab <schwab@redhat.com>
8345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8348 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8350 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8351 are re-adding the entry.
8352 * nscd/servicescache.c (cache_addserv): Likewise.
8354 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8356 * sysdeps/generic/dl-irel.h: fix protection against multiple
8358 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8360 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8363 * malloc/memusage.sh: Fix quoting in message.
8364 * debug/xtrace.sh: Likewise.
8366 * configure.in: Remove support for --experimental-malloc option, make
8368 * config.make.in: Likewise.
8369 * malloc/Makefile: Likewise.
8371 2011-06-27 Andreas Schwab <schwab@redhat.com>
8373 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8374 two-byte characters.
8376 2011-06-27 Roland McGrath <roland@hack.frob.com>
8378 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8379 AC_CACHE_CHECK invocation.
8380 * configure: Regenerated.
8382 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8384 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8387 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8388 bit from old_res_options.
8390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8392 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8393 value type for setfct.
8395 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8398 __gettimeofday instead of gettimeofday.
8400 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8402 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8404 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8411 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8414 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8415 strcpy-sse2-unaligned strncpy-sse2-unaligned
8416 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8417 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8418 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8419 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8420 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8423 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8424 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8425 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8426 (STRCPY): Support SSE2 and SSSE3 versions.
8428 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8432 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8433 kernels which artificially limit size of requests.
8435 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8438 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8439 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8440 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8441 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8442 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8443 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8444 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8447 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8448 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8449 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8450 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8451 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8453 Enable unaligned load optimization for Intel Core i3, i5 and i7
8455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8457 (index_Fast_Unaligned_Load): Define.
8458 (HAS_FAST_UNALIGNED_LOAD): Define.
8460 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8462 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8464 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8468 until it is clear that the information is realy needed.
8469 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8471 2011-06-22 Andreas Schwab <schwab@redhat.com>
8473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8475 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8478 /sys/devices/system/cpu/online if it is usable.
8480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8481 reading the information from the /proc filesystem to once a second.
8483 2011-06-21 Andreas Jaeger <aj@suse.de>
8485 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8486 NULL after inclusion of kernel headers.
8488 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8490 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8491 calls to internal_setent.
8494 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8495 addresses using gethostbyname4_r ignore IPv4 addresses.
8497 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8498 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8500 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8502 2011-06-20 David S. Miller <davem@davemloft.net>
8504 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8506 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8508 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8510 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8511 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8512 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8513 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8514 * sysdeps/x86_64/dl-irel.h: Likewise.
8516 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8517 * elf/dl-sym.c: Likewise.
8519 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8521 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8522 need to dereference resplen2.
8524 2011-06-14 Andreas Schwab <schwab@redhat.com>
8526 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8528 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8530 * Makeconfig: Define vardbdir and inst_vardbdir.
8531 * nss/Makefile: Add rules to install db-Makefile.
8533 * nss/nss_db/db-XXX.c: Cleanup.
8535 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8536 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8538 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8539 * nss/makedb.c: Implement -g option to specify that value strings
8540 are generated and should not be added to table iterated over for
8542 * nss/nss_db/db-initgroups.c: New file.
8544 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8547 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8548 (internal_getgrouplist): Adjust to name change.
8549 Update use_initgroups_entry if this is not the first call.
8550 * nss/databases.def: Add initgroups entry.
8552 * nss/makedb.c (compute_tables): Check result of multiple hash table
8553 sizes to minimize maximum chain length.
8555 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8557 * Versions.def: Add entry for libnss_db.
8558 * shlib-versions: Likewise.
8559 * nss/Makefile: Add rules to build libnss_db.
8560 * nss/Versions: Add libnss_db information. Organize libnss_files
8562 * nss/db-Makefile: Add gshadow support. Change rules for the new
8563 makedb progra. Some minor improvements to generate smaller files.
8564 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8566 * nss/makedb.c: ...here.
8567 Improve database format to be smaller and require less memory at
8569 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8571 * nss/nss_db/db-netgrp.c: Likewise.
8572 * nss/nss_db/db-open.c: Likewise.
8573 * nss/nss_files/flies-XXX.x: Adjust comments.
8574 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8575 * nss/nss_files/files-grp.c: Likewise.
8576 * nss/nss_files/files-hosts.c: Likewise.
8577 * nss/nss_files/files-network.c: Likewise.
8578 * nss/nss_files/files-proto.c: Likewise.
8579 * nss/nss_files/files-pwd.c: Likewise.
8580 * nss/nss_files/files-rpc.c: Likewise.
8581 * nss/nss_files/files-service.c: Likewise.
8582 * nss/nss_files/files-sgrp.c: Likewise.
8583 * nss/nss_files/files-spwd.c: Likewise.
8584 * nss/nss_db/db-alias.c: Removed.
8585 * nss/nss_db/dummy-db.h: Removed.
8587 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8589 * nss/makedb.c: Rewritten to not use database library.
8590 * nss/Makefile: Update to build new makedb program.
8592 2011-06-14 Andreas Jaeger <aj@suse.de>
8594 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8597 2011-06-10 Andreas Schwab <schwab@redhat.com>
8599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8602 2011-06-10 Roland McGrath <roland@hack.frob.com>
8604 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8605 * elf/Makefile ($(objpfx)ld.so): Likewise.
8607 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8608 Don't list ld.so twice in dependencies.
8610 * posix/bug-regex31.c: Include <stdlib.h>.
8612 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8614 * nis/nss_compat/compat-spwd.c
8615 (getspent_next_nss_netgr): Remove unused variable.
8616 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8618 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8619 nonmembers" output to use the right array.
8621 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8623 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8625 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8626 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8627 * catgets/gencat.c (read_input_file): Likewise.
8628 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8630 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8631 variable definition inside #if's controlling its use.
8633 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8635 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8637 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8639 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8642 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8644 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8645 * configure: Regenerated.
8647 * Makerules: Revert last change.
8648 * elf/Makefile: Likewise.
8650 2011-06-09 Roland McGrath <roland@hack.frob.com>
8652 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8653 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8654 (reloc-link): Likewise.
8656 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8658 * elf/Makefile: Add rules to build pldd.
8659 * elf/pldd.c: New file.
8660 * elf/pldd-xx.c: New file.
8662 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8664 * version.h: Update for 2.15 development version.
8666 2011-06-07 David S. Miller <davem@davemloft.net>
8668 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8671 elf_machine_lazy_rel): Likewise.
8672 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8674 elf_machine_lazy_rel): Likewise.
8675 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8676 dl_hwcap via passed in argument.
8677 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8680 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8682 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8684 2011-06-06 Roland McGrath <roland@hack.frob.com>
8687 * manual/fdl-1.1.texi: New file, verbatim from:
8688 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8689 * manual/lgpl-2.1.texi: New file, verbatim from:
8690 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8691 * manual/Makefile (licenses): New variable, list those new file names.
8693 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8695 * manual/fdl.texi: File removed.
8696 * manual/lesser.texi: File removed.
8697 * manual/libc.texinfo (Copying, Documentation License):
8698 Use new @include file names, put @appendix directive before @include.
8700 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8703 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8704 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8705 (mq_open): Add __NTH.
8707 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8710 Assume Intel Core i3/i5/i7 processor if AVX is available.
8712 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8717 2011-05-31 Andreas Schwab <schwab@redhat.com>
8719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8720 memory. Use alloca_account. Fix memory leak when retrying.
8722 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8724 * version.h (RELEASE): Bump for 2.14 release.
8725 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8727 * config.make.in (RANLIB): Remove entry.
8729 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8731 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8732 (libc.pot): Work around missing support for .ksh extension in xgettext.
8735 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8736 if both request failed.
8737 (send_dg): In case of server errors clear resplen or *resplen2.
8740 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8741 when there are multiple maps.
8742 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8743 (_dl_fini): Remove test here.
8745 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8747 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8750 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8751 bit from old_res_options.
8752 (gaih_inet): Likewise.
8755 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8758 * resolv/res_init.c (res_setoptions): Make the code more compact.
8761 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8765 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8767 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8770 * malloc/malloc.h: Declare malloc hook variables as volatile.
8772 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8776 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8777 raise in the comment.
8778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8780 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8782 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8785 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8786 grow the buffers more if it already has to be sufficient.
8787 (build_wcs_upper_buffer): Likewise.
8788 * posix/regexec.c (check_matching): Likewise.
8789 (clean_state_log_if_needed): Likewise.
8790 (extend_buffers): Don't enlarge buffers beyond size of the input
8792 Patches mostly by Emil Wojak <emil@wojak.eu>.
8793 * posix/bug-regex32.c: New file.
8794 * posix/Makefile (tests): Add bug-regex32.
8796 * locale/findlocale.c (_nl_find_locale): Return right away if
8797 _nl_explode_name failed.
8798 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8800 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8802 * debug/xtrace.sh: Unify messages.
8803 * malloc/memusage.sh: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8807 time symbol from vDSO. Substitute with vsyscall if not available.
8808 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8811 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8812 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8813 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8814 Add sendmmsg and internal_sendmmsg.
8815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8816 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8819 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8820 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8823 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8827 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8833 * iconvdata/Makefile (tests): Add bug-iconv9.
8834 * iconvdata/bug-iconv9.c: New file.
8836 2011-05-27 Andreas Schwab <schwab@redhat.com>
8839 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8841 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8844 (struct user_regs_struct): Change intcs field back to cs.
8846 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8848 * po/ja.po: Update from translation team.
8850 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8853 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8856 2011-05-20 Andreas Schwab <schwab@redhat.com>
8858 * stdlib/longlong.h: Update from GCC.
8860 2011-05-23 Andreas Schwab <schwab@redhat.com>
8862 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8864 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8866 (__sysconf): Pass it down.
8868 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8871 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8874 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8875 add in in __libc_use_alloca calls. Adjust callers.
8876 (glob): Use malloc in some situations.
8878 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8879 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8882 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8884 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8885 and CLOCK_BOOTTIME_ALARM.
8888 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8891 * string/_strerror.c (__strerror_r): Print negative errors as signed
8895 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8896 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8897 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8899 * configure.in: Fix typo in redirection and correct removal of test
8903 * locale/setlocale.c (new_composite_name): Fix test to check for
8904 identical name of all categories.
8907 * libio/filedoalloc.c (local_isatty): New function.
8908 (_IO_file_doallocate): Use local_isatty.
8909 * stdio-common/perror.c (perror): In case a new stream is used
8910 forward the stream error.
8911 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8914 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8919 * include/alloca.h (extend_alloca_account): Define.
8922 * posix/regex.h: Fix comments with documentation of user-accessible
8923 fields after compilation and describe correct free'ing of pattern
8924 after re_compile_pattern.
8925 Patch by Reuben Thomas <rrt@sc3d.org>.
8927 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8929 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8930 and -mno-altivec to prevent the compiler from using Altivec and/or
8931 VSX instructions when the corresponding registers are not available.
8933 2011-05-19 Andreas Schwab <schwab@redhat.com>
8935 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8937 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8939 * libio/freopen.c (freopen): Use __dup2, not dup2.
8940 * libio/freopen64.c (freopen64): Likewise.
8942 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8945 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8946 * math/Makefile (tests): Add test-powl.
8947 (CFLAGS-test-powl.c): Define.
8948 * math/test-powl.c: New file.
8950 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8952 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8954 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8957 * iconvdata/gb18030.c: Update to GB18020-2005.
8959 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8961 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8962 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8963 Patch by Aharon Robbins <arnold@skeeve.com>.
8966 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8970 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8974 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8975 point to strings before performing equality test for error_one_per_line
8979 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8983 (struct user_fpregs_struct): Avoid __uint*_t types.
8986 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8987 symbol info. Use it instead of calling _dl_addr locally.
8988 (lock_and_info): New function.
8989 (tr_freehook): Call lock_and_info and pass symbol info as additional
8990 parameter to tr_where.
8991 (tr_mallochook): Likewise.
8992 (tr_reallochook): Likewise.
8993 (tr_memalignhook): Likewise.
8995 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8996 used and couldn't be at all thread-safe.
8998 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9000 * libio/freopen.c (freopen): Don't close old file descriptor
9001 before the new one is opened. Instead dup the new file descriptor
9002 to the old one after the new stream is created.
9003 * libio/freopen64.c (freopen64): Likewise.
9004 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9005 * libio/fileops.c (_IO_new_file_close_it): Handle new
9006 _IO_FLAGS2_NOCLOSE flag.
9007 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9008 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9009 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9010 _IO_FLAGS2_NOCLOSE flag.
9011 * include/unistd.h: Add hidden_proto for dup3.
9013 * io/dup3.c: Define hidden symbol.
9014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9017 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9018 when an incomplete long option is used.
9019 * posix/tst-getopt_long1.c: New file.
9020 * posix/Makefile (tests): Add tst-getopt_long1.
9023 * scripts/config.guess: Update from autoconf-2.68.
9024 * scripts/config.sub: Likewise.
9027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9029 (has_cpuclock): ...this. New function.
9030 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9031 macro here based on has_cpuclock code.
9034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9035 First byte (not low byte) is now always NUL.
9036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9039 Use non-cancelable interfaces.
9042 * locale/iso-639.def: Add entry for Sorani.
9045 * include/stdlib.h: Move include protection to the right place.
9046 Define abort_msg_s. Declare __abort_msg with it.
9047 * stdlib/abort.c (__abort_msg): Adjust type.
9048 * assert/assert.c (__assert_fail_base): New function. Majority
9049 of code from __assert_fail. Allocate memory for __abort_msg with
9051 (__assert_fail): Now call __assert_fail_base.
9052 * assert/assert-perr.c: Remove bulk of implementation. Use
9054 * include/assert.hL Declare __assert_fail_base.
9055 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9057 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9059 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9063 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9064 until all modules are registered in the DTV.
9065 * elf/Makefile: Add rules to build and run tst-tls19.
9066 * elf/tst-tls19.c: New file.
9067 * elf/tst-tls19mod1.c: New file.
9068 * elf/tst-tls19mod2.c: New file.
9069 * elf/tst-tls19mod3.c: New file.
9070 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9073 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9077 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9078 two-byte sequence errors.
9079 * iconvdata/Makefile (tests): Add bug-iconv8.
9080 * iconvdata/bug-iconv8.c: New file.
9083 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9086 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9089 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9090 (dummy_getcfa): New function.
9091 (init): Get _Unwind_GetCFA address, use dummy if not found.
9092 (backtrace_helper): In recursion check, also check whether CFA changes.
9093 (__backtrace): Completely initialize arg.
9095 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9096 storing incomplete byte sequence in state object. Avoid testing for
9097 guaranteed too small input if we know there is enough data available.
9099 2011-05-11 Andreas Schwab <schwab@redhat.com>
9101 * Makeconfig (+link-pie): Indent.
9102 * Rules (binaries-pie): Define if $(have-fpie) and
9104 (binaries-shared): Also filter out $(binaries-pie).
9105 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9106 * nscd/Makefile (others-pie): Add nscd.
9107 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9108 ($(objpfx)nscd): Remove command override.
9109 * login/Makefile (others-pie): Add pt_chown.
9110 ($(objpfx)pt_chown): Remove command override.
9111 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9112 remove command overrides.
9114 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9116 * libio/tst_putwc.c: Fix error messages.
9119 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9120 currently writing and seek to current position when not.
9121 * libio/Makefile (tests): Add bug-fclose1.
9122 * libio/bug-fclose1.c: New file.
9124 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9127 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9128 don't set DF_1_NODELETE here.
9129 (do_lookup_x): When entering new entry test for copy relocation
9130 and if necessary set DF_1_NODELETE flag.
9131 * elf/tst-unique4.cc: New file.
9132 * elf/tst-unique4.h: New file.
9133 * elf/tst-unique4lib.cc: New file.
9134 * elf/Makefile: Add rules to build and run tst-unique4.
9135 Patch by Piotr Bury <pbury@goahead.com>.
9137 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9140 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9143 * misc/mntent_r.c (addmntent): Flush the stream after the output
9146 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9147 (is_trusted_path_normalize): Skip initial colon. Append slash
9148 to empty buffer. Duplicate is_trusted_path code but allow
9149 constructed patch to be prefix.
9150 (is_dst): Allow $ORIGIN followed by /.
9151 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9152 Correct testing of result of is_trusted_path_normalize
9153 (decompose_rpath): Fix warning.
9155 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9158 * grp/initgroups.c (internal_getgrouplist): When we found the service
9159 list through the initgroups entry in nsswitch.conf do not always
9160 continue on a successful lookup. Don't always use the
9161 __nss_group_database value if it is set.
9162 * nss/nsswitch.conf (initgroups): Change action for successful db
9163 lookup to continue for compatibility.
9165 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9168 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9170 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9172 * iconvdata/tst-tables.sh: Likewise.
9173 * iconvdata/cp770.c: New file.
9174 * iconvdata/cp771.c: New file.
9175 * iconvdata/cp772.c: New file.
9176 * iconvdata/cp773.c: New file.
9177 * iconvdata/cp774.c: New file.
9178 * iconvdata/testdata/CP770: New file.
9179 * iconvdata/testdata/CP770..UTF8: New file.
9180 * iconvdata/testdata/CP771: New file.
9181 * iconvdata/testdata/CP771..UTF8: New file.
9182 * iconvdata/testdata/CP772: New file.
9183 * iconvdata/testdata/CP772..UTF8: New file.
9184 * iconvdata/testdata/CP773: New file.
9185 * iconvdata/testdata/CP773..UTF8: New file.
9186 * iconvdata/testdata/CP774: New file.
9187 * iconvdata/testdata/CP774..UTF8: New file.
9189 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9191 * iconvdata/gen-8bit-gap.sh: Likewise.
9192 * iconvdata/gen-8bit.sh: Likewise.
9194 * locale/iso-639.def: Add ary entry.
9197 * locale/C-translit.h.in: Add U20A1 transliteration.
9200 * locale/iso-639.def: Add wae entry.
9201 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9204 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9208 * locale/C-translit.h.in: Add entry for U20B9.
9209 Patch by pravin.d.s@gmail.com.
9211 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9214 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9215 ENAMETOOLONG use generic getcwd.
9216 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9217 in rtld. Use *stat64.
9218 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9219 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9220 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9221 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9222 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9223 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9224 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9226 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9227 * dirent/rewinddir.c: Add libc_hidden_def.
9228 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9229 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9231 * include/dirent.h (__alloc_dir): Add flags parameter.
9232 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9233 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9235 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9236 from fdopendir if O_CLOEXEC is already set.
9238 2011-03-15 Alan Modra <amodra@gmail.com>
9240 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9241 l_tls_firstbyte_offset non-zero. Save padding offset in
9242 l_tls_firstbyte_offset for later use.
9243 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9244 freeing static tls block.
9246 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9248 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9249 where #ifdef was intended. The intent is to prevent ARG_MAX from
9250 being defined by the kernel headers.
9252 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9255 * resolv/resolv.h: Define RES_NOTLDQUERY.
9256 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9257 no-tld-query and set RES_NOTLDQUERY.
9258 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9259 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9260 modern BIND to search name as TLD unless forbidden.
9262 2011-05-07 Petr Baudis <pasky@suse.cz>
9263 Ulrich Drepper <drepper@gmail.com>
9266 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9267 (is_trusted_path): ...to here.
9268 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9269 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9270 using is_trusted_path_normalize() in setuid scripts.
9272 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9275 __BEGIN/__END_DECLS.
9277 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9280 NSS_STATUS_NOTFOUND if no record was found.
9282 2011-05-05 Andreas Schwab <schwab@redhat.com>
9284 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9285 (headers-not-in-tirpc): Remove rpc/netdb.h
9286 * resolv/netdb.h: Revert last change.
9288 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9290 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9291 circular dependency between libgcc.a and libc.a.
9293 2011-05-05 Andreas Schwab <schwab@redhat.com>
9295 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9296 * nis/Makefile: Don't install rpcsvc/*.
9297 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9298 instead of <rpc/types.h>.
9299 (MAXHOSTNAMELEN): Define.
9301 2011-05-03 Andreas Schwab <schwab@redhat.com>
9303 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9305 2011-04-28 Maciej Babinski <mbabinski@google.com>
9308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9309 gethostbyname4_r when IPv6 results are possible.
9311 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9315 _PC_PIPE_BUF handling.
9317 2011-04-30 Bruno Haible <bruno@clisp.org>
9320 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9321 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9323 * inet/getnameinfo.c (getnameinfo): Likewise.
9325 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9327 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9328 to groups setting in database lookup.
9329 * nss/nsswitch.conf: Add initgroups entry.
9331 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9334 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9336 Patch by Eric Blake <eblake@redhat.com>.
9338 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9340 * sunrpc/Makefile (need-export-routines): Add svc_run.
9341 (routines): Remove svc_run.
9342 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9343 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9344 * sunrpc/svc_run.c (svc_run): Likewise.
9345 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9347 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9350 problem in reallocation in last patch.
9352 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9354 * sunrpc/Makefile: Move inclusion of Rules.
9356 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9358 * nss/nss_files/files-initgroups.c: New file.
9359 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9360 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9361 _nss_files_initgroups_dyn.
9363 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9365 * elf/elf.h (R_ARM_IRELATIVE): Define.
9367 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9369 * po/ru.po: Update from translation team.
9371 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9373 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9376 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9380 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9385 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9387 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9393 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9396 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9398 * stdlib/bug-getcontext.c: New file.
9399 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9401 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9403 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9404 instructions into .machine "z9-109".
9405 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9406 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9408 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9410 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9411 between environment variables and auxiliary vector.
9413 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9415 * Makefile: Add rules to build linkobj/libc.so.
9416 * include/libc-symbols.h: Define libc_hidden_nolink.
9417 * include/rpc/auth.h: Mark functions which are to be hidden.
9418 * include/rpc/auth_des.h: Likewise.
9419 * include/rpc/auth_unix.h: Likewise.
9420 * include/rpc/clnt.h: Likewise.
9421 * include/rpc/des_crypt.h: Likewise.
9422 * include/rpc/key_prot.h: Likewise.
9423 * include/rpc/pmap_clnt.h: Likewise.
9424 * include/rpc/pmap_prot.h: Likewise.
9425 * include/rpc/pmap_rmt.h: Likewise.
9426 * include/rpc/rpc_msg.h: Likewise.
9427 * include/rpc/svc.h: Likewise.
9428 * include/rpc/svc_auth.h: Likewise.
9429 * include/rpc/xdr.h: Likewise.
9430 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9431 * nss/Makefile: Likewise.
9432 * sunrpc/Makefile: Don't install headers. Build library with normal
9433 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9434 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9435 for the compat linking library. Remove use of INTDEF/INTUSE.
9436 * sunrpc/auth_none.c: Likewise.
9437 * sunrpc/auth_unix.c: Likewise.
9438 * sunrpc/authdes_prot.c: Likewise.
9439 * sunrpc/authuxprot.c: Likewise.
9440 * sunrpc/clnt_gen.c: Likewise.
9441 * sunrpc/clnt_perr.c: Likewise.
9442 * sunrpc/clnt_raw.c: Likewise.
9443 * sunrpc/clnt_simp.c: Likewise.
9444 * sunrpc/clnt_tcp.c: Likewise.
9445 * sunrpc/clnt_udp.c: Likewise.
9446 * sunrpc/clnt_unix.c: Likewise.
9447 * sunrpc/des_crypt.c: Likewise.
9448 * sunrpc/des_soft.c: Likewise.
9449 * sunrpc/get_myaddr.c: Likewise.
9450 * sunrpc/key_call.c: Likewise.
9451 * sunrpc/key_prot.c: Likewise.
9452 * sunrpc/netname.c: Likewise.
9453 * sunrpc/pm_getmaps.c: Likewise.
9454 * sunrpc/pm_getport.c: Likewise.
9455 * sunrpc/pmap_clnt.c: Likewise.
9456 * sunrpc/pmap_prot.c: Likewise.
9457 * sunrpc/pmap_prot2.c: Likewise.
9458 * sunrpc/pmap_rmt.c: Likewise.
9459 * sunrpc/publickey.c: Likewise.
9460 * sunrpc/rpc_cmsg.c: Likewise.
9461 * sunrpc/rpc_common.c: Likewise.
9462 * sunrpc/rpc_dtable.c: Likewise.
9463 * sunrpc/rpc_prot.c: Likewise.
9464 * sunrpc/rpc_thread.c: Likewise.
9465 * sunrpc/rtime.c: Likewise.
9466 * sunrpc/svc.c: Likewise.
9467 * sunrpc/svc_auth.c: Likewise.
9468 * sunrpc/svc_authux.c: Likewise.
9469 * sunrpc/svc_raw.c: Likewise.
9470 * sunrpc/svc_run.c: Likewise.
9471 * sunrpc/svc_simple.c: Likewise.
9472 * sunrpc/svc_tcp.c: Likewise.
9473 * sunrpc/svc_udp.c: Likewise.
9474 * sunrpc/svc_unix.c: Likewise.
9475 * sunrpc/svcauth_des.c: Likewise.
9476 * sunrpc/xcrypt.c: Likewise.
9477 * sunrpc/xdr.c: Likewise.
9478 * sunrpc/xdr_array.c: Likewise.
9479 * sunrpc/xdr_float.c: Likewise.
9480 * sunrpc/xdr_intXX_t.c: Likewise.
9481 * sunrpc/xdr_mem.c: Likewise.
9482 * sunrpc/xdr_rec.c: Likewise.
9483 * sunrpc/xdr_ref.c: Likewise.
9484 * sunrpc/xdr_sizeof.c: Likewise.
9485 * sunrpc/xdr_stdio.c: Likewise.
9487 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9490 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9491 * sysdeps/ia64/dl-tls.h: Likewise.
9492 * sysdeps/powerpc/dl-tls.h: Likewise.
9493 * sysdeps/s390/dl-tls.h: Likewise.
9494 * sysdeps/sh/dl-tls.h: Likewise.
9495 * sysdeps/sparc/dl-tls.h: Likewise.
9496 * sysdeps/x86_64/dl-tls.h: Likewise.
9497 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9499 2011-03-14 Andreas Schwab <schwab@redhat.com>
9501 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9502 rpath element also skip the following colon.
9503 (expand_dynamic_string_token): Add is_path parameter and pass
9504 down to DL_DST_REQUIRED and _dl_dst_substitute.
9505 (decompose_rpath): Call expand_dynamic_string_token with
9506 non-zero is_path. Ignore empty rpaths.
9507 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9510 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9515 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9518 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9519 Patch by Filipe David Manana <fdmanana@apache.org>.
9521 2011-04-07 Andreas Schwab <schwab@redhat.com>
9523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9524 Maintain aligned stack.
9525 (CHECK_RSP): Remove unused macro.
9527 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9529 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9532 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9534 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9536 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9538 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9542 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9543 * sysdeps/x86_64/memmove.c: New file.
9544 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9545 (memcpy): Renamed to ...
9546 (__new_memcpy): This.
9547 (memcpy): Provide GLIBC_2_14 memcpy.
9548 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9549 (memcpy): Provide GLIBC_2_2_5 memcpy.
9551 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9554 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9556 2011-03-30 Andreas Schwab <schwab@redhat.com>
9558 * misc/syncfs.c: New file.
9559 * misc/Makefile (routines): Add syncfs.
9560 * posix/unistd.h: Declare syncfs.
9561 * sysdeps/unix/syscalls.list: Add syncfs.
9563 2011-04-01 Andreas Schwab <schwab@redhat.com>
9565 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9572 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9575 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9585 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9586 sync_file_range.c with -fexceptions.
9587 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9588 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9589 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9590 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9592 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9594 sync_file_range as cancellation point
9595 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9596 now a wrapper around __call_sync_file_range with cancellation handling.
9597 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9598 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9599 function name to __call_sync_file_range.
9600 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9601 Add call_sync_file_range.
9603 2011-04-01 Andreas Schwab <schwab@redhat.com>
9605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9610 * iconv/iconv.h: Fix typo in comment.
9611 * io/fcntl.h: Likewise.
9612 * libio/stdio.h: Likewise.
9613 * posix/spawn.h: Likewise.
9614 * posix/unistd.h: Likewise.
9615 * stdlib/stdlib.h: Likewise.
9616 * time/time.h: Likewise.
9617 * wcsmbs/wchar.h: Likewise.
9619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9620 open_by_handle): Add.
9621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9622 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9623 Augment a few comments.
9624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9629 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9632 * io/fcntl.h (AT_EMPTY_PATH): Define.
9634 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9636 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9637 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9638 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9640 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9641 * Versions.def: Add GLIBC_2.14.
9642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9645 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9649 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9651 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9654 * string/test-strncmp.c (do_page_test): New function.
9656 (test_main): Call check2.
9657 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9659 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9662 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9663 Handle cache information in CPU leaf 4.
9664 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9666 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9669 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9670 character representation.
9671 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9673 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9675 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9676 END(__isnan) to END(__isnanf) to match function entry point/label
9677 EALIGN(__isnanf,...).
9679 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9681 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9683 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9686 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9687 copy from the symbol referenced in the relocation to initialize the
9689 Patch by Piotr Bury <pbury@goahead.com>.
9690 * elf/Makefile: Add rules to build and tst-unique3.
9691 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9692 * elf/tst-unique3.cc: New file.
9693 * elf/tst-unique3.h: New file.
9694 * elf/tst-unique3lib.cc: New file.
9695 * elf/tst-unique3lib2.cc: New file.
9697 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9699 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9701 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9702 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9705 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9707 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9708 to-be-loaded object along a path to loader is ld.so.
9710 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9711 Ulrich Drepper <drepper@gmail.com>
9713 * sysdeps/x86_64/memset.S: After aligning destination, code
9714 branches to different locations depending on the value of
9715 misalignment, when multiarch is enabled. Fix this.
9717 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9719 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9720 Set _x86_64_preferred_memory_instruction for AMD processsors.
9721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9722 Set bit_Prefer_SSE_for_memop for AMD processors.
9724 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9726 * libio/fmemopen.c (fmemopen): Optimize a bit.
9728 2011-03-03 Andreas Schwab <schwab@redhat.com>
9730 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9732 2011-03-03 Roland McGrath <roland@redhat.com>
9734 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9736 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9738 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9739 __bzero_ultra1 instead of __memset_ultra1.
9741 2011-02-23 Andreas Schwab <schwab@redhat.com>
9742 Ulrich Drepper <drepper@gmail.com>
9745 * include/link.h (struct link_map): Add l_orig_initfini.
9746 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9747 returning unsuccessfully.
9748 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9749 close of a file loaded at startup, restore the original l_initfini
9751 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9752 list, store the pointer.
9753 * elf/Makefile ($(objpfx)noload-mem): New rule.
9754 (noload-ENV): Define.
9755 (tests): Add $(objpfx)noload-mem.
9756 * elf/noload.c: Include <memcheck.h>.
9757 (main): Call mtrace. Close all opened handles.
9759 2011-02-17 Andreas Schwab <schwab@redhat.com>
9762 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9763 dependencies are missing.
9765 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9767 Fix __if_freereq crash: Unlike the generic version which uses free,
9769 * sysdeps/mach/hurd/ifreq.h: New file.
9771 2011-01-27 Petr Baudis <pasky@suse.cz>
9772 Ulrich Drepper <drepper@gmail.com>
9775 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9777 * stdio-common/bug23.c: New file.
9778 * stdio-common/Makefile (tests): Add bug23.
9780 2010-09-28 Andreas Schwab <schwab@redhat.com>
9781 Ulrich Drepper <drepper@gmail.com>
9784 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9785 before performing relro protection. At old place add assertion
9786 to make sure nothing changed.
9788 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9789 Glauber de Oliveira Costa <glommer@gmail.com>
9791 * elf/elf.h: Add new ARM TLS relocs.
9793 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9796 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9798 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9800 * sysdeps/wordsize-64/tst-writev.c: New file.
9802 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9804 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9805 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9806 insns in _dl_start to prevent a TOC reference before relocs are
9809 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9812 * Makeconfig: Remove RANLIB definition.
9813 * Makerules: Don't use RANLIB.
9814 * aclocal.m4: Remove ranlib test.
9815 * configure.in: No need to check for ranlib.
9816 * elf/rtld-Rules: Don't use RANLIB.
9818 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9820 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9822 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9823 inclusion protection macro.
9825 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9826 SIGRTMIN and SIGRTMAX and print information in that case only when
9827 SIGRTMIN is defined.
9829 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9831 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9832 arginfo fn returning -1.
9834 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9835 and thousands string is zero terminated.
9837 2011-02-03 Andreas Schwab <schwab@redhat.com>
9839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9840 sysdeps/unix/sysv/linux/bits/socket.h.
9842 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9844 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9845 (__CPU_COUNT): Remove old macros.
9846 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9847 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9848 (__CPU_ALLOC, __CPU_FREE): Add macros.
9849 (__sched_cpualloc, __sched_cpufree): Add declarations.
9851 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9853 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9854 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9855 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9856 (readdhstai): Return value of addhstaiX call.
9857 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9858 (addgrbyX): Return value returned by cache_addgr.
9859 (readdgrbyname): Return value returned by addgrbyX.
9860 (readdgrbygid): Likewise.
9861 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9862 (addpwbyX): Return value returned by cache_addpw.
9863 (readdpwbyname): Return value returned by addhstbyX.
9864 (readdpwbyuid): Likewise.
9865 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9866 (addservbyX): Return value returned by cache_addserv.
9867 (readdservbyname): Return value returned by addservbyX:
9868 (readdservbyport): Likewise.
9869 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9870 (addhstbyX): Return value returned by cache_addhst.
9871 (readdhstbyname): Return value returned by addhstbyX.
9872 (readdhstbyaddr): Likewise.
9873 (readdhstbynamev6): Likewise.
9874 (readdhstbyaddrv6): Likewise.
9875 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9876 (readdinitgroups): Return value returned by addinitgroupsX.
9877 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9878 (prune_cache): Keep track of timeout value of re-added entries.
9879 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9880 * nscd/nscd.h: Adjust prototypes of readd* functions.
9882 2011-02-04 Roland McGrath <roland@redhat.com>
9884 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9885 (nis_stats): Likewise.
9886 * nis/nis_modify.c (nis_modify): Likewise.
9887 * nis/nis_remove.c (nis_remove): Likewise.
9888 * nis/nis_add.c (nis_add): Likewise.
9890 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9892 * posix/fnmatch_loop.c: Add some consts.
9894 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9896 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9899 * config.make.in (config-cflags-novzeroupper): Define.
9900 * configure.in: Substitute libc_cv_cc_novzeroupper.
9901 * elf/Makefile (AVX-CFLAGS): Define.
9902 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9903 (CFLAGS-tst-auditmod4a.c): Likewise.
9904 (CFLAGS-tst-auditmod4b.c): Likewise.
9905 (CFLAGS-tst-auditmod6b.c): Likewise.
9906 (CFLAGS-tst-auditmod6c.c): Likewise.
9907 (CFLAGS-tst-auditmod7b.c): Likewise.
9908 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9910 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9912 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9913 function to the callback.
9914 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9916 2011-02-02 Andreas Schwab <schwab@redhat.com>
9918 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9921 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9924 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9926 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9928 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9931 * elf/Makefile: Add rules to build and run new test.
9932 * elf/tst-initorder.c: New file.
9933 * elf/tst-initorder.exp: New file.
9934 * elf/tst-initordera1.c: New file.
9935 * elf/tst-initordera2.c: New file.
9936 * elf/tst-initordera3.c: New file.
9937 * elf/tst-initordera4.c: New file.
9938 * elf/tst-initorderb1.c: New file.
9939 * elf/tst-initorderb2.c: New file.
9940 * elf/tst-order-a1.c: New file.
9941 * elf/tst-order-a2.c: New file.
9942 * elf/tst-order-a3.c: New file.
9943 * elf/tst-order-a4.c: New file.
9944 * elf/tst-order-b1.c: New file.
9945 * elf/tst-order-b2.c: New file.
9946 * elf/tst-order-main.c: New file.
9947 New test case by George Gensure <werkt0@gmail.com>.
9949 2010-10-01 Andreas Schwab <schwab@redhat.com>
9951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9952 decoding ACE if AI_CANONIDN.
9954 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9956 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9958 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9960 * version.h (RELEASE): Bump for 2.13 release.
9961 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9963 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9967 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9974 * posix/getconf.c: Update copyright year.
9975 * catgets/gencat.c: Likewise.
9976 * csu/version.c: Likewise.
9977 * debug/catchsegv.sh: Likewise.
9978 * debug/xtrace.sh: Likewise.
9979 * elf/ldconfig.c: Likewise.
9980 * elf/ldd.bash.in: Likewise.
9981 * elf/sprof.c (print_version): Likewise.
9982 * iconv/iconv_prog.c: Likewise.
9983 * iconv/iconvconfig.c: Likewise.
9984 * locale/programs/locale.c: Likewise.
9985 * locale/programs/localedef.c: Likewise.
9986 * malloc/memusage.sh: Likewise.
9987 * malloc/mtrace.pl: Likewise.
9988 * nscd/nscd.c (print_version): Likewise.
9989 * nss/getent.c: Likewise.
9991 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9992 PF_CAIF, and PF_ALG.
9993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9995 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9997 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9998 (modules-names): Use them.
9999 (ifunc-test-modules, ifunc-pie-tests): Define.
10000 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10001 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10002 (test-extras): Likewise.
10003 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10004 $(compile-command.c).
10005 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10006 (all-built-dso): Define.
10007 (check-textrel.out, check-execstack.out): Depend on it.
10009 * configure.in: Don't override --enable-multi-arch.
10011 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10014 * nscd/hstcache.c (tryagain): Define.
10015 (cache_addhst): Return tryagain not notfound for temporary errors.
10016 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10019 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10022 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10023 to make the syscall.
10024 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10027 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10028 and fall back to matching as normal character if the string ends before
10029 the matching ']' is found. This is what POSIX requires.
10030 * posix/testfnm.c: Adjust test result.
10031 * posix/globtest.sh: Adjust test result. Add new test.
10032 * posix/tst-fnmatch.input: Likewise.
10033 * posix/tst-fnmatch2.c: Add new test.
10035 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10037 * elf/Makefile (check-execstack): Revert last change. Depend on
10039 (check-execstack.h): New target.
10040 (generated): Add check-execstack.h.
10041 * elf/check-execstack.c: Include "check-execstack.h".
10042 (main): Revert last change.
10043 (handle_file): Return zero if GNU_STACK is absent and
10044 DEFAULT_STACK_PERMS doesn't include PF_X.
10046 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10048 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10049 in child fails because the descriptor is already closed.
10050 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10051 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10052 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10055 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10059 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10060 temporary buffer used to handle multi lookups locally.
10061 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10063 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10065 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10068 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10070 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10071 alignment for SSE2.
10073 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10076 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10077 characters. When rounding increased number of integer digits recompute
10079 * stdio-common/tst-grouping.c: New file.
10080 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10082 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10084 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10085 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10087 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10089 * bits/select.h: Likewise.
10091 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10093 * po/ja.po: Update from translation team.
10095 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10099 implementation just like for lxstat, fxstatat, et al.
10101 2010-12-27 Jim Meyering <meyering@redhat.com>
10104 * posix/regexec.c (build_trtable): Return failure indication upon
10105 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10107 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10110 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10111 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10116 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10119 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10120 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10122 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10124 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10125 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10126 script has SORT_BY_INIT_PRIORITY.
10127 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10128 NO_CTORS_DTORS_SECTIONS is defined.
10129 * elf/soinit.c: Likewise.
10130 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10131 NO_CTORS_DTORS_SECTIONS is defined.
10132 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10133 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10134 * sysdeps/sh/init-first.c: Likewise.
10135 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10137 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10139 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10140 always use the slow path.
10142 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10144 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10145 similar rule which adds the sysdep directories to the header search in
10146 order to pick up the correct platform stackinfo.h.
10147 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10148 perform test if it is, otherwise return successfully without testing.
10149 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10150 DEFAULT_STACK_PERMS define in stackinfo.h.
10151 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10152 defined in stackinfo.h.
10153 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10154 DEFAULT_STACK_PERMS defined in stackinfo.h.
10155 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10156 * sysdeps/ia64/stackinfo.h: Likewise.
10157 * sysdeps/s390/stackinfo.h: Likewise.
10158 * sysdeps/sh/stackinfo.h: Likewise.
10159 * sysdeps/sparc/stackinfo.h: Likewise.
10160 * sysdeps/x86_64/stackinfo.h: Likewise.
10161 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10162 PF_X for powerpc64. Retain PF_X for powerpc32.
10164 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10166 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10168 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10169 GETDENTS_64BIT_ALIGNED.
10171 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10173 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10175 2010-12-10 Andreas Schwab <schwab@redhat.com>
10177 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10181 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10183 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10184 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10186 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10189 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10192 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10194 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10196 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10198 * po/it.po: Update from translation team.
10200 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10205 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10207 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10209 2010-11-24 Andreas Schwab <schwab@redhat.com>
10211 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10213 (gaih_getanswer_slice): Likewise.
10215 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10219 2010-05-31 Petr Baudis <pasky@suse.cz>
10222 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10223 silently even in the chroot mode.
10225 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10227 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10228 last patch a bit. Pretty printing
10230 2010-05-31 Petr Baudis <pasky@suse.cz>
10233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10234 initialization of skip_initgroups_dyn.
10236 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10241 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10243 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10245 2010-11-11 Andreas Schwab <schwab@redhat.com>
10247 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10248 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10249 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10250 ($(objpfx)tst-fnmatch-mem): New rule.
10251 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10252 * posix/tst-fnmatch.c (main): Call mtrace.
10254 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10257 Support Intel processor model 6 and model 0x2c.
10259 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10264 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10267 * string/test-strncasecmp.c (check_result): New function.
10268 (do_one_test): Use it.
10269 (check1): New function.
10270 (test_main): Use it.
10271 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10272 Support strcasecmp and strncasecmp.
10274 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10277 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10280 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10282 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10286 * sysdeps/x86_64/multiarch/bzero.S: New file.
10287 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10288 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10289 * sysdeps/x86_64/multiarch/memset.S: New file.
10290 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10292 Set bit_Prefer_SSE_for_memop for Intel processors.
10293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10295 (index_Prefer_SSE_for_memop): Define.
10296 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10298 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10300 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10301 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10303 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10306 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10307 (__x86_64_raw_data_cache_size_half): Likewise.
10308 (__x86_64_raw_shared_cache_size): Likewise.
10309 (__x86_64_raw_shared_cache_size_half): Likewise.
10311 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10312 (__x86_64_raw_data_cache_size_half): Likewise.
10313 (__x86_64_raw_shared_cache_size): Likewise.
10314 (__x86_64_raw_shared_cache_size_half): Likewise.
10315 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10316 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10317 and __x86_64_raw_shared_cache_size_half. Round
10318 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10319 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10320 to multiple of 256 bytes.
10322 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10326 of inacessible symlinks. Verify result of symlink before returning it.
10327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10328 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10330 2010-10-28 Erich Ritz <erichritz@gmail.com>
10332 * math/math.h (isinf): Fix typo in comment.
10334 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10336 * po/da.po: Update from translation team.
10338 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10340 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10341 is added to the list.
10343 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10344 Ulrich Drepper <drepper@gmail.com>
10346 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10347 the global list here. Move code to...
10348 (_dl_add_to_namespace_list): ...here. New function.
10349 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10350 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10351 * elf/dl-load.c (lose): Don't remove the element from the list.
10352 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10353 (_dl_map_object): Likewise.
10355 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10358 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10359 into all bytes of SSE register.
10360 Patch by Richard Li <richardpku@gmail.com>.
10362 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10365 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10368 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10370 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10371 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10378 2010-10-22 Andreas Schwab <schwab@redhat.com>
10380 * include/dlfcn.h (__RTLD_SECURE): Define.
10381 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10382 mode & __RTLD_SECURE instead.
10383 (open_path): Rename preloaded parameter to secure.
10384 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10385 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10386 * elf/dl-deps.c (openaux): Likewise.
10387 * elf/rtld.c (struct map_args): Remove is_preloaded.
10388 (map_doit): Don't use it.
10389 (dl_main): Likewise.
10390 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10391 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10393 2010-09-09 Andreas Schwab <schwab@redhat.com>
10395 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10396 (sysd-rules-targets): Remove duplicates.
10397 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10398 rtld-%.$o dependency.
10400 2010-10-18 Andreas Schwab <schwab@redhat.com>
10402 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10403 _dl_map_object do it.
10405 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10407 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10408 fast fma builtins, define the macros in the C99 standard.
10409 (FP_FAST_FMAF): Likewise.
10410 (FP_FAST_FMAL): Likewise.
10411 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10413 * bits/mathdef.h: Update copyright year.
10414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10416 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10418 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10419 builtins, define the macros in the C99 standard.
10420 (FP_FAST_FMAF): Likewise.
10421 (FP_FAST_FMAL): Likewise.
10422 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10424 (FP_FAST_FMAF): Likewise.
10426 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10429 * math/libm-test.inc (fma_test): Some new testcases.
10430 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10432 y and infinite z. Do multiplication by C already in long double.
10433 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10435 y and infinite z. Do bitwise or of inexact bit into u.d.
10436 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10437 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10438 * sysdeps/i386/fpu/s_fma.S: Removed.
10439 * sysdeps/i386/fpu/s_fmal.S: Removed.
10441 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10444 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10446 computation is not scheduled after fetestexcept. Fix value
10447 of minimum denormal long double.
10449 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10452 * math/libm-test.inc (fma_test): Add some more tests.
10453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10456 2010-10-15 Andreas Schwab <schwab@redhat.com>
10458 * scripts/data/localplt-s390-linux-gnu.data: New file.
10459 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10461 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10464 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10465 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10467 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10469 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10471 if one of x and y is very large and the other is subnormal.
10472 * sysdeps/s390/fpu/s_fmaf.c: New file.
10473 * sysdeps/s390/fpu/s_fma.c: New file.
10474 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10475 * sysdeps/powerpc/fpu/s_fma.S: New file.
10476 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10477 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10478 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10480 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10483 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10486 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10487 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10488 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10489 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10490 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10493 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10496 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10497 * posix/bug-regex31.input: Add test case.
10499 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10501 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10502 * posix/bug-regex31.input: New file.
10505 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10506 (parse_sub_exp): Fix last change, use postorder.
10508 * posix/bug-regex31.c: New file.
10509 * posix/Makefile: Add rules to build and run bug-regex31.
10511 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10514 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10517 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10518 to have entries in sys_siglist.
10521 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10524 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10527 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10528 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10529 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10530 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10532 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10533 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10534 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10535 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10536 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10537 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10538 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10539 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10540 * math/ftestexcept.c (fetestexcept): Likewise.
10541 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10542 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10543 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10544 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10545 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10546 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10549 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10552 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10555 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10557 * string/bug-strstr1.c: New file.
10558 * string/Makefile: Add rules to build and run bug-strstr1.
10560 2010-10-05 Eric Blake <eblake@redhat.com>
10563 * string/str-two-way.h (two_way_long_needle): Always clear memory
10564 when skipping input due to the shift table.
10566 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10569 * malloc/mcheck.c: Handle large requests.
10572 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10573 for strncmp and strncasecmp.
10574 * string/stratcliff.c: Add tests for strcmp and strncmp.
10575 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10577 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10579 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10582 2010-09-30 Andreas Jaeger <aj@suse.de>
10584 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10585 (CGROUP_SUPER_MAGIC): Define.
10586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10587 Handle btrfs and cgroup file systems.
10588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10591 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10593 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10594 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10596 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10599 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10600 trying to locate the ELF header.
10602 2010-09-27 Andreas Schwab <schwab@redhat.com>
10605 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10606 Mask out sign-bit copies when constructing f_fsid.
10608 2010-09-24 Petr Baudis <pasky@suse.cz>
10610 * debug/stack_chk_fail_local.c: Add missing licence exception.
10611 * debug/warning-nop.c: Likewise.
10613 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10616 implementing getdents64 using getdents syscall, set d_type if
10617 __ASSUME_GETDENTS32_D_TYPE.
10619 2010-09-16 Andreas Schwab <schwab@redhat.com>
10621 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10622 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10624 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10627 * posix/unistd.h: Undo change of feature selection for ftruncate from
10630 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10632 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10635 2010-09-20 Andreas Schwab <schwab@redhat.com>
10637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10641 2010-09-14 Andreas Schwab <schwab@redhat.com>
10643 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10644 variables after CHECK_SP call.
10645 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10647 2010-09-13 Andreas Schwab <schwab@redhat.com>
10648 Ulrich Drepper <drepper@redhat.com>
10650 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10651 re-relocationg ld.so.
10652 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10653 _dl_init_paths call.
10654 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10657 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10659 * resolv/res_init.c (__res_vinit): Count the default server we added.
10661 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10662 Ulrich Drepper <drepper@redhat.com>
10665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10666 (____longjmp_chk): Use %ebx for saving value across system call.
10669 2010-09-06 Andreas Schwab <schwab@redhat.com>
10671 * manual/Makefile: Don't mix pattern rules with normal rules.
10673 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10675 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10677 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10678 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10679 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10680 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10684 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10687 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10688 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10690 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10692 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10693 * sysdeps/x86_64/addmul_1.S: Likewise.
10694 * sysdeps/x86_64/lshift.S: Likewise.
10695 * sysdeps/x86_64/mul_1.S: Likewise.
10696 * sysdeps/x86_64/rshift.S: Likewise.
10697 * sysdeps/x86_64/sub_n.S: Likewise.
10698 * sysdeps/x86_64/submul_1.S: Likewise.
10700 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10702 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10703 Define __sched_param instead of SCHED_* and sched_param when
10704 <bits/sched.h> is included with __need_schedparam defined.
10705 * bits/sched.h [__need_schedparam]
10706 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10707 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10708 (__defined_schedparam): Define to 1.
10709 (__sched_param): New structure, identical to sched_param.
10710 (__need_schedparam): Undefine.
10712 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10715 (epoll_create1): Declare.
10717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10719 2010-08-31 Andreas Schwab <schwab@redhat.com>
10722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10723 shifting retval into place.
10725 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10727 * nis/rpcsvc/nis.h: Update copyright notice.
10728 * nis/rpcsvc/nis.x: Likewise.
10729 * nis/rpcsvc/nis_callback.h: Likewise.
10730 * nis/rpcsvc/nis_callback.x: Likewise.
10731 * nis/rpcsvc/nis_object.x: Likewise.
10732 * nis/rpcsvc/nis_tags.h: Likewise.
10733 * nis/rpcsvc/yp.h: Likewise.
10734 * nis/rpcsvc/yp.x: Likewise.
10735 * nis/rpcsvc/ypupd.h: Likewise.
10736 * nis/yp_xdr.c: Likewise.
10737 * nis/ypupdate_xdr.c: Likewise.
10739 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10740 mainly the body of pmap_getport. Add parameters to specify timeouts.
10741 (pmap_getport): Use __libc_rpc_getport.
10742 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10743 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10744 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10746 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10751 2010-08-27 Roland McGrath <roland@redhat.com>
10753 * sysdeps/i386/i686/multiarch/Makefile
10754 (CFLAGS-varshift.c): New variable.
10756 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10758 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10759 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10763 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10765 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10767 * sysdeps/x86_64/strlen.S: Unroll the loop.
10768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10769 strlen-sse2 strlen-sse2-bsf.
10770 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10771 __strlen_no_bsf if bit_Slow_BSF is set.
10772 (__strlen_sse42): Removed.
10773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10774 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10776 2010-08-25 Roland McGrath <roland@redhat.com>
10778 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10779 * sysdeps/x86_64/multiarch/varshift.c: New file.
10780 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10781 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10782 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10783 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10785 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10788 strlen-sse2 strlen-sse2-bsf.
10789 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10790 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10791 (__strlen_sse2): Removed.
10792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10795 bit_Slow_BSF for Atom.
10796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10797 (index_Slow_BSF): Define.
10798 (HAS_SLOW_BSF): Define.
10800 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10803 * resolv/res_init.c (__res_vinit): When no server address at all
10804 is given default to loopback.
10806 2010-08-24 Roland McGrath <roland@redhat.com>
10808 * configure.in: Remove config-name.h generation.
10809 * configure: Regenerated.
10810 * config-name.in: File removed.
10811 * scripts/config-uname.sh: New file.
10812 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10813 ($(objdir)config-name.h): New target.
10815 * sunrpc/rpc_parse.h: Avoid nested comment.
10817 2010-08-24 Richard Henderson <rth@redhat.com>
10818 Ulrich Drepper <drepper@redhat.com>
10819 H.J. Lu <hongjiu.lu@intel.com>
10821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10823 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10824 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10825 _mm_alignr_epi8 with _mm_loadu_si128.
10826 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10827 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10828 (__m128i_shift_right): Removed.
10829 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10830 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10831 * sysdeps/x86_64/multiarch/varshift.h: New file.
10832 * sysdeps/x86_64/multiarch/varshift.S: New file.
10834 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10836 * configure.in: Move assembler checks to before sysdep dir checking.
10838 2010-08-20 Petr Baudis <pasky@suse.cz>
10840 * LICENSES: Sync the sunrpc license.
10842 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10844 * sunrpc/auth_des.c: Update copyright notice once again.
10845 * sunrpc/auth_none.c: Likewise.
10846 * sunrpc/auth_unix.c: Likewise.
10847 * sunrpc/authdes_prot.c: Likewise.
10848 * sunrpc/authuxprot.c: Likewise.
10849 * sunrpc/bindrsvprt.c: Likewise.
10850 * sunrpc/clnt_gen.c: Likewise.
10851 * sunrpc/clnt_perr.c: Likewise.
10852 * sunrpc/clnt_raw.c: Likewise.
10853 * sunrpc/clnt_simp.c: Likewise.
10854 * sunrpc/clnt_tcp.c: Likewise.
10855 * sunrpc/clnt_udp.c: Likewise.
10856 * sunrpc/clnt_unix.c: Likewise.
10857 * sunrpc/des_crypt.c: Likewise.
10858 * sunrpc/des_soft.c: Likewise.
10859 * sunrpc/get_myaddr.c: Likewise.
10860 * sunrpc/getrpcport.c: Likewise.
10861 * sunrpc/key_call.c: Likewise.
10862 * sunrpc/key_prot.c: Likewise.
10863 * sunrpc/openchild.c: Likewise.
10864 * sunrpc/pm_getmaps.c: Likewise.
10865 * sunrpc/pm_getport.c: Likewise.
10866 * sunrpc/pmap_clnt.c: Likewise.
10867 * sunrpc/pmap_prot.c: Likewise.
10868 * sunrpc/pmap_prot2.c: Likewise.
10869 * sunrpc/pmap_rmt.c: Likewise.
10870 * sunrpc/rpc/auth.h: Likewise.
10871 * sunrpc/rpc/auth_unix.h: Likewise.
10872 * sunrpc/rpc/clnt.h: Likewise.
10873 * sunrpc/rpc/des_crypt.h: Likewise.
10874 * sunrpc/rpc/key_prot.h: Likewise.
10875 * sunrpc/rpc/netdb.h: Likewise.
10876 * sunrpc/rpc/pmap_clnt.h: Likewise.
10877 * sunrpc/rpc/pmap_prot.h: Likewise.
10878 * sunrpc/rpc/pmap_rmt.h: Likewise.
10879 * sunrpc/rpc/rpc.h: Likewise.
10880 * sunrpc/rpc/rpc_des.h: Likewise.
10881 * sunrpc/rpc/rpc_msg.h: Likewise.
10882 * sunrpc/rpc/svc.h: Likewise.
10883 * sunrpc/rpc/svc_auth.h: Likewise.
10884 * sunrpc/rpc/types.h: Likewise.
10885 * sunrpc/rpc/xdr.h: Likewise.
10886 * sunrpc/rpc_clntout.c: Likewise.
10887 * sunrpc/rpc_cmsg.c: Likewise.
10888 * sunrpc/rpc_common.c: Likewise.
10889 * sunrpc/rpc_cout.c: Likewise.
10890 * sunrpc/rpc_dtable.c: Likewise.
10891 * sunrpc/rpc_hout.c: Likewise.
10892 * sunrpc/rpc_main.c: Likewise.
10893 * sunrpc/rpc_parse.c: Likewise.
10894 * sunrpc/rpc_parse.h: Likewise.
10895 * sunrpc/rpc_prot.c: Likewise.
10896 * sunrpc/rpc_sample.c: Likewise.
10897 * sunrpc/rpc_scan.c: Likewise.
10898 * sunrpc/rpc_scan.h: Likewise.
10899 * sunrpc/rpc_svcout.c: Likewise.
10900 * sunrpc/rpc_tblout.c: Likewise.
10901 * sunrpc/rpc_util.c: Likewise.
10902 * sunrpc/rpc_util.h: Likewise.
10903 * sunrpc/rpcinfo.c: Likewise.
10904 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10905 * sunrpc/rpcsvc/key_prot.x: Likewise.
10906 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10907 * sunrpc/rpcsvc/mount.x: Likewise.
10908 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10909 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10910 * sunrpc/rpcsvc/rex.x: Likewise.
10911 * sunrpc/rpcsvc/rstat.x: Likewise.
10912 * sunrpc/rpcsvc/rusers.x: Likewise.
10913 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10914 * sunrpc/rpcsvc/spray.x: Likewise.
10915 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10916 * sunrpc/rtime.c: Likewise.
10917 * sunrpc/svc.c: Likewise.
10918 * sunrpc/svc_auth.c: Likewise.
10919 * sunrpc/svc_authux.c: Likewise.
10920 * sunrpc/svc_raw.c: Likewise.
10921 * sunrpc/svc_run.c: Likewise.
10922 * sunrpc/svc_simple.c: Likewise.
10923 * sunrpc/svc_tcp.c: Likewise.
10924 * sunrpc/svc_udp.c: Likewise.
10925 * sunrpc/svc_unix.c: Likewise.
10926 * sunrpc/svcauth_des.c: Likewise.
10927 * sunrpc/xcrypt.c: Likewise.
10928 * sunrpc/xdr.c: Likewise.
10929 * sunrpc/xdr_array.c: Likewise.
10930 * sunrpc/xdr_float.c: Likewise.
10931 * sunrpc/xdr_mem.c: Likewise.
10932 * sunrpc/xdr_rec.c: Likewise.
10933 * sunrpc/xdr_ref.c: Likewise.
10934 * sunrpc/xdr_sizeof.c: Likewise.
10935 * sunrpc/xdr_stdio.c: Likewise.
10937 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10940 2010-08-19 Andreas Schwab <schwab@redhat.com>
10942 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10944 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10946 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10947 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10949 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10950 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10951 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10953 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10956 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10957 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10958 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10959 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10961 2010-07-26 Anton Blanchard <anton@samba.org>
10963 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10964 * malloc/arena.c (heap_trim): Likewise.
10966 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10968 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10971 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10973 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10975 * sysdeps/i386/elf/Makefile: New file.
10977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10979 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10980 from fanotify_init.
10981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10984 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10986 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10988 * sysdeps/multiarch/strcmp.S: Likewise.
10990 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10992 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10993 strncase_l-nonascii.
10994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10995 Add strncase_l-ssse3.
10996 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10997 * sysdeps/x86_64/strcmp.S: Likewise.
10998 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10999 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11000 * sysdeps/x86_64/strncase.S: New file.
11001 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11002 * sysdeps/x86_64/strncase_l.S: New file.
11003 * string/Makefile (strop-tests): Add strncasecmp.
11004 * string/test-strncasecmp.c: New file.
11006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11009 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11010 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11012 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11014 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11016 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11018 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11022 2010-05-01 Alan Modra <amodra@gmail.com>
11024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11025 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11026 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11027 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11028 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11029 tidying. Don't tail-call __sigjmp_save for static lib.
11030 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11032 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11033 (CALL_MCOUNT): Add eh info, and nop after bl.
11034 (TAIL_CALL_SYSCALL_ERROR): New macro.
11035 (PSEUDO_RET): Use it.
11036 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11037 Correct save location of integer regs and cr.
11038 (_dl_profile_resolve): Correct cr save location. Delete nops
11039 after bl when SHARED. Reduce cfi size a little by better
11040 placement of cfi directives.
11041 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11042 make a stack frame. Instead use parm save area as a temp.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11044 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11046 Don't make a stack frame for parent, use parm save area.
11047 Increase child stack frame to 112 bytes. Don't save unused reg,
11048 and adjust reg usage. Set up cfi on error recovery and
11049 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11051 (__makecontext): Add dummy nop after jump to exit.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11053 Use correct parm save area and cr save, reduce stack frame.
11054 Correct cfi for possible PSEUDO_RET frame setup.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11056 Branch to local label emitted by PSEUDO_RET rather than
11059 2010-08-12 Andreas Schwab <schwab@redhat.com>
11062 * locale/programs/locale.c (print_assignment): New function.
11063 (show_locale_vars): Use it.
11065 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11067 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11069 (struct statfs64): Likewise.
11070 (_STATFS_F_FLAGS): Define.
11071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11073 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11074 (ST_VALID): Define locally.
11075 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11076 __statvfs_getflags, use the provided value.
11077 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11078 __ASSUME_STATFS_F_FLAGS.
11080 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11082 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11083 Add sys/fanotify.h.
11084 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11085 fanotify_mask for GLIBC_2.13.
11086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11087 fanotify_init and fanotify_mark.
11088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11089 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11093 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11094 prlimit64 for GLIBC_2.13.
11095 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11097 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11100 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11101 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11105 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11108 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11109 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11111 * nss/Makefile: Add rules to build and run tst-nss-test1.
11112 * shlib-versions: Add entry for libnss_test1.
11113 * nss/nss_test1.c: New file.
11114 * nss/tst-nss-test1.c: New file.
11116 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11117 (__nss_configure_lookup): Set appropriate entry in
11118 __nss_configure_lookup to true.
11119 * nss/nsswitch.h: Define enum with indeces of databases in
11120 databases and __nss_database_custom arrays. Declare
11121 __nss_database_custom.
11122 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11123 to avoid using nscd when custom rules are installed.
11124 * nss/getXXbyYY_r.c: Likewise.
11125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11127 * nss/nss_files/files-parse.c: Whitespace fixes.
11129 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11132 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11133 * posix/fnmatch_loop.c: Likewise.
11135 2010-07-17 Andi Kleen <ak@linux.intel.com>
11137 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11138 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11139 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11140 * Versions.def [GLIBC_2.13]: Add.
11142 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11145 Also fail if tpwd after pwuid call is NULL.
11147 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11149 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11150 when converting to ms.
11152 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11154 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11155 EOPNOTSUPP errors with ENOTTY.
11156 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11157 EOPNOTSUPP errors with ENOTTY.
11159 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11162 Add strcasecmp_l-ssse3.
11163 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11165 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11169 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11171 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11173 * string/Makefile (strop-tests): Add strcasecmp.
11174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11175 strcasecmp_l-nonascii.
11176 (gen-as-const-headers): Add locale-defines.sym.
11177 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11178 * sysdeps/x86_64/strcasecmp.S: New file.
11179 * sysdeps/x86_64/strcasecmp_l.S: New file.
11180 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11181 * sysdeps/x86_64/locale-defines.sym: New file.
11182 * string/test-strcasecmp.c: New file.
11184 * string/test-strcasestr.c: Test both ends of the range of characters.
11185 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11187 2010-07-29 Roland McGrath <roland@redhat.com>
11190 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11192 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11194 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11197 2010-07-27 Andreas Schwab <schwab@redhat.com>
11199 * manual/memory.texi (Malloc Tunable Parameters): Document
11202 2010-07-26 Roland McGrath <roland@redhat.com>
11205 * configure.in (-fgnu89-inline check): Set and substitute
11206 gnu89_inline, not libc_cv_gnu89_inline.
11207 * configure: Regenerated.
11208 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11210 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11212 * string/test-strnlen.c: New file.
11213 * string/Makefile (strop-tests): Add strnlen.
11214 * string/tester.c (test_strnlen): Add a few more test cases.
11215 * string/tst-strlen.c: Better error reporting.
11217 * sysdeps/x86_64/strnlen.S: New file.
11219 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11222 lower-latency instructions.
11224 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11226 * string/test-strcasestr.c: New file.
11227 * string/test-strstr.c: New file.
11228 * string/Makefile (strop-tests): Add strstr and strcasestr.
11229 * string/str-two-way.h: Don't undefine MAX.
11230 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11232 2010-07-21 Andreas Schwab <schwab@redhat.com>
11234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11235 strcasestr-nonascii.
11236 (CFLAGS-strcasestr-nonascii.c): Define.
11237 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11239 Remove unused attribute.
11241 2010-07-20 Roland McGrath <roland@redhat.com>
11243 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11244 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11245 ld.so.cache was broken. With it, there is no way to disable dsocaps
11246 like LD_HWCAP_MASK can disable hwcaps.
11248 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11250 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11252 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11254 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11255 call in strcasestr.
11256 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11257 __strcasestr_sse42_nonascii.
11258 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11259 strcasestr-nonascii.c.
11260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11262 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11269 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11274 2010-07-06 Andreas Schwab <schwab@redhat.com>
11277 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11280 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11283 _PC_PIPE_BUF using F_GETPIPE_SZ.
11285 2010-07-05 Roland McGrath <roland@redhat.com>
11287 * manual/arith.texi (Rounding Functions): Fix rint description
11288 implicit in round description.
11290 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11292 * elf/Makefile: Fix linking for a few tests to make recent linker
11295 2010-06-30 Andreas Schwab <schwab@redhat.com>
11297 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11298 $(common-objpfx)libc_nonshared.a.
11300 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11302 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11303 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11304 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11305 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11306 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11307 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11324 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11325 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11326 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11327 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11328 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11329 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11330 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11331 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11332 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11333 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11334 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11335 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11351 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11353 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11354 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11355 * string/memmove.c (memmove): Renamed to ...
11356 (MEMMOVE): ...this. Default to memmove.
11357 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11358 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11361 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11362 mempcpy-ssse3-back memmove-ssse3-back.
11363 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11366 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11367 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11368 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11369 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11370 * sysdeps/x86_64/multiarch/memmove.c: New file.
11371 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11372 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11373 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11374 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11375 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11378 (index_Fast_Copy_Backward): Define.
11379 (HAS_ARCH_FEATURE): Define.
11380 (HAS_FAST_REP_STRING): Define.
11381 (HAS_FAST_COPY_BACKWARD): Define.
11383 2010-06-21 Andreas Schwab <schwab@redhat.com>
11385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11386 Restore proper fallback handling.
11388 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11391 * posix/group_member.c (__group_member): Correct checking loop.
11393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11394 OOM in getpwuid_r correctly. Return error number when the caller
11395 should return, otherwise -1.
11396 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11397 call returning > 0 value.
11398 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11400 2010-06-07 Andreas Schwab <schwab@redhat.com>
11402 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11403 libc_nonshared.a from targets in modules-names.
11405 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11407 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11410 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11417 2010-06-02 Andreas Schwab <schwab@redhat.com>
11419 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11421 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11432 2010-06-14 Roland McGrath <roland@redhat.com>
11434 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11436 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11438 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11439 __REDIRECT followed by __THROW.
11440 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11441 * posix/getopt.h (getopt): Likewise.
11443 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11445 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11446 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11447 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11449 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11450 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11452 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11456 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11460 Properly check family and model.
11462 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11466 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11468 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11470 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11472 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11475 2010-05-19 Andreas Schwab <schwab@redhat.com>
11477 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11480 2010-05-21 Andreas Schwab <schwab@redhat.com>
11482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11483 and internal_recvmmsg.
11484 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11485 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11487 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11489 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11490 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11491 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11493 2010-05-20 Andreas Schwab <schwab@redhat.com>
11495 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11497 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11499 POWER7 optimizations.
11500 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11501 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11503 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11505 * version.h: Update for 2.13 development version.
11507 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11509 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11510 exceptions. Return 0.
11512 2010-05-07 Roland McGrath <roland@redhat.com>
11514 * elf/ldconfig.c (main): Add a const.
11516 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11518 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11519 (args_options): Add no-idn option.
11520 (ahosts_keys_int): Add idn_flags to ai_flags.
11521 (parse_option): Handle 'i' option to clear idn_flags.
11523 * malloc/malloc.c (_int_free): Possible race in the most recently
11524 added check. Only act on the data if no current modification
11527 See ChangeLog.17 for earlier changes.