1 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5 (__ieee754_powl): Saturate large exponents rather than testing for
7 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12 * math/s_ctan.c: Include <float.h>.
13 (__ctan): Avoid internal overflow or cancellation in calculating
15 * math/s_ctanf.c: Likewise.
16 * math/s_ctanl.c: Likewise.
17 * math/s_ctanh.c: Likewise.
18 * math/s_ctanhf.c: Likewise.
19 * math/s_ctanhl.c: Likewise.
20 * math/libm-test.inc (ctan_test): Add more tests.
21 (ctanh_test): Likewise.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25 2012-04-09 Andreas Jaeger <aj@suse.de>
28 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29 is an optional BSD extension.
32 * manual/stdio.texi (Opening Streams): Document additional fopen
35 2012-04-09 Roland McGrath <roland@hack.frob.com>
37 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38 %eax without telling the compiler.
40 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43 * manual/install.texi: Use sourceware.org.
45 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49 (__ieee754_pow): Generate overflow and underflow using huge*huge
50 and tiny*tiny rather than just returning constant infinity or zero
52 * math/libm-test.inc (pow_test): Require overflow exceptions for
53 applicable cases of large exponents.
56 * sysdeps/i386/fpu/e_pow.S (p10): New object.
57 (__ieee754_pow): Use iterative multiplication algorithm only for
58 integer exponents with absolute value below 1024. Check for odd
59 integer exponents when using algorithm for real exponents.
60 * math/libm-test.inc (pow_test): Add more tests.
61 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63 2012-04-08 Joseph Myers <joseph@codesourcery.com>
66 * math/libm-test.inc (exp_test): Do not allow overflow exception
69 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
72 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73 instead of __kernel_standard_f.
75 2012-04-08 Mike Frysinger <vapier@gentoo.org>
77 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78 * sysdeps/x86_64/memset_chk.S: Likewise.
80 2012-04-08 Andreas Jaeger <aj@suse.de>
83 * manual/startup.texi (Environment Access): Describe return value
84 for putenv and setenv.
87 * manual/filesys.texi (Directory Entries): Add description for
91 * manual/filesys.texi (Directory Entries): Clarify that it's file
92 system not operating system in the description of DT_UNKNOWN.
95 * manual/syslog.texi (closelog): Fix reference, it's openlog.
97 2012-04-08 Stephen Compall <s11@member.fsf.org>
100 * manual/llio.texi (Opening and Closing Files): Add cross
101 reference to explain mode argument.
103 2012-04-07 Mike Frysinger <vapier@gentoo.org>
105 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
106 * sysdeps/x86_64/memset_chk.S: Likewise.
108 2012-04-07 David S. Miller <davem@davemloft.net>
110 * elf/elf.h (R_SPARC_WDISP10): Define.
111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
114 R_SPARC_SIZE64 and R_SPARC_H34.
116 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
119 conditions and remove no longer applicable assertion.
121 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
123 * bits/byteswap.h (__bswap_16): Removed.
124 Include <bits/byteswap-16.h> to get __bswap_16.
125 * sysdeps/i386/bits/byteswap.h: Likewise.
126 * sysdeps/s390/bits/byteswap.h: Likewise.
127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
128 * bits/byteswap-16.h: New file.
129 * sysdeps/i386/bits/byteswap-16.h: Likewise.
130 * sysdeps/s390/bits/byteswap-16.h: Likewise.
131 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
132 * string/Makefile (headers): Add bits/byteswap-16.h.
134 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
137 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
139 * nss/Makefile (tests-static, tests): Add tst-nss-static.
140 * nss/tst-nss-static.c: New.
142 2012-04-06 Robert Millan <rmh@gnu.org>
145 * manual/llio.texi (File Position Primitive): lseek
146 refers to WHENCE when it really means OFFSET.
148 2012-04-06 Andreas Jaeger <aj@suse.de>
150 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
151 strncmp declarations.
153 * abilist/libc.abilist: Add __poll and __ppoll.
155 2012-04-05 David S. Miller <davem@davemloft.net>
157 * scripts/check-local-headers.sh: Accept a host triplet in the
158 path matched by the exclude regexp.
160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
162 * sysdeps/powerpc/powerpc32/dl-machine.h
163 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
164 * sysdeps/s390/s390-32/dl-machine.h
165 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
166 * sysdeps/sparc/sparc32/dl-machine.h
167 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
168 * sysdeps/sparc/sparc64/dl-machine.h
169 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
171 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
173 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
174 undefined symbol errors.
176 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
179 2012-04-05 Michael Matz <matz@suse.de>
182 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
184 2012-04-05 Andreas Jaeger <aj@suse.de>
187 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
190 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
192 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
193 which ROUND is no valid rounding mode.
195 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
197 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
199 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
201 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
203 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
204 an exception using FPU order intentionally.
206 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
208 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
209 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
210 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
211 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
213 2012-04-05 Simon Josefsson <simon@josefsson.org>
216 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
217 EINVAL when BUFLEN is too smal.
219 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
222 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
223 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
225 2012-04-03 Andreas Jaeger <aj@suse.de>
228 * manual/setjmp.texi (System V contexts): Fix sentence.
231 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
232 New macro for this case.
233 [!__GNUC__] (__bswap_64): New inline function for this case.
234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
235 * bits/byteswap.h: Likewise.
236 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
237 ull, guard with __GLIBC_HAVE_LONG_LONG.
239 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
240 __GLIBC_HAVE_LONG_LONG.
242 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
243 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
245 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
248 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
249 inptr and inend, rather than using last_ch.
251 2012-04-02 David S. Miller <davem@davemloft.net>
253 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
254 * stdio-common/printf-parse.h (read_int): Change return type to
255 'int', return -1 on INT_MAX overflow.
256 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
257 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
258 overflows INT_MAX. Check for overflow of in-format-string precision
259 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
260 SIZE_MAX not INT_MAX for integer overflow test.
261 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
262 skip the construct in the format string but do not record anything.
263 * stdio-common/bug22.c: Adjust to test both width/prevision
264 INT_MAX overflow as well as total length INT_MAX overflow. Check
265 explicitly for proper errno values.
267 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
269 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
271 * string/test-strcmp.c [! WIDE]: Likewise.
272 * time/tst-mktime2.c: Likewise for INT_MAX.
273 * string/test-string.h: #include <sys/param.h> for MIN.
275 * csu/init-first.c (__libc_init_first): Call __ctype_init.
276 * sysdeps/i386/init-first.c (init): Likewise.
277 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
278 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
279 * sysdeps/sh/init-first.c (init): Likewise.
281 2012-04-01 Ulrich Drepper <drepper@gmail.com>
283 * po/ru.po: Update from translation team.
284 * po/vi.po: Likewise.
286 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
288 * resolv/nss_dns/dns-host.c: Merge copyright years.
290 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
293 Optimize memcpy with prefetch if
294 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
295 src, dst pointers have unequal 16 byte alignments.
297 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
300 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
301 from a CNAME entry and return the minimum ttl for the query.
302 (gaih_getanswer_slice): Likewise.
304 2012-03-30 Jeff Law <law@redhat.com>
306 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
308 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
309 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
311 * resolv/nss_dns/dns-host.c: Update copyright year.
313 2012-03-30 Ulrich Drepper <drepper@gmail.com>
315 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
316 requests to save a system call. Fix check that all bytes are sent.
318 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
319 comments for sendmmsg.
321 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
324 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
325 with only 1 character between 0x0041 and 0x01b0.
326 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
327 * wcsmbs/tst-mbsnrtowcs.c: New file.
329 2012-03-29 David S. Miller <davem@davemloft.net>
331 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
332 small copies by hand.
334 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
337 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
338 _nss_compat_initgroups_dyn): Fall back to malloc/free
339 for large group memberships.
341 2012-03-28 David S. Miller <davem@davemloft.net>
343 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
344 that branches into memcpy.
345 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
348 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
351 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
353 * sysdeps/sparc/mempcpy.S: New file.
355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
356 the IFUNC routine in the libc case.
357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
359 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
360 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
361 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
362 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
363 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
364 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
365 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
366 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
368 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
369 loop to 256 bytes instead of 64 bytes and fix test signedness.
371 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
372 * sysdeps/sparc/sparc32/Makefile: rather than here...
373 * sysdeps/sparc/sparc64/Makefile: and here.
375 2012-03-28 Ulrich Drepper <drepper@gmail.com>
377 * malloc/mallocbug.c: Avoid warnings about unused variables.
379 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
382 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
383 in the right place. Discard and retry query if response is
384 larger than input buffer size.
386 2012-03-28 Joseph Myers <joseph@codesourcery.com>
391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
392 x for large integer exponent.
393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
394 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
395 sign of result as needed afterwards.
396 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
397 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
398 result for underflowing pow the same as for overflow.
399 (__kernel_standard_l): Handle powl overflow and underflow here
400 rather than calling __kernel_standard.
401 * math/libm-test.inc (pow_test): Add more tests.
416 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
417 * sysdeps/ieee754/k_standard.c: Include <float.h>.
418 (__kernel_standard_l): New function.
419 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
421 * math/w_acosl.c (__acosl): Likewise.
422 * math/w_asinl.c (__asinl): Likewise.
423 * math/w_atan2l.c (__atan2l): Likewise.
424 * math/w_atanhl.c (__atanhl): Likewise.
425 * math/w_coshl.c (__coshl): Likewise.
426 * math/w_exp10l.c (__exp10l): Likewise.
427 * math/w_exp2l.c (__exp2l): Likewise.
428 * math/w_fmodl.c (__fmodl): Likewise.
429 * math/w_hypotl.c (__hypotl): Likewise.
430 * math/w_j0l.c (__j0l, __y0l): Likewise.
431 * math/w_j1l.c (__j1l, __y1l): Likewise.
432 * math/w_jnl.c (__jnl, __ynl): Likewise.
433 * math/w_lgammal.c (__lgammal): Likewise.
434 * math/w_log10l.c (__log10l): Likewise.
435 * math/w_log2l.c (__log2l): Likewise.
436 * math/w_logl.c (__logl): Likewise.
437 * math/w_powl.c (__powl): Likewise.
438 * math/w_remainderl.c (__remainderl): Likewise.
439 * math/w_scalbl.c (sysv_scalbl): Likewise.
440 * math/w_sinhl.c (__sinhl): Likewise.
441 * math/w_sqrtl.c (__sqrtl): Likewise.
442 * math/w_tgammal.c (__tgammal): Likewise.
443 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
444 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
445 * math/libm-test.inc (acos_test): Add more tests.
446 (acosh_test): Likewise.
447 (asin_test): Likewise.
448 (atanh_test): Likewise.
449 (exp_test): Likewise.
450 (exp10_test): Likewise.
451 (exp2_test): Likewise.
452 (expm1_test): Likewise.
453 (lgamma_test): Likewise.
454 (log_test): Likewise.
455 (log10_test): Likewise.
456 (log1p_test): Likewise.
457 (log2_test): Likewise.
458 (pow_test): Do not allow some spurious overflow exceptions.
459 (sqrt_test): Add more tests.
460 (tgamma_test): Likewise.
465 2012-03-27 Anton Blanchard <anton@samba.org>
467 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
470 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
473 2012-03-27 David S. Miller <davem@davemloft.net>
475 * conform/Makefile: Run run-conformtest.sh using $(BASH).
477 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
480 2012-03-27 Andreas Jaeger <aj@suse.de>
482 * sysdeps/x86_64/elf/configure.in: Moved to ...
483 * sysdeps/x86_64/configure.in: ... here.
484 * sysdeps/x86_64/elf/start.S: Moved to ...
485 * sysdeps/x86_64/start.S: ... here.
486 * sysdeps/x86_64/elf/configure: Delete.
488 * sysdeps/x86_64/configure.in: Merge contents from
489 sysdeps/i386/configure.in (without i686 check).
491 * sysdeps/i386/elf/Versions: Merge into ...
492 * sysdeps/i386/Versions: ... this.
493 * sysdeps/i386/elf/Versions: Delete file.
494 * sysdeps/i386/elf/start.S: Moved to ...
495 * sysdeps/i386/start.S: ...here.
496 * sysdeps/i386/elf/configure.in: Merge into...
497 * sysdeps/i386/configure.in: ...here.
498 * sysdeps/i386/elf/configure.in: Delete file.
499 * sysdeps/i386/elf/configure: Delete file.
501 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
502 * debug/backtracesyms.c: ... here.
503 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
504 * debug/backtracesymsfd.c: ... here.
505 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
506 * sysdeps/generic/ifunc-sel.h: ... here.
508 * sysdeps/unix/i386/start.c: Delete file.
509 * sysdeps/unix/sparc/start.c: Delete file.
510 * sysdeps/unix/start.c: Delete file.
512 * sysdeps/sh/elf/configure.in: Moved to ...
513 * sysdeps/sh/configure.in: ... here.
514 * sysdeps/sh/elf/start.S: Moved to ...
515 * sysdeps/sh/start.S: ... here.
516 * sysdeps/sh/elf/configure: Delete file.
518 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
519 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
520 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
521 * sysdeps/powerpc/powerpc64/entry.h: ... here.
522 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
523 * sysdeps/powerpc/powerpc64/start.S: here.
524 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
525 * sysdeps/powerpc/powerpc64/Makefile: ... this.
526 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
527 * sysdeps/powerpc/powerpc64/configure.in: ... this.
528 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
530 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
531 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
532 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
533 * sysdeps/powerpc/powerpc32/start.S: ... here.
534 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
535 * sysdeps/powerpc/powerpc32/configure.in: ... this.
536 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
538 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
539 * sysdeps/powerpc/ifunc-sel.h: ... here.
540 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
541 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
543 * sysdeps/sparc/elf/configure.in: Moved to ...
544 * sysdeps/sparc/configure.in: ... here.
545 * sysdeps/sparc/elf/configure: Delete file.
546 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
547 * sysdeps/sparc/sparc32/start.S: ... here.
548 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
549 * sysdeps/sparc/sparc64/start.S: ... here.
550 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
551 * sysdeps/sparc/sparc32/Makefile: ... this.
552 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
553 * sysdeps/sparc/sparc64/Makefile: ... this.
555 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
556 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
557 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
558 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
559 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
560 * sysdeps/s390/s390-32/setjmp.S: ... here.
561 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
562 * sysdeps/s390/s390-32/configure.in: ... here.
563 * sysdeps/s390/s390-32/elf/configure: Delete file.
564 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
565 * sysdeps/s390/s390-32/start.S: ... here.
567 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
568 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
569 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
570 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
571 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
572 * sysdeps/s390/s390-64/setjmp.S: ... here.
573 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
574 * sysdeps/s390/s390-64/configure.in: ... here
575 * sysdeps/s390/s390-64/elf/configure: Delete file.
576 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
577 * sysdeps/s390/s390-64/start.S: ... here.
578 * sysdeps/s390/s390-64/elf/configure: Delete.
580 * configure.in: Remove support for elf directories in sysdeps.
582 * configure: Regenerated.
583 * sysdeps/i386/configure: Regenerated.
584 * sysdeps/powerpc/powerpc32/configure: Regenerated.
585 * sysdeps/powerpc/powerpc64/configure: Regenerated.
586 * sysdeps/s390/s390-32/configure: Regenerated.
587 * sysdeps/s390/s390-64/configure: Regenerated.
588 * sysdeps/sh/configure: Regenerated.
589 * sysdeps/sparc/configure: Regenerated.
590 * sysdeps/x86_64/configure: Regenerated.
592 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
597 denormal result into account.
599 2012-03-25 Roland McGrath <roland@hack.frob.com>
601 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
602 Reported by Allan McRae <allan@archlinux.org>.
604 2012-03-23 Jeff Law <law@redhat.com>
606 * nss/getnssent.c (__nss_getent): Fix typo.
608 2012-03-23 David S. Miller <davem@davemloft.net>
610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
612 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
614 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
615 to pad to uint64_t for each field.
616 (dl_tls_index): Replace unsigned long with uint64_t.
618 2012-03-23 Daniel Jacobowitz <dmj@google.com>
619 Paul Pluzhnikov <ppluzhnikov@google.com>
622 * grp/Makefile (otherlibs): Don't set it.
623 * inet/Makefile (otherlibs): Likewise.
624 * login/Makefile (otherlibs): Likewise.
625 * nscd/Makefile (otherlibs): Likewise.
626 * posix/Makefile (otherlibs): Likewise.
627 * pwd/Makefile (otherlibs): Likewise.
628 * rt/Makefile (otherlibs): Likewise.
629 * sunrpc/Makefile (otherlibs): Likewise.
630 * nss/Makefile (otherlibs): Likewise.
631 Add libnss_files to routines and static-only-routines.
632 ($(objpfx)getent): Remove rule.
633 * resolv/Makefile: Add libnss_dns and libresolv to routines and
634 static-only-routines.
636 2012-03-22 Joseph Myers <joseph@codesourcery.com>
639 * math/s_cexp.c: Include <float.h>.
640 (__cexp): Handle exp result overflowing not necessarily
641 overflowing both real and imaginary parts of result.
642 * math/s_cexpf.c: Likewise.
643 * math/s_cexpl.c: Likewise.
644 * math/libm-test.inc (cexp_test): Add more tests.
645 * sysdeps/i386/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
650 * include/link.h (ELFW): New macro.
651 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
652 Replace ELF64_R_TYPE with ELFW(R_TYPE).
654 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
656 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
659 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
661 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
663 (struct La_x32_retval): Likewise.
665 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
667 * sysdeps/x86_64/preconfigure.in: New file.
668 * sysdeps/x86_64/preconfigure: New generated file.
670 2012-03-22 Joseph Myers <joseph@codesourcery.com>
673 * math/e_exp2l.c: Include <float.h>.
674 (__ieee754_exp2l): Handle overflow and underflow cases
675 separately. Only pass fractional part of argument to
677 * math/libm-test.inc (exp2_test): Add more tests.
679 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
680 negating x to take absolute value.
681 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
686 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
687 computing low part if x was negated.
688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
690 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
692 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
694 (pltexit): Cast int_retval to ptrdiff_t.
695 * elf/tst-auditmod3b.c: Likewise.
696 * elf/tst-auditmod4b.c: Likewise.
697 * elf/tst-auditmod5b.c: Likewise.
698 * elf/tst-auditmod6b.c: Likewise.
699 * elf/tst-auditmod6c.c: Likewise.
700 * elf/tst-auditmod7b.c: Likewise.
702 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
705 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
707 (La_x32_regs): New macro.
708 (La_x32_retval): Likewise.
709 (la_x32_gnu_pltenter): New function prototype.
710 (la_x32_gnu_pltexit): Likewise.
712 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
719 * configure.in (libc_cv_cc_nofma): Check for option to disable
720 generation of FMA instructions.
721 * configure: Regenerate.
722 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
723 * sysdeps/ieee754/dbl-64/Makefile: New file.
724 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
725 Remove brandred-fma4.
726 (CFLAGS-brandred-fma4.c): Remove.
727 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
728 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
730 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
733 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
735 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
736 LLONG_MAX != LONG_MAX.
737 (_itoa_word): Use _ITOA_WORD_TYPE on value.
738 (_fitoa_word): Likewise.
739 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
740 LLONG_MAX != LONG_MAX.
741 * stdio-common/_itowa.h: Include <_itoa.h>.
742 (_itowa_word): Use _ITOA_WORD_TYPE on value.
743 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
744 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
746 (_ITOA_WORD_TYPE): Likewise.
747 (_itoa_word): Use _ITOA_WORD_TYPE on value.
748 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
750 2012-03-21 David S. Miller <davem@davemloft.net>
752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
754 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
756 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
757 of x86_64 when setting libc_cv_slibdir, libdir and
759 * sysdeps/unix/sysv/linux/configure: Regenerated.
761 2012-03-21 Joseph Myers <joseph@codesourcery.com>
763 * manual/lang.texi (Old Varargs): Remove section.
764 (How Variadic): Update menu.
765 (va_start): Do not mention varargs.h.
767 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
768 Joseph Myers <joseph@codesourcery.com>
770 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
772 * configure: Regenerated.
774 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
776 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
777 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
780 2012-03-21 Joseph Myers <joseph@codesourcery.com>
783 * Makefile (files-for-dist): Remove NOTES.
784 (NOTES): Remove rule.
785 * README: Don't refer to NOTES.
786 * manual/creature.texi: Don't include macros.texi.
787 * manual/intro.texi (creature.texi): Remove comment referring to
790 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
791 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
792 * configure: Regenerated.
793 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
795 (libc_cv_as_i686): Likewise.
796 (libc_cv_cc_avx): Likewise.
797 (libc_cv_cc_sse2avx): Likewise.
798 (libc_cv_cc_fma4): Likewise.
799 (libc_cv_cc_novzeroupper): Likewise.
800 * sysdeps/i386/configure: Regenerated.
803 * sysdeps/i386/fpu/s_cexp.S: Remove.
804 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
805 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
806 * math/libm-test.inc (cexp_test): Add more tests.
807 * sysdeps/i386/fpu/libm-test-ulps: Update.
808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810 2012-03-21 Allan McRae <allan@archlinux.org>
812 * timezone/Makefile: Do not install iso3166.tab and zone.tab
814 2012-03-21 Joseph Myers <joseph@codesourcery.com>
817 * math/w_exp2.c: Do not include <float.h>.
818 (o_threshold, u_threshold): Remove.
819 (__exp2): Calculate result before checking finiteness and calling
821 * math/w_exp2f.c: Likewise.
822 * math/w_exp2l.c: Likewise.
823 * math/libm-test.inc (exp2_test): Require overflow exception for
827 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
828 range of signed 64-bit integers before using fistpll. Remove
829 checks for whether integers fit in mantissa bits.
830 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
831 the range of signed 32-bit integers before using fistpl. Remove
832 checks for whether integers fit in mantissa bits.
833 * sysdeps/i386/fpu/e_powl.S (p64): New object.
834 (__ieee754_powl): Test for y outside the range of signed 64-bit
835 integers before using fistpll. Reduce 64-bit values to 63-bit
837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
838 divide-by-zero is raised for zero to large negative powers.
839 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
840 (__ieee754_powl): Test for y outside the range of signed 64-bit
841 integers before using fistpll. Reduce 64-bit values to 63-bit
843 * math/libm-test.inc (pow_test): Add more tests.
845 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
847 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
848 <stdio-common/_itoa.h>.
849 * debug/segfault.c: Likewise.
850 * elf/dl-cache.c: Likewise.
851 * elf/dl-minimal.c: Likewise.
852 * elf/dl-misc.c: Likewise.
853 * elf/dl-sysdep.c: Likewise.
854 * elf/dl-version.c: Likewise.
855 * elf/rtld.c: Likewise.
856 * hurd/hurdsock.c: Likewise.
857 * hurd/lookup-retry.c: Likewise.
858 * malloc/malloc.c: Likewise.
859 * malloc/mtrace.c: Likewise.
860 * nscd/nscd_getgr_r.c: Likewise.
861 * nscd/nscd_getpw_r.c: Likewise.
862 * nscd/nscd_getserv_r.c: Likewise.
863 * posix/getopt_init.c: Likewise.
864 * posix/wordexp.c: Likewise.
865 * stdio-common/_itoa.c: Likewise.
866 * stdio-common/printf_fphex.c: Likewise.
867 * stdio-common/vfprintf.c: Likewise.
868 * string/_strerror.c: Likewise.
869 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
870 * sysdeps/i386/i686/hp-timing.h: Likewise.
871 * sysdeps/mach/_strerror.c: Likewise.
872 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
873 * sysdeps/mach/hurd/sethostid.c: Likewise.
874 * sysdeps/mach/hurd/xmknodat.c: Likewise.
875 * sysdeps/mach/xpg-strerror.c: Likewise.
876 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
877 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
878 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
879 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
880 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
881 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
882 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
883 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
884 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
885 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
886 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
887 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
888 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
889 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
890 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
891 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
894 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
895 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
898 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
900 * stdio-common/_itoa.h: Moved to ...
901 * sysdeps/generic/_itoa.h: Here.
903 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
905 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
906 instead of "_itoa.h" and "_itowa.h".
907 * stdio-common/vfprintf.: Likewise.
909 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
911 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
913 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
914 (__signbit): Likwise.
918 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
920 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
923 2012-03-20 Joseph Myers <joseph@codesourcery.com>
925 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
926 OVERFLOW_EXCEPTION_OK.
927 * math/libm-test.inc ("Philosophy"): Update comment about
929 (OVERFLOW_EXCEPTION): Define.
930 (OVERFLOW_EXCEPTION_OK): Likewise.
931 (INVALID_EXCEPTION_OK): Renumber.
932 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
933 (IGNORE_ZERO_INF_SIGN): Likewise.
934 (test_exceptions): Handle FE_OVERFLOW.
935 (exp10_test): Expect overflow exceptions.
936 (exp2_test): Likewise.
937 (expm1_test): Likewise.
938 (nextafter_test): Likewise.
939 (pow_test): Likewise.
940 (scalbn_test): Likewise.
941 (scalbln_test): Likewise.
943 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
945 * sysdeps/x86_64/bits/atomic.h
946 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
948 (atomic_exchange_acq): Likewise.
949 (__arch_exchange_and_add_body): Likewise.
950 (__arch_add_body): Likewise.
951 (atomic_add_negative): Likewise.
952 (atomic_add_zero): Likewise.
954 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
956 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
957 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
961 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
962 Check __x86_64__ instead of __WORDSIZE.
964 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
966 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
968 2012-03-19 David S. Miller <davem@davemloft.net>
970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
972 * sysdeps/sparc/fpu/fenv_private.h: New file.
973 * sysdeps/sparc/fpu/math_private.h: Use it.
974 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
976 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
977 (libc_feholdexcept_setroundl): Remove.
978 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
980 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
981 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
983 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
986 int64_t instead of long int.
987 (INSERT_WORDS64): Likwise.
989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
991 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
992 _Unwind_GetCFA return to _Unwind_Ptr first.
994 2012-03-19 Joseph Myers <joseph@codesourcery.com>
997 * math/s_clog.c: Include <float.h>.
998 (__clog): Scale large or subnormal inputs.
999 * math/s_clogf.c: Likewise.
1000 * math/s_clogl.c: Likewise.
1001 * math/s_clog10.c: Include <float.h>.
1002 (M_LOG10_2): Define.
1003 (__clog10): Scale large or subnormal inputs.
1004 * math/s_clog10f.c: Likewise.
1005 * math/s_clog10l.c: Likewise.
1006 * math/libm-test.inc (clog_test): Add more tests.
1007 (clog10_test): Likewise.
1008 * sysdeps/i386/fpu/libm-test-ulps: Update.
1009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1012 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1014 * math/libm-test.inc (atan2_test): Add another test.
1016 * Makerules (common-objdir-compile): Remove.
1017 * sysdeps/unix/Makefile (config-generated): Do not add
1018 $(unix-generated) to variable.
1019 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1020 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1022 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1024 [generic bits/local_lim.h] (before-compile): Do not append to
1026 [generic bits/local_lim.h] (common-generated): Likewise.
1027 [generic sys/param.h] (before-compile): Do not append to variable.
1028 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1029 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1030 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1031 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1033 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1034 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1035 [generic sys/param.h] ($(addprefix
1036 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1037 [generic sys/param.h] (common-generated): Do not append to
1039 [generic sys/param.h] (sysdep_headers): Likewise.
1040 [generic bits/errno.h] (before-compile): Do not append to
1042 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1044 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1045 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1046 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1047 [generic bits/errno.h] (common-generated): Do not append to
1049 [generic bits/ioctls.h] (before-compile): Do not append to
1051 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1053 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1054 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1055 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1057 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1058 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1059 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1060 [generic bits/ioctls.h] (common-generated): Do not append to
1062 [generic sys/syscall.h] (syscall.h): Remove variable.
1063 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1065 [generic sys/syscall.h] (before-compile): Do not append to
1067 [generic sys/syscall.h] (common-generated): Likewise.
1068 * sysdeps/unix/errnos-tmpl.c: Remove file.
1069 * sysdeps/unix/errnos.awk: Likewise.
1070 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1071 * sysdeps/unix/ioctls.awk: Likewise.
1072 * sysdeps/unix/mk-local_lim.c: Likewise.
1073 * sysdeps/unix/snarf-ioctls: Likewise.
1075 2012-03-19 Richard Henderson <rth@twiddle.net>
1077 * sysdeps/i386/fpu/fenv_private.h: New file.
1078 * sysdeps/i386/fpu/math_private.h: Use it.
1079 (math_opt_barrier, math_force_eval): Remove.
1080 (libc_feholdexcept_setround_53bit): Remove.
1081 (libc_feupdateenv_53bit): Remove.
1082 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1083 (math_opt_barrier, math_force_eval): Remove.
1084 (libc_feholdexcept): Remove.
1085 (libc_feholdexcept_setround): Remove.
1086 (libc_fetestexcept, libc_fesetenv): Remove.
1087 (libc_feupdateenv_test): Remove.
1088 (libc_feupdateenv, libc_feholdsetround): Remove.
1089 (libc_feresetround): Remove.
1091 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1092 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1094 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1095 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1096 (libc_feupdateenv_testl): New.
1097 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1098 (libc_feupdateenv_testf): New.
1099 (libc_feupdateenv): Use libc_feupdateenv_test.
1100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1101 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1103 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1104 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1105 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1106 (libc_feresetround_noex): New.
1107 (libc_feresetround_noexf): New.
1108 (libc_feresetround_noexl): New.
1109 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1110 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1111 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1112 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1117 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1118 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1119 SET_RESTORE_ROUND_NOEX.
1120 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1121 SET_RESTORE_ROUND_NOEXF.
1122 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1123 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1124 (libc_feholdsetroundf): New.
1125 (libc_feresetround, libc_feresetroundf): New.
1127 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1128 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1129 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1131 * sysdeps/generic/math_private.h: Include <fenv.h>.
1132 (default_libc_feholdexcept): New.
1133 (default_libc_feholdexcept_setround): New.
1134 (default_libc_fesetenv, default_libc_feupdateenv): New.
1135 (libc_feholdexcept): Only define if undefined.
1136 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1137 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1138 (libc_feholdexcept_setroundl): Likewise.
1139 (libc_feholdexcept_setround_53bit): Likewise.
1140 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1141 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1142 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1143 (libc_feupdateenv_53bit): Likewise.
1144 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1145 (libc_feholdexcept): Convert from macro to inline function.
1146 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1147 (libc_fesetenv, libc_feupdateenv): Likewise.
1149 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1150 not previously defined.
1151 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1152 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1153 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1154 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1155 * sysdeps/ieee754/flt-32/math_private.h: New file.
1156 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1157 math_private.h below SET_FLOAT_WORD.
1158 (__isnan, __isinf_ns, __finite): Remove.
1159 (__isnanf, __isinf_nsf, __finitef): Remove.
1161 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1165 2012-03-17 David S. Miller <davem@davemloft.net>
1168 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1171 2012-03-16 David S. Miller <davem@davemloft.net>
1173 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1177 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1179 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1180 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1181 sysdep_routines when subdir is sysvipc.
1182 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1185 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1187 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1189 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1195 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1196 (__lround): Renamed to ...
1197 (__llround): This. Replace long int with long long int.
1198 Define lround functions as aliases of llround functions.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1203 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1204 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1205 adresses to uintptr_t. Replace "long int" and "unsigned long
1206 int" with "greg_t" on va_arg.
1208 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1210 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1211 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1213 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1214 Move e_machine check before EI_CLASS check. Handle x32
1215 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1216 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1217 SKIP_EM_IA_64 and include
1218 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1220 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1221 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1222 (add_system_dir): New macro.
1224 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1225 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1227 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1238 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1240 * math/w_j0f.c (j0f): Likewise.
1242 * math/w_j0l.c (__j0l): Likewise.
1244 * math/w_j1.c (j1): Likewise.
1246 * math/w_j1f.c (j1f): Likewise.
1248 * math/w_j1l.c (__j1l): Likewise.
1250 * math/w_jn.c (jn): Likewise.
1252 * math/w_jnf.c (jnf): Likewise.
1254 * math/w_jnl.c (__jnl): Likewise.
1256 * math/libm-test.inc (j0_test): Add more tests.
1257 (j1_test): Likewise.
1258 (jn_test): Likewise. Add trailing semicolon to existing test.
1259 (y0_test): Likewise.
1260 (y1_test): Likewise.
1261 * sysdeps/i386/fpu/libm-test-ulps: Update.
1262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1266 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1267 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1268 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1269 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1270 (__tanl): Set errno for infinite argument.
1271 * sysdeps/i386/fpu/mptan.c: Remove.
1272 * sysdeps/i386/fpu/s_tan.S: Likewise.
1273 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1274 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1275 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1276 * math/libm-test.inc (tan_test): Add more tests and enable more
1277 tests for double and long double.
1278 * sysdeps/i386/fpu/libm-test-ulps: Update.
1279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1281 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1283 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1284 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1286 2012-03-16 Roland McGrath <roland@hack.frob.com>
1288 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1289 * configure.in: Use it for both main tree and add-ons.
1290 * configure: Regenerated.
1292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1294 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1296 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1298 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1302 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1303 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1308 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1311 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1312 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1313 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1314 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1315 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1316 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1317 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1318 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1319 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1320 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1321 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1322 * math/libm-test.inc (cos_test): Add more tests and enable more
1323 tests for long double.
1324 (sin_test): Likewise.
1325 (sincos_test): Likewise.
1326 * sysdeps/i386/fpu/libm-test-ulps: Update.
1327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329 2012-03-16 David S. Miller <davem@davemloft.net>
1331 * sysdeps/sparc/fpu/math_private.h: New file.
1333 2012-03-15 David S. Miller <davem@davemloft.net>
1335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1349 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1350 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1352 * sysdeps/sparc/sparc-ifunc.h: New file.
1353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1398 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1400 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1404 2012-03-15 Andreas Jaeger <aj@suse.de>
1407 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1408 ieee754/flt-32 implementation for sin, cos and sincos.
1409 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1410 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1411 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1412 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1413 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1414 ieee754/flt-32 implementation for tan.
1416 * math/libm-test.inc (cos_test): Enable some large input tests for
1418 (sin_test): Likewise.
1419 (sincos_test): Likewise.
1420 (tan_test): Add tests for large input.
1422 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424 2012-03-15 Andreas Jaeger <aj@suse.de>
1427 * math/libm-test.inc (cos_test): Add more test cases.
1428 (sin_test): Likewise.
1429 (sincos_test): Likewise.
1431 2012-03-15 Andreas Jaeger <aj@suse.de>
1434 * math/libm-test.inc (cos_test): Add a test case for large input
1436 (sin_test): Likewise.
1437 (sincos_test): Likewise.
1439 2012-03-15 Andreas Jaeger <aj@suse.de>,
1440 Joseph Myers <joseph@codesourcery.com>
1443 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1444 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1445 * sysdeps/i386/fpu/branred.c: Likewise.
1446 * sysdeps/i386/fpu/dosincos.c: Likewise.
1447 * sysdeps/i386/fpu/mpa.c: Likewise.
1448 * sysdeps/i386/fpu/s_cos.S: Likewise.
1449 * sysdeps/i386/fpu/s_sin.S: Likewise.
1450 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1451 * sysdeps/i386/fpu/sincos32.c: Likewise.
1453 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1455 (libc_feupdateenv_53bit): Define.
1456 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1458 (libc_feupdateenv_53bit): Define.
1460 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1461 53 bit (without extend i386 double precision).
1463 * math/libm-test.inc (sincos_test): Add tests for large input.
1467 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1469 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1473 2012-03-15 David S. Miller <davem@davemloft.net>
1475 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1476 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1477 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1478 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1503 fmin/fmax sysdep routines.
1504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1506 2012-03-14 David S. Miller <davem@davemloft.net>
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1512 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1580 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1585 * sysdeps/sparc/configure.in: New file.
1586 * sysdeps/sparc/configure: Generate.
1587 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1588 * configure: Regenerate.
1589 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1590 * config.make.in (have-as-vis3): New.
1591 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1592 available use -Av9d instead of -Av9a.
1593 * sysdeps/sparc/sparc64/Makefile: Likewise.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1609 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1610 fzeros/fnegs to load 0x80000000 into a float register instead of
1612 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1614 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1618 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1619 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1620 ($(inst_includedir)/bits/syscall.h): Remove rule.
1621 ($(objpfx)bits/syscall.d): Include instead of
1622 $(objpfx)syscall-list.d.
1623 (generated): Change syscall-list.h and syscall-list.d to
1624 bits/syscall.h and bits/syscall.d.
1626 2012-03-14 Roland McGrath <roland@hack.frob.com>
1629 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1631 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1634 * math/s_csqrt.c: Include <float.h>.
1635 (__csqrt): Scale large or subnormal inputs.
1636 * math/s_csqrtf.c: Likewise.
1637 * math/s_csqrtl.c: Likewise.
1638 * math/libm-test.inc (csqrt_test): Add more tests.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1643 * math/libm-test.inc (hypot_test): Add more tests.
1645 2012-03-13 David S. Miller <davem@davemloft.net>
1648 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1649 double-precision for the calculation instead of scaling.
1651 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1653 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1654 manipulate bits before adding and subtracting TWO52[sx].
1655 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1658 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1660 2012-03-13 David S. Miller <davem@davemloft.net>
1662 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1663 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1665 rtld-global-offsets.h
1666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1673 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1674 'err' in the ifdef scope in which it is actually used.
1676 * nss/nss_db/db-init.c: Include string.h
1678 2012-03-12 David S. Miller <davem@davemloft.net>
1680 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1681 masking out of the most significant byte of random value used.
1682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1683 Fix coding style in previous change.
1685 * sysdeps/unix/sysv/linux/kernel-features.h
1686 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1687 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1689 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1692 2012-03-11 David S. Miller <davem@davemloft.net>
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1695 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1696 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1697 for 'resultvar' otherwise things get truncated on 64-bit.
1699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1700 Fix masking out of the most significant byte of random value used.
1702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1704 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1708 2012-03-09 David S. Miller <davem@davemloft.net>
1710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1711 variables with appropriate CPP guards.
1712 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1713 frame pointer, not the stack pointer. Correct layout comments. Fix test
1714 on resulting framesize and the management of the outregs buffer for pltexit.
1715 Preserve floating point return values across _dl_call_pltexit call.
1716 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1717 framesize and the management of the outregs buffer for pltexit.
1718 Preserve floating point return values across _dl_call_pltexit
1720 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1721 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1722 (print_exit): Fix format string for return register value.
1724 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1726 * sunrpc/Makefile (others): Add rpcgen.
1727 ($(objpfx)rpcgen): Remove special build rule and dependency on
1729 * sunrpc/rpcgen.c: New file.
1731 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1734 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1735 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1736 * sysdeps/i386/crti.S: Likewise.
1737 * sysdeps/i386/crtn.S: Likewise.
1738 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1739 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1740 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1741 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1742 * sysdeps/sh/crti.S: Likewise.
1743 * sysdeps/sh/crtn.S: Likewise.
1744 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1747 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1749 * locale/programs/locfile-kw.gperf: Likewise.
1750 * locale/programs/charmap-kw.h: Regenerated.
1751 * locale/programs/locfile-kw.h: Likewise.
1754 * intl/plural.y: Replace FSF snail mail address with URL.
1755 * intl/plural.c: Regenerated.
1757 2012-03-09 Richard Henderson <rth@twiddle.net>
1759 * include/math_private.h: Remove file.
1760 * math/math_private.h: Move file ...
1761 * sysdeps/generic/math_private.h: ... here.
1763 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1764 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1765 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1767 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1768 and <math_private.h>.
1769 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1770 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1771 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1772 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1773 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1783 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1784 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1786 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1787 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1788 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1790 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1791 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1794 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1828 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1857 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1858 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1859 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1860 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1862 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1863 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1873 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1874 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1875 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1876 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1881 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1882 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1883 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1884 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1885 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1886 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1888 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1889 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1890 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1892 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1893 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1894 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1896 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1897 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1898 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1899 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1900 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1901 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1902 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1903 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1904 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1905 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1906 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1907 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1908 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1909 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1910 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1911 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1912 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1913 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1914 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1915 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1916 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1917 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1918 * sysdeps/ieee754/k_standard.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2038 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2039 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2041 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2046 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2051 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2067 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2068 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2079 * sysdeps/ieee754/s_lib_version.c: Likewise.
2080 * sysdeps/ieee754/s_matherr.c: Likewise.
2081 * sysdeps/ieee754/s_signgam.c: Likewise.
2082 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2083 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2084 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2085 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2086 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2087 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2088 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2089 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2090 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2091 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2092 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2093 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2094 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2095 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2096 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2099 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2100 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2104 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2106 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2107 * sunrpc/rpc_main.c: Likewise.
2108 * sunrpc/rpc_svcout.c: Likewise.
2110 2012-03-09 David S. Miller <davem@davemloft.net>
2112 * include/math_private.h: New file.
2114 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2116 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2117 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2118 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2119 from <bits/socket_type.h>.
2120 (enum __socket_type): Don't define here.
2121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2126 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2129 * Makerules ($(inst_includedir)/%.h): New rule.
2130 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2131 (install-others): Remove variable setting.
2132 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2134 2012-03-08 Richard Henderson <rth@twiddle.net>
2136 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2137 from macro to inline function; merge with the
2138 !__LIBC_INTERNAL_MATH_INLINES version.
2139 (__ieee754_sqrtf): Likewise.
2141 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2143 (__rintf, __floor, __floorf): Likewise.
2145 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2146 macro to inline function.
2147 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2150 not <math/math_private.h>.
2152 2012-03-08 David S. Miller <davem@davemloft.net>
2154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2156 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2158 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2160 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2162 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2163 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2165 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2167 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2168 be defined individually, they must be defined as a block. Define
2169 S for printing a string instead of hidint the different by using a
2170 macro for adding the 'l'.
2171 * stdio-common/tst-fphex-wide.c: Adjust.
2173 2012-03-07 Marek Polacek <polacek@redhat.com>
2175 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2177 2012-03-08 Marek Polacek <polacek@redhat.com>
2180 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2181 * stdio-common/tst-fphex.c: Define a few macros to make the
2182 test reusable. Use them.
2183 * stdio-common/tst-fphex-wide.c: New file.
2185 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2188 * manual/macros.texi (gnusystems): New macro.
2189 (nongnusystems): Likewise.
2190 (gnulinuxhurdsystems): Likewise.
2191 (gnuhurdsystems): Likewise..
2192 (gnulinuxsystems): Likewise.
2193 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2194 variants of the GNU system, not "GNU system".
2195 * manual/conf.texi: Likewise.
2196 * manual/errno.texi: Likewise. Update example of errno macro
2198 * manual/filesys.texi: Likewise.
2199 (getumask): Document as specific to GNU/Hurd.
2200 * manual/install.texi: Likewise. Reword some references to
2202 * manual/intro.texi: Likewise.
2203 * manual/io.texi: Likewise.
2204 (File Name Portability): Detail which constraints are inapplicable
2205 to all GNU systems and which are only inapplicable to GNU/Hurd.
2206 * manual/job.texi: Likewise.
2207 * manual/llio.texi: Likewise.
2208 (O_NOCTTY): Document as present on GNU/Linux.
2209 * manual/maint.texi: Likewise.
2210 * manual/memory.texi: Likewise.
2211 * manual/pattern.texi: Likewise.
2212 * manual/pipe.texi: Likewise.
2213 * manual/process.texi: Likewise.
2214 * manual/resource.texi: Likewise.
2215 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2217 * manual/setjmp.texi: Likewise.
2218 * manual/signal.texi: Likewise.
2219 * manual/startup.texi: Likewise.
2220 * manual/stdio.texi: Likewise.
2221 * manual/terminal.texi: Likewise.
2222 (ONLCR): Document as POSIX.
2223 (OXTABS): Document availability on GNU/Linux as XTABS.
2224 (ONOEOT): Document availability separately from other bits.
2225 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2226 * manual/time.texi: Likewise.
2227 * manual/users.texi: Likewise.
2228 * INSTALL: Regenerated.
2229 * sysdeps/gnu/errlist.c: Regenerated.
2231 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2232 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2233 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2235 * configure: Regenerated.
2237 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2239 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2240 default includes instead of AC_HEADER_CHECK.
2241 * sysdeps/i386/configure: Regenerated.
2244 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2245 * math/s_cacoshf.c (__cacoshf): Likewise.
2246 * math/s_cacoshl.c (__cacoshl): Likewise.
2247 * math/s_casinh.c (__casinh): Set signs of result from argument.
2248 * math/s_casinhf.c (__casinhf): Likewise.
2249 * math/s_casinhl.c (__casinhl): Likewise.
2250 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2251 (casinh_test): Add more tests.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2257 * po/zh_TW.po: Update from translation team.
2259 * login/Makefile (distribute): Remove variable.
2260 * catgets/Makefile: Likewise.
2261 * mach/Makefile: Likewise.
2262 * malloc/Makefile: Likewise.
2263 * misc/Makefile: Likewise.
2264 * iconv/Makefile: Likewise.
2265 * nscd/Makefile: Likewise.
2266 * hurd/Makefile: Likewise.
2267 * manual/Makefile: Likewise.
2268 * locale/Makefile: Likewise.
2269 * intl/Makefile: Likewise.
2270 * conform/Makefile: Likewise.
2271 * nss/Makefile: Likewise.
2272 * time/Makefile: Likewise.
2273 * soft-fp/Makefile: Likewise.
2274 * dirent/Makefile: Likewise.
2275 * gmon/Makefile: Likewise.
2276 * po/Makefile: Likewise.
2277 * rt/Makefile: Likewise.
2278 * socket/Makefile: Likewise.
2279 * math/Makefile: Likewise.
2280 * signal/Makefile: Likewise.
2281 * debug/Makefile: Likewise.
2282 * elf/Makefile: Likewise.
2283 * timezone/Makefile: Likewise.
2284 * stdlib/Makefile: Likewise.
2285 * iconvdata/Makefile: Likewise.
2286 * sunrpc/Makefile: Likewise.
2287 * io/Makefile: Likewise.
2288 * argp/Makefile: Likewise.
2289 * inet/Makefile: Likewise.
2290 * hesiod/Makefile: Likewise.
2291 * grp/Makefile: Likewise.
2292 * csu/Makefile: Likewise.
2293 * wctype/Makefile: Likewise.
2294 * crypt/Makefile: Likewise.
2295 * libio/Makefile: Likewise.
2296 * string/Makefile: Likewise.
2297 * nis/Makefile: Likewise.
2298 * resolv/Makefile: Likewise.
2299 * stdio-common/Makefile: Likewise.
2300 * wcsmbs/Makefile: Likewise.
2301 * dlfcn/Makefile: Likewise.
2302 * posix/Makefile: Likewise.
2304 * timezone/Makefile: Don't install timezone files, just the programs
2307 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2309 * nss/databases.def: Add missing gshadow entry.
2311 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2313 2012-03-06 Marek Polacek <polacek@redhat.com>
2316 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2317 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2318 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2319 * stdio-common/tst-long-dbl-fphex.c: New file.
2321 2012-03-06 David S. Miller <davem@davemloft.net>
2323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2324 (set_obp_int): New function.
2325 (get_obp_int): New function.
2326 (__get_clockfreq_via_dev_openprom): Likewise.
2327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2328 Avoid unused variable warnings on 'val' and use builtin_expect.
2329 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2331 (INLINE_CLONE_SYSCALL): Likewise.
2333 2012-03-05 David S. Miller <davem@davemloft.net>
2335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2337 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2345 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2348 Replace gettimeofday with __vdso_gettimeofday.
2350 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2351 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2352 __vdso_clock_gettime and __vdso_getcpu.
2354 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2355 time with __vdso_time.
2357 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2359 * manual/lang.texi (size_t): Note types to which size_t may be
2360 equivalent with the GNU C Library, but do not describe when
2361 differences between them are significant.
2363 2012-03-05 Andreas Jaeger <aj@suse.de>
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2367 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2370 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2371 (__ieee754_pow): Save and restore rounding mode and use
2372 round-to-nearest for main computations.
2373 * math/libm-test.inc (pow_test_tonearest): New function.
2374 (pow_test_towardzero): Likewise.
2375 (pow_test_downward): Likewise.
2376 (pow_test_upward): Likewise.
2377 (main): Call the new functions.
2378 * sysdeps/i386/fpu/libm-test-ulps: Update.
2379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382 * math/libm-test.inc (cosh_test_tonearest): New function.
2383 (cosh_test_towardzero): Likewise.
2384 (cosh_test_downward): Likewise.
2385 (cosh_test_upward): Likewise.
2386 (sinh_test_tonearest): Likewise.
2387 (sinh_test_towardzero): Likewise.
2388 (sinh_test_downward): Likewise.
2389 (sinh_test_upward): Likewise.
2390 (main): Call the new functions.
2391 * sysdeps/i386/fpu/libm-test-ulps: Update.
2392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2394 2012-03-05 Tom de Vries <tom@codesourcery.com>
2396 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2397 default stack guard is set in last bytes.
2398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2400 2012-03-05 Kees Cook <keescook@chromium.org>
2402 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2405 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2406 possibly allocate from heap instead of stack.
2407 * stdio-common/bug-vfprintf-nargs.c: New file.
2408 * stdio-common/Makefile (tests): Add nargs overflow test.
2410 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2414 2012-03-03 Marek Polacek <polacek@redhat.com>
2416 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2417 * math/math_private.h: Likewise.
2418 * stdlib/tst-strtod.c: Likewise.
2419 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2420 * sysdeps/x86_64/bits/atomic.h: Likewise.
2422 2012-03-02 David S. Miller <davem@davemloft.net>
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2428 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2429 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2430 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2431 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2433 2012-03-02 Roland McGrath <roland@hack.frob.com>
2436 * manual/examples/README: New file, says the example source files
2437 can be used under GPL>=2.
2438 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2439 line containing just "*/".
2440 * manual/examples/add.c: Add copyright header (GPL>=2).
2441 * manual/examples/argp-ex1.c: Likewise.
2442 * manual/examples/argp-ex2.c: Likewise.
2443 * manual/examples/argp-ex3.c: Likewise.
2444 * manual/examples/argp-ex4.c: Likewise.
2445 * manual/examples/atexit.c: Likewise.
2446 * manual/examples/db.c: Likewise.
2447 * manual/examples/dir.c: Likewise.
2448 * manual/examples/dir2.c: Likewise.
2449 * manual/examples/execinfo.c: Likewise.
2450 * manual/examples/filecli.c: Likewise.
2451 * manual/examples/filesrv.c: Likewise.
2452 * manual/examples/fmtmsgexpl.c: Likewise.
2453 * manual/examples/genpass.c: Likewise.
2454 * manual/examples/inetcli.c: Likewise.
2455 * manual/examples/inetsrv.c: Likewise.
2456 * manual/examples/isockad.c: Likewise.
2457 * manual/examples/longopt.c: Likewise.
2458 * manual/examples/memopen.c: Likewise.
2459 * manual/examples/memstrm.c: Likewise.
2460 * manual/examples/mkfsock.c: Likewise.
2461 * manual/examples/mkisock.c: Likewise.
2462 * manual/examples/mygetpass.c: Likewise.
2463 * manual/examples/pipe.c: Likewise.
2464 * manual/examples/popen.c: Likewise.
2465 * manual/examples/rprintf.c: Likewise.
2466 * manual/examples/search.c: Likewise.
2467 * manual/examples/select.c: Likewise.
2468 * manual/examples/setjmp.c: Likewise.
2469 * manual/examples/sigh1.c: Likewise.
2470 * manual/examples/sigusr.c: Likewise.
2471 * manual/examples/stpcpy.c: Likewise.
2472 * manual/examples/strdupa.c: Likewise.
2473 * manual/examples/strftim.c: Likewise.
2474 * manual/examples/strncat.c: Likewise.
2475 * manual/examples/subopt.c: Likewise.
2476 * manual/examples/swapcontext.c: Likewise.
2477 * manual/examples/termios.c: Likewise.
2478 * manual/examples/testopt.c: Likewise.
2479 * manual/examples/testpass.c: Likewise.
2480 * manual/examples/timeval_subtract.c: Likewise.
2483 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2485 * manual/timeval_subtract.c.texi: ... here, new file.
2487 2012-03-02 David S. Miller <davem@davemloft.net>
2489 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2491 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2495 (__sin): Save and restore rounding mode and use round-to-nearest
2496 for all computations.
2497 (__cos): Save and restore rounding mode and use round-to-nearest
2498 for all computations.
2499 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2501 (tan): Save and restore rounding mode and use round-to-nearest for
2503 * math/libm-test.inc (cos_test_tonearest): New function.
2504 (cos_test_towardzero): Likewise.
2505 (cos_test_downward): Likewise.
2506 (cos_test_upward): Likewise.
2507 (sin_test_tonearest): Likewise.
2508 (sin_test_towardzero): Likewise.
2509 (sin_test_downward): Likewise.
2510 (sin_test_upward): Likewise.
2511 (tan_test_tonearest): Likewise.
2512 (tan_test_towardzero): Likewise.
2513 (tan_test_downward): Likewise.
2514 (tan_test_upward): Likewise.
2515 (main): Call the new functions.
2516 * sysdeps/i386/fpu/libm-test-ulps: Update.
2517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2520 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2521 small n, then large n, before computing and testing k+n.
2522 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2527 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2528 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2535 * math/libm-test.inc (scalbn_test): Add more tests.
2536 (scalbln_test): Likewise.
2538 * manual/filesys.texi (mode_t): Describe constraints on size and
2539 signedness, not exact equivalence to a particular type.
2541 (ino64_t): Likewise.
2543 (nlink_t): Likewise.
2544 (blkcnt_t): Likewise.
2545 (blkcnt64_t): Likewise.
2546 * manual/llio.texi (off_t): Likewise.
2549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2550 (__ieee754_exp): Save and restore rounding mode and use
2551 round-to-nearest for all computations.
2552 * math/libm-test.inc (exp_test_tonearest): New function.
2553 (exp_test_towardzero): Likewise.
2554 (exp_test_downward): Likewise.
2555 (exp_test_upward): Likewise.
2556 (main): Call the new functions.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560 2012-03-01 Chris Demetriou <cgd@google.com>
2562 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2563 have predictable order.
2565 2012-03-01 David S. Miller <davem@davemloft.net>
2567 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2569 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2570 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2571 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2572 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2574 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2575 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2576 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2578 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2579 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2580 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2581 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2582 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2587 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2590 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2591 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2592 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2593 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2594 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2596 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2597 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2598 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2599 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2600 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2601 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2603 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2606 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2607 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2608 * sysdeps/sparc/elf/configure: Regenerated.
2610 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2612 * configure.in (AS, LD): Require binutils 2.20 or later.
2613 * configure: Regenerated.
2614 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2615 as required minimum version.
2616 * INSTALL: Regenerated.
2620 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2621 before squaring exponent.
2622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2623 bottom long double and 27 bits of top long double before squaring
2625 * math/libm-test.inc (erfc_test): Add more tests.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2630 2012-03-01 Kai Tietz <ktietz@redhat.com>
2632 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2633 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2634 containing bit-fields.
2635 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2636 * soft-fp/single.h (_FP_UNION_S): Likewise.
2637 * soft-fp/double.h (_FP_UNION_D): Likewise.
2639 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2643 not include ../strcmp.S.
2644 [USE_AS_STRNCASECMP_L]: Likewise.
2645 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2646 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2647 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2648 (__strncasecmp_l_ia32): Define as alias to
2649 __strncasecmp_l_nonascii.
2652 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2653 * sysdeps/i386/fpu/libm-test-ulps: Update.
2654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2659 2012-02-29 Jeff Law <law@redhat.com>
2661 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2664 2012-02-29 Marek Polacek <polacek@redhat.com>
2667 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2668 * elf/Makefile: Add rules to run tst-unused-dep.out.
2670 2012-02-28 David S. Miller <davem@davemloft.net>
2672 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2673 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2679 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2681 * math/libm-test.inc (llround_test): Move one test from
2682 lround_test. Use TEST_f_L in moved test.
2683 (lround_test): Move misplaced test to llround_test. Add testcase
2686 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2688 * sysdeps/x86_64/fpu/e_expf.S: New file.
2689 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2691 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2694 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2695 of remain_len that may cause incomplete multi-byte character and
2697 * posix/bug-regex33.c: New file.
2698 * posix/Makefile (tests): Add bug-regex33.
2700 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2702 * manual/macros.texi: New file.
2703 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2704 * manual/libc.texinfo: Include macros.texi.
2705 * manual/creatute.texi: Likewise.
2706 * manual/install.texi: Likewise.
2707 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2708 @glibcadj{} in references to the GNU C Library.
2709 * manual/charset.texi: Likewise.
2710 * manual/conf.texi: Likewise.
2711 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2712 when not using those macros.
2713 * manual/creature.texi: Likewise.
2714 * manual/crypt.texi: Likewise.
2715 * manual/errno.texi: Likewise.
2716 * manual/filesys.texi: Likewise.
2717 * manual/header.texi: Likewise.
2718 * manual/install.texi: Likewise.
2719 * manual/intro.texi: Likewise.
2720 * manual/io.texi: Likewise.
2721 * manual/job.texi: Likewise.
2722 * manual/lang.texi: Likewise.
2723 * manual/libc.texiinfo: Likewise.
2724 * manual/llio.texi: Likewise.
2725 * manual/locale.texi: Likewise.
2726 * manual/maint.texi: Likewise.
2727 * manual/math.texi: Likewise.
2728 * manual/memory.texi: Likewise.
2729 * manual/message.texi: Likewise.
2730 * manual/nss.texi: Likewise.
2731 * manual/pattern.texi: Likewise.
2732 * manual/process.texi: Likewise.
2733 * manual/resource.texi: Likewise.
2734 * manual/search.texi: Likewise.
2735 * manual/setjmp.texi: Likewise.
2736 * manual/signal.texi: Likewise.
2737 * manual/socket.texi: Likewise.
2738 * manual/startup.texi: Likewise.
2739 * manual/stdio.texi: Likewise.
2740 * manual/string.texi: Likewise.
2741 * manual/sysinfo.texi: Likewise.
2742 * manual/syslog.texi: Likewise.
2743 * manual/terminal.texi: Likewise.
2744 * manual/time.texi: Likewise.
2745 * manual/users.texi: Likewise.
2746 * INSTALL: Regenerated.
2747 * NOTES: Regenerated.
2748 * sysdeps/gnu/errlist.c: Regenerated.
2750 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2752 * include/dirent.h: Include <dirstream.h> before
2755 2012-02-28 David S. Miller <davem@davemloft.net>
2757 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2758 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2759 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2760 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2762 2012-02-27 David S. Miller <davem@davemloft.net>
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2766 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2767 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2770 frame pointer instead of stack pointer relative arg slot.
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2772 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2773 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2775 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2778 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2780 2012-02-27 David S. Miller <davem@davemloft.net>
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2786 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2787 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2788 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2789 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2791 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2793 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2794 later. Allow versions 5-9.
2795 * configure: Regenerated.
2796 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2797 required minimum version and 4.6 as recommended version. Do not
2798 mention bugs in GCC 2.7 and 2.8.
2799 * INSTALL: Regenerated.
2801 2012-02-27 David S. Miller <davem@davemloft.net>
2803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2807 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2808 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2809 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2810 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2813 manipulate bits before adding and subtracting TWO112[sx].
2814 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2816 2012-02-27 Roland McGrath <roland@hack.frob.com>
2819 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2820 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2821 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2822 being in POSIX, because they are in 1003.1-2008.
2824 * rt/tst-aio.c: Include <fcntl.h>.
2825 * rt/tst-aio7.c: Likewise.
2826 * rt/tst-aio64.c: Likewise.
2828 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2830 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2832 * manual/install.texi (--with-headers): Describe headers as
2833 interface headers, not private headers.
2834 (Specific advice for GNU/Linux systems): Describe use of headers
2835 from "make headers_install", not private headers from older
2837 * INSTALL: Regenerated.
2838 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2840 * sysdeps/unix/sysv/linux/configure: Regenerated.
2842 * manual/llio.texi (fclean): Remove documentation.
2844 * manual/Makefile (libc-texi-generated): New variable. Include
2846 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2847 $(libc-texi-generated), not duplicated list of files.
2848 (version.texi, stamp-version): New rules.
2849 (realclean): Remove $(libc-texi-generated), not individual files
2850 from that list. Do not remove dir-add.texinfo.
2851 * manual/libc.texinfo: Comment out uses of edition numbers and
2852 references to printed manual. Remove last-updated dates.
2853 (EDITION): Comment out.
2855 (VERSION, UPDATED): Remove.
2856 (version.texi): Include.
2858 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2860 * sysdeps/posix/spawni.c: Include <signal.h>.
2861 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2862 * sysdeps/pthread/aio_fsync.c: Likewise.
2864 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2866 * conform/Makefile (tests): Run only when not cross-compiling and
2867 when fast-check is not defined.
2869 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2870 * conform/data/limits.h-data: Fixes for POSIX2008.
2871 * conform/run-conformtest.sh: Run all tests.
2872 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2874 * include/bits/dlfcn.h: Likewise.
2875 * include/langinfo.h: Likewise.
2876 * include/monetary.h: Likewise.
2877 * include/sys/poll.h: Likewise.
2879 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2881 * posix/spawn.h: Define __need_sigset_t.
2882 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2883 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2884 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2885 to get sigevent_t only.
2886 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2889 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2890 process_vm_writev only for __USE_GNU.
2891 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2893 * conform/Makefile: For now ignore errors from run-conformtest.
2894 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2895 POSIX to avoid namespace pollution. Don't prepend headers.
2896 * conform/data/aio.h-data: Fixes for POSIX testing.
2897 * conform/data/fcntl.h-data: Likewise.
2898 * conform/data/glob.h-data: Likewise.
2899 * conform/data/grp.h-data: Likewise.
2900 * conform/data/pthread.h-data: Likewise.
2901 * conform/data/pwd.h-data: Likewise.
2902 * conform/data/signal.h-data: Likewise.
2903 * conform/data/spawn.h-data: Likewise.
2904 * conform/data/stdio.h-data: Likewise.
2905 * conform/data/stdlib.h-data: Likewise.
2906 * conform/data/stropts.h-data: Likewise.
2907 * conform/data/sys/mman.h-data: Likewise.
2908 * conform/data/sys/stat.h-data: Likewise.
2909 * conform/data/sys/types.h-data: Likewise.
2910 * conform/data/sys/wait.h-data: Likewise.
2911 * conform/data/time.h-data: Likewise.
2912 * conform/data/unistd.h-data: Likewise.
2913 * conform/data/utime.h-data: Likewise.
2915 * io/sys/stat.h: fchmod was always in POSIX.
2916 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2917 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2918 * rt/aio.h: Define __need_timespec before including <time.h>.
2919 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2920 struct. Add forward declaration of pthread_attr_t and use it in
2922 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2924 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2925 always remove CLK_TCK definition.
2927 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2929 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2931 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2933 * conform/run-conformtest.sh: New file.
2934 * conform/Makefile: Run run-conformtest for tests.
2935 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2938 * conform/data/uchar.h-data: New file.
2939 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2940 * conform/data/arpa/inet.h-data: Likewise.
2941 * conform/data/assert.h-data: Likewise.
2942 * conform/data/complex.h-data: Likewise.
2943 * conform/data/cpio.h-data: Likewise.
2944 * conform/data/ctype.h-data: Likewise.
2945 * conform/data/dirent.h-data: Likewise.
2946 * conform/data/dlfcn.h-data: Likewise.
2947 * conform/data/errno.h-data: Likewise.
2948 * conform/data/fcntl.h-data: Likewise.
2949 * conform/data/float.h-data: Likewise.
2950 * conform/data/fmtmsg.h-data: Likewise.
2951 * conform/data/fnmatch.h-data: Likewise.
2952 * conform/data/ftw.h-data: Likewise.
2953 * conform/data/glob.h-data: Likewise.
2954 * conform/data/grp.h-data: Likewise.
2955 * conform/data/iconv.h-data: Likewise.
2956 * conform/data/inttypes.h-data: Likewise.
2957 * conform/data/langinfo.h-data: Likewise.
2958 * conform/data/libgen.h-data: Likewise.
2959 * conform/data/limits.h-data: Likewise.
2960 * conform/data/locale.h-data: Likewise.
2961 * conform/data/math.h-data: Likewise.
2962 * conform/data/monetary.h-data: Likewise.
2963 * conform/data/mqueue.h-data: Likewise.
2964 * conform/data/ndbm.h-data: Likewise.
2965 * conform/data/net/if.h-data: Likewise.
2966 * conform/data/netdb.h-data: Likewise.
2967 * conform/data/netinet/in.h-data: Likewise.
2968 * conform/data/nl_types.h-data: Likewise.
2969 * conform/data/poll.h-data: Likewise.
2970 * conform/data/pthread.h-data: Likewise.
2971 * conform/data/pwd.h-data: Likewise.
2972 * conform/data/regex.h-data: Likewise.
2973 * conform/data/sched.h-data: Likewise.
2974 * conform/data/search.h-data: Likewise.
2975 * conform/data/semaphore.h-data: Likewise.
2976 * conform/data/setjmp.h-data: Likewise.
2977 * conform/data/signal.h-data: Likewise.
2978 * conform/data/spawn.h-data: Likewise.
2979 * conform/data/stdarg.h-data: Likewise.
2980 * conform/data/stdio.h-data: Likewise.
2981 * conform/data/stdlib.h-data: Likewise.
2982 * conform/data/string.h-data: Likewise.
2983 * conform/data/strings.h-data: Likewise.
2984 * conform/data/stropts.h-data: Likewise.
2985 * conform/data/sys/ipc.h-data: Likewise.
2986 * conform/data/sys/mman.h-data: Likewise.
2987 * conform/data/sys/msg.h-data: Likewise.
2988 * conform/data/sys/resource.h-data: Likewise.
2989 * conform/data/sys/select.h-data: Likewise.
2990 * conform/data/sys/sem.h-data: Likewise.
2991 * conform/data/sys/shm.h-data: Likewise.
2992 * conform/data/sys/socket.h-data: Likewise.
2993 * conform/data/sys/stat.h-data: Likewise.
2994 * conform/data/sys/statvfs.h-data: Likewise.
2995 * conform/data/sys/time.h-data: Likewise.
2996 * conform/data/sys/timeb.h-data: Likewise.
2997 * conform/data/sys/times.h-data: Likewise.
2998 * conform/data/sys/types.h-data: Likewise.
2999 * conform/data/sys/uio.h-data: Likewise.
3000 * conform/data/sys/un.h-data: Likewise.
3001 * conform/data/sys/utsname.h-data: Likewise.
3002 * conform/data/sys/wait.h-data: Likewise.
3003 * conform/data/syslog.h-data: Likewise.
3004 * conform/data/tar.h-data: Likewise.
3005 * conform/data/termios.h-data: Likewise.
3006 * conform/data/utime.h-data: Likewise.
3007 * conform/data/utmpx.h-data: Likewise.
3008 * conform/data/varargs.h-data: Likewise.
3009 * conform/data/wchar.h-data: Likewise.
3010 * conform/data/wctype.h-data: Likewise.
3011 * conform/data/wordexp.h-data: Likewise.
3013 * include/stropts.h: New file.
3014 * include/uchar.h: New file.
3015 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3016 * include/assert.h: Likewise.
3017 * include/ctype.h: Likewise.
3018 * include/dirent.h: Likewise.
3019 * include/dlfcn.h: Likewise.
3020 * include/fcntl.h: Likewise.
3021 * include/fnmatch.h: Likewise.
3022 * include/glob.h: Likewise.
3023 * include/grp.h: Likewise.
3024 * include/libio.h: Likewise.
3025 * include/locale.h: Likewise.
3026 * include/math.h: Likewise.
3027 * include/net/if.h: Likewise.
3028 * include/netdb.h: Likewise.
3029 * include/netinet/in.h: Likewise.
3030 * include/pthread.h: Likewise.
3031 * include/pwd.h: Likewise.
3032 * include/regex.h: Likewise.
3033 * include/sched.h: Likewise.
3034 * include/search.h: Likewise.
3035 * include/setjmp.h: Likewise.
3036 * include/signal.h: Likewise.
3037 * include/stdio.h: Likewise.
3038 * include/stdlib.h: Likewise.
3039 * include/string.h: Likewise.
3040 * include/sys/cdefs.h: Likewise.
3041 * include/sys/mman.h: Likewise.
3042 * include/sys/msg.h: Likewise.
3043 * include/sys/resource.h: Likewise.
3044 * include/sys/select.h: Likewise.
3045 * include/sys/socket.h: Likewise.
3046 * include/sys/stat.h: Likewise.
3047 * include/sys/statvfs.h: Likewise.
3048 * include/sys/time.h: Likewise.
3049 * include/sys/times.h: Likewise.
3050 * include/sys/uio.h: Likewise.
3051 * include/sys/utsname.h: Likewise.
3052 * include/sys/wait.h: Likewise.
3053 * include/termios.h: Likewise.
3054 * include/time.h: Likewise.
3055 * include/ulimit.h: Likewise.
3056 * include/unistd.h: Likewise.
3057 * include/utime.h: Likewise.
3058 * include/wchar.h: Likewise.
3059 * include/wctype.h: Likewise.
3060 * include/wordexp.h: Likewise.
3062 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3064 * time/time.h: TIME_UTC must be a macro.
3065 Make timespec_get available for ISO C11 only as well.
3067 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3069 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3070 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3072 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3074 * configure.in: Use -o not -a in test for unsupported multi-arch.
3076 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3078 * manual/texinfo.tex: Update to version 2012-01-19.16.
3080 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3082 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3084 2012-02-24 Roland McGrath <roland@hack.frob.com>
3087 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3088 * manual/fdl-1.3.texi: New file.
3089 * manual/fdl-1.1.texi: File removed.
3092 * manual/libc.texinfo (FDL_VERSION): New @set.
3093 Use it for mention of FDL in cover text.
3094 (Documentation License): Use it in @include file name.
3096 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3097 Roland McGrath <roland@hack.frob.com>
3100 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3101 not LONG_LONG_MAX and LONG_LONG_MIN.
3102 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3103 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3105 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3107 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3111 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3112 manipulate bits before adding and subtracting TWO23[sx].
3113 * math/libm-test.inc (nearbyint_test): Add more tests.
3115 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3118 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3119 bits before adding and subtracting TWO23[sx].
3120 * math/libm-test.inc (rint_test): Add more tests.
3121 (rint_test_tonearest): Likewise.
3122 (rint_test_towardzero): Likewise.
3123 (rint_test_downward): Likewise.
3124 (rint_test_upward: Likewise.
3126 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3129 * include/stdc-predef.h: New file. Extracted from features.h.
3130 * include/features.h: Include stdc-predef.h.
3131 * Makefile (headers): Add stdc-predef.h.
3132 * CONFORMANCE (Compiler limitations): Update.
3134 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3136 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3138 2012-02-21 David S. Miller <davem@davemloft.net>
3140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3143 2012-02-20 David S. Miller <davem@davemloft.net>
3145 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3146 using a normal save/restore sequence, rather than allocating a
3147 dummy stack frame just to store a frame pointer and restore.
3148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3150 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3152 * manual/install.texi: Fix stray word in line-wrapped comment.
3154 2012-02-20 David S. Miller <davem@davemloft.net>
3156 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3157 both binutils and gcc support GOTDATA.
3159 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3160 "rd %pc" in the PIC register setup sequences.
3162 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3163 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3164 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3165 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3168 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3171 (SYSCALL_ERROR_HANDLER): Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3175 (SYSCALL_ERROR_HANDLER): Likewise.
3177 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3178 (HAVE_GCC_GOTDATA): New.
3179 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3180 relocation support in both binutils and gcc.
3181 * sysdeps/sparc/elf/configure: Regenerate.
3183 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3184 * sysdeps/sparc/sparc32/elf/configure: Delete.
3185 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3186 * sysdeps/sparc/sparc64/elf/configure: Delete.
3187 * sysdeps/sparc/elf/configure.in: New file.
3188 * sysdeps/sparc/elf/configure: Generate.
3190 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3191 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3192 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3193 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3194 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3196 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3198 * manual/install.texi: Do not mention specific glibc version
3200 * manual/libc.texinfo (VERSION, UPDATED): Update.
3201 (@copying): Use @copyright{} and range of years.
3203 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3206 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3207 [crti.S not in sysdirs] (generated): Do not append.
3208 [crti.S not in sysdirs] (omit-deps): Likewise.
3209 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3210 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3211 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3212 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3213 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3215 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3216 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3217 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3218 * csu/defs.awk: Remove file.
3219 * sysdeps/generic/initfini.c: Likewise.
3220 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3222 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3225 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3227 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3228 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3229 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3232 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3234 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3235 (__EPOLL_PACKED): Define to empty if not defined by
3237 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3243 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3244 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3245 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3248 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3252 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3254 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3261 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3263 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3264 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3266 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3268 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3269 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3271 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3273 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3276 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3278 * math/w_acos.c: Use non-signaling floating-point comparisons.
3279 * math/w_acosf.c: Likewise.
3280 * math/w_acosh.c: Likewise.
3281 * math/w_acoshf.c: Likewise.
3282 * math/w_acoshl.c: Likewise.
3283 * math/w_acosl.c: Likewise.
3284 * math/w_asin.c: Likewise.
3285 * math/w_asinf.c: Likewise.
3286 * math/w_asinl.c: Likewise.
3287 * math/w_atanh.c: Likewise.
3288 * math/w_atanhf.c: Likewise.
3289 * math/w_atanhl.c: Likewise.
3290 * math/w_exp2.c: Likewise.
3291 * math/w_exp2f.c: Likewise.
3292 * math/w_exp2l.c: Likewise.
3293 * math/w_j0.c: Likewise.
3294 * math/w_j0f.c: Likewise.
3295 * math/w_j0l.c: Likewise.
3296 * math/w_j1.c: Likewise.
3297 * math/w_j1f.c: Likewise.
3298 * math/w_j1l.c: Likewise.
3299 * math/w_jn.c: Likewise.
3300 * math/w_jnf.c: Likewise.
3301 * math/w_log.c: Likewise.
3302 * math/w_log10.c: Likewise.
3303 * math/w_log10f.c: Likewise.
3304 * math/w_log10l.c: Likewise.
3305 * math/w_log2.c: Likewise.
3306 * math/w_log2f.c: Likewise.
3307 * math/w_log2l.c: Likewise.
3308 * math/w_logf.c: Likewise.
3309 * math/w_logl.c: Likewise.
3310 * math/w_sqrt.c: Likewise.
3311 * math/w_sqrtf.c: Likewise.
3312 * math/w_sqrtl.c: Likewise.
3313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3317 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3322 * manual/string.texi (strnlen): Use correct parameter name in
3323 equivalent expression.
3325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3328 * manual/users.texi (seteuid): Consistently use neweuid for
3331 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3334 * manual/nss.texi (Services in the NSS configuration): Correct
3335 list of services in example configuration file.
3337 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3340 * manual/arith.texi: Remove statements about negative zero
3341 behaving identically to zero.
3343 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3346 * manual/install.texi: Do not document upgrading from libc5.
3348 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3351 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3353 2012-02-18 David S. Miller <davem@davemloft.net>
3355 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3356 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3357 %o7 across the call.
3358 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3363 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3364 * sysdeps/sparc/crtn.S: Likewise.
3366 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3368 * aout/Makefile: Remove.
3370 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3373 * manual/examples/argp-ex1.c (main): Format definition in GNU
3375 * manual/examples/argp-ex2.c (main): Likewise.
3376 * manual/examples/argp-ex3.c (main): Likewise.
3377 * manual/examples/argp-ex4.c (main): Likewise.
3378 * manual/examples/longopt.c (main): Use new-style prototype
3380 * manual/examples/strncat.c (main): Specify return type and use
3381 (void) for arguments.
3382 * manual/examples/subopt.c (main): Use char **argv argument.
3384 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3387 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3390 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3393 * manual/string.texi (strchr): Change when strchrnul is
3396 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3399 * manual/locale.texi (setlocale): Document LOCPATH.
3401 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3404 * manual/process.texi (execle): Move @dots{} before last argument.
3406 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3409 * manual/charset.texi (Generic Charset Conversion): Fix typo
3410 (LC_TYPE -> LC_CTYPE).
3412 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3415 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3416 (scalbnf): Likewise.
3417 (scalbnl): Likewise.
3418 (scalbln): Likewise.
3419 (scalblnf): Likewise.
3420 (scalblnl): Likewise.
3421 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3425 * manual/filesys.texi (telldir): Use braces around return type.
3426 * manual/llio.texi (mmap): Add space after comma.
3428 * manual/math.texi (jn): Use @var{} on parameter names.
3434 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3436 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3438 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3439 (sched_get_priority_max): Likewise.
3440 * manual/signal.texi (sigvec): Add space after comma.
3441 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3443 (if_indextoname): Likewise.
3444 (if_freenameindex): Likewise.
3445 (sendto): Use ',' instead of '.' in prototype.
3446 * manual/startup.texi (syscall): Use @dots{} instead of literal
3448 * manual/stdio.texi (__fpending): Separate initial words of
3449 paragraph from @deftypefun line.
3450 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3452 (vsyslog): Use @var{} on parameter names.
3453 * manual/terminal.texi (stty): Use @var{} on parameter names.
3454 * manual/users.texi (getutmp): Use @var{} on parameter names.
3455 (getutmpx): Likewise.
3457 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3460 * manual/stdio.texi (fopen): Fix typos in description of
3463 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3466 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3467 get clock_id definition.
3469 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3472 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3473 (madvise): Cast every argument to void on its own.
3475 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3478 * manual/startup.texi (Exit Status): Fix typo.
3480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3483 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3484 * manual/examples/argp-ex2.c: Likewise.
3485 * manual/examples/argp-ex3.c: Likewise.
3487 2012-02-16 Richard Henderson <rth@redhat.com>
3489 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3490 * sysdeps/s390/s390-32/initfini.c: Remove.
3491 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3492 * sysdeps/s390/s390-64/initfini.c: Remove.
3494 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3496 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3497 compiler output for sysdeps/generic/initfini.c.
3498 * sysdeps/sh/elf/initfini.c: Remove file.
3500 2012-02-16 David S. Miller <davem@davemloft.net>
3503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3505 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3506 * sysdeps/sparc/crti.S: New file.
3507 * sysdeps/sparc/crtn.S: New file.
3508 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3509 * sysdeps/sparc/sparc64/Makefile: Likewise.
3511 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3514 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3516 2012-02-15 Roland McGrath <roland@hack.frob.com>
3519 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3521 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3522 (write, read, close): Likewise.
3523 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3525 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3527 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3528 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3530 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3532 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3536 2012-02-14 Marek Polacek <polacek@redhat.com>
3538 * sysdeps/x86_64/crti.S: New file.
3539 * sysdeps/x86_64/crtn.S: New file.
3540 * sysdeps/x86_64/elf/initfini.c: Remove file.
3542 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3545 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3546 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3547 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3549 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3553 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3555 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3556 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3557 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3558 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3560 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3564 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3566 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3567 __feraiseexcept instead of feraiseexcept.
3569 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3570 nanosleep invocations.
3571 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3572 strings, and add error checking for a nanosleep invocations.
3574 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3576 Replace FSF snail mail address with URLs, as per GNU coding standards.
3577 Most of the snail mail addresses were wrong anyway, and omitting
3578 them makes the source code easier to maintain. Almost all of the
3579 changes are to license notices and to locale LC_IDENTIFICATION
3580 addresses, except for this one:
3581 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3582 not its snail mail address.
3584 2012-02-09 Richard Henderson <rth@twiddle.net>
3586 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3587 of kernel-features.h.
3589 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3591 2012-02-08 Marek Polacek <polacek@redhat.com>
3593 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3594 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3595 * sysdeps/gnu/_G_config.h: Likewise.
3596 * sysdeps/generic/_G_config.h: Likewise.
3598 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3600 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604 * sysdeps/powerpc/powerpc32/crti.S: New file.
3605 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3606 * sysdeps/powerpc/powerpc64/crti.S: New file.
3607 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3609 * Makeconfig (have-initfini): Don't set.
3610 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3611 * configure.in (nopic_initfini): Don't substitute.
3612 * config.h.in (HAVE_INITFINI): Don't #undef.
3613 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3614 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3616 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3618 Support crti.S and crtn.S provided directly by architectures.
3619 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3620 [crti.S in sysdirs] (omit-deps): Likewise.
3621 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3622 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3623 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3624 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3625 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3626 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3627 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3628 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3629 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3630 compiler output for sysdeps/generic/initfini.c.
3631 * sysdeps/i386/elf/Makefile: Remove file.
3632 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3634 2012-02-07 Marek Polacek <polacek@redhat.com>
3636 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3637 * sysdeps/gnu/_G_config.h: Likewise.
3638 * sysdeps/mach/hurd/_G_config.h: Likewise.
3640 2012-02-07 Marek Polacek <polacek@redhat.com>
3642 * math/Makefile (tests): Add tst-CMPLX2.
3643 * math/tst-CMPLX2.c: New file.
3645 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3647 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3649 * math/libm-test.inc (jn_test): Add missing L suffix.
3651 2012-02-06 Marek Polacek <polacek@redhat.com>
3653 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3654 * sysdeps/i386/fpu/e_powf.S: Likewise.
3655 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3656 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3657 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3658 * sysdeps/i386/fpu/e_pow.S: Likewise.
3659 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3661 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3662 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3663 * sysdeps/i386/fpu/e_log2.S: Likewise.
3664 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3665 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3666 * sysdeps/i386/fpu/e_powl.S: Likewise.
3667 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3668 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3669 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3670 * sysdeps/i386/fpu/e_logl.S: Likewise.
3671 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3672 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3673 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3674 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3676 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3677 * sysdeps/i386/fpu/e_log.S: Likewise.
3678 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3679 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3680 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3681 * sysdeps/i386/fpu/e_logf.S: Likewise.
3682 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3683 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3684 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3685 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3686 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3687 * sysdeps/i386/fpu/e_log10.S: Likewise.
3688 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3689 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3690 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3691 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3693 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3694 * sysdeps/i386/asm-syntax.h: Likewise.
3695 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3698 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3699 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3700 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3701 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3702 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3703 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3704 * sysdeps/powerpc/sysdep.h: Likewise.
3705 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3706 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3708 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3711 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3713 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3715 * sysdeps/i386/sysdep.h: Include <features.h>.
3716 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3719 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3721 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3723 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3726 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3728 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3729 (SETUP_PIC_REG): Use GET_PC_THUNK.
3730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3733 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3735 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3736 for non-PIC compilation.
3737 (SETUP_PIC_REG): Add .p2align directive.
3738 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3739 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3740 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3741 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3742 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3743 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3744 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3746 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3747 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3748 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3749 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3750 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3751 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3752 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3753 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3754 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3755 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3756 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3757 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3758 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3759 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3760 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3761 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3764 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3766 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3767 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3775 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3776 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3777 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3778 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3782 * math/tst-CMPLX.c: Include <stdio.h>.
3784 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3788 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3789 * sysdeps/sparc/bits/mathdef.h: Likewise.
3791 2012-01-31 Marek Polacek <polacek@redhat.com>
3793 * libio/libio.h: Don't define _PARAMS.
3794 * locale/programs/config.h: Don't define PARAMS.
3795 * stdlib/strtol_l.c: Likewise.
3796 (__strtol_l): Remove PARAMS from the prototype.
3798 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3800 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3801 names. Just use the correct names. Remove unnecessary wrapper
3803 * malloc/arena.c: Likewise.
3804 * malloc/hooks.c: Likewise.
3806 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3807 ARENA_TEST says not to. Simplify test for creation of a new arena.
3808 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3810 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3812 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3814 (update_get_addr): New function.
3815 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3816 GET_ADDR_MODULE parameter.
3818 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3820 * crypt/cert.c: Remove __STDC__ conditionals.
3821 * crypt/crypt-entry.c: Likewise.
3822 * crypt/crypt_util.c: Likewise.
3823 * libio/filedoalloc.c: Likewise.
3824 * libio/fileops.c: Likewise.
3825 * libio/genops.c: Likewise.
3826 * libio/iofclose.c: Likewise.
3827 * libio/iofdopen.c: Likewise.
3828 * libio/iofopen.c: Likewise.
3829 * libio/iofopen64.c: Likewise.
3830 * libio/iogetdelim.c: Likewise.
3831 * libio/iopopen.c: Likewise.
3832 * libio/obprintf.c: Likewise.
3833 * libio/oldfileops.c: Likewise.
3834 * libio/oldiofclose.c: Likewise.
3835 * libio/oldiofdopen.c: Likewise.
3836 * libio/oldiofopen.c: Likewise.
3837 * libio/oldiopopen.c: Likewise.
3838 * libio/wfiledoalloc.c: Likewise.
3839 * libio/wgenops.c: Likewise.
3840 * locale/programs/xmalloc.c: Likewise.
3841 * misc/syslog.c: Likewise.
3842 * stdio-common/xbug.c: Likewise.
3843 * string/memchr.c: Likewise.
3844 * string/memcmp.c: Likewise.
3845 * string/memrchr.c: Likewise.
3846 * string/rawmemchr.c: Likewise.
3847 * sysdeps/posix/getcwd.c: Likewise.
3848 * time/strftime_l.c: Likewise.
3850 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3852 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3853 * config.make.in (config-cflags-sse2avx): Define.
3854 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3857 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3859 * scripts/config.guess: Update from upstream config git repository.
3860 * scripts/config.sub: Likewise.
3862 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3864 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3866 (R_TILEPRO_*, R_TILEGX_*): New macros.
3868 * scripts/firstversions.awk: Fix bug in version range handling.
3870 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3872 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3874 * include/sys/epoll.h: New file.
3875 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3878 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3880 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3881 Avoid unnecessary __WORDSIZE == 64 test.
3882 (fmaxf): Use VEX format if possible.
3887 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3888 * math/math_private.h: Remove libc_fegetround* and
3890 * sysdeps/i386/configure.in: Check for -msse2avx.
3891 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3892 also if SSE2AVX is defined.
3893 Remove libc_fegetround* and libc_fesetround*.
3894 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3895 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3898 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3901 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3904 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3906 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3912 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3915 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3917 * Makeconfig (libm): Define.
3918 * elf/Makefile: Add rules to build and run tst-relsort1.
3919 * elf/tst-relsort1.c: New file.
3920 * elf/tst-relsort1mod1.c: New file.
3921 * elf/tst-relsort1mod2.c: New file.
3923 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3925 * math/s_ldexp.c: Remove __STDC__ conditionals.
3926 * math/s_ldexpf.c: Likewise.
3927 * math/s_ldexpl.c: Likewise.
3928 * math/s_nextafter.c: Likewise.
3929 * math/s_nexttowardf.c: Likewise.
3930 * math/s_significand.c: Likewise.
3931 * math/s_significandf.c: Likewise.
3932 * math/s_significandl.c: Likewise.
3933 * math/w_jnl.c: Likewise.
3934 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3935 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3936 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3937 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3938 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3953 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3954 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3955 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3960 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3961 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3962 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3963 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3965 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3966 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3967 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3968 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3970 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3971 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3972 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3974 * sysdeps/ieee754/k_standard.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4054 * sysdeps/ieee754/s_matherr.c: Likewise.
4055 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4056 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4060 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4062 * crypt/md5.h: Remove __STDC__ conditionals.
4063 * libio/libioP.h: Likewise.
4064 * locale/programs/config.h: Likewise.
4065 * sysdeps/generic/sysdep.h: Likewise.
4066 * sysdeps/i386/asm-syntax.h: Likewise.
4067 * sysdeps/s390/asm-syntax.h: Likewise.
4068 * sysdeps/unix/sysdep.h: Likewise.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4072 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4074 * libio/libio.h: Remove __STDC__ conditionals.
4075 * malloc/obstack.h: Likewise.
4076 * math/complex.h: Likewise.
4077 * math/math.h: Likewise.
4078 * sysdeps/generic/_G_config.h: Likewise.
4079 * sysdeps/gnu/_G_config.h: Likewise.
4080 * sysdeps/mach/hurd/_G_config.h: Likewise.
4081 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4082 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4083 * sysdeps/sparc/bits/mathdef.h: Likewise.
4085 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4088 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4089 Clean up HAS_* macros.
4090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4091 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4101 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4103 * elf/tst-unique3.cc (gets): Remove declaration.
4104 * elf/tst-unique3lib.cc (gets): Likewise.
4105 * elf/tst-unique3lib2.cc (gets): Likewise.
4106 * elf/tst-unique4.cc (gets): Likewise.
4108 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4110 * include/stdio.h: Add C++ protection. Add gets declarations and
4112 * debug/tst-chk1.c: Don't declare gets here.
4113 * stdio-common/tst-gets.c: Likewise.
4115 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4117 * posix/glob: Remove directory.
4119 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4121 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4123 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4125 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4126 of the non-standard EPFNOSUPPORT.
4128 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4130 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4131 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4132 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4134 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4136 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4138 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4140 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4142 * nscd/grpcache.c (cache_addgr): Likewise.
4143 * nscd/hstcache.c (cache_addhst): Likewise.
4144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4145 * nscd/pwdcache.c (cache_addpw): Likewise.
4146 * nscd/servicescache.c (cache_addserv): Likewise.
4148 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4150 * malloc/malloc.c: Various cleanups.
4151 * malloc/hooks.c: Likewise.
4153 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4154 * stdlib/bug-fmtmsg1.c: New file.
4156 * stdlib/fmtmsg.c (init): Add missing unlock.
4157 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4159 2012-01-12 Marek Polacek <polacek@redhat.com>
4161 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4164 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4166 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4167 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4168 macro to ensure uniqueness of label name.
4169 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4170 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4172 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4176 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4177 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4181 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4185 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4186 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4189 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4191 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4192 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4196 * math/bits/math-finite.h: Add ldexp support.
4198 2012-01-10 Marek Polacek <polacek@redhat.com>
4200 * locale/programs/localedef.h (show_archive_content): Add noreturn
4203 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4205 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4209 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4211 * io/Makefile (headers): Add bits/poll2.h.
4213 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4216 typo #include statement.
4218 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4220 * include/sys/cdefs.h: Define __attribute_alloc_size.
4221 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4222 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4223 * elf/pldd.c: Likewise.
4224 * iconv/iconv_charmap.c: Likewise.
4225 * iconv/iconvconfig.c: Likewise.
4226 * iconv/strtab.c: Likewise.
4227 * locale/programs/locale.c: Likewise.
4228 * locale/programs/localedef.h: Likewise.
4229 * locale/programs/simple-hash.c: Likewise.
4230 * nscd/nscd.h: Likewise.
4231 * nss/makedb.c: Likewise.
4232 * sysdeps/generic/ldconfig.h: Likewise.
4233 * locale/programs/localedef.c: Remove xmalloc prototype.
4234 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4236 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4238 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4241 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4243 * math/Makefile (tests): Add tst-CMPLX.
4244 * math/tst-CMPLX.c: New file.
4246 * math/complex.h (CMPLXL): Fix typo.
4248 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4249 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4251 * debug/tst-chk1.c: Add poll and ppoll tests.
4252 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4253 * include/sys/poll.h: Add hidden proto for ppoll.
4254 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4255 * sysdeps/mach/hurd/ppoll.c: Likewise.
4256 * io/ppoll.c: Likewise.
4257 * debug/poll_chk.c: New file.
4258 * debug/ppoll_chk.c: New file.
4259 * include/bits/poll2.h: New file.
4260 * io/bits/poll2.h: New file.
4263 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4265 * configure.in: static is always set to yes. Remove.
4266 * config.make.in: Don't set build-static.
4267 * Makeconfig: Remove use of build-static.
4268 * dlfcn/Makefile: Likewise.
4269 * elf/Makefile: Likewise.
4270 * math/Makefile: Likewise.
4271 * misc/Makefile: Likewise.
4272 * nptl/Makefile: Likewise.
4273 * sysdeps/mach/hurd/Makefile: Likewise.
4275 * configure.in: PWD_P is not used anymore.
4276 * config.make.in: Remove PWD_P entry.
4278 * configure.in: Remove last remnants of RANLIB.
4279 No need to check for signed size_t anymore.
4280 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4282 Remove __builtin_expect test because we require at least gcc 3.4.
4283 * aclocal.m4: Likewise.
4285 * wcsmbs/mbrtoc16.c: Implement using towc function.
4286 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4287 * wcsmbs/wcsmbsload.c: Likewise.
4288 * iconv/gconv_simple.c: Likewise.
4289 * iconv/gconv_int.h: Likewise.
4290 * iconv/gconv_builtin.h: Likewise.
4291 * iconv/iconv_prog.c: Remove CHAR16 handling.
4293 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4295 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4297 * configure.in: Remove --with-elf and --enable-bounded options.
4298 Dont set base_machine for ia64. More non-ELF conditions removed.
4299 Remove testing and setting of leading underscore information.
4300 * config.make.in (build-bounded): Set to no.
4301 * config.h.in: Remove NO_UNDERSCORES entry.
4302 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4304 * csu/start.c: Remove !NO_UNDERSCORE code.
4305 * locale/localeinfo.h: Likewise.
4306 * sysdeps/generic/machine-gmon.h: Likewise.
4307 * sysdeps/generic/sysdep.h: Likewise.
4308 * sysdeps/i386/sysdep.h: Likewise.
4309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4310 * sysdeps/mach/sysdep.h: Likewise.
4311 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4313 * sysdeps/sh/sysdep.h: Likewise.
4314 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4315 * sysdeps/unix/i386/sysdep.S: Likewise.
4316 * sysdeps/unix/sparc/start.c: Likewise.
4317 * sysdeps/unix/sparc/sysdep.S: Likewise.
4318 * sysdeps/unix/sparc/sysdep.h: Likewise.
4319 * sysdeps/unix/start.c: Likewise.
4320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4321 * sysdeps/x86_64/sysdep.h: Likewise.
4323 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4326 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4328 * argp/argp-fmtstream.h: Use const instead __const.
4329 * argp/argp.h: Likewise.
4330 * assert/assert.h: Likewise.
4331 * bits/fenv.h: Likewise.
4332 * bits/sched.h: Likewise.
4333 * bits/sigset.h: Likewise.
4334 * bits/sigthread.h: Likewise.
4335 * catgets/nl_types.h: Likewise.
4336 * conform/data/pthread.h-data: Likewise.
4337 * crypt/crypt-private.h: Likewise.
4338 * crypt/crypt.h: Likewise.
4339 * crypt/crypt_util.c: Likewise.
4340 * ctype/ctype.h: Likewise.
4341 * debug/execinfo.h: Likewise.
4342 * debug/mbsnrtowcs_chk.c: Likewise.
4343 * debug/mbsrtowcs_chk.c: Likewise.
4344 * debug/wcsnrtombs_chk.c: Likewise.
4345 * debug/wcsrtombs_chk.c: Likewise.
4346 * debug/wcstombs_chk.c: Likewise.
4347 * dirent/dirent.h: Likewise.
4348 * dlfcn/dlfcn.h: Likewise.
4349 * elf/neededtest4.c: Likewise.
4350 * grp/grp.h: Likewise.
4351 * gshadow/gshadow.h: Likewise.
4352 * iconv/gconv.h: Likewise.
4353 * iconv/gconv_int.h: Likewise.
4354 * iconv/gconv_simple.c: Likewise.
4355 * iconv/iconv.h: Likewise.
4356 * iconv/loop.c: Likewise.
4357 * iconv/skeleton.c: Likewise.
4358 * include/aio.h: Likewise.
4359 * include/aliases.h: Likewise.
4360 * include/argz.h: Likewise.
4361 * include/arpa/inet.h: Likewise.
4362 * include/assert.h: Likewise.
4363 * include/dirent.h: Likewise.
4364 * include/dlfcn.h: Likewise.
4365 * include/execinfo.h: Likewise.
4366 * include/fcntl.h: Likewise.
4367 * include/fenv.h: Likewise.
4368 * include/glob.h: Likewise.
4369 * include/grp.h: Likewise.
4370 * include/libintl.h: Likewise.
4371 * include/mntent.h: Likewise.
4372 * include/netdb.h: Likewise.
4373 * include/pwd.h: Likewise.
4374 * include/rpc/netdb.h: Likewise.
4375 * include/sched.h: Likewise.
4376 * include/search.h: Likewise.
4377 * include/shadow.h: Likewise.
4378 * include/signal.h: Likewise.
4379 * include/stdio.h: Likewise.
4380 * include/stdlib.h: Likewise.
4381 * include/string.h: Likewise.
4382 * include/sys/socket.h: Likewise.
4383 * include/sys/stat.h: Likewise.
4384 * include/sys/statfs.h: Likewise.
4385 * include/sys/statvfs.h: Likewise.
4386 * include/sys/syslog.h: Likewise.
4387 * include/sys/time.h: Likewise.
4388 * include/sys/uio.h: Likewise.
4389 * include/time.h: Likewise.
4390 * include/unistd.h: Likewise.
4391 * include/utmp.h: Likewise.
4392 * include/wchar.h: Likewise.
4393 * include/wctype.h: Likewise.
4394 * inet/aliases.h: Likewise.
4395 * inet/arpa/inet.h: Likewise.
4396 * inet/netinet/ether.h: Likewise.
4397 * inet/netinet/in.h: Likewise.
4398 * intl/libintl.h: Likewise.
4399 * io/bits/fcntl2.h: Likewise.
4400 * io/fcntl.h: Likewise.
4401 * io/ftw.h: Likewise.
4402 * io/sys/poll.h: Likewise.
4403 * io/sys/stat.h: Likewise.
4404 * io/sys/statfs.h: Likewise.
4405 * io/sys/statvfs.h: Likewise.
4406 * io/utime.h: Likewise.
4407 * libio/bits/stdio.h: Likewise.
4408 * libio/bits/stdio2.h: Likewise.
4409 * libio/libio.h: Likewise.
4410 * libio/libioP.h: Likewise.
4411 * libio/stdio.h: Likewise.
4412 * locale/lc-ctype.c: Likewise.
4413 * locale/locale.h: Likewise.
4414 * login/utmp.h: Likewise.
4415 * malloc/arena.c: Likewise.
4416 * malloc/malloc.c: Likewise.
4417 * malloc/malloc.h: Likewise.
4418 * malloc/mcheck.c: Likewise.
4419 * malloc/mtrace.c: Likewise.
4420 * math/bits/mathcalls.h: Likewise.
4421 * math/fenv.h: Likewise.
4422 * math/math_private.h: Likewise.
4423 * misc/bits/error.h: Likewise.
4424 * misc/bits/syslog.h: Likewise.
4425 * misc/err.h: Likewise.
4426 * misc/error.h: Likewise.
4427 * misc/fstab.h: Likewise.
4428 * misc/mntent.h: Likewise.
4429 * misc/regexp.h: Likewise.
4430 * misc/search.h: Likewise.
4431 * misc/sgtty.h: Likewise.
4432 * misc/sys/mman.h: Likewise.
4433 * misc/sys/syslog.h: Likewise.
4434 * misc/sys/uio.h: Likewise.
4435 * misc/sys/xattr.h: Likewise.
4436 * misc/ttyent.h: Likewise.
4437 * nis/rpcsvc/ypclnt.h: Likewise.
4438 * nss/nss.h: Likewise.
4439 * posix/bits/unistd.h: Likewise.
4440 * posix/fnmatch.h: Likewise.
4441 * posix/glob.h: Likewise.
4442 * posix/sched.h: Likewise.
4443 * posix/spawn.h: Likewise.
4444 * posix/sys/wait.h: Likewise.
4445 * posix/unistd.h: Likewise.
4446 * posix/wordexp.h: Likewise.
4447 * pwd/pwd.h: Likewise.
4448 * resolv/netdb.h: Likewise.
4449 * resource/sys/resource.h: Likewise.
4450 * rt/aio.h: Likewise.
4451 * rt/bits/mqueue2.h: Likewise.
4452 * rt/mqueue.h: Likewise.
4453 * shadow/shadow.h: Likewise.
4454 * signal/signal.h: Likewise.
4455 * socket/send.c: Likewise.
4456 * socket/sendto.c: Likewise.
4457 * socket/sys/socket.h: Likewise.
4458 * stdio-common/printf.h: Likewise.
4459 * stdlib/bits/stdlib.h: Likewise.
4460 * stdlib/fmtmsg.h: Likewise.
4461 * stdlib/monetary.h: Likewise.
4462 * stdlib/stdlib.h: Likewise.
4463 * stdlib/ucontext.h: Likewise.
4464 * streams/stropts.h: Likewise.
4465 * string/argz.h: Likewise.
4466 * string/bits/string2.h: Likewise.
4467 * string/string.h: Likewise.
4468 * string/strings.h: Likewise.
4469 * sunrpc/rpc/auth.h: Likewise.
4470 * sunrpc/rpc/auth_des.h: Likewise.
4471 * sunrpc/rpc/clnt.h: Likewise.
4472 * sunrpc/rpc/netdb.h: Likewise.
4473 * sunrpc/rpc/pmap_clnt.h: Likewise.
4474 * sunrpc/rpc/xdr.h: Likewise.
4475 * sysdeps/generic/inttypes.h: Likewise.
4476 * sysdeps/generic/net/if.h: Likewise.
4477 * sysdeps/generic/sys/swap.h: Likewise.
4478 * sysdeps/gnu/net/if.h: Likewise.
4479 * sysdeps/gnu/utmpx.h: Likewise.
4480 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4481 * sysdeps/i386/i486/bits/string.h: Likewise.
4482 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4483 * sysdeps/s390/bits/string.h: Likewise.
4484 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4485 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4486 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4487 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4488 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4489 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4490 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4491 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4492 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4493 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4494 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4495 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4496 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4497 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4498 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4503 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4505 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4507 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4508 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4509 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4510 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4512 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4513 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4514 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4515 * sysvipc/sys/ipc.h: Likewise.
4516 * sysvipc/sys/msg.h: Likewise.
4517 * sysvipc/sys/sem.h: Likewise.
4518 * sysvipc/sys/shm.h: Likewise.
4519 * termios/termios.h: Likewise.
4520 * time/sys/time.h: Likewise.
4521 * time/time.h: Likewise.
4522 * wcsmbs/bits/wchar2.h: Likewise.
4523 * wcsmbs/uchar.h: Likewise.
4524 * wcsmbs/wchar.h: Likewise.
4525 * wctype/wctype.h: Likewise.
4528 * Makeconfig: Remove all but ELF support including AIX support.
4529 * Makerules: Likewise.
4530 * config.h.in: Likewise.
4531 * config.make.in: Likewise.
4532 * configure: Likewise.
4533 * configure.in: Likewise.
4534 * csu/Makefile: Likewise.
4535 * csu/version.c: Likewise.
4536 * debug/Makefile: Likewise.
4537 * dlfcn/Makefile: Likewise.
4538 * elf/Makefile: Likewise.
4539 * extra-lib.mk: Likewise.
4540 * iconv/Makefile: Likewise.
4541 * include/libc-symbols.h: Likewise.
4542 * include/shlib-compat.h: Likewise.
4543 * resolv/Makefile: Likewise.
4544 * resolv/res_libc.c: Likewise.
4545 * rt/Makefile: Likewise.
4546 * sysdeps/i386/asm-syntax.h: Likewise.
4547 * sysdeps/i386/sysdep.h: Likewise.
4548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4549 * sysdeps/mach/sysdep.h: Likewise.
4550 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4551 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4552 * sysdeps/s390/asm-syntax.h: Likewise.
4553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4555 * sysdeps/sh/sysdep.h: Likewise.
4556 * sysdeps/unix/sparc/sysdep.h: Likewise.
4557 * sysdeps/wordsize-32/divdi3.c: Likewise.
4558 * sysdeps/x86_64/sysdep.h: Likewise.
4560 * argp/Versions: Remove _argp_unlock_xxx.
4563 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4564 * abilist/libBrokenLocale.abilist: Likewise.
4565 * abilist/libanl.abilist: Likewise.
4566 * abilist/libc.abilist: Likewise.
4567 * abilist/libcrypt.abilist: Likewise.
4568 * abilist/libdl.abilist: Likewise.
4569 * abilist/libm.abilist: Likewise.
4570 * abilist/libnsl.abilist: Likewise.
4571 * abilist/libpthread.abilist: Likewise.
4572 * abilist/libresolv.abilist: Likewise.
4573 * abilist/librt.abilist: Likewise.
4574 * abilist/libthread_db.abilist: Likewise.
4575 * abilist/libutil.abilist: Likewise.
4576 * abilist/libnss_db.abilist: New file.
4578 * scripts/abilist.awk: Add support for indirect functions.
4580 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4582 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4584 * shlib-versions: Remove entries for ports architectures.
4586 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4588 * elf/stackguard-macros.h: Remove support for IA-64.
4589 * elf/tst-auditmod1.c: Likewise.
4590 * sysdeps/generic/ldsodefs.h: Likewise.
4592 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4593 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4597 * configure.in: Remove --enable-omitfp support.
4599 * config.make.in: Likewise.
4600 * Makeconfig: Likewise.
4601 * manual/install.texi: Likewise.
4603 In case anyone cares, the IA-64 architecture could move to ports.
4604 * sysdeps/ia64/*: Removed.
4605 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4606 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4609 * configure.in: Remove entries for unsupported architectures.
4612 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4613 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4615 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4616 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4617 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4618 fall back to using wcrtomb.
4619 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4620 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4622 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4623 * wcsmbs/tst-c16c32-1.c: New file.
4625 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4628 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4630 * elf/tst-unique3.cc: Add explicit declaration of gets.
4631 * elf/tst-unique3lib.cc: Likewise.
4632 * elf/tst-unique3lib2.cc: Likewise.
4633 * elf/tst-unique4.cc: Likewise.
4635 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4637 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4640 * assert/assert.h (static_assert): Don't define for C++.
4641 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4642 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4644 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4646 * iconv/loop.c (single loop): Fix assertion in storing of
4649 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4651 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4653 * posix/getconf.c: Update copyright year.
4654 * nss/getent.c: Likewise.
4655 * nss/makedb.c: Likewise.
4656 * iconv/iconvconfig.c: Likewise.
4657 * iconv/iconv_prog.c: Likewise.
4658 * elf/ldconfig.c: Likewise.
4659 * elf/pldd.c: Likewise.
4660 * elf/sotruss.ksh: Likewise.
4661 * catgets/gencat.c: Likewise.
4662 * csu/version.c: Likewise.
4663 * elf/ldd.bash.in: Likewise.
4664 * elf/sprof.c (print_version): Likewise.
4665 * locale/programs/locale.c: Likewise.
4666 * locale/programs/localedef.c: Likewise.
4667 * login/programs/pt_chown.c: Likewise.
4668 * nscd/nscd.c (print_version): Likewise.
4669 * debug/xtrace.sh: Likewise.
4670 * malloc/memusage.sh: Likewise.
4671 * malloc/mtrace.pl: Likewise.
4672 * debug/catchsegv.sh: Likewise.
4674 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4676 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4679 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4682 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4683 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4685 * iconv/gconv_int.h: Likewise.
4686 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4687 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4688 from libc for GLIBC_2.16.
4689 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4690 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4691 * wcsmbs/uchar.h: Really define mbstate_t.
4692 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4693 * wcsmbs/c16rtomb.c: New file.
4694 * wcsmbs/mbrtoc16.c: New file.
4695 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4697 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4698 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4700 * wcsmbs/wchar.h: Add missing __restrict.
4702 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4705 * time/Makefile (routines): Add timespec_get.
4706 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4707 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4708 timespec for ISO C11.
4709 * time/timespec_get.c: New file.
4710 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4711 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4714 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4715 * stdlib/stdlib.h: Declare aligned_alloc.
4716 * Versions.def: Add GLIBC_2.16 for libc.
4717 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4720 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4723 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4727 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4730 * assert/assert.h (static_assert): Define.
4732 * version.h: Update for 2.16 development version.
4735 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4738 * version.h (RELEASE): Bump for 2.15 release.
4739 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4741 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4742 Patch by Marek Polacek <mpolacek@redhat.com>.
4744 * bits/byteswap.h: Protect long long constants with __extension__.
4745 * sysdeps/i386/bits/byteswap.h: Likewise.
4746 * sysdeps/ia64/bits/byteswap.h: Likewise.
4747 * sysdeps/s390/bits/byteswap.h: Likewise.
4748 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4750 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4757 2011-12-23 Marek Polacek <polacek@redhat.com>
4759 * elf/dl-addr.c (determine_info): Add inline keyword.
4760 * elf/tst-auditmod4b.c (check_avx): Likewise.
4761 * elf/tst-auditmod6b.c (check_avx): Likewise.
4762 * elf/tst-auditmod6c.c (check_avx): Likewise.
4763 * elf/tst-auditmod7b.c (check_avx): Likewise.
4765 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4767 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4770 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4774 processing for last bytes.
4776 2011-08-06 Bruno Haible <bruno@clisp.org>
4779 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4780 U+0385, not to U+1FEE.
4783 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4784 entry for U+00A5 U+0301.
4786 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4789 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4790 buffer for the output is too small.
4792 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4796 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4797 SSE flags if possible.
4799 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4802 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4803 processing for last bytes.
4805 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4807 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4808 (syscall-list-default-options, syscall-list-default-condition)
4809 (syscall-list-includes): Define.
4810 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4811 list of ABIs and options and #if conditions for each ABI. Do not
4812 handle common syscalls between ABIs specially.
4813 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4815 (syscall-list-variants, syscall-list-32bit-options)
4816 (syscall-list-32bit-condition, syscall-list-64bit-options)
4817 (syscall-list-64bit-condition): Define.
4818 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4819 (syscall-list-variants, syscall-list-32bit-options)
4820 (syscall-list-32bit-condition, syscall-list-64bit-options)
4821 (syscall-list-64bit-condition): Define.
4822 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4824 (syscall-list-variants, syscall-list-32bit-options)
4825 (syscall-list-32bit-condition, syscall-list-64bit-options)
4826 (syscall-list-64bit-condition): Define.
4827 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4829 (syscall-list-variants, syscall-list-32bit-options)
4830 (syscall-list-32bit-condition, syscall-list-64bit-options)
4831 (syscall-list-64bit-condition): Define.
4833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4835 * locale/iso-639.def: Add brx entry.
4838 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4839 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4841 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4842 __feraiseexcept_renamed.
4844 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4847 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4848 EPOLLET with unsigned values.
4849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4852 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4853 to large cancellation.
4854 * math/s_cacoshf.c: Likewise.
4855 * math/s_cacoshl.c: Likewise.
4857 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4861 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4862 * math/s_cacoshf.c: Likewise.
4863 * math/s_cacoshl.c: Likewise.
4865 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4868 * iconv/gconv.h: Define __GCONV_SWAP.
4869 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4870 * iconvdata/utf-16.c: Likewise.
4871 * iconvdata/utf-32.c: Likewise.
4873 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4876 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4877 numerator after shifting it by one limb.
4879 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4882 under [__USE_EXTERN_INLINES].
4884 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4887 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4889 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4892 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4894 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4896 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4897 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4898 for strncasecmp/strncasecmp_l compilation.
4899 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4900 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4902 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4905 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4908 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4911 * time/tzfile.c (__tzfile_read): Check values from file header.
4913 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4915 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4916 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4917 * powerpc/powerpc32/dl-start.S: Likewise.
4918 * powerpc/powerpc32/elf/start.S: Likewise.
4919 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4920 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4921 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4922 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4923 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4924 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4925 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4926 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4927 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4928 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4929 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4930 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4931 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4932 * powerpc/powerpc32/memset.S: Likewise.
4933 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4934 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4935 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4936 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4937 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4938 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4939 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4940 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4941 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4942 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4943 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4947 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949 * math/libm-test.inc: Added more nearbyint tests.
4950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4953 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4955 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4957 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4960 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4962 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4963 Add wcscpy-ssse3 wcscpy-c.
4964 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4965 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4966 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4967 * sysdeps/x86_64/wcschr.S: New file.
4968 * sysdeps/x86_64/wcsrchr.S: New file.
4969 * string/test-strcmp.c: Remove checking of wcscmp function for
4971 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4972 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4973 wcsrchr-sse2 wcsrchr-c.
4974 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4975 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4976 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4977 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4978 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4979 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4980 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4981 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4982 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4983 * wcsmbc/wcschr.c (WCSCHR): New macro.
4985 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4987 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4988 * wcsmbs/test-wcsrchr.c: New file.
4989 * string/test-strrchr.c: Add wcsrchr support.
4991 * wcsmbs/test-wcscpy.c: New file.
4992 * string/test-strcpy.c: Add wcscpy support.
4995 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4997 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5000 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5003 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5005 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5007 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5008 Minor optimizations.
5010 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5011 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5012 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5014 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5016 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5017 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5018 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5019 for gcc to avoid warnings.
5020 * inet/Makefile (tests): Add tst-checks.
5021 * inet/tst-checks.c: New file.
5023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5026 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5029 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5030 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5032 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5034 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5036 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5039 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5041 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5044 conditional on GCC version.
5045 (__arch_compare_and_exchange_val_8_acq)
5046 (__arch_compare_and_exchange_val_16_acq)
5047 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5048 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5049 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5051 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5053 * sysdeps/sh/backtrace.c: New file.
5055 2011-12-02 Andreas Schwab <schwab@redhat.com>
5057 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5060 2011-12-01 Andreas Schwab <schwab@redhat.com>
5062 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5063 falling back to utime.
5065 2011-11-30 Andreas Schwab <schwab@redhat.com>
5067 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5068 expectations for float.
5070 2011-11-29 Andreas Schwab <schwab@redhat.com>
5072 * locale/weight.h (findidx): Add parameter len.
5073 * locale/weightwc.h (findidx): Likewise.
5074 * posix/fnmatch_loop.c (FCT): Adjust caller.
5075 * posix/regcomp.c (build_equiv_class): Likewise.
5076 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5077 * posix/regexec.c (check_node_accept_bytes): Likewise.
5078 * string/strcoll_l.c (STRCOLL): Likewise.
5079 * string/strxfrm_l.c (STRXFRM): Likewise.
5081 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5083 * Makefile.in: Remove CVSOPT handling.
5084 * configure.in: Remove use of AC_REVISION.
5085 * iconvdata/Makefile (distribute): No need to filter out CVS.
5086 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5089 2011-11-16 Andreas Schwab <schwab@redhat.com>
5091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5092 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5093 [USE_AS_STRNCASECMP_L]: Likewise.
5094 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5095 NO_TLS_DIRECT_SEG_REFS.
5096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5097 Fix argument offsets for non-PIC.
5098 [USE_AS_STRNCASECMP_L]: Likewise.
5099 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5100 NO_TLS_DIRECT_SEG_REFS.
5102 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5104 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5106 * locale/loadlocale.c (_nl_load_locale): Likewise.
5108 2011-11-15 Andreas Schwab <schwab@redhat.com>
5110 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5111 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5113 (SYSCALL_GETTIME): Set errno on error.
5115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5116 count references to noai6ai_cached.
5118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5120 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5122 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5123 FD_CLOEXEC for /proc/self/maps.
5125 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5126 FD_CLOEXEC for /proc/meminfo.
5128 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5131 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5132 FD_CLOEXEC for given file.
5134 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5136 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5137 FD_CLOEXEC for /etc/hosts.
5138 (_gethtent): Likewise.
5140 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5142 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5143 cancellation and set FD_CLOEXEC for /etc/netgroup.
5145 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5146 reading /etc/publickey.
5148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5149 allow cancellation when reading /etc/group.
5151 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5153 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5155 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5156 when using data file.
5158 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5160 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5161 (write_nis_obj): Use "c" and "e" in fopen.
5163 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5165 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5167 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5169 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5171 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5174 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5176 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5178 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5180 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5181 file parsing and set FD_CLOEXEC.
5183 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5185 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5187 2011-11-14 Andreas Schwab <schwab@redhat.com>
5189 * malloc/arena.c (arena_get2): Don't call reused_arena when
5190 _int_new_arena failed.
5192 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5194 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5195 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5196 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5197 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5198 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5200 to compile strcasecmp and strncasecmp.
5201 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5202 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5206 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5208 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5209 locale-defines.sym to gen-as-const-headers.
5210 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5211 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5213 to compile strcasecmp and strncasecmp.
5214 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5215 strcasecmp_l and strncasecmp_l.
5216 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5217 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5218 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5219 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5220 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5221 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5222 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5223 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5224 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5225 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5226 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5228 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5230 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5231 result of SYSDEP_GETTIME_CPU to retval.
5232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5233 parameter list to macro. Remove trailing semicolon. Adjust users.
5235 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5238 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5240 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5242 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5243 from unused variable.
5245 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5247 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5250 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5253 * sunrpc/rpc_prot.c (rejected): Fix case value.
5255 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5256 unsigned long long int to avoid warnings in shift.
5258 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5260 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5263 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5264 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5265 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5267 * nis/nis_table.c (nis_list): Use variable of correct type for
5268 result of __follow_path call.
5270 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5273 of math functions ceil, trunc, floor, round, and sqrt, when
5274 avaliable on the platform.
5275 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5278 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5279 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5281 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5283 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5286 2011-11-11 Roland McGrath <roland@hack.frob.com>
5288 * include/unistd.h: Fix __readlink return type.
5289 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5291 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5293 * stdlib/ucontext.h: Undo last change for makecontext.
5295 2011-11-11 Andreas Schwab <schwab@redhat.com>
5297 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5299 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5300 * setjmp/setjmp.h: Mark functions as non-leaf.
5301 * setjmp/bits/setjmp2.h: Likewise.
5302 * stdlib/ucontext.h: Likewise.
5304 2011-11-10 Andreas Schwab <schwab@redhat.com>
5306 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5307 (reused_arena): Don't check arena limit.
5308 (arena_get2): Atomically check arena limit.
5310 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5312 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5313 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5318 2011-11-07 Andreas Schwab <schwab@redhat.com>
5320 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5321 handler when locking.
5323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5324 Fix size of allocated buffer.
5326 2011-11-04 Andreas Schwab <schwab@redhat.com>
5329 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5330 declarations for long double functions.
5331 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5333 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5335 2011-11-03 Andreas Schwab <schwab@redhat.com>
5337 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5340 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5343 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5345 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5347 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5349 * include/alloca.h (stackinfo_alloca_round): Define.
5350 (extend_alloca): Use it.
5351 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5352 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5355 * scripts/check-local-headers.sh: Ignore libaudit.h.
5357 * nscd/Makefile (extra-objs): Make recursively expanded.
5359 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5361 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5362 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5364 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5365 * posix/tst-rfc3484-2.c: Likewise.
5366 * posix/tst-rfc3484-3.c: Likewise.
5368 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5370 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5372 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5373 process_vm_writev from libc using GLIBC_2.15 version.
5375 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5377 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5379 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5382 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5385 * nss/getent.c (initgroups_keys): Show error message in case no group
5388 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5389 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5390 __bump_nl_timestamp.
5391 * nscd/connections (nscd_init): When host database is served open
5392 netlink socket and request notification about configuration changes.
5393 (main_loop_poll): Track netlink file descriptor and bump timestamp
5394 in case data becomes available.
5395 (main_loop_epoll): Likewise.
5396 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5397 (database_pers_head): Add extra_data fileds.
5398 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5400 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5403 in6ai data, call __free_in6ai.
5404 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5406 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5407 interface information. Reuse previous data if netlink timestamp
5409 (__bump_nl_timestamp): New function.
5410 (__free_in6ai): New function.
5412 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5414 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5415 close_not_cancel_no_status here.
5416 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5418 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5421 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5424 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5425 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5426 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5428 2011-07-03 Andreas Jaeger <aj@suse.de>
5431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5432 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5433 * math/libm-test.inc (sin_test): Add test case.
5435 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5438 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5439 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5441 * elf/chroot_canon.c (chroot_canon): Cleanups.
5443 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5446 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5447 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5449 * string/test-strchr.c: Make usable for strchrnul testing.
5450 * string/test-strchrnul.c: New file.
5451 * string/Makefile (strop-tests): Add strchrnul.
5453 * po/it.po: Update from translation team.
5454 * po/es.po: Likewise.
5456 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5459 the three constants needed as parameters. Drop the others.
5460 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5461 __m128i_strloadu_tolower.
5462 Create and initialize variable zero and use it in all the places
5463 where _mm_setzero_si128 was used.
5465 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5466 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5467 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5468 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5470 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5471 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5472 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5473 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5474 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5475 __mpranred, __mptan.
5476 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5477 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5478 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5479 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5480 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5481 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5482 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5483 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5484 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5486 2011-10-28 Andreas Schwab <schwab@redhat.com>
5488 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5490 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5493 wide char related routines to wcsmbs subdir.
5495 2011-10-27 Andreas Schwab <schwab@redhat.com>
5498 * misc/sys/cdefs.h (__THROWNL): Define.
5499 * posix/unistd.h: Use __THREADNL instead of __THREAD
5500 for memory synchronization functions.
5502 2011-10-26 Roland McGrath <roland@hack.frob.com>
5505 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5507 * manual/stdio.texi (Obstack Streams): Node removed.
5509 2011-10-26 Andreas Schwab <schwab@redhat.com>
5511 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5512 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5513 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5515 * math/math_private.h (math_force_eval): Allow non-addressable
5517 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5519 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5524 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5527 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5531 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5533 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5534 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5535 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5536 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5537 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5538 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5539 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5540 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5541 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5542 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5543 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5544 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5546 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5547 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5548 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5549 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5550 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5551 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5553 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5554 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5556 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5557 place. Use VEX encoding when compiling for AVX.
5559 2011-10-25 Andreas Schwab <schwab@redhat.com>
5561 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5562 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5564 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5568 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5569 useless if() expression.
5570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5582 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5583 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5585 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5590 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5592 2011-10-25 Andreas Schwab <schwab@redhat.com>
5594 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5598 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5600 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5601 .text section. Avoid duplicate constants.
5602 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5612 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5614 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5617 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5625 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5626 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5627 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5628 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5629 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5631 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5633 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5634 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5635 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5636 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5637 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5638 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5640 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5641 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5644 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5645 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5646 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5648 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5650 * sysdeps/x86_64/dla.h: Move to ...
5651 * sysdeps/x86_64/fpu/dla.h: ...here.
5652 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5653 situations. Use __builtin_fma only for gcc 4.6 and up.
5655 * config.make.in: Add have-mfma4 entry.
5656 * configure.in: Substitute libc_cv_cc_fma4.
5657 * math/Makefile (dbl-only-routines): Add sincostab.
5658 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5659 Use __sincostab not sincos.
5660 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5667 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5668 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5669 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5670 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5673 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5675 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5676 define aliases when function name is a macro.
5677 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5678 sysdeps/ieee754/dbl-64/sincos.tbl.
5679 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5680 fma4-enabled routines.
5681 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5682 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5683 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5684 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5685 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5686 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5688 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5691 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5693 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5694 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5695 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5696 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5697 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5698 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5699 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5701 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5702 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5704 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5708 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5709 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5712 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5723 2011-10-24 Andreas Schwab <schwab@redhat.com>
5725 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5727 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5731 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5735 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5736 Remove unused variable magic_bits.
5737 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5739 * string/strnlen.c: Define and use STRNLEN macro.
5740 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5741 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5743 * wcsmbs/wcslen.c: Define and use WCSLEN.
5744 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5745 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5746 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5747 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5748 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5749 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5750 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5752 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5755 strnlen-sse2-no-bsf.
5756 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5758 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5759 Add strnlen support.
5760 (USE_AS_STRNLEN): New macro.
5761 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5763 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5764 * sysdeps/x86_64/wcslen.S: New file.
5766 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5769 XMM-moves are used for copying on small sizes.
5771 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5773 * wcsmbs/Makefile (strop-tests): Add wcschr.
5774 * wcsmbs/test-wcschr.c: New file.
5775 * string/test-strchr.c: Update.
5779 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5781 * wcsmbs/Makefile (strop-tests): Add wcslen.
5782 * wcsmbs/test-wcslen.c: New file.
5783 * string/test-strlen.c: Update.
5787 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5789 * po/it.po: Update from translation team.
5791 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5793 * sysdeps/x86_64/wcscmp.S: Update.
5794 Fix wrong comparison semantics.
5795 wcscmp shall use signed comparison not unsigned.
5796 Don't use substraction to avoid overflow bug.
5797 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5798 * wcsmbc/wcscmp.c: Likewise.
5799 * string/test-strcmp.c: Likewise.
5800 Add new tests to check cases with negative values.
5802 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5804 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5805 * sysdeps/x86_64/dla.h: ...here. New file.
5806 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5816 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5819 __ynl_finite aliases.
5821 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5825 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5827 [DLA_FMA] (EMULV): Use DLA_FMA.
5828 [DLA_FMA] (MUL12): Use EMULV.
5829 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5830 that are not needed.
5831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5839 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5841 * math/s_nan.c: Undef __nan.
5842 * math/s_nanf.c: Undef __nanf.
5843 * math/s_nanl.c: Undef __nanl.
5844 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5847 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5849 * math/s_catan.c: Add branch predictions.
5850 * math/s_catanf.c: Likewise.
5851 * math/s_catanh.c: Likewise.
5852 * math/s_catanhf.c: Likewise.
5853 * math/s_catanhl.c: Likewise.
5854 * math/s_catanl.c: Likewise.
5855 * math/s_cexp.c: Likewise.
5856 * math/s_cexpf.c: Likewise.
5857 * math/s_cexpl.c: Likewise.
5858 * math/s_clog.c: Likewise.
5859 * math/s_clog10.c: Likewise.
5860 * math/s_clog10f.c: Likewise.
5861 * math/s_clog10l.c: Likewise.
5862 * math/s_clogf.c: Likewise.
5863 * math/s_clogl.c: Likewise.
5864 * math/s_csqrt.c: Likewise.
5865 * math/s_csqrtf.c: Likewise.
5866 * math/s_csqrtl.c: Likewise.
5867 * math/s_ctanf.c: Likewise.
5868 * math/s_ctanh.c: Likewise.
5869 * math/s_ctanhf.c: Likewise.
5870 * math/s_ctanhl.c: Likewise.
5871 * math/s_ctanl.c: Likewise.
5873 * math/math_private.h: Define __nan, __nanf, __nanl.
5874 * math/s_cacosh.c: Include <math_private.h>.
5875 * math/s_cacoshl.c: Likewise.
5876 * math/s_casinh.c: Likewise.
5877 * math/s_casinhf.c: Likewise.
5878 * math/s_casinhl.c: Likewise.
5879 * math/s_ccos.c: Rely entire on ccosh.
5880 * math/s_ccosf.c: Rely entire on ccoshf.
5881 * math/s_ccosl.c: Rely entirely on ccoshl.
5882 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5883 Remove tests for FE_INVALID.
5884 * math/s_ccoshf.c: Likewise.
5885 * math/s_ccoshl.c: Likewise.
5886 * math/s_csin.c: Likewise.
5887 * math/s_csinf.c: Likewise.
5888 * math/s_csinh.c Likewise.
5889 * math/s_csinhf.c: Likewise.
5890 * math/s_csinhl.c: Likewise.
5891 * math/s_csinl.c: Likewise.
5892 * math/s_ctan.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5894 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5895 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5897 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5900 compilation problems.
5902 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5905 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5907 * sysdeps/i386/configure.in: Test for -mfma4 option.
5908 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5909 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5910 COMMON_CPUID_INDEX_80000001.
5911 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5912 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5913 use it if FMA3 is not supported.
5914 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5916 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5917 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5919 2011-10-20 Andreas Schwab <schwab@redhat.com>
5922 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5923 it would create a cycle with a link time dependency.
5925 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5927 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5929 * string/Makefile (strop-tests): Add rawmemchr.
5930 * string/test-rawmemchr.c: New file.
5932 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5933 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5934 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5935 when compiling str{,n}casecmp and when AVX is available. Hook up
5936 new optimized code in initializers.
5938 2011-10-19 Andreas Schwab <schwab@redhat.com>
5940 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5941 __feraiseexcept instead of feraiseexcept.
5943 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5945 * math/math_private.h: Define defaults for libc_fetestexcept and
5947 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5948 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5950 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5952 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5953 libc_fetestexcept and libc_feupdateenv.
5955 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5956 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5957 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5958 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5959 libc_feholdexcept_setround.
5961 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5962 Add s_nearbyint-c and s_nearbyintf-c.
5963 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5965 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5966 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5967 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5968 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5970 * math/math_private.h: Define defaults for libc_fegetround,
5971 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5972 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5973 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5975 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5977 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5978 Remove comments and hacks for old compiler versions.
5979 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5980 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5983 2011-10-18 Andreas Schwab <schwab@redhat.com>
5985 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5986 (__feraiseexcept_renamed): Add __NTH.
5987 (feraiseexcept): Add __NTH. Rename local variables to fix
5988 namespace violations.
5990 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5992 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5994 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5996 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5997 recently added interfaces.
5998 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6000 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6001 about macro parameter expansion.
6003 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6004 __NO_MATH_INLINES is defined. Cleanups.
6006 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6007 and __floorf is target has SSE4.1.
6008 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6009 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6010 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6013 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6017 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6019 2011-10-17 Andreas Schwab <schwab@redhat.com>
6021 * misc/sys/cdefs.h: Fix last change.
6023 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6026 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6028 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6030 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6037 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6038 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6039 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6040 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6041 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6042 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6043 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6044 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6045 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6046 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6047 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6049 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6050 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6051 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6053 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6054 ceil, ceilf, floor, floorf.
6056 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6057 Perform IRELATIVE relocations last.
6059 * elf/do-rel.h: Add another parameter nrelative, replacing the
6060 local variable with the same name. Change name of the function
6061 to end in Rel or Rela (uppercase).
6062 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6063 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6064 elf_dynamic_do_##reloc function.
6066 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6068 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6069 is sufficient, at least on modern CPUs.
6071 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6073 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6076 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6078 * math/bits/math-finite.h: Add entries for exp.
6079 * math/e_expl.c: Add __*_finite alias.
6080 * sysdeps/i386/fpu/e_exp.S: Likewise.
6081 * sysdeps/i386/fpu/e_expf.S: Likewise.
6082 * sysdeps/i386/fpu/e_expl.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6084 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6088 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6089 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6091 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6092 is sufficient, at least on modern CPUs.
6094 * ctype/ctype-info.c (__ctype_init): Define.
6095 * include/ctype.h (__ctype_init): Declare.
6096 (__ctype_b_loc): The variable is always initialized.
6097 (__ctype_toupper_loc): Likewise.
6098 (__ctype_tolower_loc): Likewise.
6099 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6100 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6102 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6104 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6106 * configure.in: Also look in $cxxmachine/include for C++ system
6109 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6111 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6112 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6113 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6114 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6115 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6116 (USE_AS_WMEMCMP): New macro.
6118 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6119 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6120 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6121 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6123 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6124 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6125 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6126 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6127 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6129 (USE_AS_WMEMCMP): New macro.
6130 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6131 * sysdeps/string/test-memcmp.c: Update.
6134 * wcsmbs/wmemcmp.c: Update.
6135 (WMEMCMP): New macro.
6138 2011-10-12 Andreas Jaeger <aj@suse.de>
6141 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6143 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6145 * libio/iofwide.c (do_length): Avoid warning.
6147 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6149 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6151 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6153 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6154 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6155 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6156 * sysdeps/i386/i686/fpu/e_log.S: New file.
6157 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6158 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6160 * ctype/ctype.h: Add support for inlined isXXX functions when
6163 2011-10-14 Andreas Schwab <schwab@redhat.com>
6165 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6167 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6169 2011-10-13 Roland McGrath <roland@hack.frob.com>
6172 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6174 2011-10-13 Andreas Schwab <schwab@redhat.com>
6176 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6177 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6180 * sysdeps/x86_64/memrchr.S: Check for zero size.
6182 * string/stratcliff.c: Add memrchr tests.
6184 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6187 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6188 rawmemchr-sse2 rawmemchr-sse2-bsf.
6189 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6190 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6191 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6192 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6193 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6194 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6195 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6196 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6197 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6198 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6199 * string/memrchr.c (MEMRCHR): New macro.
6201 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6203 Add integration with gcc's -ffinite-math-only and optimize wrapper
6205 * Versions.def: Define GLIBC_2.15 version for libm.
6206 * math/Makefile (headers): Add bits/math-finite.h.
6207 * math/bits/math-finite.h: New file.
6208 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6209 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6210 * math/e_acoshl.c: Add __*_finite alias.
6211 * math/e_acosl.c: Likewise.
6212 * math/e_asinl.c: Likewise.
6213 * math/e_atan2l.c: Likewise.
6214 * math/e_atanhl.c: Likewise.
6215 * math/e_coshl.c: Likewise.
6216 * math/e_exp10.c: Likewise.
6217 * math/e_exp10f.c: Likewise.
6218 * math/e_exp10l.c: Likewise.
6219 * math/e_exp2l.c: Likewise.
6220 * math/e_fmodl.c: Likewise.
6221 * math/e_gammal_r.c: Likewise.
6222 * math/e_hypotl.c: Likewise.
6223 * math/e_j0l.c: Likewise.
6224 * math/e_j1l.c: Likewise.
6225 * math/e_jnl.c: Likewise.
6226 * math/e_lgammal_r.c: Likewise.
6227 * math/e_log10l.c: Likewise.
6228 * math/e_log2l.c: Likewise.
6229 * math/e_logl.c: Likewise.
6230 * math/e_powl.c: Likewise.
6231 * math/e_sinhl.c: Likewise.
6232 * math/e_sqrtl.c: Likewise.
6233 * math/e_scalb.c: Completely rewritten and optimized.
6234 * math/e_scalbf.c: Likewise.
6235 * math/e_scalbl.c: Likewise.
6236 * math/w_acos.c: Likewise.
6237 * math/w_acosf.c: Likewise.
6238 * math/w_acosl.c: Likewise.
6239 * math/w_acosh.c: Likewise.
6240 * math/w_acoshf.c: Likewise.
6241 * math/w_acoshl.c: Likewise.
6242 * math/w_asin.c: Likewise.
6243 * math/w_asinf.c: Likewise.
6244 * math/w_asinl.c: Likewise.
6245 * math/w_atan2.c: Likewise.
6246 * math/w_atan2f.c: Likewise.
6247 * math/w_atan2l.c: Likewise.
6248 * math/w_atanh.c: Likewise.
6249 * math/w_atanhf.c: Likewise.
6250 * math/w_atanhl.c: Likewise.
6251 * math/w_exp10.c: Likewise.
6252 * math/w_exp10f.c: Likewise.
6253 * math/w_exp10l.c: Likewise.
6254 * math/w_fmod.c: Likewise.
6255 * math/w_fmodf.c: Likewise.
6256 * math/w_fmodl.c: Likewise.
6257 * math/w_j0.c: Likewise.
6258 * math/w_j0f.c: Likewise.
6259 * math/w_j0l.c: Likewise.
6260 * math/w_j1.c: Likewise.
6261 * math/w_j1f.c: Likewise.
6262 * math/w_j1l.c: Likewise.
6263 * math/w_jn.c: Likewise.
6264 * math/w_jnf.c: Likewise.
6265 * math/w_log.c: Likewise.
6266 * math/w_logf.c: Likewise.
6267 * math/w_logl.c: Likewise.
6268 * math/w_log10.c: Likewise.
6269 * math/w_log10f.c: Likewise.
6270 * math/w_log10l.c: Likewise.
6271 * math/w_log2.c: Likewise.
6272 * math/w_log2f.c: Likewise.
6273 * math/w_log2l.c: Likewise.
6274 * math/w_pow.c: Likewise.
6275 * math/w_powf.c: Likewise.
6276 * math/w_powl.c: Likewise.
6277 * math/w_remainder.c: Likewise.
6278 * math/w_remainderf.c: Likewise.
6279 * math/w_remainderl.c: Likewise.
6280 * math/w_scalb.c: Likewise.
6281 * math/w_scalbf.c: Likewise.
6282 * math/w_scalbl.c: Likewise.
6283 * math/w_sqrt.c: Likewise.
6284 * math/w_sqrtf.c: Likewise.
6285 * math/w_sqrtl.c: Likewise.
6286 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6287 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6289 * math/math_private.h: Declare __kernel_standard_f.
6290 * math/w_cosh.c: Remove cruft and optimize a bit.
6291 * math/w_coshf.c: Likewise.
6292 * math/w_coshl.c: Likewise.
6293 * math/w_exp2.c: Likewise.
6294 * math/w_exp2f.c: Likewise.
6295 * math/w_exp2l.c: Likewise.
6296 * math/w_hypot.c: Likewise.
6297 * math/w_hypotf.c: Likewise.
6298 * math/w_hypotl.c: Likewise.
6299 * math/w_lgamma.c: Likewise.
6300 * math/w_lgamma_r.c: Likewise.
6301 * math/w_lgammaf.c: Likewise.
6302 * math/w_lgammaf_r.c: Likewise.
6303 * math/w_lgammal.c: Likewise.
6304 * math/w_lgammal_r.c: Likewise.
6305 * math/w_sinh.c: Likewise.
6306 * math/w_sinhf.c: Likewise.
6307 * math/w_sinhl.c: Likewise.
6308 * math/w_tgamma.c: Likewise.
6309 * math/w_tgammaf.c: Likewise.
6310 * math/w_tgammal.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6313 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6314 Minor optimizations. Pretty printing. Remove cruft.
6315 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6317 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6319 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6320 * sysdeps/i386/fpu/e_asin.S: Likewise.
6321 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6322 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6323 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6324 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6325 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6326 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6327 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6328 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6329 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6330 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6331 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6332 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6333 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6334 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6335 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6336 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6337 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6338 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6339 * sysdeps/i386/fpu/e_log.S: Likewise.
6340 * sysdeps/i386/fpu/e_log10.S: Likewise.
6341 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6343 * sysdeps/i386/fpu/e_log2.S: Likewise.
6344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6345 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6346 * sysdeps/i386/fpu/e_logf.S: Likewise.
6347 * sysdeps/i386/fpu/e_logl.S: Likewise.
6348 * sysdeps/i386/fpu/e_pow.S: Likewise.
6349 * sysdeps/i386/fpu/e_powf.S: Likewise.
6350 * sysdeps/i386/fpu/e_powl.S: Likewise.
6351 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6352 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6353 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6355 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6356 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6357 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6358 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6359 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6381 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6382 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6383 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6385 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6386 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6387 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6388 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6389 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6391 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6392 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6393 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6394 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6395 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6396 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6397 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6398 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6400 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6445 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6451 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6452 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6453 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6454 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6455 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6456 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6457 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6458 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6459 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6460 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6461 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6462 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6463 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6467 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6468 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6469 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6470 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6471 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6472 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6473 (__isnanf): Likewise.
6474 (__isinf_ns): Likewise.
6475 (__isinf_nsf): Likewise.
6476 (__finite): Likewise.
6477 (__finitef): Likewise.
6478 (__ieee754_sqrt): Define as macro.
6479 (__ieee754_sqrtf): Define as macro.
6480 (__ieee754_sqrtl): Define as macro.
6481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6483 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6484 __FINITE_MATH_ONLY__ consistent.
6485 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6487 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6489 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6492 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6494 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6496 * po/ja.po: Update from translation team.
6498 2011-10-08 Roland McGrath <roland@hack.frob.com>
6500 * locale/programs/locarchive.c (prepare_address_space): New function.
6501 (create_archive, enlarge_archive, open_archive): Use it.
6503 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6504 inside [SHARED], where it is used.
6506 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6508 * nss/getent.c (netgroup_keys): Remove unused variable.
6509 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6511 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6513 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6514 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6516 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6517 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6518 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6519 * math/Makefile (libm-calls): Add s_isinf_ns.
6520 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6521 * math/multc3.c: Likewise.
6522 * math/s_casin.c: Likewise.
6523 * math/s_casinf.c: Likewise.
6524 * math/s_casinl.c: Likewise.
6525 * math/s_ccos.c: Likewise.
6526 * math/s_ccosf.c: Likewise.
6527 * math/s_ccosl.c: Likewise.
6528 * math/s_ctan.c: Likewise.
6529 * math/s_ctanf.c: Likewise.
6530 * math/s_ctanh.c: Likewise.
6531 * math/s_ctanhf.c: Likewise.
6532 * math/s_ctanhl.c: Likewise.
6533 * math/s_ctanl.c: Likewise.
6534 * math/w_fmod.c: Likewise.
6535 * math/w_fmodf.c: Likewise.
6536 * math/w_fmodl.c: Likewise.
6537 * math/w_remainder.c: Likewise.
6538 * math/w_remainderf.c: Likewise.
6539 * math/w_remainderl.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6541 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6544 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6545 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6546 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6547 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6549 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6551 * stdio-common/printf_fphex.c: Likewise.
6552 * stdio-common/printf_size.c: Likewise.
6554 * math/e_exp10.c: Include math_private.h using <...> not "...".
6555 * math/e_exp10f.c: Likewise.
6556 * math/e_exp10l.c: Likewise.
6557 * math/e_exp2l.c: Likewise.
6558 * math/e_j0l.c: Likewise.
6559 * math/e_j1l.c: Likewise.
6560 * math/e_jnl.c: Likewise.
6561 * math/e_lgammal_r.c: Likewise.
6562 * math/e_rem_pio2l.c: Likewise.
6563 * math/e_scalb.c: Likewise.
6564 * math/e_scalbf.c: Likewise.
6565 * math/e_scalbl.c: Likewise.
6566 * math/k_cosl.c: Likewise.
6567 * math/k_sinl.c: Likewise.
6568 * math/k_tanl.c: Likewise.
6569 * math/s_cacoshf.c: Likewise.
6570 * math/s_catan.c: Likewise.
6571 * math/s_catanf.c: Likewise.
6572 * math/s_catanh.c: Likewise.
6573 * math/s_catanhf.c: Likewise.
6574 * math/s_catanhl.c: Likewise.
6575 * math/s_catanl.c: Likewise.
6576 * math/s_ccosh.c: Likewise.
6577 * math/s_ccoshf.c: Likewise.
6578 * math/s_ccoshl.c: Likewise.
6579 * math/s_cexp.c: Likewise.
6580 * math/s_cexpf.c: Likewise.
6581 * math/s_cexpl.c: Likewise.
6582 * math/s_clog.c: Likewise.
6583 * math/s_clog10.c: Likewise.
6584 * math/s_clog10f.c: Likewise.
6585 * math/s_clog10l.c: Likewise.
6586 * math/s_clogf.c: Likewise.
6587 * math/s_clogl.c: Likewise.
6588 * math/s_csin.c: Likewise.
6589 * math/s_csinf.c: Likewise.
6590 * math/s_csinh.c: Likewise.
6591 * math/s_csinhf.c: Likewise.
6592 * math/s_csinhl.c: Likewise.
6593 * math/s_csinl.c: Likewise.
6594 * math/s_csqrt.c: Likewise.
6595 * math/s_csqrtf.c: Likewise.
6596 * math/s_csqrtl.c: Likewise.
6597 * math/s_ctan.c: Likewise.
6598 * math/s_ctanf.c: Likewise.
6599 * math/s_ctanh.c: Likewise.
6600 * math/s_ctanhf.c: Likewise.
6601 * math/s_ctanhl.c: Likewise.
6602 * math/s_ctanl.c: Likewise.
6603 * math/s_ldexp.c: Likewise.
6604 * math/s_ldexpf.c: Likewise.
6605 * math/s_ldexpl.c: Likewise.
6606 * math/s_significand.c: Likewise.
6607 * math/s_significandf.c: Likewise.
6608 * math/s_significandl.c: Likewise.
6609 * math/w_acos.c: Likewise.
6610 * math/w_acosf.c: Likewise.
6611 * math/w_acosh.c: Likewise.
6612 * math/w_acoshf.c: Likewise.
6613 * math/w_acoshl.c: Likewise.
6614 * math/w_acosl.c: Likewise.
6615 * math/w_asin.c: Likewise.
6616 * math/w_asinf.c: Likewise.
6617 * math/w_asinl.c: Likewise.
6618 * math/w_atan2.c: Likewise.
6619 * math/w_atan2f.c: Likewise.
6620 * math/w_atan2l.c: Likewise.
6621 * math/w_atanh.c: Likewise.
6622 * math/w_atanhf.c: Likewise.
6623 * math/w_atanhl.c: Likewise.
6624 * math/w_cosh.c: Likewise.
6625 * math/w_coshf.c: Likewise.
6626 * math/w_coshl.c: Likewise.
6627 * math/w_dremf.c: Likewise.
6628 * math/w_exp10.c: Likewise.
6629 * math/w_exp10f.c: Likewise.
6630 * math/w_exp10l.c: Likewise.
6631 * math/w_exp2.c: Likewise.
6632 * math/w_exp2f.c: Likewise.
6633 * math/w_fmod.c: Likewise.
6634 * math/w_fmodf.c: Likewise.
6635 * math/w_fmodl.c: Likewise.
6636 * math/w_hypot.c: Likewise.
6637 * math/w_hypotf.c: Likewise.
6638 * math/w_hypotl.c: Likewise.
6639 * math/w_j0.c: Likewise.
6640 * math/w_j0f.c: Likewise.
6641 * math/w_j0l.c: Likewise.
6642 * math/w_j1.c: Likewise.
6643 * math/w_j1f.c: Likewise.
6644 * math/w_j1l.c: Likewise.
6645 * math/w_jn.c: Likewise.
6646 * math/w_jnf.c: Likewise.
6647 * math/w_jnl.c: Likewise.
6648 * math/w_lgamma.c: Likewise.
6649 * math/w_lgamma_r.c: Likewise.
6650 * math/w_lgammaf.c: Likewise.
6651 * math/w_lgammaf_r.c: Likewise.
6652 * math/w_lgammal.c: Likewise.
6653 * math/w_lgammal_r.c: Likewise.
6654 * math/w_log.c: Likewise.
6655 * math/w_log10.c: Likewise.
6656 * math/w_log10f.c: Likewise.
6657 * math/w_log10l.c: Likewise.
6658 * math/w_log2.c: Likewise.
6659 * math/w_log2f.c: Likewise.
6660 * math/w_log2l.c: Likewise.
6661 * math/w_logf.c: Likewise.
6662 * math/w_logl.c: Likewise.
6663 * math/w_pow.c: Likewise.
6664 * math/w_powf.c: Likewise.
6665 * math/w_powl.c: Likewise.
6666 * math/w_remainder.c: Likewise.
6667 * math/w_remainderf.c: Likewise.
6668 * math/w_remainderl.c: Likewise.
6669 * math/w_scalb.c: Likewise.
6670 * math/w_scalbf.c: Likewise.
6671 * math/w_scalbl.c: Likewise.
6672 * math/w_sinh.c: Likewise.
6673 * math/w_sinhf.c: Likewise.
6674 * math/w_sinhl.c: Likewise.
6675 * math/w_sqrt.c: Likewise.
6676 * math/w_sqrtf.c: Likewise.
6677 * math/w_sqrtl.c: Likewise.
6678 * math/w_tgamma.c: Likewise.
6679 * math/w_tgammaf.c: Likewise.
6680 * math/w_tgammal.c: Likewise.
6682 * po/ja.po: Update from translation team.
6684 2011-09-29 Andreas Jaeger <aj@suse.de>
6687 * sunrpc/netname.c (netname2host): Fix logic.
6691 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6693 * math/w_remainder.c (__remainder): Likewise.
6694 * math/w_remainderf.c (__remainderf): Likewise.
6695 * math/libm-test.inc (remainder_test): Add test cases.
6697 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6699 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6702 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6704 * string/test-memcmp.c: Avoid unncessary #defines.
6705 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6707 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6709 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6710 Use new sse2 version for core i3 - i7 as it's faster
6712 (bit_Prefer_PMINUB_for_stringop): New.
6713 * sysdeps/x86_64/rawmemchr.S: Update.
6714 Replace with faster SSE2 version.
6715 * sysdeps/x86_64/memrchr.S: New file.
6716 * sysdeps/x86_64/memchr.S: Update.
6717 Replace with faster SSE2 version.
6719 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6721 * elf/dl-load.c (lose): Add cast to avoid warning.
6723 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6725 * po/ca.po: Update from translation team.
6727 * inet/getnetgrent_r.c: Hook up nscd.
6728 * nscd/Makefile (routines): Add nscd_netgroup.
6729 (nscd-modules): Add netgroupcache.
6730 (CFLAGS-netgroupcache.c): Define.
6731 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6732 (cache_search): Add const to second parameter.
6733 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6735 (dbs): Add netgrdb entry.
6736 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6737 (verify_persistent_db): Handle netgrdb.
6738 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6739 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6741 (netgroup_response_header): Define.
6742 (innetgroup_response_header): Define.
6743 (datahead): Add netgroup_response_header and innetgroup_response_header
6745 * nscd/nscd.conf: Add entries for netgroup cache.
6746 * nscd/nscd.h (dbtype): Add netgrdb.
6747 (_PATH_NSCD_NETGROUP_DB): Define.
6748 (netgroup_iov_disabled): Declare.
6749 (xmalloc, xcalloc, xrealloc): Move declarations here.
6750 (cache_search): Adjust prototype.
6751 Add netgroup-related prototypes.
6752 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6753 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6754 (__nscd_innetgr): Declare.
6755 * nscd/selinux.c (perms): Use access_vector_t as element type and
6756 add netgroup-related initializers.
6757 * nscd/netgroupcache.c: New file.
6758 * nscd/nscd_netgroup.c: New file.
6759 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6760 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6761 For four parameters use innetgr.
6762 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6763 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6764 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6765 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6767 * nscd/connections.c (register_traced_file): Don't register file
6768 for disabled databases.
6770 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6772 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6774 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6775 from tree and freeing node.
6777 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6779 * nss/nsswitch.c (__nss_database_lookup): Handle
6780 nss_parse_service_list out of memory case.
6782 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6784 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6787 2011-10-04 Andreas Schwab <schwab@redhat.com>
6789 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6790 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6792 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6793 elf_machine_rela, elf_machine_lazy_rel.
6794 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6795 (ELF_DYNAMIC_DO_REL): Likewise.
6796 (ELF_DYNAMIC_DO_RELA): Likewise.
6797 (ELF_DYNAMIC_RELOCATE): Likewise.
6798 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6799 to ELF_DYNAMIC_DO_REL.
6800 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6801 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6802 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6805 skip_ifunc, don't call ifunc function if non-zero.
6806 (elf_machine_rela): Likewise.
6807 (elf_machine_lazy_rel): Likewise.
6808 (elf_machine_lazy_rela): Likewise.
6809 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6810 (elf_machine_lazy_rel): Likewise.
6811 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6813 (elf_machine_lazy_rel): Likewise.
6814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6816 (elf_machine_lazy_rel): Likewise.
6817 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6818 (elf_machine_lazy_rel): Likewise.
6819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6820 (elf_machine_lazy_rel): Likewise.
6821 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6822 (elf_machine_lazy_rel): Likewise.
6823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6824 (elf_machine_lazy_rel): Likewise.
6825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6826 (elf_machine_lazy_rel): Likewise.
6827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6828 (elf_machine_lazy_rel): Likewise.
6830 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6832 * nss/nss_files/files-init.c (_nss_files_init): Use static
6833 initialization for all the *_traced_file variables.
6835 2011-09-28 Andreas Schwab <schwab@redhat.com>
6837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6839 2011-09-27 Roland McGrath <roland@hack.frob.com>
6842 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6844 2011-09-27 Andreas Schwab <schwab@redhat.com>
6846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6847 Reread the line before reparsing it.
6849 2011-09-26 Andreas Schwab <schwab@redhat.com>
6851 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6853 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6854 Maxim Kuvyrkov <maxim@codesourcery.com>
6855 Joseph Myers <joseph@codesourcery.com>
6857 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6858 if needed for __stack_chk_guard.
6860 2011-09-19 Roland McGrath <roland@hack.frob.com>
6862 * sysdeps/posix/spawni.c (script_execute): Always define it.
6863 It will be optimized away if unused.
6864 (maybe_script_execute): New function.
6865 (__spawni): Call it.
6867 * Makerules: Don't include tls.make.
6868 (config-tls): Always set to thread.
6869 * tls.make.c: File removed.
6871 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6873 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6874 * config.make.in (CPPFLAGS-config): New substituted variable.
6876 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6881 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6882 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6884 2011-09-15 Roland McGrath <roland@hack.frob.com>
6886 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6887 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6889 (CALL_FAIL): Likewise.
6890 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6891 (CALL_FAIL): Macro removed.
6892 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6894 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6896 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6897 for __FINITE_MATH_ONLY__ == 1.
6899 2011-09-15 Andreas Schwab <schwab@redhat.com>
6901 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6902 __ieee754_sqrt instead of sqrt.
6903 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6904 __ieee754_sqrtf instead of sqrtf.
6905 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6906 __floorf instead of floorf.
6907 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6908 __floorf, __truncf instead of floorf, truncf.
6910 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6912 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6914 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6915 __extern_always_inline.
6916 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6919 2011-09-14 Andreas Schwab <schwab@redhat.com>
6921 * elf/rtld.c (dl_main): Also relocate in dependency order when
6922 doing symbol dependency testing.
6924 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6927 Always define `refsym'.
6929 2011-09-13 Andreas Schwab <schwab@redhat.com>
6931 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6932 (__FD_ELT): Renamed from __FDELT.
6933 * misc/bits/select2.h (__FD_ELT): Likewise.
6934 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6935 __FD_MASK instead of __FDELT, __FDMASK.
6936 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6938 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6941 * elf/Makefile (gen-ldd): Fix pattern.
6943 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6944 (init_tls): Likewise.
6946 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6950 2011-09-12 Andreas Schwab <schwab@redhat.com>
6952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6953 `struct cmsghdr *' instead of `void *'.
6954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6957 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6959 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6961 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6964 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6966 * configure.in: Remove --with-tls option.
6967 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6968 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6969 out in case it is missing.
6970 * sysdeps/ia64/elf/configure.in: Likewise.
6971 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6972 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6973 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6974 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6975 * sysdeps/sh/elf/configure.in: Likewise.
6976 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6977 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6978 * sysdeps/x86_64/elf/configure.in: Likewise.
6979 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6980 * sysdeps/mach/hurd/tls.h: Likewise.
6983 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6986 * configure.in: Fix use of AC_INIT.
6988 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6990 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6992 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6994 * malloc/hooks.c: Likewise.
6997 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6998 variables statically.
6999 (narenas): Initialize.
7000 (list_lock): Initialize.
7001 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7002 initializtion of main_arena and list_lock. Small cleanups.
7003 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7004 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7005 Add initializers to main_arena and mp_.
7006 (malloc_state): Remove pagesize member. Change all users to use
7009 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7010 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7011 is always initialized.
7013 * malloc/malloc.c: Removed unused configurations and dead code.
7014 * malloc/arena.c: Likewise.
7015 * malloc/hooks.c: Likewise.
7016 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7018 * include/tls.h: Removed. USE___THREAD must always be defined.
7019 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7020 * elf/dl-libc.c: Likewise.
7021 * elf/dl-tsd.c: Likewise.
7022 * include/errno.h: Likewise.
7023 * include/netdb.h: Likewise.
7024 * include/resolv.h: Likewise.
7025 * inet/herrno-loc.c: Likewise.
7026 * inet/herrno.c: Likewise.
7027 * malloc/arena.c: Likewise.
7028 * malloc/hooks.c: Likewise.
7029 * malloc/malloc.c: Likewise.
7030 * resolv/res-state.c: Likewise.
7031 * resolv/res_libc.c: Likewise.
7032 * sysdeps/i386/dl-machine.h: Likewise.
7033 * sysdeps/ia64/dl-machine.h: Likewise.
7034 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7035 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7036 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7037 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7038 * sysdeps/sh/dl-machine.h: Likewise.
7039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7040 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7041 * sysdeps/unix/i386/sysdep.S: Likewise.
7042 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7043 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7048 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7053 * sysdeps/x86_64/dl-machine.h: Likewise.
7054 * tls.make.c: Likewise.
7056 * configure.in: Remove --with-__thread option. Make tests for
7057 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7058 tls_model attribute fail if no support is available. Remove
7060 * Makeconfig: Adjust for dropped configure option. All features are
7062 * Makerules: Likewise.
7063 * Versions.def: Likewise.
7064 * argp/argp-fmtstream.c: Likewise.
7065 * argp/argp-fmtstream.h: Likewise.
7066 * argp/argp-help.c: Likewise.
7067 * assert/assert.c: Likewise.
7068 * config.h.in: Likewise.
7069 * config.make.in: Likewise.
7070 * configure: Likewise.
7071 * configure.in: Likewise.
7072 * csu/Versions: Likewise.
7073 * csu/init.c: Likewise.
7074 * elf/tst-audit2.c: Likewise.
7075 * elf/tst-tls10.c: Likewise.
7076 * elf/tst-tls10.h: Likewise.
7077 * elf/tst-tls11.c: Likewise.
7078 * elf/tst-tls12.c: Likewise.
7079 * elf/tst-tls14.c: Likewise.
7080 * elf/tst-tlsmod11.c: Likewise.
7081 * elf/tst-tlsmod12.c: Likewise.
7082 * elf/tst-tlsmod13.c: Likewise.
7083 * elf/tst-tlsmod13a.c: Likewise.
7084 * elf/tst-tlsmod14a.c: Likewise.
7085 * elf/tst-tlsmod15b.c: Likewise.
7086 * elf/tst-tlsmod16a.c: Likewise.
7087 * elf/tst-tlsmod16b.c: Likewise.
7088 * elf/tst-tlsmod7.c: Likewise.
7089 * elf/tst-tlsmod8.c: Likewise.
7090 * elf/tst-tlsmod9.c: Likewise.
7091 * gmon/gmon.c: Likewise.
7092 * grp/fgetgrent_r.c: Likewise.
7093 * grp/putgrent.c: Likewise.
7094 * hurd/fopenport.c: Likewise.
7095 * include/libc-symbols.h: Likewise.
7096 * include/tls.h: Likewise.
7097 * intl/gettextP.h: Likewise.
7098 * intl/loadinfo.h: Likewise.
7099 * locale/global-locale.c: Likewise.
7100 * locale/localeinfo.h: Likewise.
7101 * mach/devstream.c: Likewise.
7102 * malloc/arena.c: Likewise.
7103 * malloc/set-freeres.c: Likewise.
7104 * misc/err.c: Likewise.
7105 * misc/getttyent.c: Likewise.
7106 * misc/mntent_r.c: Likewise.
7107 * posix/getopt.c: Likewise.
7108 * posix/wordexp.c: Likewise.
7109 * pwd/fgetpwent_r.c: Likewise.
7110 * resolv/Versions: Likewise.
7111 * resolv/res_hconf.c: Likewise.
7112 * shadow/fgetspent_r.c: Likewise.
7113 * shadow/putspent.c: Likewise.
7114 * stdio-common/printf_fphex.c: Likewise.
7115 * stdio-common/tmpfile.c: Likewise.
7116 * stdlib/abort.c: Likewise.
7117 * stdlib/fmtmsg.c: Likewise.
7118 * sunrpc/auth_unix.c: Likewise.
7119 * sunrpc/clnt_perr.c: Likewise.
7120 * sunrpc/clnt_tcp.c: Likewise.
7121 * sunrpc/clnt_udp.c: Likewise.
7122 * sunrpc/clnt_unix.c: Likewise.
7123 * sunrpc/openchild.c: Likewise.
7124 * sunrpc/svc_simple.c: Likewise.
7125 * sunrpc/svc_tcp.c: Likewise.
7126 * sunrpc/svc_udp.c: Likewise.
7127 * sunrpc/svc_unix.c: Likewise.
7128 * sunrpc/xdr.c: Likewise.
7129 * sunrpc/xdr_array.c: Likewise.
7130 * sunrpc/xdr_rec.c: Likewise.
7131 * sunrpc/xdr_ref.c: Likewise.
7132 * sunrpc/xdr_stdio.c: Likewise.
7134 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7136 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7138 2011-07-03 Andreas Jaeger <aj@suse.de>
7140 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7142 regenerate with gen-libm-tests.pl.
7144 2010-05-12 Petr Baudis <pasky@suse.cz>
7147 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7148 around j0() zero points by switching to j1().
7149 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7154 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7161 Patch in part by Pavel Roskin <proski@gnu.org>.
7164 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7166 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7167 Free memory block if necessary.
7170 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7171 be NULL. Don't lock in this case.
7173 2011-09-09 Roland McGrath <roland@hack.frob.com>
7175 * elf/elf.h (ELFOSABI_GNU): New macro.
7176 (ELFOSABI_LINUX): Define to that.
7178 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7180 * string/strncat.c (strncat): Undef the symbol in case it has been
7181 defined in bits/string.h.
7183 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7185 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7187 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7190 2011-08-17 Andreas Jaeger <aj@suse.de>
7192 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7194 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7195 Ian Lance Taylor <iant@google.com>
7197 * math/libm-test.inc (lround_test): New testcase.
7198 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7200 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7202 * Makefile: Remove support for automatic cvs check-ins.
7203 * Makerules: Likewise.
7204 * config.make.in: Likewise.
7205 * configure.in: Likewise.
7206 * intl/Makefile: Likewise.
7207 * locale/Makefile: Likewise.
7208 * po/Makefile: Likewise.
7209 * posix/Makefile: Likewise.
7210 * sysdeps/gnu/Makefile: Likewise.
7211 * sysdeps/mach/hurd/Makefile: Likewise.
7212 * sysdeps/sparc/sparc32/Makefile: Likewise.
7215 * posix/Makefile (bug-regex32-ENV): Define.
7216 Patch by John Stanley <jpsinthemix@verizon.net>.
7218 * misc/Makefile (headers): Add bits/select2.h.
7219 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7220 * misc/bits/select2.h: New file.
7221 * include/bits/select2.h: New file.
7222 * debug/Makefile (routines): Add fdelt_chk.
7223 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7224 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7226 * debug/fdelt_chk.c: New file.
7228 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7229 * wcsmbs/test-wmemcmp.c: Likewise.
7230 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7231 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7233 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7235 * string/Makefile (strop-tests): Add memcmp.
7236 * string/test-wmemcmp.c: New file.
7237 * string/test-memcmp.c: Add wmemcmp support.
7239 2011-09-08 Roland McGrath <roland@hack.frob.com>
7242 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7245 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7246 garbage value in a __mach_port_mod_refs call in the cases of the
7247 task-self and thread-self ports.
7249 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7251 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7253 2011-09-08 Andreas Schwab <schwab@redhat.com>
7255 * elf/dl-load.c (lose): Check for non-null L.
7257 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7259 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7261 * elf/dl-libc.c (dlerror_run): Pass back error code from
7265 * elf/dl-load.c (lose): Free l_origin if it is valid.
7267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7269 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7270 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7272 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7273 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7274 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7276 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7278 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7279 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7280 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7281 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7282 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7283 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7284 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7285 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7286 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7287 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7289 2011-08-15 Alan Modra <amodra@gmail.com>
7292 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7293 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7294 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7295 ppc_mcount to static-only-routines.
7296 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7298 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7299 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7301 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7303 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7304 for finite and infinity parameters.
7306 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7309 and add nop instructions for throughput optimization.
7310 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7312 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7314 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7315 aligned copy for power7 with vector-scalar instructions.
7316 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7318 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7323 2011-09-07 Andreas Schwab <schwab@redhat.com>
7326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7329 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7331 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7332 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7333 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7334 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7340 Forgot to demangle the pointer.
7342 * sysdeps/i386/sysdep.h: Define atom_text_section.
7343 * sysdeps/x86_64/sysdep.h: Likewise.
7344 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7345 section with atom_text_section.
7346 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7348 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7350 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7353 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7354 already be defined. Change to take two parameters and don't assign
7355 result to variable. Adjust all users.
7356 Define INTERNAL_GETTIME if not already defined.
7357 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7360 HAVE_CLOCK_GETTIME_VSYSCALL.
7361 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7364 gettimeofday vsyscall, just use time.
7366 2011-09-06 Andreas Schwab <schwab@redhat.com>
7368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7371 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7373 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7377 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7379 syscall if possible.
7381 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7383 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7384 e_ident. Don't pass to find_mapsXX.
7385 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7387 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7390 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7391 * sysdeps/x86_64/multiarch/strchr.S: Update.
7392 Check bit_slow_BSF bit.
7393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7394 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7395 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7400 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7403 (__spawni): Change last parameter to be flag. Test
7404 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7405 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7406 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7407 * posix/spawni.c: Likewise.
7408 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7409 * posix/spawnp.c: Likewise. Change normal version to use
7410 SPAWN_XFLAGS_USE_PATH.
7411 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7412 SPAWN_XFLAGS_TRY_SHELL.
7415 * posix/glob.h: Remove gcc 1.x support.
7418 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7420 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7423 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7425 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7426 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7427 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7428 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7429 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7432 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7434 * sysdeps/x86_64/wcscmp.S: New file.
7436 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7437 wcscmp-c wcscmp-sse2
7438 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7439 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7440 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7441 * wcsmbs/wcscmp.c: Allow renaming.
7443 2011-09-05 David S. Miller <davem@davemloft.net>
7445 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7446 stack slot, rather than the struct return pointer slot.
7447 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7448 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7452 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7454 * po/ja.po: Update from translation team.
7457 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7458 kernel in 64-bit binaries.
7460 2011-09-01 David S. Miller <davem@davemloft.net>
7462 * elf/elf.h (HWCAP_SPARC_*): Move to..
7463 * sysdeps/sparc/sysdep.h: this new file and add new values.
7464 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7465 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7466 _DL_HWCAP_COUNT to 24.
7467 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7469 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7470 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7471 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7473 instead of magic constants.
7474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7476 2011-08-31 David S. Miller <davem@davemloft.net>
7478 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7480 Reimplement to do errno handling inline.
7481 (SYSCALL_ERROR_HANDLER): New macro.
7482 (__SYSCALL_STRING): Do not do errno handling in asm.
7483 (__CLONE_SYSCALL_STRING): Delete.
7484 (__INTERNAL_SYSCALL_STRING): Delete.
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7486 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7487 (PSEUDO): Reimplement to do errno handling inline.
7488 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7489 (SYSCALL_ERROR_HANDLER): New macro.
7490 (__SYSCALL_STRING): Do not do errno handling in asm.
7491 (__CLONE_SYSCALL_STRING): Delete.
7492 (__INTERNAL_SYSCALL_STRING): Delete.
7493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7494 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7496 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7497 (inline_syscall*): Add 'err' argument.
7498 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7499 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7500 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7501 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7503 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7504 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7506 2011-08-30 Andreas Schwab <schwab@redhat.com>
7508 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7510 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7512 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7515 2011-08-24 David S. Miller <davem@davemloft.net>
7517 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7519 2011-08-24 Andreas Schwab <schwab@redhat.com>
7521 * elf/Makefile: Add rules to build and run unload8 test.
7522 * elf/unload8.c: New file.
7523 * elf/unload8mod1.c: New file.
7524 * elf/unload8mod1x.c: New file.
7525 * elf/unload8mod2.c: New file.
7526 * elf/unload8mod3.c: New file.
7528 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7531 2011-08-23 David S. Miller <davem@davemloft.net>
7533 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7534 subtract stack bias.
7535 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7536 %sp not %fp in calculations.
7537 (_JMPBUF_UNWINDS_ADJ): Likewise.
7539 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7540 (aio_suspend): Call it to force an exception region around the
7541 AIO_MISC_WAIT() invocation.
7543 2011-08-23 Andreas Schwab <schwab@redhat.com>
7545 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7548 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7550 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7552 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7554 (Elf64_FuncDesc): Remove.
7556 2011-08-22 David S. Miller <davem@davemloft.net>
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7559 sigaltstack check, add missing cfi directives.
7560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7561 missing cfi directives, and sigaltstack handling.
7563 2011-08-16 Andreas Schwab <schwab@redhat.com>
7566 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7567 object is seen twice.
7568 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7570 * elf/Makefile (distribute): Add tst-initorder2.c.
7571 (tests): Add tst-initorder2.
7572 (modules-names): Add tst-initorder2a tst-initorder2b
7573 tst-initorder2c tst-initorder2d. Add rules to build them.
7574 ($(objpfx)tst-initorder2.out): New rule.
7575 * elf/tst-initorder2.c: New file.
7576 * elf/tst-initorder2.exp: New file.
7578 2011-08-22 Andreas Schwab <schwab@redhat.com>
7580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7582 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7583 dependencies back to end of function.
7585 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7588 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7591 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7593 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7594 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7595 of __vdso_gettimeofday.
7596 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7597 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7599 (_libc_vdso_platform_setup): Remove initialization of
7600 __vdso_gettimeofday and __vdso_time.
7602 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7604 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7606 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7609 * elf/dl-open.c (add_to_global): Report additions to the global scope
7610 for LD_DEBUG=scopes.
7611 (dl_open_worker): Also print scope of newly loaded dependencies.
7612 (_dl_show_scope): Indicate if there is no scope.
7615 * stdio-common/Makefile (tests): Add bug24.
7616 * stdio-common/bug24.c: New file.
7618 2011-08-19 Andreas Jaeger <aj@suse.de>
7621 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7622 non-existant file when using close-on-exec mode.
7624 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7627 the very first instruction.
7629 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7630 the CFI state in the end.
7631 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7632 inclusion of dl-trampoline.h.
7633 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7635 2011-08-19 Andreas Schwab <schwab@redhat.com>
7637 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7638 expectations for long double.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7641 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7643 2011-08-14 David S. Miller <davem@davemloft.net>
7645 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7646 artificual limit depends upon the system page size.
7648 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7650 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7651 * resolv/Makefile: Define CFLAGS-libresolv.
7653 2011-08-17 Andreas Schwab <schwab@redhat.com>
7655 * nss/makedb.c (compute_tables): Make variables used in nested
7658 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7660 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7661 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7662 if buffer was too small.
7664 * elf/pldd.c (main): Attach to all threads in the process.
7665 Rewrite /proc handling to use *at functions.
7667 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7669 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7670 specifies first scope to show.
7671 (dl_open_worker): Update callers. Move printing scope of new
7672 object to before the relocation.
7673 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7674 * sysdeps/generic/ldsodefs.h: Update declaration.
7676 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7677 string for the scope number.
7679 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7681 * nscd/servicescache.c (cache_addserv): Make sure written is always
7684 2011-08-14 Roland McGrath <roland@hack.frob.com>
7686 * sysdeps/i386/i486/bits/atomic.h
7687 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7688 statement expression, so as to suppress "set but not used" warning.
7689 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7691 * string/strncat.c (STRNCAT): Use prototype definition.
7693 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7694 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7696 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7697 (localedef-modules): Add localedef.
7698 (locale-modules): Add locale.
7700 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7701 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7704 2011-08-14 David S. Miller <davem@davemloft.net>
7706 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7707 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7709 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7711 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7712 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7713 * elf/rtld.c (dl_main): Set l_name of vDSO.
7714 Call _dl_show_scope when DL_DEBUG_SCOPES.
7715 (process_dl_debug): Recognize scopes flag and also set it for all.
7716 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7717 Declare _dl_show_scope.
7719 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7720 (do_dlopen): Pass caller_dlopen to dl_open.
7721 (__libc_dlopen_mode): Initialize caller_dlopen.
7723 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7724 of libc. Make tolower call locale-independent. Optimize a bit by
7725 using isdigit instead of isalnum.
7726 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7728 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7730 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7731 was a dependency or dynamically loaded.
7733 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7735 * intl/l10nflist.c: Allow architecture-specific pop function.
7736 * sysdeps/x86_64/l10nflist.c: New file.
7738 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7741 2011-08-10 Andreas Schwab <schwab@redhat.com>
7743 * include/dirent.h: Add libc_hidden_proto for scandirat and
7744 scandirat64. Don't declare __scandirat64.
7745 * dirent/scandirat.c: Add libc_hidden_def.
7746 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7747 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7749 2011-08-10 David S. Miller <davem@davemloft.net>
7751 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7754 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7757 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7759 * Versions.def [libc]: Add GLIBC_2.15.
7760 * dirent/Makefile (routines): Add scandirat and scandirat64.
7761 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7763 * dirent/dirent.h: Declare scandirat and scandirat64.
7764 * dirent/scandirat.c: New file.
7765 * dirent/scandirat64.c: New file.
7766 * sysdeps/wordsize-64/scandirat.c: New file.
7767 * sysdeps/wordsize-64/scandirat64.c: New file.
7768 * dirent/opendir.c: Define opendirat.
7769 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7771 * dirent/scandir64.c: Adjust for scandir.c change.
7772 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7773 __scandirat64, and __scandir_cancel_handler.
7774 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7775 additional parameter and use openat instead of open (outside of ld.so).
7776 Add new __opendir as wrapper around __opendirat.
7777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7778 here without requiring old scandirat implementation.
7780 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7782 * dirent/scandir.c (cancel_handler): Renamed to
7783 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7784 defined. Adjust users.
7785 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7788 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7790 * string/test-string.h (IMPL): Use __STRING to expand name and then
7793 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7796 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7798 * string/Makefile: Update.
7799 (strop-tests): Append strncat.
7800 * string/test-wcscmp.c: New file.
7801 New comprehensive test for wcscmp.
7802 * string/test-strcmp.c: Update.
7805 2011-07-22 Andreas Schwab <schwab@redhat.com>
7807 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7810 2011-07-26 Andreas Schwab <schwab@redhat.com>
7812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7813 encoding to ACE if AI_IDN.
7815 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7818 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7820 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7823 Fix overflow bug in strncat.
7824 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7826 * string/test-strncat.c: Update.
7827 Add new tests for checking overflow bugs.
7829 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7832 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7833 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7834 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7836 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7837 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7838 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7839 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7842 (USE_AS_STRCAT): Define.
7843 Add strcat and strncat support.
7844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7846 2011-07-25 Andreas Schwab <schwab@redhat.com>
7848 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7849 __n bigger than INT_MAX+1.
7850 (__strncmp_g): Likewise.
7852 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7854 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7855 * libio/stido.h: Likewise.
7857 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7862 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7865 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7869 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7874 (_dl_x86_64_save_sse): Likewise.
7876 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7880 (_dl_x86_64_save_sse): Likewise.
7882 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7884 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7886 2011-07-21 Andreas Schwab <schwab@redhat.com>
7888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7890 (_dl_x86_64_save_sse): Use correct AVX check.
7892 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7895 bug in strncpy/strncat.
7896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7898 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7900 * string/tester.c (test_strcat): Add tests for different alignments
7901 of source and destination.
7902 (test_strncat): Likewise.
7904 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7907 * posix/glob.c (glob): Check passed in values before using them in
7908 expressions to avoid some overflows.
7909 (glob_in_dir): Likewise.
7912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7913 check for AVX enablement so that we don't crash with old kernels and
7915 * elf/tst-audit4.c: Add same checks here.
7916 * elf/tst-audit6.c: Likewise.
7918 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7920 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7922 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7924 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7926 * po/cs.po: Update from translation team.
7927 * po/bg.po: Likewise.
7929 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7931 * misc/sys/cdefs.h: Add support for const attribute.
7932 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7933 to gnu_dev_{major,minor,makedev} functions.
7935 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7937 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7939 2011-07-20 Andreas Schwab <schwab@redhat.com>
7941 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7944 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7947 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7948 register in order to avoid conflicts with the soft frame pointer
7949 being held in r11 when necessary.
7950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7951 (INTERNAL_VSYSCALL_NCS): Likewise.
7953 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7955 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7956 * elf/dl-fini.c (_dl_fini): Adjust caller.
7957 * elf/dl-close.c (_dl_close_worker): Likewise.
7958 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7960 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7962 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7963 "aux_cache->nlibs < 0".
7965 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7966 in the reload-count case.
7968 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7971 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7972 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7974 * sysdeps/x86_64/multiarch/strcat.S: New file.
7975 * sysdeps/x86_64/multiarch/strncat.S: New file.
7976 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7977 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7978 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7979 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7981 (USE_AS_STRCAT): Define.
7982 Add strcat and strncat support.
7983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7985 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7986 * string/strncat.c: Update.
7987 (USE_AS_STRNCAT): Define.
7988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7989 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7991 * sysdeps/x86_64/multiarch/init-arch.h
7992 (bit_Prefer_PMINUB_for_stringop): New.
7993 (index_Prefer_PMINUB_for_stringop): Likewise.
7994 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7995 bit_Prefer_PMINUB_for_stringop.
7997 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7999 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8001 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8002 of casting of buffer.
8003 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8004 buffer32 and buffer64.
8005 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8006 writes instead of casting of buffer.
8007 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8009 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8012 2011-07-19 Andreas Schwab <schwab@redhat.com>
8014 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8016 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8018 * nscd/nscd.c (termination_handler): Don't do anything for a database
8019 if it has not yet been initialized.
8021 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8023 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8025 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8027 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8029 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8031 * po/nl.po: Update from translation team.
8032 * po/sv.po: Likewise.
8034 2011-07-16 Roland McGrath <roland@hack.frob.com>
8036 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8037 now disallowed by GCC.
8039 * configure.in (use-default-link): Default to yes if a test -shared
8040 link meets our qualifications.
8041 * configure: Regenerated.
8043 * config.make.in (output-format): New variable.
8044 * configure.in: Check for ld --print-output-format support.
8045 * configure: Regenerated.
8046 * Makerules ($(common-objpfx)format.lds)
8047 [$(output-format) != unknown]: Just use $(output-format),
8048 instead of the linker-script munging.
8050 2011-07-14 Roland McGrath <roland@hack.frob.com>
8052 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8053 of $(common-objpfx)shlib.lds.
8054 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8056 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8057 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8059 * configure.in (-z relro check): Adjust test code to add a large
8060 writable data section after it.
8061 * configure: Regenerated.
8063 2011-07-11 Roland McGrath <roland@hack.frob.com>
8065 * configure.in (-z relro check): Fix test code to make the variable
8067 * configure: Regenerated.
8069 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8071 * nscd/nscd.h (struct traced_file): Define.
8072 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8073 elements. Add traced_files.
8074 (inotify_fd): Declare.
8075 (register_traced_file): Declare.
8076 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8077 (inotify_fd): Export.
8078 (resolv_conf_descr): Remove.
8079 (nscd_init): Move inotify descriptor creation to main.
8080 Don't register files for notification here.
8081 (register_traced_file): New function.
8082 (invalidate_cache): Don't use reset_res to determine whether to call
8083 res_init, go through the list of registered files.
8084 (main_loop_poll): The inotify descriptors are now stored in the
8085 structures for the traced files.
8086 (main_loop_epoll): Likewise
8087 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8088 to __nss_disable_nscd.
8089 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8090 for a database anymore. Check the records for all the registered
8092 * nss/Makefile (libnss_files-routines): Add files-init.
8093 (libnss_db-routines): Add db-init.
8094 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8095 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8096 * nss/nss_db/db-init.c: New file.
8097 * nss/nss_files/files-init.c: New file.
8098 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8099 __nss_lookup_function.
8100 (__nss_lookup_function): Call nss_load_library.
8101 (nss_load_all_libraries): New function.
8102 (__nss_disable_nscd): Take parameter with callback function for files
8103 to register. Set is_nscd. Load all the DSOs for the NSS modules
8104 used for the cached services.
8105 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8106 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8107 options for features to all the files in nscd.
8109 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8111 2011-07-10 Roland McGrath <roland@hack.frob.com>
8113 * csu/elf-init.c (__libc_csu_init): Comment typo.
8115 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8117 * po/pl.po: Update from translation team.
8118 * po/ja.po: Likewise.
8119 * po/ru.po: Likewise.
8120 * po/ko.po: Likewise.
8121 * po/fr.po: Likewise.
8123 2011-07-09 Roland McGrath <roland@hack.frob.com>
8125 * configure.in (.ctors/.dtors header and trailer check):
8126 Use an empirical test on a built program.
8127 * configure: Regenerated.
8129 * configure.in (-z relro check): Use an empirical test on a built DSO.
8130 Detect, but do not require, on ia64.
8131 * configure: Regenerated.
8133 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8134 Update tests that use readelf to use $READELF instead.
8135 * configure: Regenerated.
8137 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8139 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8140 if the result is not used.
8142 2011-07-05 Andreas Jaeger <aj@suse.de>
8145 * stdlib/tst-strtod.c: Add testcase.
8147 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8149 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8150 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8151 The latter has a higher limit. Take additional parameter to pass to
8153 (__pathconf): Pass file to __statfs_link_max.
8154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8156 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8160 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8164 (__statfs_filesize_max): Likewise.
8165 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8167 2011-07-05 Andreas Jaeger <aj@suse.de>
8169 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8171 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8173 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8175 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8178 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8180 * Makefile (strop-tests): Add strncat.
8181 * string/test-strncat.c: New file.
8183 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8185 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8187 2011-06-21 Andreas Jaeger <aj@suse.de>
8189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8190 Copy rule from iconvdata/Makefile.
8192 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8195 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8196 but no long options are defined, just return 'W'.
8198 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8201 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8203 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8205 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8207 (innetgr): Likewise.
8209 2011-07-05 Roland McGrath <roland@hack.frob.com>
8211 * config.make.in (install_root): Default to $(DESTDIR).
8213 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8217 2011-07-02 Roland McGrath <roland@hack.frob.com>
8219 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8221 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8222 containing directory rather than embedding absolute directory names.
8224 * scripts/check-local-headers.sh: Rewritten using awk.
8225 Match by word, not by line. Print error messages for matches.
8226 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8228 * Makerules [shlib-lds-flags empty]:
8229 ($(common-objpfx)libc_pic.opts): New target.
8230 ($(common-objpfx)libc_pic.os.clean): New target.
8231 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8233 * config.make.in (OBJCOPY): New variable.
8234 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8235 * configure: Regenerated.
8237 * config.make.in (use-default-link): New variable.
8238 * configure.in (use_default_link): Grok --with-default-link to set it.
8239 * configure: Regenerated.
8240 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8241 (shlib-lds, shlib-lds-flags): Define to empty.
8243 * Makerules (shlib-lds): New variable.
8244 (shlib-lds-flags): New variable.
8245 (build-shlib, build-moduile, build-module-asneeded): Use it.
8246 ($(common-objpfx)libc.so): Use $(shlib-lds).
8247 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8248 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8250 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8251 DT_FLAGS/DT_FLAGS_1 with zero flags.
8253 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8254 linker script munging.
8256 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8258 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8260 * crypt/sha512.c (sha512_process_block): Perform total addition using
8261 128-bit if possible.
8262 (__sha512_finish_ctx): Likewise.
8263 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8265 * crypt/sha256.c (SWAP64): Define.
8266 (sha256_process_block): Perform total addition using 64-bit if
8268 (__sha256_finish_ctx): Likewise.
8270 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8272 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8274 * nscd/hstcache.c (cache_addhst): Likewise.
8275 * nscd/grpcache.c (cache_addgr): Likewise.
8276 * nscd/aicache.c (addhstaiX): Likewise
8277 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8279 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8281 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8283 * nscd/hstcache.c (cache_addhst): Likewise.
8284 * nscd/grpcache.c (cache_addgr): Likewise.
8285 * nscd/aicache.c (addhstaiX): Likewise
8287 2011-07-01 Andreas Schwab <schwab@redhat.com>
8289 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8290 domain only when needed.
8292 2011-06-30 Andreas Schwab <schwab@redhat.com>
8294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8297 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8299 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8300 are re-adding the entry.
8301 * nscd/servicescache.c (cache_addserv): Likewise.
8303 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8305 * sysdeps/generic/dl-irel.h: fix protection against multiple
8307 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8309 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8312 * malloc/memusage.sh: Fix quoting in message.
8313 * debug/xtrace.sh: Likewise.
8315 * configure.in: Remove support for --experimental-malloc option, make
8317 * config.make.in: Likewise.
8318 * malloc/Makefile: Likewise.
8320 2011-06-27 Andreas Schwab <schwab@redhat.com>
8322 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8323 two-byte characters.
8325 2011-06-27 Roland McGrath <roland@hack.frob.com>
8327 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8328 AC_CACHE_CHECK invocation.
8329 * configure: Regenerated.
8331 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8333 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8336 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8337 bit from old_res_options.
8339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8341 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8342 value type for setfct.
8344 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8347 __gettimeofday instead of gettimeofday.
8349 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8351 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8353 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8360 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8363 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8364 strcpy-sse2-unaligned strncpy-sse2-unaligned
8365 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8366 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8367 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8368 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8369 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8372 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8373 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8374 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8375 (STRCPY): Support SSE2 and SSSE3 versions.
8377 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8381 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8382 kernels which artificially limit size of requests.
8384 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8387 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8388 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8389 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8390 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8391 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8392 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8393 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8394 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8396 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8397 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8398 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8399 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8400 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8402 Enable unaligned load optimization for Intel Core i3, i5 and i7
8404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8406 (index_Fast_Unaligned_Load): Define.
8407 (HAS_FAST_UNALIGNED_LOAD): Define.
8409 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8411 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8413 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8417 until it is clear that the information is realy needed.
8418 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8420 2011-06-22 Andreas Schwab <schwab@redhat.com>
8422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8424 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8427 /sys/devices/system/cpu/online if it is usable.
8429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8430 reading the information from the /proc filesystem to once a second.
8432 2011-06-21 Andreas Jaeger <aj@suse.de>
8434 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8435 NULL after inclusion of kernel headers.
8437 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8439 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8440 calls to internal_setent.
8443 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8444 addresses using gethostbyname4_r ignore IPv4 addresses.
8446 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8447 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8449 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8451 2011-06-20 David S. Miller <davem@davemloft.net>
8453 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8455 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8457 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8459 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8460 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8461 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8462 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8463 * sysdeps/x86_64/dl-irel.h: Likewise.
8465 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8466 * elf/dl-sym.c: Likewise.
8468 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8470 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8471 need to dereference resplen2.
8473 2011-06-14 Andreas Schwab <schwab@redhat.com>
8475 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8477 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8479 * Makeconfig: Define vardbdir and inst_vardbdir.
8480 * nss/Makefile: Add rules to install db-Makefile.
8482 * nss/nss_db/db-XXX.c: Cleanup.
8484 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8485 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8487 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8488 * nss/makedb.c: Implement -g option to specify that value strings
8489 are generated and should not be added to table iterated over for
8491 * nss/nss_db/db-initgroups.c: New file.
8493 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8496 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8497 (internal_getgrouplist): Adjust to name change.
8498 Update use_initgroups_entry if this is not the first call.
8499 * nss/databases.def: Add initgroups entry.
8501 * nss/makedb.c (compute_tables): Check result of multiple hash table
8502 sizes to minimize maximum chain length.
8504 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8506 * Versions.def: Add entry for libnss_db.
8507 * shlib-versions: Likewise.
8508 * nss/Makefile: Add rules to build libnss_db.
8509 * nss/Versions: Add libnss_db information. Organize libnss_files
8511 * nss/db-Makefile: Add gshadow support. Change rules for the new
8512 makedb progra. Some minor improvements to generate smaller files.
8513 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8515 * nss/makedb.c: ...here.
8516 Improve database format to be smaller and require less memory at
8518 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8520 * nss/nss_db/db-netgrp.c: Likewise.
8521 * nss/nss_db/db-open.c: Likewise.
8522 * nss/nss_files/flies-XXX.x: Adjust comments.
8523 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8524 * nss/nss_files/files-grp.c: Likewise.
8525 * nss/nss_files/files-hosts.c: Likewise.
8526 * nss/nss_files/files-network.c: Likewise.
8527 * nss/nss_files/files-proto.c: Likewise.
8528 * nss/nss_files/files-pwd.c: Likewise.
8529 * nss/nss_files/files-rpc.c: Likewise.
8530 * nss/nss_files/files-service.c: Likewise.
8531 * nss/nss_files/files-sgrp.c: Likewise.
8532 * nss/nss_files/files-spwd.c: Likewise.
8533 * nss/nss_db/db-alias.c: Removed.
8534 * nss/nss_db/dummy-db.h: Removed.
8536 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8538 * nss/makedb.c: Rewritten to not use database library.
8539 * nss/Makefile: Update to build new makedb program.
8541 2011-06-14 Andreas Jaeger <aj@suse.de>
8543 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8546 2011-06-10 Andreas Schwab <schwab@redhat.com>
8548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8551 2011-06-10 Roland McGrath <roland@hack.frob.com>
8553 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8554 * elf/Makefile ($(objpfx)ld.so): Likewise.
8556 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8557 Don't list ld.so twice in dependencies.
8559 * posix/bug-regex31.c: Include <stdlib.h>.
8561 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8563 * nis/nss_compat/compat-spwd.c
8564 (getspent_next_nss_netgr): Remove unused variable.
8565 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8567 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8568 nonmembers" output to use the right array.
8570 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8572 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8574 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8575 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8576 * catgets/gencat.c (read_input_file): Likewise.
8577 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8579 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8580 variable definition inside #if's controlling its use.
8582 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8584 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8586 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8588 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8591 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8593 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8594 * configure: Regenerated.
8596 * Makerules: Revert last change.
8597 * elf/Makefile: Likewise.
8599 2011-06-09 Roland McGrath <roland@hack.frob.com>
8601 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8602 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8603 (reloc-link): Likewise.
8605 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8607 * elf/Makefile: Add rules to build pldd.
8608 * elf/pldd.c: New file.
8609 * elf/pldd-xx.c: New file.
8611 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8613 * version.h: Update for 2.15 development version.
8615 2011-06-07 David S. Miller <davem@davemloft.net>
8617 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8620 elf_machine_lazy_rel): Likewise.
8621 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8623 elf_machine_lazy_rel): Likewise.
8624 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8625 dl_hwcap via passed in argument.
8626 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8629 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8631 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8633 2011-06-06 Roland McGrath <roland@hack.frob.com>
8636 * manual/fdl-1.1.texi: New file, verbatim from:
8637 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8638 * manual/lgpl-2.1.texi: New file, verbatim from:
8639 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8640 * manual/Makefile (licenses): New variable, list those new file names.
8642 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8644 * manual/fdl.texi: File removed.
8645 * manual/lesser.texi: File removed.
8646 * manual/libc.texinfo (Copying, Documentation License):
8647 Use new @include file names, put @appendix directive before @include.
8649 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8652 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8653 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8654 (mq_open): Add __NTH.
8656 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8659 Assume Intel Core i3/i5/i7 processor if AVX is available.
8661 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8666 2011-05-31 Andreas Schwab <schwab@redhat.com>
8668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8669 memory. Use alloca_account. Fix memory leak when retrying.
8671 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8673 * version.h (RELEASE): Bump for 2.14 release.
8674 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8676 * config.make.in (RANLIB): Remove entry.
8678 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8680 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8681 (libc.pot): Work around missing support for .ksh extension in xgettext.
8684 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8685 if both request failed.
8686 (send_dg): In case of server errors clear resplen or *resplen2.
8689 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8690 when there are multiple maps.
8691 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8692 (_dl_fini): Remove test here.
8694 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8696 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8699 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8700 bit from old_res_options.
8701 (gaih_inet): Likewise.
8704 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8707 * resolv/res_init.c (res_setoptions): Make the code more compact.
8710 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8714 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8716 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8719 * malloc/malloc.h: Declare malloc hook variables as volatile.
8721 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8725 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8726 raise in the comment.
8727 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8729 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8731 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8734 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8735 grow the buffers more if it already has to be sufficient.
8736 (build_wcs_upper_buffer): Likewise.
8737 * posix/regexec.c (check_matching): Likewise.
8738 (clean_state_log_if_needed): Likewise.
8739 (extend_buffers): Don't enlarge buffers beyond size of the input
8741 Patches mostly by Emil Wojak <emil@wojak.eu>.
8742 * posix/bug-regex32.c: New file.
8743 * posix/Makefile (tests): Add bug-regex32.
8745 * locale/findlocale.c (_nl_find_locale): Return right away if
8746 _nl_explode_name failed.
8747 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8749 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8751 * debug/xtrace.sh: Unify messages.
8752 * malloc/memusage.sh: Likewise.
8755 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8756 time symbol from vDSO. Substitute with vsyscall if not available.
8757 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8761 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8762 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8763 Add sendmmsg and internal_sendmmsg.
8764 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8765 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8766 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8768 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8769 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8772 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8776 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8782 * iconvdata/Makefile (tests): Add bug-iconv9.
8783 * iconvdata/bug-iconv9.c: New file.
8785 2011-05-27 Andreas Schwab <schwab@redhat.com>
8788 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8790 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8792 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8793 (struct user_regs_struct): Change intcs field back to cs.
8795 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8797 * po/ja.po: Update from translation team.
8799 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8802 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8803 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8805 2011-05-20 Andreas Schwab <schwab@redhat.com>
8807 * stdlib/longlong.h: Update from GCC.
8809 2011-05-23 Andreas Schwab <schwab@redhat.com>
8811 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8813 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8815 (__sysconf): Pass it down.
8817 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8820 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8823 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8824 add in in __libc_use_alloca calls. Adjust callers.
8825 (glob): Use malloc in some situations.
8827 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8828 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8831 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8833 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8834 and CLOCK_BOOTTIME_ALARM.
8837 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8840 * string/_strerror.c (__strerror_r): Print negative errors as signed
8844 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8845 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8846 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8848 * configure.in: Fix typo in redirection and correct removal of test
8852 * locale/setlocale.c (new_composite_name): Fix test to check for
8853 identical name of all categories.
8856 * libio/filedoalloc.c (local_isatty): New function.
8857 (_IO_file_doallocate): Use local_isatty.
8858 * stdio-common/perror.c (perror): In case a new stream is used
8859 forward the stream error.
8860 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8863 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8868 * include/alloca.h (extend_alloca_account): Define.
8871 * posix/regex.h: Fix comments with documentation of user-accessible
8872 fields after compilation and describe correct free'ing of pattern
8873 after re_compile_pattern.
8874 Patch by Reuben Thomas <rrt@sc3d.org>.
8876 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8878 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8879 and -mno-altivec to prevent the compiler from using Altivec and/or
8880 VSX instructions when the corresponding registers are not available.
8882 2011-05-19 Andreas Schwab <schwab@redhat.com>
8884 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8886 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8888 * libio/freopen.c (freopen): Use __dup2, not dup2.
8889 * libio/freopen64.c (freopen64): Likewise.
8891 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8894 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8895 * math/Makefile (tests): Add test-powl.
8896 (CFLAGS-test-powl.c): Define.
8897 * math/test-powl.c: New file.
8899 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8901 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8903 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8906 * iconvdata/gb18030.c: Update to GB18020-2005.
8908 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8910 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8911 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8912 Patch by Aharon Robbins <arnold@skeeve.com>.
8915 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8919 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8923 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8924 point to strings before performing equality test for error_one_per_line
8928 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8931 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8932 (struct user_fpregs_struct): Avoid __uint*_t types.
8935 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8936 symbol info. Use it instead of calling _dl_addr locally.
8937 (lock_and_info): New function.
8938 (tr_freehook): Call lock_and_info and pass symbol info as additional
8939 parameter to tr_where.
8940 (tr_mallochook): Likewise.
8941 (tr_reallochook): Likewise.
8942 (tr_memalignhook): Likewise.
8944 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8945 used and couldn't be at all thread-safe.
8947 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8949 * libio/freopen.c (freopen): Don't close old file descriptor
8950 before the new one is opened. Instead dup the new file descriptor
8951 to the old one after the new stream is created.
8952 * libio/freopen64.c (freopen64): Likewise.
8953 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8954 * libio/fileops.c (_IO_new_file_close_it): Handle new
8955 _IO_FLAGS2_NOCLOSE flag.
8956 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8957 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8958 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8959 _IO_FLAGS2_NOCLOSE flag.
8960 * include/unistd.h: Add hidden_proto for dup3.
8962 * io/dup3.c: Define hidden symbol.
8963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8966 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8967 when an incomplete long option is used.
8968 * posix/tst-getopt_long1.c: New file.
8969 * posix/Makefile (tests): Add tst-getopt_long1.
8972 * scripts/config.guess: Update from autoconf-2.68.
8973 * scripts/config.sub: Likewise.
8976 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8978 (has_cpuclock): ...this. New function.
8979 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8980 macro here based on has_cpuclock code.
8983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8984 First byte (not low byte) is now always NUL.
8985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8988 Use non-cancelable interfaces.
8991 * locale/iso-639.def: Add entry for Sorani.
8994 * include/stdlib.h: Move include protection to the right place.
8995 Define abort_msg_s. Declare __abort_msg with it.
8996 * stdlib/abort.c (__abort_msg): Adjust type.
8997 * assert/assert.c (__assert_fail_base): New function. Majority
8998 of code from __assert_fail. Allocate memory for __abort_msg with
9000 (__assert_fail): Now call __assert_fail_base.
9001 * assert/assert-perr.c: Remove bulk of implementation. Use
9003 * include/assert.hL Declare __assert_fail_base.
9004 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9006 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9008 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9012 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9013 until all modules are registered in the DTV.
9014 * elf/Makefile: Add rules to build and run tst-tls19.
9015 * elf/tst-tls19.c: New file.
9016 * elf/tst-tls19mod1.c: New file.
9017 * elf/tst-tls19mod2.c: New file.
9018 * elf/tst-tls19mod3.c: New file.
9019 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9022 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9026 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9027 two-byte sequence errors.
9028 * iconvdata/Makefile (tests): Add bug-iconv8.
9029 * iconvdata/bug-iconv8.c: New file.
9032 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9035 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9038 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9039 (dummy_getcfa): New function.
9040 (init): Get _Unwind_GetCFA address, use dummy if not found.
9041 (backtrace_helper): In recursion check, also check whether CFA changes.
9042 (__backtrace): Completely initialize arg.
9044 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9045 storing incomplete byte sequence in state object. Avoid testing for
9046 guaranteed too small input if we know there is enough data available.
9048 2011-05-11 Andreas Schwab <schwab@redhat.com>
9050 * Makeconfig (+link-pie): Indent.
9051 * Rules (binaries-pie): Define if $(have-fpie) and
9053 (binaries-shared): Also filter out $(binaries-pie).
9054 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9055 * nscd/Makefile (others-pie): Add nscd.
9056 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9057 ($(objpfx)nscd): Remove command override.
9058 * login/Makefile (others-pie): Add pt_chown.
9059 ($(objpfx)pt_chown): Remove command override.
9060 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9061 remove command overrides.
9063 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9065 * libio/tst_putwc.c: Fix error messages.
9068 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9069 currently writing and seek to current position when not.
9070 * libio/Makefile (tests): Add bug-fclose1.
9071 * libio/bug-fclose1.c: New file.
9073 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9076 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9077 don't set DF_1_NODELETE here.
9078 (do_lookup_x): When entering new entry test for copy relocation
9079 and if necessary set DF_1_NODELETE flag.
9080 * elf/tst-unique4.cc: New file.
9081 * elf/tst-unique4.h: New file.
9082 * elf/tst-unique4lib.cc: New file.
9083 * elf/Makefile: Add rules to build and run tst-unique4.
9084 Patch by Piotr Bury <pbury@goahead.com>.
9086 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9089 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9092 * misc/mntent_r.c (addmntent): Flush the stream after the output
9095 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9096 (is_trusted_path_normalize): Skip initial colon. Append slash
9097 to empty buffer. Duplicate is_trusted_path code but allow
9098 constructed patch to be prefix.
9099 (is_dst): Allow $ORIGIN followed by /.
9100 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9101 Correct testing of result of is_trusted_path_normalize
9102 (decompose_rpath): Fix warning.
9104 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9107 * grp/initgroups.c (internal_getgrouplist): When we found the service
9108 list through the initgroups entry in nsswitch.conf do not always
9109 continue on a successful lookup. Don't always use the
9110 __nss_group_database value if it is set.
9111 * nss/nsswitch.conf (initgroups): Change action for successful db
9112 lookup to continue for compatibility.
9114 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9117 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9119 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9121 * iconvdata/tst-tables.sh: Likewise.
9122 * iconvdata/cp770.c: New file.
9123 * iconvdata/cp771.c: New file.
9124 * iconvdata/cp772.c: New file.
9125 * iconvdata/cp773.c: New file.
9126 * iconvdata/cp774.c: New file.
9127 * iconvdata/testdata/CP770: New file.
9128 * iconvdata/testdata/CP770..UTF8: New file.
9129 * iconvdata/testdata/CP771: New file.
9130 * iconvdata/testdata/CP771..UTF8: New file.
9131 * iconvdata/testdata/CP772: New file.
9132 * iconvdata/testdata/CP772..UTF8: New file.
9133 * iconvdata/testdata/CP773: New file.
9134 * iconvdata/testdata/CP773..UTF8: New file.
9135 * iconvdata/testdata/CP774: New file.
9136 * iconvdata/testdata/CP774..UTF8: New file.
9138 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9140 * iconvdata/gen-8bit-gap.sh: Likewise.
9141 * iconvdata/gen-8bit.sh: Likewise.
9143 * locale/iso-639.def: Add ary entry.
9146 * locale/C-translit.h.in: Add U20A1 transliteration.
9149 * locale/iso-639.def: Add wae entry.
9150 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9153 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9157 * locale/C-translit.h.in: Add entry for U20B9.
9158 Patch by pravin.d.s@gmail.com.
9160 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9163 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9164 ENAMETOOLONG use generic getcwd.
9165 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9166 in rtld. Use *stat64.
9167 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9168 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9169 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9170 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9171 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9172 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9173 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9175 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9176 * dirent/rewinddir.c: Add libc_hidden_def.
9177 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9178 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9180 * include/dirent.h (__alloc_dir): Add flags parameter.
9181 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9182 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9184 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9185 from fdopendir if O_CLOEXEC is already set.
9187 2011-03-15 Alan Modra <amodra@gmail.com>
9189 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9190 l_tls_firstbyte_offset non-zero. Save padding offset in
9191 l_tls_firstbyte_offset for later use.
9192 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9193 freeing static tls block.
9195 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9197 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9198 where #ifdef was intended. The intent is to prevent ARG_MAX from
9199 being defined by the kernel headers.
9201 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9204 * resolv/resolv.h: Define RES_NOTLDQUERY.
9205 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9206 no-tld-query and set RES_NOTLDQUERY.
9207 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9208 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9209 modern BIND to search name as TLD unless forbidden.
9211 2011-05-07 Petr Baudis <pasky@suse.cz>
9212 Ulrich Drepper <drepper@gmail.com>
9215 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9216 (is_trusted_path): ...to here.
9217 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9218 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9219 using is_trusted_path_normalize() in setuid scripts.
9221 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9223 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9224 __BEGIN/__END_DECLS.
9226 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9229 NSS_STATUS_NOTFOUND if no record was found.
9231 2011-05-05 Andreas Schwab <schwab@redhat.com>
9233 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9234 (headers-not-in-tirpc): Remove rpc/netdb.h
9235 * resolv/netdb.h: Revert last change.
9237 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9239 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9240 circular dependency between libgcc.a and libc.a.
9242 2011-05-05 Andreas Schwab <schwab@redhat.com>
9244 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9245 * nis/Makefile: Don't install rpcsvc/*.
9246 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9247 instead of <rpc/types.h>.
9248 (MAXHOSTNAMELEN): Define.
9250 2011-05-03 Andreas Schwab <schwab@redhat.com>
9252 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9254 2011-04-28 Maciej Babinski <mbabinski@google.com>
9257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9258 gethostbyname4_r when IPv6 results are possible.
9260 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9263 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9264 _PC_PIPE_BUF handling.
9266 2011-04-30 Bruno Haible <bruno@clisp.org>
9269 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9270 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9272 * inet/getnameinfo.c (getnameinfo): Likewise.
9274 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9276 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9277 to groups setting in database lookup.
9278 * nss/nsswitch.conf: Add initgroups entry.
9280 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9283 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9285 Patch by Eric Blake <eblake@redhat.com>.
9287 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9289 * sunrpc/Makefile (need-export-routines): Add svc_run.
9290 (routines): Remove svc_run.
9291 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9292 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9293 * sunrpc/svc_run.c (svc_run): Likewise.
9294 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9296 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9299 problem in reallocation in last patch.
9301 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9303 * sunrpc/Makefile: Move inclusion of Rules.
9305 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9307 * nss/nss_files/files-initgroups.c: New file.
9308 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9309 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9310 _nss_files_initgroups_dyn.
9312 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9314 * elf/elf.h (R_ARM_IRELATIVE): Define.
9316 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9318 * po/ru.po: Update from translation team.
9320 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9322 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9325 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9329 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9330 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9331 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9334 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9336 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9340 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9342 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9345 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9347 * stdlib/bug-getcontext.c: New file.
9348 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9350 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9352 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9353 instructions into .machine "z9-109".
9354 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9355 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9357 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9359 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9360 between environment variables and auxiliary vector.
9362 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9364 * Makefile: Add rules to build linkobj/libc.so.
9365 * include/libc-symbols.h: Define libc_hidden_nolink.
9366 * include/rpc/auth.h: Mark functions which are to be hidden.
9367 * include/rpc/auth_des.h: Likewise.
9368 * include/rpc/auth_unix.h: Likewise.
9369 * include/rpc/clnt.h: Likewise.
9370 * include/rpc/des_crypt.h: Likewise.
9371 * include/rpc/key_prot.h: Likewise.
9372 * include/rpc/pmap_clnt.h: Likewise.
9373 * include/rpc/pmap_prot.h: Likewise.
9374 * include/rpc/pmap_rmt.h: Likewise.
9375 * include/rpc/rpc_msg.h: Likewise.
9376 * include/rpc/svc.h: Likewise.
9377 * include/rpc/svc_auth.h: Likewise.
9378 * include/rpc/xdr.h: Likewise.
9379 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9380 * nss/Makefile: Likewise.
9381 * sunrpc/Makefile: Don't install headers. Build library with normal
9382 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9383 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9384 for the compat linking library. Remove use of INTDEF/INTUSE.
9385 * sunrpc/auth_none.c: Likewise.
9386 * sunrpc/auth_unix.c: Likewise.
9387 * sunrpc/authdes_prot.c: Likewise.
9388 * sunrpc/authuxprot.c: Likewise.
9389 * sunrpc/clnt_gen.c: Likewise.
9390 * sunrpc/clnt_perr.c: Likewise.
9391 * sunrpc/clnt_raw.c: Likewise.
9392 * sunrpc/clnt_simp.c: Likewise.
9393 * sunrpc/clnt_tcp.c: Likewise.
9394 * sunrpc/clnt_udp.c: Likewise.
9395 * sunrpc/clnt_unix.c: Likewise.
9396 * sunrpc/des_crypt.c: Likewise.
9397 * sunrpc/des_soft.c: Likewise.
9398 * sunrpc/get_myaddr.c: Likewise.
9399 * sunrpc/key_call.c: Likewise.
9400 * sunrpc/key_prot.c: Likewise.
9401 * sunrpc/netname.c: Likewise.
9402 * sunrpc/pm_getmaps.c: Likewise.
9403 * sunrpc/pm_getport.c: Likewise.
9404 * sunrpc/pmap_clnt.c: Likewise.
9405 * sunrpc/pmap_prot.c: Likewise.
9406 * sunrpc/pmap_prot2.c: Likewise.
9407 * sunrpc/pmap_rmt.c: Likewise.
9408 * sunrpc/publickey.c: Likewise.
9409 * sunrpc/rpc_cmsg.c: Likewise.
9410 * sunrpc/rpc_common.c: Likewise.
9411 * sunrpc/rpc_dtable.c: Likewise.
9412 * sunrpc/rpc_prot.c: Likewise.
9413 * sunrpc/rpc_thread.c: Likewise.
9414 * sunrpc/rtime.c: Likewise.
9415 * sunrpc/svc.c: Likewise.
9416 * sunrpc/svc_auth.c: Likewise.
9417 * sunrpc/svc_authux.c: Likewise.
9418 * sunrpc/svc_raw.c: Likewise.
9419 * sunrpc/svc_run.c: Likewise.
9420 * sunrpc/svc_simple.c: Likewise.
9421 * sunrpc/svc_tcp.c: Likewise.
9422 * sunrpc/svc_udp.c: Likewise.
9423 * sunrpc/svc_unix.c: Likewise.
9424 * sunrpc/svcauth_des.c: Likewise.
9425 * sunrpc/xcrypt.c: Likewise.
9426 * sunrpc/xdr.c: Likewise.
9427 * sunrpc/xdr_array.c: Likewise.
9428 * sunrpc/xdr_float.c: Likewise.
9429 * sunrpc/xdr_intXX_t.c: Likewise.
9430 * sunrpc/xdr_mem.c: Likewise.
9431 * sunrpc/xdr_rec.c: Likewise.
9432 * sunrpc/xdr_ref.c: Likewise.
9433 * sunrpc/xdr_sizeof.c: Likewise.
9434 * sunrpc/xdr_stdio.c: Likewise.
9436 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9439 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9440 * sysdeps/ia64/dl-tls.h: Likewise.
9441 * sysdeps/powerpc/dl-tls.h: Likewise.
9442 * sysdeps/s390/dl-tls.h: Likewise.
9443 * sysdeps/sh/dl-tls.h: Likewise.
9444 * sysdeps/sparc/dl-tls.h: Likewise.
9445 * sysdeps/x86_64/dl-tls.h: Likewise.
9446 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9448 2011-03-14 Andreas Schwab <schwab@redhat.com>
9450 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9451 rpath element also skip the following colon.
9452 (expand_dynamic_string_token): Add is_path parameter and pass
9453 down to DL_DST_REQUIRED and _dl_dst_substitute.
9454 (decompose_rpath): Call expand_dynamic_string_token with
9455 non-zero is_path. Ignore empty rpaths.
9456 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9459 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9464 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9467 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9468 Patch by Filipe David Manana <fdmanana@apache.org>.
9470 2011-04-07 Andreas Schwab <schwab@redhat.com>
9472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9473 Maintain aligned stack.
9474 (CHECK_RSP): Remove unused macro.
9476 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9478 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9481 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9483 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9485 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9487 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9490 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9491 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9492 * sysdeps/x86_64/memmove.c: New file.
9493 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9494 (memcpy): Renamed to ...
9495 (__new_memcpy): This.
9496 (memcpy): Provide GLIBC_2_14 memcpy.
9497 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9498 (memcpy): Provide GLIBC_2_2_5 memcpy.
9500 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9503 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9505 2011-03-30 Andreas Schwab <schwab@redhat.com>
9507 * misc/syncfs.c: New file.
9508 * misc/Makefile (routines): Add syncfs.
9509 * posix/unistd.h: Declare syncfs.
9510 * sysdeps/unix/syscalls.list: Add syncfs.
9512 2011-04-01 Andreas Schwab <schwab@redhat.com>
9514 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9521 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9524 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9528 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9530 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9534 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9535 sync_file_range.c with -fexceptions.
9536 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9537 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9538 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9539 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9540 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9541 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9543 sync_file_range as cancellation point
9544 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9545 now a wrapper around __call_sync_file_range with cancellation handling.
9546 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9547 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9548 function name to __call_sync_file_range.
9549 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9550 Add call_sync_file_range.
9552 2011-04-01 Andreas Schwab <schwab@redhat.com>
9554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9557 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9559 * iconv/iconv.h: Fix typo in comment.
9560 * io/fcntl.h: Likewise.
9561 * libio/stdio.h: Likewise.
9562 * posix/spawn.h: Likewise.
9563 * posix/unistd.h: Likewise.
9564 * stdlib/stdlib.h: Likewise.
9565 * time/time.h: Likewise.
9566 * wcsmbs/wchar.h: Likewise.
9568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9569 open_by_handle): Add.
9570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9571 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9572 Augment a few comments.
9573 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9578 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9581 * io/fcntl.h (AT_EMPTY_PATH): Define.
9583 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9585 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9586 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9587 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9589 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9590 * Versions.def: Add GLIBC_2.14.
9591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9594 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9596 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9598 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9600 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9603 * string/test-strncmp.c (do_page_test): New function.
9605 (test_main): Call check2.
9606 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9608 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9611 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9612 Handle cache information in CPU leaf 4.
9613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9615 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9618 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9619 character representation.
9620 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9622 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9624 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9625 END(__isnan) to END(__isnanf) to match function entry point/label
9626 EALIGN(__isnanf,...).
9628 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9630 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9632 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9635 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9636 copy from the symbol referenced in the relocation to initialize the
9638 Patch by Piotr Bury <pbury@goahead.com>.
9639 * elf/Makefile: Add rules to build and tst-unique3.
9640 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9641 * elf/tst-unique3.cc: New file.
9642 * elf/tst-unique3.h: New file.
9643 * elf/tst-unique3lib.cc: New file.
9644 * elf/tst-unique3lib2.cc: New file.
9646 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9648 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9650 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9651 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9654 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9656 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9657 to-be-loaded object along a path to loader is ld.so.
9659 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9660 Ulrich Drepper <drepper@gmail.com>
9662 * sysdeps/x86_64/memset.S: After aligning destination, code
9663 branches to different locations depending on the value of
9664 misalignment, when multiarch is enabled. Fix this.
9666 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9668 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9669 Set _x86_64_preferred_memory_instruction for AMD processsors.
9670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9671 Set bit_Prefer_SSE_for_memop for AMD processors.
9673 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9675 * libio/fmemopen.c (fmemopen): Optimize a bit.
9677 2011-03-03 Andreas Schwab <schwab@redhat.com>
9679 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9681 2011-03-03 Roland McGrath <roland@redhat.com>
9683 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9685 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9687 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9688 __bzero_ultra1 instead of __memset_ultra1.
9690 2011-02-23 Andreas Schwab <schwab@redhat.com>
9691 Ulrich Drepper <drepper@gmail.com>
9694 * include/link.h (struct link_map): Add l_orig_initfini.
9695 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9696 returning unsuccessfully.
9697 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9698 close of a file loaded at startup, restore the original l_initfini
9700 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9701 list, store the pointer.
9702 * elf/Makefile ($(objpfx)noload-mem): New rule.
9703 (noload-ENV): Define.
9704 (tests): Add $(objpfx)noload-mem.
9705 * elf/noload.c: Include <memcheck.h>.
9706 (main): Call mtrace. Close all opened handles.
9708 2011-02-17 Andreas Schwab <schwab@redhat.com>
9711 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9712 dependencies are missing.
9714 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9716 Fix __if_freereq crash: Unlike the generic version which uses free,
9718 * sysdeps/mach/hurd/ifreq.h: New file.
9720 2011-01-27 Petr Baudis <pasky@suse.cz>
9721 Ulrich Drepper <drepper@gmail.com>
9724 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9726 * stdio-common/bug23.c: New file.
9727 * stdio-common/Makefile (tests): Add bug23.
9729 2010-09-28 Andreas Schwab <schwab@redhat.com>
9730 Ulrich Drepper <drepper@gmail.com>
9733 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9734 before performing relro protection. At old place add assertion
9735 to make sure nothing changed.
9737 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9738 Glauber de Oliveira Costa <glommer@gmail.com>
9740 * elf/elf.h: Add new ARM TLS relocs.
9742 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9745 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9747 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9749 * sysdeps/wordsize-64/tst-writev.c: New file.
9751 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9753 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9754 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9755 insns in _dl_start to prevent a TOC reference before relocs are
9758 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9761 * Makeconfig: Remove RANLIB definition.
9762 * Makerules: Don't use RANLIB.
9763 * aclocal.m4: Remove ranlib test.
9764 * configure.in: No need to check for ranlib.
9765 * elf/rtld-Rules: Don't use RANLIB.
9767 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9769 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9771 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9772 inclusion protection macro.
9774 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9775 SIGRTMIN and SIGRTMAX and print information in that case only when
9776 SIGRTMIN is defined.
9778 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9780 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9781 arginfo fn returning -1.
9783 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9784 and thousands string is zero terminated.
9786 2011-02-03 Andreas Schwab <schwab@redhat.com>
9788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9789 sysdeps/unix/sysv/linux/bits/socket.h.
9791 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9793 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9794 (__CPU_COUNT): Remove old macros.
9795 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9796 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9797 (__CPU_ALLOC, __CPU_FREE): Add macros.
9798 (__sched_cpualloc, __sched_cpufree): Add declarations.
9800 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9802 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9803 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9804 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9805 (readdhstai): Return value of addhstaiX call.
9806 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9807 (addgrbyX): Return value returned by cache_addgr.
9808 (readdgrbyname): Return value returned by addgrbyX.
9809 (readdgrbygid): Likewise.
9810 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9811 (addpwbyX): Return value returned by cache_addpw.
9812 (readdpwbyname): Return value returned by addhstbyX.
9813 (readdpwbyuid): Likewise.
9814 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9815 (addservbyX): Return value returned by cache_addserv.
9816 (readdservbyname): Return value returned by addservbyX:
9817 (readdservbyport): Likewise.
9818 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9819 (addhstbyX): Return value returned by cache_addhst.
9820 (readdhstbyname): Return value returned by addhstbyX.
9821 (readdhstbyaddr): Likewise.
9822 (readdhstbynamev6): Likewise.
9823 (readdhstbyaddrv6): Likewise.
9824 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9825 (readdinitgroups): Return value returned by addinitgroupsX.
9826 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9827 (prune_cache): Keep track of timeout value of re-added entries.
9828 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9829 * nscd/nscd.h: Adjust prototypes of readd* functions.
9831 2011-02-04 Roland McGrath <roland@redhat.com>
9833 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9834 (nis_stats): Likewise.
9835 * nis/nis_modify.c (nis_modify): Likewise.
9836 * nis/nis_remove.c (nis_remove): Likewise.
9837 * nis/nis_add.c (nis_add): Likewise.
9839 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9841 * posix/fnmatch_loop.c: Add some consts.
9843 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9845 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9848 * config.make.in (config-cflags-novzeroupper): Define.
9849 * configure.in: Substitute libc_cv_cc_novzeroupper.
9850 * elf/Makefile (AVX-CFLAGS): Define.
9851 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9852 (CFLAGS-tst-auditmod4a.c): Likewise.
9853 (CFLAGS-tst-auditmod4b.c): Likewise.
9854 (CFLAGS-tst-auditmod6b.c): Likewise.
9855 (CFLAGS-tst-auditmod6c.c): Likewise.
9856 (CFLAGS-tst-auditmod7b.c): Likewise.
9857 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9859 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9861 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9862 function to the callback.
9863 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9865 2011-02-02 Andreas Schwab <schwab@redhat.com>
9867 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9870 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9873 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9875 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9877 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9880 * elf/Makefile: Add rules to build and run new test.
9881 * elf/tst-initorder.c: New file.
9882 * elf/tst-initorder.exp: New file.
9883 * elf/tst-initordera1.c: New file.
9884 * elf/tst-initordera2.c: New file.
9885 * elf/tst-initordera3.c: New file.
9886 * elf/tst-initordera4.c: New file.
9887 * elf/tst-initorderb1.c: New file.
9888 * elf/tst-initorderb2.c: New file.
9889 * elf/tst-order-a1.c: New file.
9890 * elf/tst-order-a2.c: New file.
9891 * elf/tst-order-a3.c: New file.
9892 * elf/tst-order-a4.c: New file.
9893 * elf/tst-order-b1.c: New file.
9894 * elf/tst-order-b2.c: New file.
9895 * elf/tst-order-main.c: New file.
9896 New test case by George Gensure <werkt0@gmail.com>.
9898 2010-10-01 Andreas Schwab <schwab@redhat.com>
9900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9901 decoding ACE if AI_CANONIDN.
9903 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9905 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9907 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9909 * version.h (RELEASE): Bump for 2.13 release.
9910 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9912 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9914 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9916 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9920 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9923 * posix/getconf.c: Update copyright year.
9924 * catgets/gencat.c: Likewise.
9925 * csu/version.c: Likewise.
9926 * debug/catchsegv.sh: Likewise.
9927 * debug/xtrace.sh: Likewise.
9928 * elf/ldconfig.c: Likewise.
9929 * elf/ldd.bash.in: Likewise.
9930 * elf/sprof.c (print_version): Likewise.
9931 * iconv/iconv_prog.c: Likewise.
9932 * iconv/iconvconfig.c: Likewise.
9933 * locale/programs/locale.c: Likewise.
9934 * locale/programs/localedef.c: Likewise.
9935 * malloc/memusage.sh: Likewise.
9936 * malloc/mtrace.pl: Likewise.
9937 * nscd/nscd.c (print_version): Likewise.
9938 * nss/getent.c: Likewise.
9940 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9941 PF_CAIF, and PF_ALG.
9942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9944 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9946 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9947 (modules-names): Use them.
9948 (ifunc-test-modules, ifunc-pie-tests): Define.
9949 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9950 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9951 (test-extras): Likewise.
9952 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9953 $(compile-command.c).
9954 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9955 (all-built-dso): Define.
9956 (check-textrel.out, check-execstack.out): Depend on it.
9958 * configure.in: Don't override --enable-multi-arch.
9960 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9963 * nscd/hstcache.c (tryagain): Define.
9964 (cache_addhst): Return tryagain not notfound for temporary errors.
9965 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9968 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9971 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9972 to make the syscall.
9973 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9976 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9977 and fall back to matching as normal character if the string ends before
9978 the matching ']' is found. This is what POSIX requires.
9979 * posix/testfnm.c: Adjust test result.
9980 * posix/globtest.sh: Adjust test result. Add new test.
9981 * posix/tst-fnmatch.input: Likewise.
9982 * posix/tst-fnmatch2.c: Add new test.
9984 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9986 * elf/Makefile (check-execstack): Revert last change. Depend on
9988 (check-execstack.h): New target.
9989 (generated): Add check-execstack.h.
9990 * elf/check-execstack.c: Include "check-execstack.h".
9991 (main): Revert last change.
9992 (handle_file): Return zero if GNU_STACK is absent and
9993 DEFAULT_STACK_PERMS doesn't include PF_X.
9995 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9997 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9998 in child fails because the descriptor is already closed.
9999 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10000 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10001 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10004 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10008 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10009 temporary buffer used to handle multi lookups locally.
10010 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10012 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10014 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10017 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10019 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10020 alignment for SSE2.
10022 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10025 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10026 characters. When rounding increased number of integer digits recompute
10028 * stdio-common/tst-grouping.c: New file.
10029 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10031 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10033 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10034 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10036 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10038 * bits/select.h: Likewise.
10040 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10042 * po/ja.po: Update from translation team.
10044 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10048 implementation just like for lxstat, fxstatat, et al.
10050 2010-12-27 Jim Meyering <meyering@redhat.com>
10053 * posix/regexec.c (build_trtable): Return failure indication upon
10054 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10056 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10059 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10060 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10061 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10062 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10065 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10068 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10069 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10071 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10073 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10074 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10075 script has SORT_BY_INIT_PRIORITY.
10076 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10077 NO_CTORS_DTORS_SECTIONS is defined.
10078 * elf/soinit.c: Likewise.
10079 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10080 NO_CTORS_DTORS_SECTIONS is defined.
10081 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10082 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10083 * sysdeps/sh/init-first.c: Likewise.
10084 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10086 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10088 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10089 always use the slow path.
10091 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10093 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10094 similar rule which adds the sysdep directories to the header search in
10095 order to pick up the correct platform stackinfo.h.
10096 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10097 perform test if it is, otherwise return successfully without testing.
10098 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10099 DEFAULT_STACK_PERMS define in stackinfo.h.
10100 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10101 defined in stackinfo.h.
10102 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10103 DEFAULT_STACK_PERMS defined in stackinfo.h.
10104 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10105 * sysdeps/ia64/stackinfo.h: Likewise.
10106 * sysdeps/s390/stackinfo.h: Likewise.
10107 * sysdeps/sh/stackinfo.h: Likewise.
10108 * sysdeps/sparc/stackinfo.h: Likewise.
10109 * sysdeps/x86_64/stackinfo.h: Likewise.
10110 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10111 PF_X for powerpc64. Retain PF_X for powerpc32.
10113 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10115 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10118 GETDENTS_64BIT_ALIGNED.
10120 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10122 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10124 2010-12-10 Andreas Schwab <schwab@redhat.com>
10126 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10129 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10130 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10132 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10133 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10135 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10138 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10141 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10143 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10145 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10147 * po/it.po: Update from translation team.
10149 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10154 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10156 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10158 2010-11-24 Andreas Schwab <schwab@redhat.com>
10160 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10162 (gaih_getanswer_slice): Likewise.
10164 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10168 2010-05-31 Petr Baudis <pasky@suse.cz>
10171 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10172 silently even in the chroot mode.
10174 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10176 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10177 last patch a bit. Pretty printing
10179 2010-05-31 Petr Baudis <pasky@suse.cz>
10182 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10183 initialization of skip_initgroups_dyn.
10185 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10190 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10192 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10194 2010-11-11 Andreas Schwab <schwab@redhat.com>
10196 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10197 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10198 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10199 ($(objpfx)tst-fnmatch-mem): New rule.
10200 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10201 * posix/tst-fnmatch.c (main): Call mtrace.
10203 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10206 Support Intel processor model 6 and model 0x2c.
10208 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10210 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10213 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10216 * string/test-strncasecmp.c (check_result): New function.
10217 (do_one_test): Use it.
10218 (check1): New function.
10219 (test_main): Use it.
10220 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10221 Support strcasecmp and strncasecmp.
10223 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10226 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10229 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10231 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10235 * sysdeps/x86_64/multiarch/bzero.S: New file.
10236 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10237 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10238 * sysdeps/x86_64/multiarch/memset.S: New file.
10239 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10241 Set bit_Prefer_SSE_for_memop for Intel processors.
10242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10244 (index_Prefer_SSE_for_memop): Define.
10245 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10247 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10249 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10250 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10252 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10255 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10256 (__x86_64_raw_data_cache_size_half): Likewise.
10257 (__x86_64_raw_shared_cache_size): Likewise.
10258 (__x86_64_raw_shared_cache_size_half): Likewise.
10260 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10261 (__x86_64_raw_data_cache_size_half): Likewise.
10262 (__x86_64_raw_shared_cache_size): Likewise.
10263 (__x86_64_raw_shared_cache_size_half): Likewise.
10264 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10265 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10266 and __x86_64_raw_shared_cache_size_half. Round
10267 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10268 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10269 to multiple of 256 bytes.
10271 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10275 of inacessible symlinks. Verify result of symlink before returning it.
10276 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10277 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10279 2010-10-28 Erich Ritz <erichritz@gmail.com>
10281 * math/math.h (isinf): Fix typo in comment.
10283 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10285 * po/da.po: Update from translation team.
10287 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10289 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10290 is added to the list.
10292 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10293 Ulrich Drepper <drepper@gmail.com>
10295 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10296 the global list here. Move code to...
10297 (_dl_add_to_namespace_list): ...here. New function.
10298 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10299 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10300 * elf/dl-load.c (lose): Don't remove the element from the list.
10301 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10302 (_dl_map_object): Likewise.
10304 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10307 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10308 into all bytes of SSE register.
10309 Patch by Richard Li <richardpku@gmail.com>.
10311 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10314 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10317 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10319 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10320 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10321 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10327 2010-10-22 Andreas Schwab <schwab@redhat.com>
10329 * include/dlfcn.h (__RTLD_SECURE): Define.
10330 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10331 mode & __RTLD_SECURE instead.
10332 (open_path): Rename preloaded parameter to secure.
10333 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10334 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10335 * elf/dl-deps.c (openaux): Likewise.
10336 * elf/rtld.c (struct map_args): Remove is_preloaded.
10337 (map_doit): Don't use it.
10338 (dl_main): Likewise.
10339 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10340 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10342 2010-09-09 Andreas Schwab <schwab@redhat.com>
10344 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10345 (sysd-rules-targets): Remove duplicates.
10346 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10347 rtld-%.$o dependency.
10349 2010-10-18 Andreas Schwab <schwab@redhat.com>
10351 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10352 _dl_map_object do it.
10354 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10356 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10357 fast fma builtins, define the macros in the C99 standard.
10358 (FP_FAST_FMAF): Likewise.
10359 (FP_FAST_FMAL): Likewise.
10360 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10362 * bits/mathdef.h: Update copyright year.
10363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10365 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10367 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10368 builtins, define the macros in the C99 standard.
10369 (FP_FAST_FMAF): Likewise.
10370 (FP_FAST_FMAL): Likewise.
10371 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10373 (FP_FAST_FMAF): Likewise.
10375 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10378 * math/libm-test.inc (fma_test): Some new testcases.
10379 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10381 y and infinite z. Do multiplication by C already in long double.
10382 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10384 y and infinite z. Do bitwise or of inexact bit into u.d.
10385 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10386 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10387 * sysdeps/i386/fpu/s_fma.S: Removed.
10388 * sysdeps/i386/fpu/s_fmal.S: Removed.
10390 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10393 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10395 computation is not scheduled after fetestexcept. Fix value
10396 of minimum denormal long double.
10398 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10401 * math/libm-test.inc (fma_test): Add some more tests.
10402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10405 2010-10-15 Andreas Schwab <schwab@redhat.com>
10407 * scripts/data/localplt-s390-linux-gnu.data: New file.
10408 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10410 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10413 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10414 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10416 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10418 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10420 if one of x and y is very large and the other is subnormal.
10421 * sysdeps/s390/fpu/s_fmaf.c: New file.
10422 * sysdeps/s390/fpu/s_fma.c: New file.
10423 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10424 * sysdeps/powerpc/fpu/s_fma.S: New file.
10425 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10426 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10427 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10429 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10432 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10435 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10436 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10437 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10438 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10439 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10442 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10445 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10446 * posix/bug-regex31.input: Add test case.
10448 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10450 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10451 * posix/bug-regex31.input: New file.
10454 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10455 (parse_sub_exp): Fix last change, use postorder.
10457 * posix/bug-regex31.c: New file.
10458 * posix/Makefile: Add rules to build and run bug-regex31.
10460 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10463 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10466 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10467 to have entries in sys_siglist.
10470 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10473 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10476 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10477 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10478 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10479 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10481 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10482 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10483 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10484 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10485 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10486 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10487 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10488 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10489 * math/ftestexcept.c (fetestexcept): Likewise.
10490 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10491 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10492 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10493 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10494 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10495 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10496 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10498 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10501 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10504 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10506 * string/bug-strstr1.c: New file.
10507 * string/Makefile: Add rules to build and run bug-strstr1.
10509 2010-10-05 Eric Blake <eblake@redhat.com>
10512 * string/str-two-way.h (two_way_long_needle): Always clear memory
10513 when skipping input due to the shift table.
10515 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10518 * malloc/mcheck.c: Handle large requests.
10521 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10522 for strncmp and strncasecmp.
10523 * string/stratcliff.c: Add tests for strcmp and strncmp.
10524 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10526 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10528 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10531 2010-09-30 Andreas Jaeger <aj@suse.de>
10533 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10534 (CGROUP_SUPER_MAGIC): Define.
10535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10536 Handle btrfs and cgroup file systems.
10537 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10540 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10542 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10543 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10545 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10548 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10549 trying to locate the ELF header.
10551 2010-09-27 Andreas Schwab <schwab@redhat.com>
10554 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10555 Mask out sign-bit copies when constructing f_fsid.
10557 2010-09-24 Petr Baudis <pasky@suse.cz>
10559 * debug/stack_chk_fail_local.c: Add missing licence exception.
10560 * debug/warning-nop.c: Likewise.
10562 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10564 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10565 implementing getdents64 using getdents syscall, set d_type if
10566 __ASSUME_GETDENTS32_D_TYPE.
10568 2010-09-16 Andreas Schwab <schwab@redhat.com>
10570 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10571 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10573 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10576 * posix/unistd.h: Undo change of feature selection for ftruncate from
10579 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10581 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10584 2010-09-20 Andreas Schwab <schwab@redhat.com>
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10588 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10590 2010-09-14 Andreas Schwab <schwab@redhat.com>
10592 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10593 variables after CHECK_SP call.
10594 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10596 2010-09-13 Andreas Schwab <schwab@redhat.com>
10597 Ulrich Drepper <drepper@redhat.com>
10599 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10600 re-relocationg ld.so.
10601 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10602 _dl_init_paths call.
10603 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10606 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10608 * resolv/res_init.c (__res_vinit): Count the default server we added.
10610 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10611 Ulrich Drepper <drepper@redhat.com>
10614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10615 (____longjmp_chk): Use %ebx for saving value across system call.
10618 2010-09-06 Andreas Schwab <schwab@redhat.com>
10620 * manual/Makefile: Don't mix pattern rules with normal rules.
10622 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10624 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10626 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10627 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10628 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10629 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10633 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10636 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10637 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10639 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10641 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10642 * sysdeps/x86_64/addmul_1.S: Likewise.
10643 * sysdeps/x86_64/lshift.S: Likewise.
10644 * sysdeps/x86_64/mul_1.S: Likewise.
10645 * sysdeps/x86_64/rshift.S: Likewise.
10646 * sysdeps/x86_64/sub_n.S: Likewise.
10647 * sysdeps/x86_64/submul_1.S: Likewise.
10649 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10651 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10652 Define __sched_param instead of SCHED_* and sched_param when
10653 <bits/sched.h> is included with __need_schedparam defined.
10654 * bits/sched.h [__need_schedparam]
10655 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10656 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10657 (__defined_schedparam): Define to 1.
10658 (__sched_param): New structure, identical to sched_param.
10659 (__need_schedparam): Undefine.
10661 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10664 (epoll_create1): Declare.
10666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10668 2010-08-31 Andreas Schwab <schwab@redhat.com>
10671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10672 shifting retval into place.
10674 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10676 * nis/rpcsvc/nis.h: Update copyright notice.
10677 * nis/rpcsvc/nis.x: Likewise.
10678 * nis/rpcsvc/nis_callback.h: Likewise.
10679 * nis/rpcsvc/nis_callback.x: Likewise.
10680 * nis/rpcsvc/nis_object.x: Likewise.
10681 * nis/rpcsvc/nis_tags.h: Likewise.
10682 * nis/rpcsvc/yp.h: Likewise.
10683 * nis/rpcsvc/yp.x: Likewise.
10684 * nis/rpcsvc/ypupd.h: Likewise.
10685 * nis/yp_xdr.c: Likewise.
10686 * nis/ypupdate_xdr.c: Likewise.
10688 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10689 mainly the body of pmap_getport. Add parameters to specify timeouts.
10690 (pmap_getport): Use __libc_rpc_getport.
10691 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10692 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10693 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10695 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10700 2010-08-27 Roland McGrath <roland@redhat.com>
10702 * sysdeps/i386/i686/multiarch/Makefile
10703 (CFLAGS-varshift.c): New variable.
10705 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10707 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10708 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10712 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10714 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10716 * sysdeps/x86_64/strlen.S: Unroll the loop.
10717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10718 strlen-sse2 strlen-sse2-bsf.
10719 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10720 __strlen_no_bsf if bit_Slow_BSF is set.
10721 (__strlen_sse42): Removed.
10722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10723 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10725 2010-08-25 Roland McGrath <roland@redhat.com>
10727 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10728 * sysdeps/x86_64/multiarch/varshift.c: New file.
10729 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10730 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10731 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10732 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10734 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10737 strlen-sse2 strlen-sse2-bsf.
10738 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10739 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10740 (__strlen_sse2): Removed.
10741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10744 bit_Slow_BSF for Atom.
10745 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10746 (index_Slow_BSF): Define.
10747 (HAS_SLOW_BSF): Define.
10749 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10752 * resolv/res_init.c (__res_vinit): When no server address at all
10753 is given default to loopback.
10755 2010-08-24 Roland McGrath <roland@redhat.com>
10757 * configure.in: Remove config-name.h generation.
10758 * configure: Regenerated.
10759 * config-name.in: File removed.
10760 * scripts/config-uname.sh: New file.
10761 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10762 ($(objdir)config-name.h): New target.
10764 * sunrpc/rpc_parse.h: Avoid nested comment.
10766 2010-08-24 Richard Henderson <rth@redhat.com>
10767 Ulrich Drepper <drepper@redhat.com>
10768 H.J. Lu <hongjiu.lu@intel.com>
10770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10772 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10773 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10774 _mm_alignr_epi8 with _mm_loadu_si128.
10775 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10776 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10777 (__m128i_shift_right): Removed.
10778 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10779 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10780 * sysdeps/x86_64/multiarch/varshift.h: New file.
10781 * sysdeps/x86_64/multiarch/varshift.S: New file.
10783 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10785 * configure.in: Move assembler checks to before sysdep dir checking.
10787 2010-08-20 Petr Baudis <pasky@suse.cz>
10789 * LICENSES: Sync the sunrpc license.
10791 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10793 * sunrpc/auth_des.c: Update copyright notice once again.
10794 * sunrpc/auth_none.c: Likewise.
10795 * sunrpc/auth_unix.c: Likewise.
10796 * sunrpc/authdes_prot.c: Likewise.
10797 * sunrpc/authuxprot.c: Likewise.
10798 * sunrpc/bindrsvprt.c: Likewise.
10799 * sunrpc/clnt_gen.c: Likewise.
10800 * sunrpc/clnt_perr.c: Likewise.
10801 * sunrpc/clnt_raw.c: Likewise.
10802 * sunrpc/clnt_simp.c: Likewise.
10803 * sunrpc/clnt_tcp.c: Likewise.
10804 * sunrpc/clnt_udp.c: Likewise.
10805 * sunrpc/clnt_unix.c: Likewise.
10806 * sunrpc/des_crypt.c: Likewise.
10807 * sunrpc/des_soft.c: Likewise.
10808 * sunrpc/get_myaddr.c: Likewise.
10809 * sunrpc/getrpcport.c: Likewise.
10810 * sunrpc/key_call.c: Likewise.
10811 * sunrpc/key_prot.c: Likewise.
10812 * sunrpc/openchild.c: Likewise.
10813 * sunrpc/pm_getmaps.c: Likewise.
10814 * sunrpc/pm_getport.c: Likewise.
10815 * sunrpc/pmap_clnt.c: Likewise.
10816 * sunrpc/pmap_prot.c: Likewise.
10817 * sunrpc/pmap_prot2.c: Likewise.
10818 * sunrpc/pmap_rmt.c: Likewise.
10819 * sunrpc/rpc/auth.h: Likewise.
10820 * sunrpc/rpc/auth_unix.h: Likewise.
10821 * sunrpc/rpc/clnt.h: Likewise.
10822 * sunrpc/rpc/des_crypt.h: Likewise.
10823 * sunrpc/rpc/key_prot.h: Likewise.
10824 * sunrpc/rpc/netdb.h: Likewise.
10825 * sunrpc/rpc/pmap_clnt.h: Likewise.
10826 * sunrpc/rpc/pmap_prot.h: Likewise.
10827 * sunrpc/rpc/pmap_rmt.h: Likewise.
10828 * sunrpc/rpc/rpc.h: Likewise.
10829 * sunrpc/rpc/rpc_des.h: Likewise.
10830 * sunrpc/rpc/rpc_msg.h: Likewise.
10831 * sunrpc/rpc/svc.h: Likewise.
10832 * sunrpc/rpc/svc_auth.h: Likewise.
10833 * sunrpc/rpc/types.h: Likewise.
10834 * sunrpc/rpc/xdr.h: Likewise.
10835 * sunrpc/rpc_clntout.c: Likewise.
10836 * sunrpc/rpc_cmsg.c: Likewise.
10837 * sunrpc/rpc_common.c: Likewise.
10838 * sunrpc/rpc_cout.c: Likewise.
10839 * sunrpc/rpc_dtable.c: Likewise.
10840 * sunrpc/rpc_hout.c: Likewise.
10841 * sunrpc/rpc_main.c: Likewise.
10842 * sunrpc/rpc_parse.c: Likewise.
10843 * sunrpc/rpc_parse.h: Likewise.
10844 * sunrpc/rpc_prot.c: Likewise.
10845 * sunrpc/rpc_sample.c: Likewise.
10846 * sunrpc/rpc_scan.c: Likewise.
10847 * sunrpc/rpc_scan.h: Likewise.
10848 * sunrpc/rpc_svcout.c: Likewise.
10849 * sunrpc/rpc_tblout.c: Likewise.
10850 * sunrpc/rpc_util.c: Likewise.
10851 * sunrpc/rpc_util.h: Likewise.
10852 * sunrpc/rpcinfo.c: Likewise.
10853 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10854 * sunrpc/rpcsvc/key_prot.x: Likewise.
10855 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10856 * sunrpc/rpcsvc/mount.x: Likewise.
10857 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10858 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10859 * sunrpc/rpcsvc/rex.x: Likewise.
10860 * sunrpc/rpcsvc/rstat.x: Likewise.
10861 * sunrpc/rpcsvc/rusers.x: Likewise.
10862 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10863 * sunrpc/rpcsvc/spray.x: Likewise.
10864 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10865 * sunrpc/rtime.c: Likewise.
10866 * sunrpc/svc.c: Likewise.
10867 * sunrpc/svc_auth.c: Likewise.
10868 * sunrpc/svc_authux.c: Likewise.
10869 * sunrpc/svc_raw.c: Likewise.
10870 * sunrpc/svc_run.c: Likewise.
10871 * sunrpc/svc_simple.c: Likewise.
10872 * sunrpc/svc_tcp.c: Likewise.
10873 * sunrpc/svc_udp.c: Likewise.
10874 * sunrpc/svc_unix.c: Likewise.
10875 * sunrpc/svcauth_des.c: Likewise.
10876 * sunrpc/xcrypt.c: Likewise.
10877 * sunrpc/xdr.c: Likewise.
10878 * sunrpc/xdr_array.c: Likewise.
10879 * sunrpc/xdr_float.c: Likewise.
10880 * sunrpc/xdr_mem.c: Likewise.
10881 * sunrpc/xdr_rec.c: Likewise.
10882 * sunrpc/xdr_ref.c: Likewise.
10883 * sunrpc/xdr_sizeof.c: Likewise.
10884 * sunrpc/xdr_stdio.c: Likewise.
10886 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10889 2010-08-19 Andreas Schwab <schwab@redhat.com>
10891 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10893 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10895 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10897 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10898 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10900 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10902 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10904 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10905 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10907 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10908 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10910 2010-07-26 Anton Blanchard <anton@samba.org>
10912 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10913 * malloc/arena.c (heap_trim): Likewise.
10915 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10917 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10920 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10922 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10924 * sysdeps/i386/elf/Makefile: New file.
10926 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10928 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10929 from fanotify_init.
10930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10933 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10935 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10937 * sysdeps/multiarch/strcmp.S: Likewise.
10939 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10941 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10942 strncase_l-nonascii.
10943 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10944 Add strncase_l-ssse3.
10945 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10946 * sysdeps/x86_64/strcmp.S: Likewise.
10947 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10948 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10949 * sysdeps/x86_64/strncase.S: New file.
10950 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10951 * sysdeps/x86_64/strncase_l.S: New file.
10952 * string/Makefile (strop-tests): Add strncasecmp.
10953 * string/test-strncasecmp.c: New file.
10955 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10958 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10959 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10961 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10963 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10965 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10967 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10971 2010-05-01 Alan Modra <amodra@gmail.com>
10973 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10974 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10975 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10976 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10977 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10978 tidying. Don't tail-call __sigjmp_save for static lib.
10979 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10981 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10982 (CALL_MCOUNT): Add eh info, and nop after bl.
10983 (TAIL_CALL_SYSCALL_ERROR): New macro.
10984 (PSEUDO_RET): Use it.
10985 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10986 Correct save location of integer regs and cr.
10987 (_dl_profile_resolve): Correct cr save location. Delete nops
10988 after bl when SHARED. Reduce cfi size a little by better
10989 placement of cfi directives.
10990 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10991 make a stack frame. Instead use parm save area as a temp.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10993 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10995 Don't make a stack frame for parent, use parm save area.
10996 Increase child stack frame to 112 bytes. Don't save unused reg,
10997 and adjust reg usage. Set up cfi on error recovery and
10998 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11000 (__makecontext): Add dummy nop after jump to exit.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11002 Use correct parm save area and cr save, reduce stack frame.
11003 Correct cfi for possible PSEUDO_RET frame setup.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11005 Branch to local label emitted by PSEUDO_RET rather than
11008 2010-08-12 Andreas Schwab <schwab@redhat.com>
11011 * locale/programs/locale.c (print_assignment): New function.
11012 (show_locale_vars): Use it.
11014 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11016 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11018 (struct statfs64): Likewise.
11019 (_STATFS_F_FLAGS): Define.
11020 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11022 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11023 (ST_VALID): Define locally.
11024 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11025 __statvfs_getflags, use the provided value.
11026 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11027 __ASSUME_STATFS_F_FLAGS.
11029 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11031 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11032 Add sys/fanotify.h.
11033 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11034 fanotify_mask for GLIBC_2.13.
11035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11036 fanotify_init and fanotify_mark.
11037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11038 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11040 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11042 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11043 prlimit64 for GLIBC_2.13.
11044 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11050 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11051 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11054 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11057 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11058 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11060 * nss/Makefile: Add rules to build and run tst-nss-test1.
11061 * shlib-versions: Add entry for libnss_test1.
11062 * nss/nss_test1.c: New file.
11063 * nss/tst-nss-test1.c: New file.
11065 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11066 (__nss_configure_lookup): Set appropriate entry in
11067 __nss_configure_lookup to true.
11068 * nss/nsswitch.h: Define enum with indeces of databases in
11069 databases and __nss_database_custom arrays. Declare
11070 __nss_database_custom.
11071 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11072 to avoid using nscd when custom rules are installed.
11073 * nss/getXXbyYY_r.c: Likewise.
11074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11076 * nss/nss_files/files-parse.c: Whitespace fixes.
11078 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11081 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11082 * posix/fnmatch_loop.c: Likewise.
11084 2010-07-17 Andi Kleen <ak@linux.intel.com>
11086 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11087 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11088 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11089 * Versions.def [GLIBC_2.13]: Add.
11091 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11093 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11094 Also fail if tpwd after pwuid call is NULL.
11096 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11098 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11099 when converting to ms.
11101 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11103 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11104 EOPNOTSUPP errors with ENOTTY.
11105 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11106 EOPNOTSUPP errors with ENOTTY.
11108 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11110 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11111 Add strcasecmp_l-ssse3.
11112 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11114 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11115 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11116 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11118 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11120 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11122 * string/Makefile (strop-tests): Add strcasecmp.
11123 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11124 strcasecmp_l-nonascii.
11125 (gen-as-const-headers): Add locale-defines.sym.
11126 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11127 * sysdeps/x86_64/strcasecmp.S: New file.
11128 * sysdeps/x86_64/strcasecmp_l.S: New file.
11129 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11130 * sysdeps/x86_64/locale-defines.sym: New file.
11131 * string/test-strcasecmp.c: New file.
11133 * string/test-strcasestr.c: Test both ends of the range of characters.
11134 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11136 2010-07-29 Roland McGrath <roland@redhat.com>
11139 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11141 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11143 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11146 2010-07-27 Andreas Schwab <schwab@redhat.com>
11148 * manual/memory.texi (Malloc Tunable Parameters): Document
11151 2010-07-26 Roland McGrath <roland@redhat.com>
11154 * configure.in (-fgnu89-inline check): Set and substitute
11155 gnu89_inline, not libc_cv_gnu89_inline.
11156 * configure: Regenerated.
11157 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11159 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11161 * string/test-strnlen.c: New file.
11162 * string/Makefile (strop-tests): Add strnlen.
11163 * string/tester.c (test_strnlen): Add a few more test cases.
11164 * string/tst-strlen.c: Better error reporting.
11166 * sysdeps/x86_64/strnlen.S: New file.
11168 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11170 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11171 lower-latency instructions.
11173 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11175 * string/test-strcasestr.c: New file.
11176 * string/test-strstr.c: New file.
11177 * string/Makefile (strop-tests): Add strstr and strcasestr.
11178 * string/str-two-way.h: Don't undefine MAX.
11179 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11181 2010-07-21 Andreas Schwab <schwab@redhat.com>
11183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11184 strcasestr-nonascii.
11185 (CFLAGS-strcasestr-nonascii.c): Define.
11186 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11188 Remove unused attribute.
11190 2010-07-20 Roland McGrath <roland@redhat.com>
11192 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11193 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11194 ld.so.cache was broken. With it, there is no way to disable dsocaps
11195 like LD_HWCAP_MASK can disable hwcaps.
11197 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11199 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11201 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11203 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11204 call in strcasestr.
11205 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11206 __strcasestr_sse42_nonascii.
11207 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11208 strcasestr-nonascii.c.
11209 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11211 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11213 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11214 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11216 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11218 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11223 2010-07-06 Andreas Schwab <schwab@redhat.com>
11226 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11229 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11231 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11232 _PC_PIPE_BUF using F_GETPIPE_SZ.
11234 2010-07-05 Roland McGrath <roland@redhat.com>
11236 * manual/arith.texi (Rounding Functions): Fix rint description
11237 implicit in round description.
11239 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11241 * elf/Makefile: Fix linking for a few tests to make recent linker
11244 2010-06-30 Andreas Schwab <schwab@redhat.com>
11246 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11247 $(common-objpfx)libc_nonshared.a.
11249 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11251 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11252 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11253 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11254 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11255 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11257 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11258 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11273 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11274 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11275 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11276 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11277 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11278 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11279 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11280 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11281 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11282 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11283 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11284 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11300 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11302 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11303 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11304 * string/memmove.c (memmove): Renamed to ...
11305 (MEMMOVE): ...this. Default to memmove.
11306 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11307 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11310 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11311 mempcpy-ssse3-back memmove-ssse3-back.
11312 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11315 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11316 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11317 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11318 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11319 * sysdeps/x86_64/multiarch/memmove.c: New file.
11320 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11321 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11322 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11323 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11324 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11327 (index_Fast_Copy_Backward): Define.
11328 (HAS_ARCH_FEATURE): Define.
11329 (HAS_FAST_REP_STRING): Define.
11330 (HAS_FAST_COPY_BACKWARD): Define.
11332 2010-06-21 Andreas Schwab <schwab@redhat.com>
11334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11335 Restore proper fallback handling.
11337 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11340 * posix/group_member.c (__group_member): Correct checking loop.
11342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11343 OOM in getpwuid_r correctly. Return error number when the caller
11344 should return, otherwise -1.
11345 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11346 call returning > 0 value.
11347 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11349 2010-06-07 Andreas Schwab <schwab@redhat.com>
11351 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11352 libc_nonshared.a from targets in modules-names.
11354 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11356 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11359 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11361 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11362 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11366 2010-06-02 Andreas Schwab <schwab@redhat.com>
11368 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11370 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11372 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11379 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11381 2010-06-14 Roland McGrath <roland@redhat.com>
11383 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11385 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11387 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11388 __REDIRECT followed by __THROW.
11389 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11390 * posix/getopt.h (getopt): Likewise.
11392 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11394 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11395 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11396 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11398 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11399 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11401 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11403 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11405 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11409 Properly check family and model.
11411 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11413 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11415 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11417 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11419 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11421 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11424 2010-05-19 Andreas Schwab <schwab@redhat.com>
11426 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11429 2010-05-21 Andreas Schwab <schwab@redhat.com>
11431 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11432 and internal_recvmmsg.
11433 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11434 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11436 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11438 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11439 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11440 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11442 2010-05-20 Andreas Schwab <schwab@redhat.com>
11444 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11446 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11448 POWER7 optimizations.
11449 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11450 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11452 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11454 * version.h: Update for 2.13 development version.
11456 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11458 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11459 exceptions. Return 0.
11461 2010-05-07 Roland McGrath <roland@redhat.com>
11463 * elf/ldconfig.c (main): Add a const.
11465 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11467 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11468 (args_options): Add no-idn option.
11469 (ahosts_keys_int): Add idn_flags to ai_flags.
11470 (parse_option): Handle 'i' option to clear idn_flags.
11472 * malloc/malloc.c (_int_free): Possible race in the most recently
11473 added check. Only act on the data if no current modification
11476 See ChangeLog.17 for earlier changes.