1 2012-04-08 Andreas Jaeger <aj@suse.de>
4 * manual/filesys.texi (Directory Entries): Clarify that it's file
5 system not operating system in the description of DT_UNKNOWN.
8 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10 2012-04-08 Stephen Compall <s11@member.fsf.org>
13 * manual/llio.texi (Opening and Closing Files): Add cross
14 reference to explain mode argument.
16 2012-04-07 Mike Frysinger <vapier@gentoo.org>
18 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19 * sysdeps/x86_64/memset_chk.S: Likewise.
21 2012-04-07 David S. Miller <davem@davemloft.net>
23 * elf/elf.h (R_SPARC_WDISP10): Define.
24 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27 R_SPARC_SIZE64 and R_SPARC_H34.
29 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32 conditions and remove no longer applicable assertion.
34 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36 * bits/byteswap.h (__bswap_16): Removed.
37 Include <bits/byteswap-16.h> to get __bswap_16.
38 * sysdeps/i386/bits/byteswap.h: Likewise.
39 * sysdeps/s390/bits/byteswap.h: Likewise.
40 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41 * bits/byteswap-16.h: New file.
42 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45 * string/Makefile (headers): Add bits/byteswap-16.h.
47 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53 * nss/tst-nss-static.c: New.
55 2012-04-06 Robert Millan <rmh@gnu.org>
58 * manual/llio.texi (File Position Primitive): lseek
59 refers to WHENCE when it really means OFFSET.
61 2012-04-06 Andreas Jaeger <aj@suse.de>
63 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66 * abilist/libc.abilist: Add __poll and __ppoll.
68 2012-04-05 David S. Miller <davem@davemloft.net>
70 * scripts/check-local-headers.sh: Accept a host triplet in the
71 path matched by the exclude regexp.
73 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
75 * sysdeps/powerpc/powerpc32/dl-machine.h
76 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77 * sysdeps/s390/s390-32/dl-machine.h
78 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79 * sysdeps/sparc/sparc32/dl-machine.h
80 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81 * sysdeps/sparc/sparc64/dl-machine.h
82 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
86 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
87 undefined symbol errors.
89 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
92 2012-04-05 Michael Matz <matz@suse.de>
95 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
97 2012-04-05 Andreas Jaeger <aj@suse.de>
100 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
103 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
105 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
106 which ROUND is no valid rounding mode.
108 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
112 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
114 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
116 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
117 an exception using FPU order intentionally.
119 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
121 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
122 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
123 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
124 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
126 2012-04-05 Simon Josefsson <simon@josefsson.org>
129 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
130 EINVAL when BUFLEN is too smal.
132 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
135 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
136 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
138 2012-04-03 Andreas Jaeger <aj@suse.de>
141 * manual/setjmp.texi (System V contexts): Fix sentence.
144 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
145 New macro for this case.
146 [!__GNUC__] (__bswap_64): New inline function for this case.
147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
148 * bits/byteswap.h: Likewise.
149 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
150 ull, guard with __GLIBC_HAVE_LONG_LONG.
152 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
153 __GLIBC_HAVE_LONG_LONG.
155 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
156 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
158 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
161 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
162 inptr and inend, rather than using last_ch.
164 2012-04-02 David S. Miller <davem@davemloft.net>
166 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
167 * stdio-common/printf-parse.h (read_int): Change return type to
168 'int', return -1 on INT_MAX overflow.
169 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
170 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
171 overflows INT_MAX. Check for overflow of in-format-string precision
172 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
173 SIZE_MAX not INT_MAX for integer overflow test.
174 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
175 skip the construct in the format string but do not record anything.
176 * stdio-common/bug22.c: Adjust to test both width/prevision
177 INT_MAX overflow as well as total length INT_MAX overflow. Check
178 explicitly for proper errno values.
180 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
182 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
184 * string/test-strcmp.c [! WIDE]: Likewise.
185 * time/tst-mktime2.c: Likewise for INT_MAX.
186 * string/test-string.h: #include <sys/param.h> for MIN.
188 * csu/init-first.c (__libc_init_first): Call __ctype_init.
189 * sysdeps/i386/init-first.c (init): Likewise.
190 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
191 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
192 * sysdeps/sh/init-first.c (init): Likewise.
194 2012-04-01 Ulrich Drepper <drepper@gmail.com>
196 * po/ru.po: Update from translation team.
197 * po/vi.po: Likewise.
199 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
201 * resolv/nss_dns/dns-host.c: Merge copyright years.
203 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
205 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
206 Optimize memcpy with prefetch if
207 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
208 src, dst pointers have unequal 16 byte alignments.
210 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
213 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
214 from a CNAME entry and return the minimum ttl for the query.
215 (gaih_getanswer_slice): Likewise.
217 2012-03-30 Jeff Law <law@redhat.com>
219 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
221 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
222 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
224 * resolv/nss_dns/dns-host.c: Update copyright year.
226 2012-03-30 Ulrich Drepper <drepper@gmail.com>
228 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
229 requests to save a system call. Fix check that all bytes are sent.
231 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
232 comments for sendmmsg.
234 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
237 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
238 with only 1 character between 0x0041 and 0x01b0.
239 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
240 * wcsmbs/tst-mbsnrtowcs.c: New file.
242 2012-03-29 David S. Miller <davem@davemloft.net>
244 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
245 small copies by hand.
247 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
250 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
251 _nss_compat_initgroups_dyn): Fall back to malloc/free
252 for large group memberships.
254 2012-03-28 David S. Miller <davem@davemloft.net>
256 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
257 that branches into memcpy.
258 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
261 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
264 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
266 * sysdeps/sparc/mempcpy.S: New file.
268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
269 the IFUNC routine in the libc case.
270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
272 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
273 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
274 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
275 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
276 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
277 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
278 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
279 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
281 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
282 loop to 256 bytes instead of 64 bytes and fix test signedness.
284 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
285 * sysdeps/sparc/sparc32/Makefile: rather than here...
286 * sysdeps/sparc/sparc64/Makefile: and here.
288 2012-03-28 Ulrich Drepper <drepper@gmail.com>
290 * malloc/mallocbug.c: Avoid warnings about unused variables.
292 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
296 in the right place. Discard and retry query if response is
297 larger than input buffer size.
299 2012-03-28 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
305 x for large integer exponent.
306 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
307 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
308 sign of result as needed afterwards.
309 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
310 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
311 result for underflowing pow the same as for overflow.
312 (__kernel_standard_l): Handle powl overflow and underflow here
313 rather than calling __kernel_standard.
314 * math/libm-test.inc (pow_test): Add more tests.
329 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
330 * sysdeps/ieee754/k_standard.c: Include <float.h>.
331 (__kernel_standard_l): New function.
332 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
334 * math/w_acosl.c (__acosl): Likewise.
335 * math/w_asinl.c (__asinl): Likewise.
336 * math/w_atan2l.c (__atan2l): Likewise.
337 * math/w_atanhl.c (__atanhl): Likewise.
338 * math/w_coshl.c (__coshl): Likewise.
339 * math/w_exp10l.c (__exp10l): Likewise.
340 * math/w_exp2l.c (__exp2l): Likewise.
341 * math/w_fmodl.c (__fmodl): Likewise.
342 * math/w_hypotl.c (__hypotl): Likewise.
343 * math/w_j0l.c (__j0l, __y0l): Likewise.
344 * math/w_j1l.c (__j1l, __y1l): Likewise.
345 * math/w_jnl.c (__jnl, __ynl): Likewise.
346 * math/w_lgammal.c (__lgammal): Likewise.
347 * math/w_log10l.c (__log10l): Likewise.
348 * math/w_log2l.c (__log2l): Likewise.
349 * math/w_logl.c (__logl): Likewise.
350 * math/w_powl.c (__powl): Likewise.
351 * math/w_remainderl.c (__remainderl): Likewise.
352 * math/w_scalbl.c (sysv_scalbl): Likewise.
353 * math/w_sinhl.c (__sinhl): Likewise.
354 * math/w_sqrtl.c (__sqrtl): Likewise.
355 * math/w_tgammal.c (__tgammal): Likewise.
356 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
357 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
358 * math/libm-test.inc (acos_test): Add more tests.
359 (acosh_test): Likewise.
360 (asin_test): Likewise.
361 (atanh_test): Likewise.
362 (exp_test): Likewise.
363 (exp10_test): Likewise.
364 (exp2_test): Likewise.
365 (expm1_test): Likewise.
366 (lgamma_test): Likewise.
367 (log_test): Likewise.
368 (log10_test): Likewise.
369 (log1p_test): Likewise.
370 (log2_test): Likewise.
371 (pow_test): Do not allow some spurious overflow exceptions.
372 (sqrt_test): Add more tests.
373 (tgamma_test): Likewise.
378 2012-03-27 Anton Blanchard <anton@samba.org>
380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
382 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
383 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
386 2012-03-27 David S. Miller <davem@davemloft.net>
388 * conform/Makefile: Run run-conformtest.sh using $(BASH).
390 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
393 2012-03-27 Andreas Jaeger <aj@suse.de>
395 * sysdeps/x86_64/elf/configure.in: Moved to ...
396 * sysdeps/x86_64/configure.in: ... here.
397 * sysdeps/x86_64/elf/start.S: Moved to ...
398 * sysdeps/x86_64/start.S: ... here.
399 * sysdeps/x86_64/elf/configure: Delete.
401 * sysdeps/x86_64/configure.in: Merge contents from
402 sysdeps/i386/configure.in (without i686 check).
404 * sysdeps/i386/elf/Versions: Merge into ...
405 * sysdeps/i386/Versions: ... this.
406 * sysdeps/i386/elf/Versions: Delete file.
407 * sysdeps/i386/elf/start.S: Moved to ...
408 * sysdeps/i386/start.S: ...here.
409 * sysdeps/i386/elf/configure.in: Merge into...
410 * sysdeps/i386/configure.in: ...here.
411 * sysdeps/i386/elf/configure.in: Delete file.
412 * sysdeps/i386/elf/configure: Delete file.
414 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
415 * debug/backtracesyms.c: ... here.
416 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
417 * debug/backtracesymsfd.c: ... here.
418 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
419 * sysdeps/generic/ifunc-sel.h: ... here.
421 * sysdeps/unix/i386/start.c: Delete file.
422 * sysdeps/unix/sparc/start.c: Delete file.
423 * sysdeps/unix/start.c: Delete file.
425 * sysdeps/sh/elf/configure.in: Moved to ...
426 * sysdeps/sh/configure.in: ... here.
427 * sysdeps/sh/elf/start.S: Moved to ...
428 * sysdeps/sh/start.S: ... here.
429 * sysdeps/sh/elf/configure: Delete file.
431 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
432 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
433 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
434 * sysdeps/powerpc/powerpc64/entry.h: ... here.
435 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
436 * sysdeps/powerpc/powerpc64/start.S: here.
437 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
438 * sysdeps/powerpc/powerpc64/Makefile: ... this.
439 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
440 * sysdeps/powerpc/powerpc64/configure.in: ... this.
441 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
443 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
444 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
445 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
446 * sysdeps/powerpc/powerpc32/start.S: ... here.
447 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
448 * sysdeps/powerpc/powerpc32/configure.in: ... this.
449 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
451 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
452 * sysdeps/powerpc/ifunc-sel.h: ... here.
453 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
454 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
456 * sysdeps/sparc/elf/configure.in: Moved to ...
457 * sysdeps/sparc/configure.in: ... here.
458 * sysdeps/sparc/elf/configure: Delete file.
459 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
460 * sysdeps/sparc/sparc32/start.S: ... here.
461 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
462 * sysdeps/sparc/sparc64/start.S: ... here.
463 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
464 * sysdeps/sparc/sparc32/Makefile: ... this.
465 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
466 * sysdeps/sparc/sparc64/Makefile: ... this.
468 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
469 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
470 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
471 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
472 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
473 * sysdeps/s390/s390-32/setjmp.S: ... here.
474 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
475 * sysdeps/s390/s390-32/configure.in: ... here.
476 * sysdeps/s390/s390-32/elf/configure: Delete file.
477 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
478 * sysdeps/s390/s390-32/start.S: ... here.
480 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
481 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
482 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
483 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
484 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
485 * sysdeps/s390/s390-64/setjmp.S: ... here.
486 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
487 * sysdeps/s390/s390-64/configure.in: ... here
488 * sysdeps/s390/s390-64/elf/configure: Delete file.
489 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
490 * sysdeps/s390/s390-64/start.S: ... here.
491 * sysdeps/s390/s390-64/elf/configure: Delete.
493 * configure.in: Remove support for elf directories in sysdeps.
495 * configure: Regenerated.
496 * sysdeps/i386/configure: Regenerated.
497 * sysdeps/powerpc/powerpc32/configure: Regenerated.
498 * sysdeps/powerpc/powerpc64/configure: Regenerated.
499 * sysdeps/s390/s390-32/configure: Regenerated.
500 * sysdeps/s390/s390-64/configure: Regenerated.
501 * sysdeps/sh/configure: Regenerated.
502 * sysdeps/sparc/configure: Regenerated.
503 * sysdeps/x86_64/configure: Regenerated.
505 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
510 denormal result into account.
512 2012-03-25 Roland McGrath <roland@hack.frob.com>
514 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
515 Reported by Allan McRae <allan@archlinux.org>.
517 2012-03-23 Jeff Law <law@redhat.com>
519 * nss/getnssent.c (__nss_getent): Fix typo.
521 2012-03-23 David S. Miller <davem@davemloft.net>
523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
525 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
527 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
528 to pad to uint64_t for each field.
529 (dl_tls_index): Replace unsigned long with uint64_t.
531 2012-03-23 Daniel Jacobowitz <dmj@google.com>
532 Paul Pluzhnikov <ppluzhnikov@google.com>
535 * grp/Makefile (otherlibs): Don't set it.
536 * inet/Makefile (otherlibs): Likewise.
537 * login/Makefile (otherlibs): Likewise.
538 * nscd/Makefile (otherlibs): Likewise.
539 * posix/Makefile (otherlibs): Likewise.
540 * pwd/Makefile (otherlibs): Likewise.
541 * rt/Makefile (otherlibs): Likewise.
542 * sunrpc/Makefile (otherlibs): Likewise.
543 * nss/Makefile (otherlibs): Likewise.
544 Add libnss_files to routines and static-only-routines.
545 ($(objpfx)getent): Remove rule.
546 * resolv/Makefile: Add libnss_dns and libresolv to routines and
547 static-only-routines.
549 2012-03-22 Joseph Myers <joseph@codesourcery.com>
552 * math/s_cexp.c: Include <float.h>.
553 (__cexp): Handle exp result overflowing not necessarily
554 overflowing both real and imaginary parts of result.
555 * math/s_cexpf.c: Likewise.
556 * math/s_cexpl.c: Likewise.
557 * math/libm-test.inc (cexp_test): Add more tests.
558 * sysdeps/i386/fpu/libm-test-ulps: Update.
559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
563 * include/link.h (ELFW): New macro.
564 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
565 Replace ELF64_R_TYPE with ELFW(R_TYPE).
567 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
569 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
572 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
574 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
576 (struct La_x32_retval): Likewise.
578 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
580 * sysdeps/x86_64/preconfigure.in: New file.
581 * sysdeps/x86_64/preconfigure: New generated file.
583 2012-03-22 Joseph Myers <joseph@codesourcery.com>
586 * math/e_exp2l.c: Include <float.h>.
587 (__ieee754_exp2l): Handle overflow and underflow cases
588 separately. Only pass fractional part of argument to
590 * math/libm-test.inc (exp2_test): Add more tests.
592 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
593 negating x to take absolute value.
594 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
596 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
597 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
599 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
600 computing low part if x was negated.
601 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
603 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
605 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
607 (pltexit): Cast int_retval to ptrdiff_t.
608 * elf/tst-auditmod3b.c: Likewise.
609 * elf/tst-auditmod4b.c: Likewise.
610 * elf/tst-auditmod5b.c: Likewise.
611 * elf/tst-auditmod6b.c: Likewise.
612 * elf/tst-auditmod6c.c: Likewise.
613 * elf/tst-auditmod7b.c: Likewise.
615 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
618 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
620 (La_x32_regs): New macro.
621 (La_x32_retval): Likewise.
622 (la_x32_gnu_pltenter): New function prototype.
623 (la_x32_gnu_pltexit): Likewise.
625 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
627 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
632 * configure.in (libc_cv_cc_nofma): Check for option to disable
633 generation of FMA instructions.
634 * configure: Regenerate.
635 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
636 * sysdeps/ieee754/dbl-64/Makefile: New file.
637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
638 Remove brandred-fma4.
639 (CFLAGS-brandred-fma4.c): Remove.
640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
641 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
646 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
648 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
649 LLONG_MAX != LONG_MAX.
650 (_itoa_word): Use _ITOA_WORD_TYPE on value.
651 (_fitoa_word): Likewise.
652 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
653 LLONG_MAX != LONG_MAX.
654 * stdio-common/_itowa.h: Include <_itoa.h>.
655 (_itowa_word): Use _ITOA_WORD_TYPE on value.
656 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
657 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
659 (_ITOA_WORD_TYPE): Likewise.
660 (_itoa_word): Use _ITOA_WORD_TYPE on value.
661 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
663 2012-03-21 David S. Miller <davem@davemloft.net>
665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
667 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
669 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
670 of x86_64 when setting libc_cv_slibdir, libdir and
672 * sysdeps/unix/sysv/linux/configure: Regenerated.
674 2012-03-21 Joseph Myers <joseph@codesourcery.com>
676 * manual/lang.texi (Old Varargs): Remove section.
677 (How Variadic): Update menu.
678 (va_start): Do not mention varargs.h.
680 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
681 Joseph Myers <joseph@codesourcery.com>
683 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
685 * configure: Regenerated.
687 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
689 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
690 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
696 * Makefile (files-for-dist): Remove NOTES.
697 (NOTES): Remove rule.
698 * README: Don't refer to NOTES.
699 * manual/creature.texi: Don't include macros.texi.
700 * manual/intro.texi (creature.texi): Remove comment referring to
703 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
704 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
705 * configure: Regenerated.
706 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
708 (libc_cv_as_i686): Likewise.
709 (libc_cv_cc_avx): Likewise.
710 (libc_cv_cc_sse2avx): Likewise.
711 (libc_cv_cc_fma4): Likewise.
712 (libc_cv_cc_novzeroupper): Likewise.
713 * sysdeps/i386/configure: Regenerated.
716 * sysdeps/i386/fpu/s_cexp.S: Remove.
717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
718 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
719 * math/libm-test.inc (cexp_test): Add more tests.
720 * sysdeps/i386/fpu/libm-test-ulps: Update.
721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
723 2012-03-21 Allan McRae <allan@archlinux.org>
725 * timezone/Makefile: Do not install iso3166.tab and zone.tab
727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
730 * math/w_exp2.c: Do not include <float.h>.
731 (o_threshold, u_threshold): Remove.
732 (__exp2): Calculate result before checking finiteness and calling
734 * math/w_exp2f.c: Likewise.
735 * math/w_exp2l.c: Likewise.
736 * math/libm-test.inc (exp2_test): Require overflow exception for
740 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
741 range of signed 64-bit integers before using fistpll. Remove
742 checks for whether integers fit in mantissa bits.
743 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
744 the range of signed 32-bit integers before using fistpl. Remove
745 checks for whether integers fit in mantissa bits.
746 * sysdeps/i386/fpu/e_powl.S (p64): New object.
747 (__ieee754_powl): Test for y outside the range of signed 64-bit
748 integers before using fistpll. Reduce 64-bit values to 63-bit
750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
751 divide-by-zero is raised for zero to large negative powers.
752 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
753 (__ieee754_powl): Test for y outside the range of signed 64-bit
754 integers before using fistpll. Reduce 64-bit values to 63-bit
756 * math/libm-test.inc (pow_test): Add more tests.
758 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
760 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
761 <stdio-common/_itoa.h>.
762 * debug/segfault.c: Likewise.
763 * elf/dl-cache.c: Likewise.
764 * elf/dl-minimal.c: Likewise.
765 * elf/dl-misc.c: Likewise.
766 * elf/dl-sysdep.c: Likewise.
767 * elf/dl-version.c: Likewise.
768 * elf/rtld.c: Likewise.
769 * hurd/hurdsock.c: Likewise.
770 * hurd/lookup-retry.c: Likewise.
771 * malloc/malloc.c: Likewise.
772 * malloc/mtrace.c: Likewise.
773 * nscd/nscd_getgr_r.c: Likewise.
774 * nscd/nscd_getpw_r.c: Likewise.
775 * nscd/nscd_getserv_r.c: Likewise.
776 * posix/getopt_init.c: Likewise.
777 * posix/wordexp.c: Likewise.
778 * stdio-common/_itoa.c: Likewise.
779 * stdio-common/printf_fphex.c: Likewise.
780 * stdio-common/vfprintf.c: Likewise.
781 * string/_strerror.c: Likewise.
782 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
783 * sysdeps/i386/i686/hp-timing.h: Likewise.
784 * sysdeps/mach/_strerror.c: Likewise.
785 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
786 * sysdeps/mach/hurd/sethostid.c: Likewise.
787 * sysdeps/mach/hurd/xmknodat.c: Likewise.
788 * sysdeps/mach/xpg-strerror.c: Likewise.
789 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
790 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
791 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
792 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
793 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
794 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
795 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
796 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
797 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
798 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
799 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
800 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
801 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
802 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
803 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
804 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
805 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
807 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
808 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
809 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
811 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
813 * stdio-common/_itoa.h: Moved to ...
814 * sysdeps/generic/_itoa.h: Here.
816 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
818 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
819 instead of "_itoa.h" and "_itowa.h".
820 * stdio-common/vfprintf.: Likewise.
822 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
824 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
826 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
827 (__signbit): Likwise.
831 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
833 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
836 2012-03-20 Joseph Myers <joseph@codesourcery.com>
838 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
839 OVERFLOW_EXCEPTION_OK.
840 * math/libm-test.inc ("Philosophy"): Update comment about
842 (OVERFLOW_EXCEPTION): Define.
843 (OVERFLOW_EXCEPTION_OK): Likewise.
844 (INVALID_EXCEPTION_OK): Renumber.
845 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
846 (IGNORE_ZERO_INF_SIGN): Likewise.
847 (test_exceptions): Handle FE_OVERFLOW.
848 (exp10_test): Expect overflow exceptions.
849 (exp2_test): Likewise.
850 (expm1_test): Likewise.
851 (nextafter_test): Likewise.
852 (pow_test): Likewise.
853 (scalbn_test): Likewise.
854 (scalbln_test): Likewise.
856 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
858 * sysdeps/x86_64/bits/atomic.h
859 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
861 (atomic_exchange_acq): Likewise.
862 (__arch_exchange_and_add_body): Likewise.
863 (__arch_add_body): Likewise.
864 (atomic_add_negative): Likewise.
865 (atomic_add_zero): Likewise.
867 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
869 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
870 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
872 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
874 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
875 Check __x86_64__ instead of __WORDSIZE.
877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
879 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
881 2012-03-19 David S. Miller <davem@davemloft.net>
883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
885 * sysdeps/sparc/fpu/fenv_private.h: New file.
886 * sysdeps/sparc/fpu/math_private.h: Use it.
887 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
889 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
890 (libc_feholdexcept_setroundl): Remove.
891 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
893 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
894 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
898 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
899 int64_t instead of long int.
900 (INSERT_WORDS64): Likwise.
902 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
904 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
905 _Unwind_GetCFA return to _Unwind_Ptr first.
907 2012-03-19 Joseph Myers <joseph@codesourcery.com>
910 * math/s_clog.c: Include <float.h>.
911 (__clog): Scale large or subnormal inputs.
912 * math/s_clogf.c: Likewise.
913 * math/s_clogl.c: Likewise.
914 * math/s_clog10.c: Include <float.h>.
916 (__clog10): Scale large or subnormal inputs.
917 * math/s_clog10f.c: Likewise.
918 * math/s_clog10l.c: Likewise.
919 * math/libm-test.inc (clog_test): Add more tests.
920 (clog10_test): Likewise.
921 * sysdeps/i386/fpu/libm-test-ulps: Update.
922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
927 * math/libm-test.inc (atan2_test): Add another test.
929 * Makerules (common-objdir-compile): Remove.
930 * sysdeps/unix/Makefile (config-generated): Do not add
931 $(unix-generated) to variable.
932 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
933 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
935 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
937 [generic bits/local_lim.h] (before-compile): Do not append to
939 [generic bits/local_lim.h] (common-generated): Likewise.
940 [generic sys/param.h] (before-compile): Do not append to variable.
941 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
942 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
943 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
944 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
946 [generic sys/param.h] (sys/param.h-includes): Remove variable.
947 [generic sys/param.h] (sys/param.h-includes): Remove rule.
948 [generic sys/param.h] ($(addprefix
949 $(common-objpfx),$(sys/param.h-includes))): Likewise.
950 [generic sys/param.h] (common-generated): Do not append to
952 [generic sys/param.h] (sysdep_headers): Likewise.
953 [generic bits/errno.h] (before-compile): Do not append to
955 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
957 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
958 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
959 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
960 [generic bits/errno.h] (common-generated): Do not append to
962 [generic bits/ioctls.h] (before-compile): Do not append to
964 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
966 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
967 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
968 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
970 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
971 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
972 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
973 [generic bits/ioctls.h] (common-generated): Do not append to
975 [generic sys/syscall.h] (syscall.h): Remove variable.
976 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
978 [generic sys/syscall.h] (before-compile): Do not append to
980 [generic sys/syscall.h] (common-generated): Likewise.
981 * sysdeps/unix/errnos-tmpl.c: Remove file.
982 * sysdeps/unix/errnos.awk: Likewise.
983 * sysdeps/unix/ioctls-tmpl.c: Likewise.
984 * sysdeps/unix/ioctls.awk: Likewise.
985 * sysdeps/unix/mk-local_lim.c: Likewise.
986 * sysdeps/unix/snarf-ioctls: Likewise.
988 2012-03-19 Richard Henderson <rth@twiddle.net>
990 * sysdeps/i386/fpu/fenv_private.h: New file.
991 * sysdeps/i386/fpu/math_private.h: Use it.
992 (math_opt_barrier, math_force_eval): Remove.
993 (libc_feholdexcept_setround_53bit): Remove.
994 (libc_feupdateenv_53bit): Remove.
995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
996 (math_opt_barrier, math_force_eval): Remove.
997 (libc_feholdexcept): Remove.
998 (libc_feholdexcept_setround): Remove.
999 (libc_fetestexcept, libc_fesetenv): Remove.
1000 (libc_feupdateenv_test): Remove.
1001 (libc_feupdateenv, libc_feholdsetround): Remove.
1002 (libc_feresetround): Remove.
1004 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1005 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1007 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1008 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1009 (libc_feupdateenv_testl): New.
1010 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1011 (libc_feupdateenv_testf): New.
1012 (libc_feupdateenv): Use libc_feupdateenv_test.
1013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1014 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1016 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1017 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1018 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1019 (libc_feresetround_noex): New.
1020 (libc_feresetround_noexf): New.
1021 (libc_feresetround_noexl): New.
1022 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1023 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1024 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1025 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1030 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1031 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1032 SET_RESTORE_ROUND_NOEX.
1033 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1034 SET_RESTORE_ROUND_NOEXF.
1035 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1036 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1037 (libc_feholdsetroundf): New.
1038 (libc_feresetround, libc_feresetroundf): New.
1040 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1041 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1042 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1044 * sysdeps/generic/math_private.h: Include <fenv.h>.
1045 (default_libc_feholdexcept): New.
1046 (default_libc_feholdexcept_setround): New.
1047 (default_libc_fesetenv, default_libc_feupdateenv): New.
1048 (libc_feholdexcept): Only define if undefined.
1049 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1050 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1051 (libc_feholdexcept_setroundl): Likewise.
1052 (libc_feholdexcept_setround_53bit): Likewise.
1053 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1054 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1055 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1056 (libc_feupdateenv_53bit): Likewise.
1057 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1058 (libc_feholdexcept): Convert from macro to inline function.
1059 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1060 (libc_fesetenv, libc_feupdateenv): Likewise.
1062 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1063 not previously defined.
1064 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1065 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1066 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1067 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1068 * sysdeps/ieee754/flt-32/math_private.h: New file.
1069 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1070 math_private.h below SET_FLOAT_WORD.
1071 (__isnan, __isinf_ns, __finite): Remove.
1072 (__isnanf, __isinf_nsf, __finitef): Remove.
1074 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1078 2012-03-17 David S. Miller <davem@davemloft.net>
1081 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1084 2012-03-16 David S. Miller <davem@davemloft.net>
1086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1090 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1092 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1093 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1094 sysdep_routines when subdir is sysvipc.
1095 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1098 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1100 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1102 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1105 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1107 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1108 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1109 (__lround): Renamed to ...
1110 (__llround): This. Replace long int with long long int.
1111 Define lround functions as aliases of llround functions.
1112 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1116 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1117 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1118 adresses to uintptr_t. Replace "long int" and "unsigned long
1119 int" with "greg_t" on va_arg.
1121 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1123 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1124 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1126 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1127 Move e_machine check before EI_CLASS check. Handle x32
1128 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1129 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1130 SKIP_EM_IA_64 and include
1131 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1133 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1134 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1135 (add_system_dir): New macro.
1137 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1138 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1140 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1151 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1153 * math/w_j0f.c (j0f): Likewise.
1155 * math/w_j0l.c (__j0l): Likewise.
1157 * math/w_j1.c (j1): Likewise.
1159 * math/w_j1f.c (j1f): Likewise.
1161 * math/w_j1l.c (__j1l): Likewise.
1163 * math/w_jn.c (jn): Likewise.
1165 * math/w_jnf.c (jnf): Likewise.
1167 * math/w_jnl.c (__jnl): Likewise.
1169 * math/libm-test.inc (j0_test): Add more tests.
1170 (j1_test): Likewise.
1171 (jn_test): Likewise. Add trailing semicolon to existing test.
1172 (y0_test): Likewise.
1173 (y1_test): Likewise.
1174 * sysdeps/i386/fpu/libm-test-ulps: Update.
1175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1179 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1180 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1181 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1183 (__tanl): Set errno for infinite argument.
1184 * sysdeps/i386/fpu/mptan.c: Remove.
1185 * sysdeps/i386/fpu/s_tan.S: Likewise.
1186 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1187 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1188 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1189 * math/libm-test.inc (tan_test): Add more tests and enable more
1190 tests for double and long double.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1194 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1196 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1197 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1199 2012-03-16 Roland McGrath <roland@hack.frob.com>
1201 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1202 * configure.in: Use it for both main tree and add-ons.
1203 * configure: Regenerated.
1205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1207 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1209 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1211 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1215 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1216 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1218 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1219 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1221 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1224 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1225 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1226 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1227 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1228 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1229 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1230 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1231 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1232 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1233 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1234 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1235 * math/libm-test.inc (cos_test): Add more tests and enable more
1236 tests for long double.
1237 (sin_test): Likewise.
1238 (sincos_test): Likewise.
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1242 2012-03-16 David S. Miller <davem@davemloft.net>
1244 * sysdeps/sparc/fpu/math_private.h: New file.
1246 2012-03-15 David S. Miller <davem@davemloft.net>
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1262 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1263 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1265 * sysdeps/sparc/sparc-ifunc.h: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1311 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1313 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317 2012-03-15 Andreas Jaeger <aj@suse.de>
1320 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1321 ieee754/flt-32 implementation for sin, cos and sincos.
1322 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1323 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1324 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1325 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1326 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1327 ieee754/flt-32 implementation for tan.
1329 * math/libm-test.inc (cos_test): Enable some large input tests for
1331 (sin_test): Likewise.
1332 (sincos_test): Likewise.
1333 (tan_test): Add tests for large input.
1335 * sysdeps/i386/fpu/libm-test-ulps: Update.
1337 2012-03-15 Andreas Jaeger <aj@suse.de>
1340 * math/libm-test.inc (cos_test): Add more test cases.
1341 (sin_test): Likewise.
1342 (sincos_test): Likewise.
1344 2012-03-15 Andreas Jaeger <aj@suse.de>
1347 * math/libm-test.inc (cos_test): Add a test case for large input
1349 (sin_test): Likewise.
1350 (sincos_test): Likewise.
1352 2012-03-15 Andreas Jaeger <aj@suse.de>,
1353 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1357 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1358 * sysdeps/i386/fpu/branred.c: Likewise.
1359 * sysdeps/i386/fpu/dosincos.c: Likewise.
1360 * sysdeps/i386/fpu/mpa.c: Likewise.
1361 * sysdeps/i386/fpu/s_cos.S: Likewise.
1362 * sysdeps/i386/fpu/s_sin.S: Likewise.
1363 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1364 * sysdeps/i386/fpu/sincos32.c: Likewise.
1366 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1368 (libc_feupdateenv_53bit): Define.
1369 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1371 (libc_feupdateenv_53bit): Define.
1373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1374 53 bit (without extend i386 double precision).
1376 * math/libm-test.inc (sincos_test): Add tests for large input.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1382 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1386 2012-03-15 David S. Miller <davem@davemloft.net>
1388 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1389 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1390 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1391 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1416 fmin/fmax sysdep routines.
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1419 2012-03-14 David S. Miller <davem@davemloft.net>
1421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1498 * sysdeps/sparc/configure.in: New file.
1499 * sysdeps/sparc/configure: Generate.
1500 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1501 * configure: Regenerate.
1502 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1503 * config.make.in (have-as-vis3): New.
1504 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1505 available use -Av9d instead of -Av9a.
1506 * sysdeps/sparc/sparc64/Makefile: Likewise.
1507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1522 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1523 fzeros/fnegs to load 0x80000000 into a float register instead of
1525 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1527 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1531 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1532 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1533 ($(inst_includedir)/bits/syscall.h): Remove rule.
1534 ($(objpfx)bits/syscall.d): Include instead of
1535 $(objpfx)syscall-list.d.
1536 (generated): Change syscall-list.h and syscall-list.d to
1537 bits/syscall.h and bits/syscall.d.
1539 2012-03-14 Roland McGrath <roland@hack.frob.com>
1542 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1544 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1547 * math/s_csqrt.c: Include <float.h>.
1548 (__csqrt): Scale large or subnormal inputs.
1549 * math/s_csqrtf.c: Likewise.
1550 * math/s_csqrtl.c: Likewise.
1551 * math/libm-test.inc (csqrt_test): Add more tests.
1552 * sysdeps/i386/fpu/libm-test-ulps: Update.
1553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556 * math/libm-test.inc (hypot_test): Add more tests.
1558 2012-03-13 David S. Miller <davem@davemloft.net>
1561 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1562 double-precision for the calculation instead of scaling.
1564 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1566 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1567 manipulate bits before adding and subtracting TWO52[sx].
1568 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1573 2012-03-13 David S. Miller <davem@davemloft.net>
1575 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1576 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1578 rtld-global-offsets.h
1579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1581 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1586 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1587 'err' in the ifdef scope in which it is actually used.
1589 * nss/nss_db/db-init.c: Include string.h
1591 2012-03-12 David S. Miller <davem@davemloft.net>
1593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1594 masking out of the most significant byte of random value used.
1595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1596 Fix coding style in previous change.
1598 * sysdeps/unix/sysv/linux/kernel-features.h
1599 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1600 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1602 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1605 2012-03-11 David S. Miller <davem@davemloft.net>
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1608 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1609 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1610 for 'resultvar' otherwise things get truncated on 64-bit.
1612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1613 Fix masking out of the most significant byte of random value used.
1615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1617 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1621 2012-03-09 David S. Miller <davem@davemloft.net>
1623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1624 variables with appropriate CPP guards.
1625 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1626 frame pointer, not the stack pointer. Correct layout comments. Fix test
1627 on resulting framesize and the management of the outregs buffer for pltexit.
1628 Preserve floating point return values across _dl_call_pltexit call.
1629 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1630 framesize and the management of the outregs buffer for pltexit.
1631 Preserve floating point return values across _dl_call_pltexit
1633 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1634 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1635 (print_exit): Fix format string for return register value.
1637 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1639 * sunrpc/Makefile (others): Add rpcgen.
1640 ($(objpfx)rpcgen): Remove special build rule and dependency on
1642 * sunrpc/rpcgen.c: New file.
1644 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1647 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1648 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1649 * sysdeps/i386/crti.S: Likewise.
1650 * sysdeps/i386/crtn.S: Likewise.
1651 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1652 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1653 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1654 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1655 * sysdeps/sh/crti.S: Likewise.
1656 * sysdeps/sh/crtn.S: Likewise.
1657 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1660 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1662 * locale/programs/locfile-kw.gperf: Likewise.
1663 * locale/programs/charmap-kw.h: Regenerated.
1664 * locale/programs/locfile-kw.h: Likewise.
1667 * intl/plural.y: Replace FSF snail mail address with URL.
1668 * intl/plural.c: Regenerated.
1670 2012-03-09 Richard Henderson <rth@twiddle.net>
1672 * include/math_private.h: Remove file.
1673 * math/math_private.h: Move file ...
1674 * sysdeps/generic/math_private.h: ... here.
1676 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1677 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1678 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1680 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1681 and <math_private.h>.
1682 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1683 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1684 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1685 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1686 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1770 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1771 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1772 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1773 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1775 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1776 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1792 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1793 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1795 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1796 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1800 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1801 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1802 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1804 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1805 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1828 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1829 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1831 * sysdeps/ieee754/k_standard.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1947 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1951 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1992 * sysdeps/ieee754/s_lib_version.c: Likewise.
1993 * sysdeps/ieee754/s_matherr.c: Likewise.
1994 * sysdeps/ieee754/s_signgam.c: Likewise.
1995 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1996 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1997 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1998 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1999 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2000 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2001 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2002 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2003 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2004 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2005 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2006 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2007 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2008 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2009 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2011 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2012 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2013 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2015 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2017 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2019 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2020 * sunrpc/rpc_main.c: Likewise.
2021 * sunrpc/rpc_svcout.c: Likewise.
2023 2012-03-09 David S. Miller <davem@davemloft.net>
2025 * include/math_private.h: New file.
2027 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2029 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2030 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2031 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2032 from <bits/socket_type.h>.
2033 (enum __socket_type): Don't define here.
2034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2039 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2042 * Makerules ($(inst_includedir)/%.h): New rule.
2043 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2044 (install-others): Remove variable setting.
2045 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2047 2012-03-08 Richard Henderson <rth@twiddle.net>
2049 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2050 from macro to inline function; merge with the
2051 !__LIBC_INTERNAL_MATH_INLINES version.
2052 (__ieee754_sqrtf): Likewise.
2054 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2056 (__rintf, __floor, __floorf): Likewise.
2058 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2059 macro to inline function.
2060 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2063 not <math/math_private.h>.
2065 2012-03-08 David S. Miller <davem@davemloft.net>
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2069 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2071 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2073 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2075 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2076 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2078 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2080 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2081 be defined individually, they must be defined as a block. Define
2082 S for printing a string instead of hidint the different by using a
2083 macro for adding the 'l'.
2084 * stdio-common/tst-fphex-wide.c: Adjust.
2086 2012-03-07 Marek Polacek <polacek@redhat.com>
2088 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2090 2012-03-08 Marek Polacek <polacek@redhat.com>
2093 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2094 * stdio-common/tst-fphex.c: Define a few macros to make the
2095 test reusable. Use them.
2096 * stdio-common/tst-fphex-wide.c: New file.
2098 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2101 * manual/macros.texi (gnusystems): New macro.
2102 (nongnusystems): Likewise.
2103 (gnulinuxhurdsystems): Likewise.
2104 (gnuhurdsystems): Likewise..
2105 (gnulinuxsystems): Likewise.
2106 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2107 variants of the GNU system, not "GNU system".
2108 * manual/conf.texi: Likewise.
2109 * manual/errno.texi: Likewise. Update example of errno macro
2111 * manual/filesys.texi: Likewise.
2112 (getumask): Document as specific to GNU/Hurd.
2113 * manual/install.texi: Likewise. Reword some references to
2115 * manual/intro.texi: Likewise.
2116 * manual/io.texi: Likewise.
2117 (File Name Portability): Detail which constraints are inapplicable
2118 to all GNU systems and which are only inapplicable to GNU/Hurd.
2119 * manual/job.texi: Likewise.
2120 * manual/llio.texi: Likewise.
2121 (O_NOCTTY): Document as present on GNU/Linux.
2122 * manual/maint.texi: Likewise.
2123 * manual/memory.texi: Likewise.
2124 * manual/pattern.texi: Likewise.
2125 * manual/pipe.texi: Likewise.
2126 * manual/process.texi: Likewise.
2127 * manual/resource.texi: Likewise.
2128 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2130 * manual/setjmp.texi: Likewise.
2131 * manual/signal.texi: Likewise.
2132 * manual/startup.texi: Likewise.
2133 * manual/stdio.texi: Likewise.
2134 * manual/terminal.texi: Likewise.
2135 (ONLCR): Document as POSIX.
2136 (OXTABS): Document availability on GNU/Linux as XTABS.
2137 (ONOEOT): Document availability separately from other bits.
2138 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2139 * manual/time.texi: Likewise.
2140 * manual/users.texi: Likewise.
2141 * INSTALL: Regenerated.
2142 * sysdeps/gnu/errlist.c: Regenerated.
2144 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2145 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2146 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2148 * configure: Regenerated.
2150 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2153 default includes instead of AC_HEADER_CHECK.
2154 * sysdeps/i386/configure: Regenerated.
2157 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2158 * math/s_cacoshf.c (__cacoshf): Likewise.
2159 * math/s_cacoshl.c (__cacoshl): Likewise.
2160 * math/s_casinh.c (__casinh): Set signs of result from argument.
2161 * math/s_casinhf.c (__casinhf): Likewise.
2162 * math/s_casinhl.c (__casinhl): Likewise.
2163 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2164 (casinh_test): Add more tests.
2165 * sysdeps/i386/fpu/libm-test-ulps: Update.
2166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2168 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2170 * po/zh_TW.po: Update from translation team.
2172 * login/Makefile (distribute): Remove variable.
2173 * catgets/Makefile: Likewise.
2174 * mach/Makefile: Likewise.
2175 * malloc/Makefile: Likewise.
2176 * misc/Makefile: Likewise.
2177 * iconv/Makefile: Likewise.
2178 * nscd/Makefile: Likewise.
2179 * hurd/Makefile: Likewise.
2180 * manual/Makefile: Likewise.
2181 * locale/Makefile: Likewise.
2182 * intl/Makefile: Likewise.
2183 * conform/Makefile: Likewise.
2184 * nss/Makefile: Likewise.
2185 * time/Makefile: Likewise.
2186 * soft-fp/Makefile: Likewise.
2187 * dirent/Makefile: Likewise.
2188 * gmon/Makefile: Likewise.
2189 * po/Makefile: Likewise.
2190 * rt/Makefile: Likewise.
2191 * socket/Makefile: Likewise.
2192 * math/Makefile: Likewise.
2193 * signal/Makefile: Likewise.
2194 * debug/Makefile: Likewise.
2195 * elf/Makefile: Likewise.
2196 * timezone/Makefile: Likewise.
2197 * stdlib/Makefile: Likewise.
2198 * iconvdata/Makefile: Likewise.
2199 * sunrpc/Makefile: Likewise.
2200 * io/Makefile: Likewise.
2201 * argp/Makefile: Likewise.
2202 * inet/Makefile: Likewise.
2203 * hesiod/Makefile: Likewise.
2204 * grp/Makefile: Likewise.
2205 * csu/Makefile: Likewise.
2206 * wctype/Makefile: Likewise.
2207 * crypt/Makefile: Likewise.
2208 * libio/Makefile: Likewise.
2209 * string/Makefile: Likewise.
2210 * nis/Makefile: Likewise.
2211 * resolv/Makefile: Likewise.
2212 * stdio-common/Makefile: Likewise.
2213 * wcsmbs/Makefile: Likewise.
2214 * dlfcn/Makefile: Likewise.
2215 * posix/Makefile: Likewise.
2217 * timezone/Makefile: Don't install timezone files, just the programs
2220 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2222 * nss/databases.def: Add missing gshadow entry.
2224 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2226 2012-03-06 Marek Polacek <polacek@redhat.com>
2229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2230 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2231 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2232 * stdio-common/tst-long-dbl-fphex.c: New file.
2234 2012-03-06 David S. Miller <davem@davemloft.net>
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2237 (set_obp_int): New function.
2238 (get_obp_int): New function.
2239 (__get_clockfreq_via_dev_openprom): Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2241 Avoid unused variable warnings on 'val' and use builtin_expect.
2242 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2244 (INLINE_CLONE_SYSCALL): Likewise.
2246 2012-03-05 David S. Miller <davem@davemloft.net>
2248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2250 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2258 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2261 Replace gettimeofday with __vdso_gettimeofday.
2263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2264 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2265 __vdso_clock_gettime and __vdso_getcpu.
2267 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2268 time with __vdso_time.
2270 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2272 * manual/lang.texi (size_t): Note types to which size_t may be
2273 equivalent with the GNU C Library, but do not describe when
2274 differences between them are significant.
2276 2012-03-05 Andreas Jaeger <aj@suse.de>
2278 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2283 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2284 (__ieee754_pow): Save and restore rounding mode and use
2285 round-to-nearest for main computations.
2286 * math/libm-test.inc (pow_test_tonearest): New function.
2287 (pow_test_towardzero): Likewise.
2288 (pow_test_downward): Likewise.
2289 (pow_test_upward): Likewise.
2290 (main): Call the new functions.
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295 * math/libm-test.inc (cosh_test_tonearest): New function.
2296 (cosh_test_towardzero): Likewise.
2297 (cosh_test_downward): Likewise.
2298 (cosh_test_upward): Likewise.
2299 (sinh_test_tonearest): Likewise.
2300 (sinh_test_towardzero): Likewise.
2301 (sinh_test_downward): Likewise.
2302 (sinh_test_upward): Likewise.
2303 (main): Call the new functions.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2307 2012-03-05 Tom de Vries <tom@codesourcery.com>
2309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2310 default stack guard is set in last bytes.
2311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2313 2012-03-05 Kees Cook <keescook@chromium.org>
2315 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2318 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2319 possibly allocate from heap instead of stack.
2320 * stdio-common/bug-vfprintf-nargs.c: New file.
2321 * stdio-common/Makefile (tests): Add nargs overflow test.
2323 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2327 2012-03-03 Marek Polacek <polacek@redhat.com>
2329 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2330 * math/math_private.h: Likewise.
2331 * stdlib/tst-strtod.c: Likewise.
2332 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2333 * sysdeps/x86_64/bits/atomic.h: Likewise.
2335 2012-03-02 David S. Miller <davem@davemloft.net>
2337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2341 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2342 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2343 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2344 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2346 2012-03-02 Roland McGrath <roland@hack.frob.com>
2349 * manual/examples/README: New file, says the example source files
2350 can be used under GPL>=2.
2351 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2352 line containing just "*/".
2353 * manual/examples/add.c: Add copyright header (GPL>=2).
2354 * manual/examples/argp-ex1.c: Likewise.
2355 * manual/examples/argp-ex2.c: Likewise.
2356 * manual/examples/argp-ex3.c: Likewise.
2357 * manual/examples/argp-ex4.c: Likewise.
2358 * manual/examples/atexit.c: Likewise.
2359 * manual/examples/db.c: Likewise.
2360 * manual/examples/dir.c: Likewise.
2361 * manual/examples/dir2.c: Likewise.
2362 * manual/examples/execinfo.c: Likewise.
2363 * manual/examples/filecli.c: Likewise.
2364 * manual/examples/filesrv.c: Likewise.
2365 * manual/examples/fmtmsgexpl.c: Likewise.
2366 * manual/examples/genpass.c: Likewise.
2367 * manual/examples/inetcli.c: Likewise.
2368 * manual/examples/inetsrv.c: Likewise.
2369 * manual/examples/isockad.c: Likewise.
2370 * manual/examples/longopt.c: Likewise.
2371 * manual/examples/memopen.c: Likewise.
2372 * manual/examples/memstrm.c: Likewise.
2373 * manual/examples/mkfsock.c: Likewise.
2374 * manual/examples/mkisock.c: Likewise.
2375 * manual/examples/mygetpass.c: Likewise.
2376 * manual/examples/pipe.c: Likewise.
2377 * manual/examples/popen.c: Likewise.
2378 * manual/examples/rprintf.c: Likewise.
2379 * manual/examples/search.c: Likewise.
2380 * manual/examples/select.c: Likewise.
2381 * manual/examples/setjmp.c: Likewise.
2382 * manual/examples/sigh1.c: Likewise.
2383 * manual/examples/sigusr.c: Likewise.
2384 * manual/examples/stpcpy.c: Likewise.
2385 * manual/examples/strdupa.c: Likewise.
2386 * manual/examples/strftim.c: Likewise.
2387 * manual/examples/strncat.c: Likewise.
2388 * manual/examples/subopt.c: Likewise.
2389 * manual/examples/swapcontext.c: Likewise.
2390 * manual/examples/termios.c: Likewise.
2391 * manual/examples/testopt.c: Likewise.
2392 * manual/examples/testpass.c: Likewise.
2393 * manual/examples/timeval_subtract.c: Likewise.
2396 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2398 * manual/timeval_subtract.c.texi: ... here, new file.
2400 2012-03-02 David S. Miller <davem@davemloft.net>
2402 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2404 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2407 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2408 (__sin): Save and restore rounding mode and use round-to-nearest
2409 for all computations.
2410 (__cos): Save and restore rounding mode and use round-to-nearest
2411 for all computations.
2412 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2414 (tan): Save and restore rounding mode and use round-to-nearest for
2416 * math/libm-test.inc (cos_test_tonearest): New function.
2417 (cos_test_towardzero): Likewise.
2418 (cos_test_downward): Likewise.
2419 (cos_test_upward): Likewise.
2420 (sin_test_tonearest): Likewise.
2421 (sin_test_towardzero): Likewise.
2422 (sin_test_downward): Likewise.
2423 (sin_test_upward): Likewise.
2424 (tan_test_tonearest): Likewise.
2425 (tan_test_towardzero): Likewise.
2426 (tan_test_downward): Likewise.
2427 (tan_test_upward): Likewise.
2428 (main): Call the new functions.
2429 * sysdeps/i386/fpu/libm-test-ulps: Update.
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2434 small n, then large n, before computing and testing k+n.
2435 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2440 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2441 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2447 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2448 * math/libm-test.inc (scalbn_test): Add more tests.
2449 (scalbln_test): Likewise.
2451 * manual/filesys.texi (mode_t): Describe constraints on size and
2452 signedness, not exact equivalence to a particular type.
2454 (ino64_t): Likewise.
2456 (nlink_t): Likewise.
2457 (blkcnt_t): Likewise.
2458 (blkcnt64_t): Likewise.
2459 * manual/llio.texi (off_t): Likewise.
2462 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2463 (__ieee754_exp): Save and restore rounding mode and use
2464 round-to-nearest for all computations.
2465 * math/libm-test.inc (exp_test_tonearest): New function.
2466 (exp_test_towardzero): Likewise.
2467 (exp_test_downward): Likewise.
2468 (exp_test_upward): Likewise.
2469 (main): Call the new functions.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2473 2012-03-01 Chris Demetriou <cgd@google.com>
2475 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2476 have predictable order.
2478 2012-03-01 David S. Miller <davem@davemloft.net>
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2482 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2483 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2484 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2485 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2487 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2488 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2489 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2491 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2492 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2500 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2503 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2505 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2506 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2507 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2510 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2512 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2513 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2519 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2520 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2521 * sysdeps/sparc/elf/configure: Regenerated.
2523 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2525 * configure.in (AS, LD): Require binutils 2.20 or later.
2526 * configure: Regenerated.
2527 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2528 as required minimum version.
2529 * INSTALL: Regenerated.
2533 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2534 before squaring exponent.
2535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2536 bottom long double and 27 bits of top long double before squaring
2538 * math/libm-test.inc (erfc_test): Add more tests.
2539 * sysdeps/i386/fpu/libm-test-ulps: Update.
2540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2543 2012-03-01 Kai Tietz <ktietz@redhat.com>
2545 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2546 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2547 containing bit-fields.
2548 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2549 * soft-fp/single.h (_FP_UNION_S): Likewise.
2550 * soft-fp/double.h (_FP_UNION_D): Likewise.
2552 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2555 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2556 not include ../strcmp.S.
2557 [USE_AS_STRNCASECMP_L]: Likewise.
2558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2559 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2560 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2561 (__strncasecmp_l_ia32): Define as alias to
2562 __strncasecmp_l_nonascii.
2565 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572 2012-02-29 Jeff Law <law@redhat.com>
2574 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2577 2012-02-29 Marek Polacek <polacek@redhat.com>
2580 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2581 * elf/Makefile: Add rules to run tst-unused-dep.out.
2583 2012-02-28 David S. Miller <davem@davemloft.net>
2585 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2586 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2588 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2592 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2594 * math/libm-test.inc (llround_test): Move one test from
2595 lround_test. Use TEST_f_L in moved test.
2596 (lround_test): Move misplaced test to llround_test. Add testcase
2599 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2601 * sysdeps/x86_64/fpu/e_expf.S: New file.
2602 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2604 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2607 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2608 of remain_len that may cause incomplete multi-byte character and
2610 * posix/bug-regex33.c: New file.
2611 * posix/Makefile (tests): Add bug-regex33.
2613 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2615 * manual/macros.texi: New file.
2616 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2617 * manual/libc.texinfo: Include macros.texi.
2618 * manual/creatute.texi: Likewise.
2619 * manual/install.texi: Likewise.
2620 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2621 @glibcadj{} in references to the GNU C Library.
2622 * manual/charset.texi: Likewise.
2623 * manual/conf.texi: Likewise.
2624 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2625 when not using those macros.
2626 * manual/creature.texi: Likewise.
2627 * manual/crypt.texi: Likewise.
2628 * manual/errno.texi: Likewise.
2629 * manual/filesys.texi: Likewise.
2630 * manual/header.texi: Likewise.
2631 * manual/install.texi: Likewise.
2632 * manual/intro.texi: Likewise.
2633 * manual/io.texi: Likewise.
2634 * manual/job.texi: Likewise.
2635 * manual/lang.texi: Likewise.
2636 * manual/libc.texiinfo: Likewise.
2637 * manual/llio.texi: Likewise.
2638 * manual/locale.texi: Likewise.
2639 * manual/maint.texi: Likewise.
2640 * manual/math.texi: Likewise.
2641 * manual/memory.texi: Likewise.
2642 * manual/message.texi: Likewise.
2643 * manual/nss.texi: Likewise.
2644 * manual/pattern.texi: Likewise.
2645 * manual/process.texi: Likewise.
2646 * manual/resource.texi: Likewise.
2647 * manual/search.texi: Likewise.
2648 * manual/setjmp.texi: Likewise.
2649 * manual/signal.texi: Likewise.
2650 * manual/socket.texi: Likewise.
2651 * manual/startup.texi: Likewise.
2652 * manual/stdio.texi: Likewise.
2653 * manual/string.texi: Likewise.
2654 * manual/sysinfo.texi: Likewise.
2655 * manual/syslog.texi: Likewise.
2656 * manual/terminal.texi: Likewise.
2657 * manual/time.texi: Likewise.
2658 * manual/users.texi: Likewise.
2659 * INSTALL: Regenerated.
2660 * NOTES: Regenerated.
2661 * sysdeps/gnu/errlist.c: Regenerated.
2663 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2665 * include/dirent.h: Include <dirstream.h> before
2668 2012-02-28 David S. Miller <davem@davemloft.net>
2670 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2671 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2672 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2673 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2675 2012-02-27 David S. Miller <davem@davemloft.net>
2677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2683 frame pointer instead of stack pointer relative arg slot.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2685 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2686 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2688 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2691 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2693 2012-02-27 David S. Miller <davem@davemloft.net>
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2699 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2700 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2701 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2702 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2704 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2706 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2707 later. Allow versions 5-9.
2708 * configure: Regenerated.
2709 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2710 required minimum version and 4.6 as recommended version. Do not
2711 mention bugs in GCC 2.7 and 2.8.
2712 * INSTALL: Regenerated.
2714 2012-02-27 David S. Miller <davem@davemloft.net>
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2722 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2726 manipulate bits before adding and subtracting TWO112[sx].
2727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2729 2012-02-27 Roland McGrath <roland@hack.frob.com>
2732 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2733 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2734 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2735 being in POSIX, because they are in 1003.1-2008.
2737 * rt/tst-aio.c: Include <fcntl.h>.
2738 * rt/tst-aio7.c: Likewise.
2739 * rt/tst-aio64.c: Likewise.
2741 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2743 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2745 * manual/install.texi (--with-headers): Describe headers as
2746 interface headers, not private headers.
2747 (Specific advice for GNU/Linux systems): Describe use of headers
2748 from "make headers_install", not private headers from older
2750 * INSTALL: Regenerated.
2751 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2753 * sysdeps/unix/sysv/linux/configure: Regenerated.
2755 * manual/llio.texi (fclean): Remove documentation.
2757 * manual/Makefile (libc-texi-generated): New variable. Include
2759 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2760 $(libc-texi-generated), not duplicated list of files.
2761 (version.texi, stamp-version): New rules.
2762 (realclean): Remove $(libc-texi-generated), not individual files
2763 from that list. Do not remove dir-add.texinfo.
2764 * manual/libc.texinfo: Comment out uses of edition numbers and
2765 references to printed manual. Remove last-updated dates.
2766 (EDITION): Comment out.
2768 (VERSION, UPDATED): Remove.
2769 (version.texi): Include.
2771 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2773 * sysdeps/posix/spawni.c: Include <signal.h>.
2774 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2775 * sysdeps/pthread/aio_fsync.c: Likewise.
2777 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2779 * conform/Makefile (tests): Run only when not cross-compiling and
2780 when fast-check is not defined.
2782 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2783 * conform/data/limits.h-data: Fixes for POSIX2008.
2784 * conform/run-conformtest.sh: Run all tests.
2785 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2787 * include/bits/dlfcn.h: Likewise.
2788 * include/langinfo.h: Likewise.
2789 * include/monetary.h: Likewise.
2790 * include/sys/poll.h: Likewise.
2792 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2794 * posix/spawn.h: Define __need_sigset_t.
2795 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2796 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2797 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2798 to get sigevent_t only.
2799 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2802 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2803 process_vm_writev only for __USE_GNU.
2804 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2806 * conform/Makefile: For now ignore errors from run-conformtest.
2807 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2808 POSIX to avoid namespace pollution. Don't prepend headers.
2809 * conform/data/aio.h-data: Fixes for POSIX testing.
2810 * conform/data/fcntl.h-data: Likewise.
2811 * conform/data/glob.h-data: Likewise.
2812 * conform/data/grp.h-data: Likewise.
2813 * conform/data/pthread.h-data: Likewise.
2814 * conform/data/pwd.h-data: Likewise.
2815 * conform/data/signal.h-data: Likewise.
2816 * conform/data/spawn.h-data: Likewise.
2817 * conform/data/stdio.h-data: Likewise.
2818 * conform/data/stdlib.h-data: Likewise.
2819 * conform/data/stropts.h-data: Likewise.
2820 * conform/data/sys/mman.h-data: Likewise.
2821 * conform/data/sys/stat.h-data: Likewise.
2822 * conform/data/sys/types.h-data: Likewise.
2823 * conform/data/sys/wait.h-data: Likewise.
2824 * conform/data/time.h-data: Likewise.
2825 * conform/data/unistd.h-data: Likewise.
2826 * conform/data/utime.h-data: Likewise.
2828 * io/sys/stat.h: fchmod was always in POSIX.
2829 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2830 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2831 * rt/aio.h: Define __need_timespec before including <time.h>.
2832 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2833 struct. Add forward declaration of pthread_attr_t and use it in
2835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2837 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2838 always remove CLK_TCK definition.
2840 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2842 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2844 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2846 * conform/run-conformtest.sh: New file.
2847 * conform/Makefile: Run run-conformtest for tests.
2848 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2851 * conform/data/uchar.h-data: New file.
2852 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2853 * conform/data/arpa/inet.h-data: Likewise.
2854 * conform/data/assert.h-data: Likewise.
2855 * conform/data/complex.h-data: Likewise.
2856 * conform/data/cpio.h-data: Likewise.
2857 * conform/data/ctype.h-data: Likewise.
2858 * conform/data/dirent.h-data: Likewise.
2859 * conform/data/dlfcn.h-data: Likewise.
2860 * conform/data/errno.h-data: Likewise.
2861 * conform/data/fcntl.h-data: Likewise.
2862 * conform/data/float.h-data: Likewise.
2863 * conform/data/fmtmsg.h-data: Likewise.
2864 * conform/data/fnmatch.h-data: Likewise.
2865 * conform/data/ftw.h-data: Likewise.
2866 * conform/data/glob.h-data: Likewise.
2867 * conform/data/grp.h-data: Likewise.
2868 * conform/data/iconv.h-data: Likewise.
2869 * conform/data/inttypes.h-data: Likewise.
2870 * conform/data/langinfo.h-data: Likewise.
2871 * conform/data/libgen.h-data: Likewise.
2872 * conform/data/limits.h-data: Likewise.
2873 * conform/data/locale.h-data: Likewise.
2874 * conform/data/math.h-data: Likewise.
2875 * conform/data/monetary.h-data: Likewise.
2876 * conform/data/mqueue.h-data: Likewise.
2877 * conform/data/ndbm.h-data: Likewise.
2878 * conform/data/net/if.h-data: Likewise.
2879 * conform/data/netdb.h-data: Likewise.
2880 * conform/data/netinet/in.h-data: Likewise.
2881 * conform/data/nl_types.h-data: Likewise.
2882 * conform/data/poll.h-data: Likewise.
2883 * conform/data/pthread.h-data: Likewise.
2884 * conform/data/pwd.h-data: Likewise.
2885 * conform/data/regex.h-data: Likewise.
2886 * conform/data/sched.h-data: Likewise.
2887 * conform/data/search.h-data: Likewise.
2888 * conform/data/semaphore.h-data: Likewise.
2889 * conform/data/setjmp.h-data: Likewise.
2890 * conform/data/signal.h-data: Likewise.
2891 * conform/data/spawn.h-data: Likewise.
2892 * conform/data/stdarg.h-data: Likewise.
2893 * conform/data/stdio.h-data: Likewise.
2894 * conform/data/stdlib.h-data: Likewise.
2895 * conform/data/string.h-data: Likewise.
2896 * conform/data/strings.h-data: Likewise.
2897 * conform/data/stropts.h-data: Likewise.
2898 * conform/data/sys/ipc.h-data: Likewise.
2899 * conform/data/sys/mman.h-data: Likewise.
2900 * conform/data/sys/msg.h-data: Likewise.
2901 * conform/data/sys/resource.h-data: Likewise.
2902 * conform/data/sys/select.h-data: Likewise.
2903 * conform/data/sys/sem.h-data: Likewise.
2904 * conform/data/sys/shm.h-data: Likewise.
2905 * conform/data/sys/socket.h-data: Likewise.
2906 * conform/data/sys/stat.h-data: Likewise.
2907 * conform/data/sys/statvfs.h-data: Likewise.
2908 * conform/data/sys/time.h-data: Likewise.
2909 * conform/data/sys/timeb.h-data: Likewise.
2910 * conform/data/sys/times.h-data: Likewise.
2911 * conform/data/sys/types.h-data: Likewise.
2912 * conform/data/sys/uio.h-data: Likewise.
2913 * conform/data/sys/un.h-data: Likewise.
2914 * conform/data/sys/utsname.h-data: Likewise.
2915 * conform/data/sys/wait.h-data: Likewise.
2916 * conform/data/syslog.h-data: Likewise.
2917 * conform/data/tar.h-data: Likewise.
2918 * conform/data/termios.h-data: Likewise.
2919 * conform/data/utime.h-data: Likewise.
2920 * conform/data/utmpx.h-data: Likewise.
2921 * conform/data/varargs.h-data: Likewise.
2922 * conform/data/wchar.h-data: Likewise.
2923 * conform/data/wctype.h-data: Likewise.
2924 * conform/data/wordexp.h-data: Likewise.
2926 * include/stropts.h: New file.
2927 * include/uchar.h: New file.
2928 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2929 * include/assert.h: Likewise.
2930 * include/ctype.h: Likewise.
2931 * include/dirent.h: Likewise.
2932 * include/dlfcn.h: Likewise.
2933 * include/fcntl.h: Likewise.
2934 * include/fnmatch.h: Likewise.
2935 * include/glob.h: Likewise.
2936 * include/grp.h: Likewise.
2937 * include/libio.h: Likewise.
2938 * include/locale.h: Likewise.
2939 * include/math.h: Likewise.
2940 * include/net/if.h: Likewise.
2941 * include/netdb.h: Likewise.
2942 * include/netinet/in.h: Likewise.
2943 * include/pthread.h: Likewise.
2944 * include/pwd.h: Likewise.
2945 * include/regex.h: Likewise.
2946 * include/sched.h: Likewise.
2947 * include/search.h: Likewise.
2948 * include/setjmp.h: Likewise.
2949 * include/signal.h: Likewise.
2950 * include/stdio.h: Likewise.
2951 * include/stdlib.h: Likewise.
2952 * include/string.h: Likewise.
2953 * include/sys/cdefs.h: Likewise.
2954 * include/sys/mman.h: Likewise.
2955 * include/sys/msg.h: Likewise.
2956 * include/sys/resource.h: Likewise.
2957 * include/sys/select.h: Likewise.
2958 * include/sys/socket.h: Likewise.
2959 * include/sys/stat.h: Likewise.
2960 * include/sys/statvfs.h: Likewise.
2961 * include/sys/time.h: Likewise.
2962 * include/sys/times.h: Likewise.
2963 * include/sys/uio.h: Likewise.
2964 * include/sys/utsname.h: Likewise.
2965 * include/sys/wait.h: Likewise.
2966 * include/termios.h: Likewise.
2967 * include/time.h: Likewise.
2968 * include/ulimit.h: Likewise.
2969 * include/unistd.h: Likewise.
2970 * include/utime.h: Likewise.
2971 * include/wchar.h: Likewise.
2972 * include/wctype.h: Likewise.
2973 * include/wordexp.h: Likewise.
2975 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2977 * time/time.h: TIME_UTC must be a macro.
2978 Make timespec_get available for ISO C11 only as well.
2980 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2982 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2983 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2985 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2987 * configure.in: Use -o not -a in test for unsupported multi-arch.
2989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2991 * manual/texinfo.tex: Update to version 2012-01-19.16.
2993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2995 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2997 2012-02-24 Roland McGrath <roland@hack.frob.com>
3000 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3001 * manual/fdl-1.3.texi: New file.
3002 * manual/fdl-1.1.texi: File removed.
3005 * manual/libc.texinfo (FDL_VERSION): New @set.
3006 Use it for mention of FDL in cover text.
3007 (Documentation License): Use it in @include file name.
3009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3010 Roland McGrath <roland@hack.frob.com>
3013 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3014 not LONG_LONG_MAX and LONG_LONG_MIN.
3015 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3016 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3018 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3020 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3025 manipulate bits before adding and subtracting TWO23[sx].
3026 * math/libm-test.inc (nearbyint_test): Add more tests.
3028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3031 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3032 bits before adding and subtracting TWO23[sx].
3033 * math/libm-test.inc (rint_test): Add more tests.
3034 (rint_test_tonearest): Likewise.
3035 (rint_test_towardzero): Likewise.
3036 (rint_test_downward): Likewise.
3037 (rint_test_upward: Likewise.
3039 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3042 * include/stdc-predef.h: New file. Extracted from features.h.
3043 * include/features.h: Include stdc-predef.h.
3044 * Makefile (headers): Add stdc-predef.h.
3045 * CONFORMANCE (Compiler limitations): Update.
3047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3049 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3051 2012-02-21 David S. Miller <davem@davemloft.net>
3053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3054 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3056 2012-02-20 David S. Miller <davem@davemloft.net>
3058 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3059 using a normal save/restore sequence, rather than allocating a
3060 dummy stack frame just to store a frame pointer and restore.
3061 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3063 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3065 * manual/install.texi: Fix stray word in line-wrapped comment.
3067 2012-02-20 David S. Miller <davem@davemloft.net>
3069 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3070 both binutils and gcc support GOTDATA.
3072 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3073 "rd %pc" in the PIC register setup sequences.
3075 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3076 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3077 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3078 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3084 (SYSCALL_ERROR_HANDLER): Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3088 (SYSCALL_ERROR_HANDLER): Likewise.
3090 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3091 (HAVE_GCC_GOTDATA): New.
3092 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3093 relocation support in both binutils and gcc.
3094 * sysdeps/sparc/elf/configure: Regenerate.
3096 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3097 * sysdeps/sparc/sparc32/elf/configure: Delete.
3098 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3099 * sysdeps/sparc/sparc64/elf/configure: Delete.
3100 * sysdeps/sparc/elf/configure.in: New file.
3101 * sysdeps/sparc/elf/configure: Generate.
3103 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3104 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3106 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3107 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3109 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3111 * manual/install.texi: Do not mention specific glibc version
3113 * manual/libc.texinfo (VERSION, UPDATED): Update.
3114 (@copying): Use @copyright{} and range of years.
3116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3119 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3120 [crti.S not in sysdirs] (generated): Do not append.
3121 [crti.S not in sysdirs] (omit-deps): Likewise.
3122 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3123 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3124 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3125 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3126 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3128 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3129 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3130 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3131 * csu/defs.awk: Remove file.
3132 * sysdeps/generic/initfini.c: Likewise.
3133 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3135 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3138 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3141 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3144 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3145 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3147 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3148 (__EPOLL_PACKED): Define to empty if not defined by
3150 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3154 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3156 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3157 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3161 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3165 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3167 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3174 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3176 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3177 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3179 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3181 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3182 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3184 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3186 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3189 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3191 * math/w_acos.c: Use non-signaling floating-point comparisons.
3192 * math/w_acosf.c: Likewise.
3193 * math/w_acosh.c: Likewise.
3194 * math/w_acoshf.c: Likewise.
3195 * math/w_acoshl.c: Likewise.
3196 * math/w_acosl.c: Likewise.
3197 * math/w_asin.c: Likewise.
3198 * math/w_asinf.c: Likewise.
3199 * math/w_asinl.c: Likewise.
3200 * math/w_atanh.c: Likewise.
3201 * math/w_atanhf.c: Likewise.
3202 * math/w_atanhl.c: Likewise.
3203 * math/w_exp2.c: Likewise.
3204 * math/w_exp2f.c: Likewise.
3205 * math/w_exp2l.c: Likewise.
3206 * math/w_j0.c: Likewise.
3207 * math/w_j0f.c: Likewise.
3208 * math/w_j0l.c: Likewise.
3209 * math/w_j1.c: Likewise.
3210 * math/w_j1f.c: Likewise.
3211 * math/w_j1l.c: Likewise.
3212 * math/w_jn.c: Likewise.
3213 * math/w_jnf.c: Likewise.
3214 * math/w_log.c: Likewise.
3215 * math/w_log10.c: Likewise.
3216 * math/w_log10f.c: Likewise.
3217 * math/w_log10l.c: Likewise.
3218 * math/w_log2.c: Likewise.
3219 * math/w_log2f.c: Likewise.
3220 * math/w_log2l.c: Likewise.
3221 * math/w_logf.c: Likewise.
3222 * math/w_logl.c: Likewise.
3223 * math/w_sqrt.c: Likewise.
3224 * math/w_sqrtf.c: Likewise.
3225 * math/w_sqrtl.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3229 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3232 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3235 * manual/string.texi (strnlen): Use correct parameter name in
3236 equivalent expression.
3238 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3241 * manual/users.texi (seteuid): Consistently use neweuid for
3244 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3247 * manual/nss.texi (Services in the NSS configuration): Correct
3248 list of services in example configuration file.
3250 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3253 * manual/arith.texi: Remove statements about negative zero
3254 behaving identically to zero.
3256 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3259 * manual/install.texi: Do not document upgrading from libc5.
3261 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3264 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3266 2012-02-18 David S. Miller <davem@davemloft.net>
3268 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3269 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3270 %o7 across the call.
3271 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3276 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3277 * sysdeps/sparc/crtn.S: Likewise.
3279 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3281 * aout/Makefile: Remove.
3283 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3286 * manual/examples/argp-ex1.c (main): Format definition in GNU
3288 * manual/examples/argp-ex2.c (main): Likewise.
3289 * manual/examples/argp-ex3.c (main): Likewise.
3290 * manual/examples/argp-ex4.c (main): Likewise.
3291 * manual/examples/longopt.c (main): Use new-style prototype
3293 * manual/examples/strncat.c (main): Specify return type and use
3294 (void) for arguments.
3295 * manual/examples/subopt.c (main): Use char **argv argument.
3297 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3300 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3303 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3306 * manual/string.texi (strchr): Change when strchrnul is
3309 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3312 * manual/locale.texi (setlocale): Document LOCPATH.
3314 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3317 * manual/process.texi (execle): Move @dots{} before last argument.
3319 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3322 * manual/charset.texi (Generic Charset Conversion): Fix typo
3323 (LC_TYPE -> LC_CTYPE).
3325 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3328 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3329 (scalbnf): Likewise.
3330 (scalbnl): Likewise.
3331 (scalbln): Likewise.
3332 (scalblnf): Likewise.
3333 (scalblnl): Likewise.
3334 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3338 * manual/filesys.texi (telldir): Use braces around return type.
3339 * manual/llio.texi (mmap): Add space after comma.
3341 * manual/math.texi (jn): Use @var{} on parameter names.
3347 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3349 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3351 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3352 (sched_get_priority_max): Likewise.
3353 * manual/signal.texi (sigvec): Add space after comma.
3354 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3356 (if_indextoname): Likewise.
3357 (if_freenameindex): Likewise.
3358 (sendto): Use ',' instead of '.' in prototype.
3359 * manual/startup.texi (syscall): Use @dots{} instead of literal
3361 * manual/stdio.texi (__fpending): Separate initial words of
3362 paragraph from @deftypefun line.
3363 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3365 (vsyslog): Use @var{} on parameter names.
3366 * manual/terminal.texi (stty): Use @var{} on parameter names.
3367 * manual/users.texi (getutmp): Use @var{} on parameter names.
3368 (getutmpx): Likewise.
3370 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3373 * manual/stdio.texi (fopen): Fix typos in description of
3376 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3379 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3380 get clock_id definition.
3382 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3385 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3386 (madvise): Cast every argument to void on its own.
3388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3391 * manual/startup.texi (Exit Status): Fix typo.
3393 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3396 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3397 * manual/examples/argp-ex2.c: Likewise.
3398 * manual/examples/argp-ex3.c: Likewise.
3400 2012-02-16 Richard Henderson <rth@redhat.com>
3402 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3403 * sysdeps/s390/s390-32/initfini.c: Remove.
3404 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3405 * sysdeps/s390/s390-64/initfini.c: Remove.
3407 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3409 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3410 compiler output for sysdeps/generic/initfini.c.
3411 * sysdeps/sh/elf/initfini.c: Remove file.
3413 2012-02-16 David S. Miller <davem@davemloft.net>
3416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3418 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3419 * sysdeps/sparc/crti.S: New file.
3420 * sysdeps/sparc/crtn.S: New file.
3421 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3422 * sysdeps/sparc/sparc64/Makefile: Likewise.
3424 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3427 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3429 2012-02-15 Roland McGrath <roland@hack.frob.com>
3432 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3434 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3435 (write, read, close): Likewise.
3436 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3438 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3440 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3441 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3443 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3445 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3449 2012-02-14 Marek Polacek <polacek@redhat.com>
3451 * sysdeps/x86_64/crti.S: New file.
3452 * sysdeps/x86_64/crtn.S: New file.
3453 * sysdeps/x86_64/elf/initfini.c: Remove file.
3455 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3457 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3458 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3459 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3460 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3462 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3466 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3469 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3471 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3473 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3477 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3479 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3480 __feraiseexcept instead of feraiseexcept.
3482 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3483 nanosleep invocations.
3484 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3485 strings, and add error checking for a nanosleep invocations.
3487 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3489 Replace FSF snail mail address with URLs, as per GNU coding standards.
3490 Most of the snail mail addresses were wrong anyway, and omitting
3491 them makes the source code easier to maintain. Almost all of the
3492 changes are to license notices and to locale LC_IDENTIFICATION
3493 addresses, except for this one:
3494 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3495 not its snail mail address.
3497 2012-02-09 Richard Henderson <rth@twiddle.net>
3499 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3500 of kernel-features.h.
3502 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3504 2012-02-08 Marek Polacek <polacek@redhat.com>
3506 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3507 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3508 * sysdeps/gnu/_G_config.h: Likewise.
3509 * sysdeps/generic/_G_config.h: Likewise.
3511 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3513 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517 * sysdeps/powerpc/powerpc32/crti.S: New file.
3518 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3519 * sysdeps/powerpc/powerpc64/crti.S: New file.
3520 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3522 * Makeconfig (have-initfini): Don't set.
3523 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3524 * configure.in (nopic_initfini): Don't substitute.
3525 * config.h.in (HAVE_INITFINI): Don't #undef.
3526 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3527 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3529 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3531 Support crti.S and crtn.S provided directly by architectures.
3532 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3533 [crti.S in sysdirs] (omit-deps): Likewise.
3534 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3535 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3536 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3537 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3538 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3539 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3540 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3541 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3542 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3543 compiler output for sysdeps/generic/initfini.c.
3544 * sysdeps/i386/elf/Makefile: Remove file.
3545 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3547 2012-02-07 Marek Polacek <polacek@redhat.com>
3549 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3550 * sysdeps/gnu/_G_config.h: Likewise.
3551 * sysdeps/mach/hurd/_G_config.h: Likewise.
3553 2012-02-07 Marek Polacek <polacek@redhat.com>
3555 * math/Makefile (tests): Add tst-CMPLX2.
3556 * math/tst-CMPLX2.c: New file.
3558 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3560 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3562 * math/libm-test.inc (jn_test): Add missing L suffix.
3564 2012-02-06 Marek Polacek <polacek@redhat.com>
3566 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3567 * sysdeps/i386/fpu/e_powf.S: Likewise.
3568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3570 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3571 * sysdeps/i386/fpu/e_pow.S: Likewise.
3572 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3573 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3574 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3575 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3576 * sysdeps/i386/fpu/e_log2.S: Likewise.
3577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3578 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3579 * sysdeps/i386/fpu/e_powl.S: Likewise.
3580 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3582 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3583 * sysdeps/i386/fpu/e_logl.S: Likewise.
3584 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3585 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3586 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3587 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3589 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3590 * sysdeps/i386/fpu/e_log.S: Likewise.
3591 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3593 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3594 * sysdeps/i386/fpu/e_logf.S: Likewise.
3595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3597 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3598 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3600 * sysdeps/i386/fpu/e_log10.S: Likewise.
3601 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3603 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3604 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3606 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3607 * sysdeps/i386/asm-syntax.h: Likewise.
3608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3611 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3612 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3614 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3615 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3616 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3617 * sysdeps/powerpc/sysdep.h: Likewise.
3618 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3621 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3626 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/i386/sysdep.h: Include <features.h>.
3629 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3632 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3634 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3636 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3639 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3641 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3642 (SETUP_PIC_REG): Use GET_PC_THUNK.
3643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3646 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3648 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3649 for non-PIC compilation.
3650 (SETUP_PIC_REG): Add .p2align directive.
3651 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3652 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3693 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3695 * math/tst-CMPLX.c: Include <stdio.h>.
3697 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3699 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3701 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3702 * sysdeps/sparc/bits/mathdef.h: Likewise.
3704 2012-01-31 Marek Polacek <polacek@redhat.com>
3706 * libio/libio.h: Don't define _PARAMS.
3707 * locale/programs/config.h: Don't define PARAMS.
3708 * stdlib/strtol_l.c: Likewise.
3709 (__strtol_l): Remove PARAMS from the prototype.
3711 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3713 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3714 names. Just use the correct names. Remove unnecessary wrapper
3716 * malloc/arena.c: Likewise.
3717 * malloc/hooks.c: Likewise.
3719 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3720 ARENA_TEST says not to. Simplify test for creation of a new arena.
3721 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3723 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3725 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3727 (update_get_addr): New function.
3728 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3729 GET_ADDR_MODULE parameter.
3731 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3733 * crypt/cert.c: Remove __STDC__ conditionals.
3734 * crypt/crypt-entry.c: Likewise.
3735 * crypt/crypt_util.c: Likewise.
3736 * libio/filedoalloc.c: Likewise.
3737 * libio/fileops.c: Likewise.
3738 * libio/genops.c: Likewise.
3739 * libio/iofclose.c: Likewise.
3740 * libio/iofdopen.c: Likewise.
3741 * libio/iofopen.c: Likewise.
3742 * libio/iofopen64.c: Likewise.
3743 * libio/iogetdelim.c: Likewise.
3744 * libio/iopopen.c: Likewise.
3745 * libio/obprintf.c: Likewise.
3746 * libio/oldfileops.c: Likewise.
3747 * libio/oldiofclose.c: Likewise.
3748 * libio/oldiofdopen.c: Likewise.
3749 * libio/oldiofopen.c: Likewise.
3750 * libio/oldiopopen.c: Likewise.
3751 * libio/wfiledoalloc.c: Likewise.
3752 * libio/wgenops.c: Likewise.
3753 * locale/programs/xmalloc.c: Likewise.
3754 * misc/syslog.c: Likewise.
3755 * stdio-common/xbug.c: Likewise.
3756 * string/memchr.c: Likewise.
3757 * string/memcmp.c: Likewise.
3758 * string/memrchr.c: Likewise.
3759 * string/rawmemchr.c: Likewise.
3760 * sysdeps/posix/getcwd.c: Likewise.
3761 * time/strftime_l.c: Likewise.
3763 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3765 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3766 * config.make.in (config-cflags-sse2avx): Define.
3767 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3770 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3772 * scripts/config.guess: Update from upstream config git repository.
3773 * scripts/config.sub: Likewise.
3775 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3777 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3779 (R_TILEPRO_*, R_TILEGX_*): New macros.
3781 * scripts/firstversions.awk: Fix bug in version range handling.
3783 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3785 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3787 * include/sys/epoll.h: New file.
3788 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3791 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3793 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3794 Avoid unnecessary __WORDSIZE == 64 test.
3795 (fmaxf): Use VEX format if possible.
3800 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3801 * math/math_private.h: Remove libc_fegetround* and
3803 * sysdeps/i386/configure.in: Check for -msse2avx.
3804 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3805 also if SSE2AVX is defined.
3806 Remove libc_fegetround* and libc_fesetround*.
3807 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3808 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3812 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3817 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3819 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3825 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3828 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3830 * Makeconfig (libm): Define.
3831 * elf/Makefile: Add rules to build and run tst-relsort1.
3832 * elf/tst-relsort1.c: New file.
3833 * elf/tst-relsort1mod1.c: New file.
3834 * elf/tst-relsort1mod2.c: New file.
3836 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3838 * math/s_ldexp.c: Remove __STDC__ conditionals.
3839 * math/s_ldexpf.c: Likewise.
3840 * math/s_ldexpl.c: Likewise.
3841 * math/s_nextafter.c: Likewise.
3842 * math/s_nexttowardf.c: Likewise.
3843 * math/s_significand.c: Likewise.
3844 * math/s_significandf.c: Likewise.
3845 * math/s_significandl.c: Likewise.
3846 * math/w_jnl.c: Likewise.
3847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3873 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3887 * sysdeps/ieee754/k_standard.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3949 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3967 * sysdeps/ieee754/s_matherr.c: Likewise.
3968 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3973 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3975 * crypt/md5.h: Remove __STDC__ conditionals.
3976 * libio/libioP.h: Likewise.
3977 * locale/programs/config.h: Likewise.
3978 * sysdeps/generic/sysdep.h: Likewise.
3979 * sysdeps/i386/asm-syntax.h: Likewise.
3980 * sysdeps/s390/asm-syntax.h: Likewise.
3981 * sysdeps/unix/sysdep.h: Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3985 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3987 * libio/libio.h: Remove __STDC__ conditionals.
3988 * malloc/obstack.h: Likewise.
3989 * math/complex.h: Likewise.
3990 * math/math.h: Likewise.
3991 * sysdeps/generic/_G_config.h: Likewise.
3992 * sysdeps/gnu/_G_config.h: Likewise.
3993 * sysdeps/mach/hurd/_G_config.h: Likewise.
3994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3996 * sysdeps/sparc/bits/mathdef.h: Likewise.
3998 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4002 Clean up HAS_* macros.
4003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4004 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4014 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4016 * elf/tst-unique3.cc (gets): Remove declaration.
4017 * elf/tst-unique3lib.cc (gets): Likewise.
4018 * elf/tst-unique3lib2.cc (gets): Likewise.
4019 * elf/tst-unique4.cc (gets): Likewise.
4021 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4023 * include/stdio.h: Add C++ protection. Add gets declarations and
4025 * debug/tst-chk1.c: Don't declare gets here.
4026 * stdio-common/tst-gets.c: Likewise.
4028 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4030 * posix/glob: Remove directory.
4032 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4034 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4036 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4038 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4039 of the non-standard EPFNOSUPPORT.
4041 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4043 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4044 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4045 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4047 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4049 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4051 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4053 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4055 * nscd/grpcache.c (cache_addgr): Likewise.
4056 * nscd/hstcache.c (cache_addhst): Likewise.
4057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4058 * nscd/pwdcache.c (cache_addpw): Likewise.
4059 * nscd/servicescache.c (cache_addserv): Likewise.
4061 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4063 * malloc/malloc.c: Various cleanups.
4064 * malloc/hooks.c: Likewise.
4066 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4067 * stdlib/bug-fmtmsg1.c: New file.
4069 * stdlib/fmtmsg.c (init): Add missing unlock.
4070 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4072 2012-01-12 Marek Polacek <polacek@redhat.com>
4074 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4077 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4079 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4081 macro to ensure uniqueness of label name.
4082 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4083 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4085 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4087 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4089 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4094 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4098 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4099 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4102 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4105 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4109 * math/bits/math-finite.h: Add ldexp support.
4111 2012-01-10 Marek Polacek <polacek@redhat.com>
4113 * locale/programs/localedef.h (show_archive_content): Add noreturn
4116 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4120 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4122 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4124 * io/Makefile (headers): Add bits/poll2.h.
4126 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4129 typo #include statement.
4131 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4133 * include/sys/cdefs.h: Define __attribute_alloc_size.
4134 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4135 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4136 * elf/pldd.c: Likewise.
4137 * iconv/iconv_charmap.c: Likewise.
4138 * iconv/iconvconfig.c: Likewise.
4139 * iconv/strtab.c: Likewise.
4140 * locale/programs/locale.c: Likewise.
4141 * locale/programs/localedef.h: Likewise.
4142 * locale/programs/simple-hash.c: Likewise.
4143 * nscd/nscd.h: Likewise.
4144 * nss/makedb.c: Likewise.
4145 * sysdeps/generic/ldconfig.h: Likewise.
4146 * locale/programs/localedef.c: Remove xmalloc prototype.
4147 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4149 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4154 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4156 * math/Makefile (tests): Add tst-CMPLX.
4157 * math/tst-CMPLX.c: New file.
4159 * math/complex.h (CMPLXL): Fix typo.
4161 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4162 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4164 * debug/tst-chk1.c: Add poll and ppoll tests.
4165 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4166 * include/sys/poll.h: Add hidden proto for ppoll.
4167 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4168 * sysdeps/mach/hurd/ppoll.c: Likewise.
4169 * io/ppoll.c: Likewise.
4170 * debug/poll_chk.c: New file.
4171 * debug/ppoll_chk.c: New file.
4172 * include/bits/poll2.h: New file.
4173 * io/bits/poll2.h: New file.
4176 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4178 * configure.in: static is always set to yes. Remove.
4179 * config.make.in: Don't set build-static.
4180 * Makeconfig: Remove use of build-static.
4181 * dlfcn/Makefile: Likewise.
4182 * elf/Makefile: Likewise.
4183 * math/Makefile: Likewise.
4184 * misc/Makefile: Likewise.
4185 * nptl/Makefile: Likewise.
4186 * sysdeps/mach/hurd/Makefile: Likewise.
4188 * configure.in: PWD_P is not used anymore.
4189 * config.make.in: Remove PWD_P entry.
4191 * configure.in: Remove last remnants of RANLIB.
4192 No need to check for signed size_t anymore.
4193 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4195 Remove __builtin_expect test because we require at least gcc 3.4.
4196 * aclocal.m4: Likewise.
4198 * wcsmbs/mbrtoc16.c: Implement using towc function.
4199 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4200 * wcsmbs/wcsmbsload.c: Likewise.
4201 * iconv/gconv_simple.c: Likewise.
4202 * iconv/gconv_int.h: Likewise.
4203 * iconv/gconv_builtin.h: Likewise.
4204 * iconv/iconv_prog.c: Remove CHAR16 handling.
4206 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4208 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4210 * configure.in: Remove --with-elf and --enable-bounded options.
4211 Dont set base_machine for ia64. More non-ELF conditions removed.
4212 Remove testing and setting of leading underscore information.
4213 * config.make.in (build-bounded): Set to no.
4214 * config.h.in: Remove NO_UNDERSCORES entry.
4215 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4217 * csu/start.c: Remove !NO_UNDERSCORE code.
4218 * locale/localeinfo.h: Likewise.
4219 * sysdeps/generic/machine-gmon.h: Likewise.
4220 * sysdeps/generic/sysdep.h: Likewise.
4221 * sysdeps/i386/sysdep.h: Likewise.
4222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4223 * sysdeps/mach/sysdep.h: Likewise.
4224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4226 * sysdeps/sh/sysdep.h: Likewise.
4227 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4228 * sysdeps/unix/i386/sysdep.S: Likewise.
4229 * sysdeps/unix/sparc/start.c: Likewise.
4230 * sysdeps/unix/sparc/sysdep.S: Likewise.
4231 * sysdeps/unix/sparc/sysdep.h: Likewise.
4232 * sysdeps/unix/start.c: Likewise.
4233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4234 * sysdeps/x86_64/sysdep.h: Likewise.
4236 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4239 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4241 * argp/argp-fmtstream.h: Use const instead __const.
4242 * argp/argp.h: Likewise.
4243 * assert/assert.h: Likewise.
4244 * bits/fenv.h: Likewise.
4245 * bits/sched.h: Likewise.
4246 * bits/sigset.h: Likewise.
4247 * bits/sigthread.h: Likewise.
4248 * catgets/nl_types.h: Likewise.
4249 * conform/data/pthread.h-data: Likewise.
4250 * crypt/crypt-private.h: Likewise.
4251 * crypt/crypt.h: Likewise.
4252 * crypt/crypt_util.c: Likewise.
4253 * ctype/ctype.h: Likewise.
4254 * debug/execinfo.h: Likewise.
4255 * debug/mbsnrtowcs_chk.c: Likewise.
4256 * debug/mbsrtowcs_chk.c: Likewise.
4257 * debug/wcsnrtombs_chk.c: Likewise.
4258 * debug/wcsrtombs_chk.c: Likewise.
4259 * debug/wcstombs_chk.c: Likewise.
4260 * dirent/dirent.h: Likewise.
4261 * dlfcn/dlfcn.h: Likewise.
4262 * elf/neededtest4.c: Likewise.
4263 * grp/grp.h: Likewise.
4264 * gshadow/gshadow.h: Likewise.
4265 * iconv/gconv.h: Likewise.
4266 * iconv/gconv_int.h: Likewise.
4267 * iconv/gconv_simple.c: Likewise.
4268 * iconv/iconv.h: Likewise.
4269 * iconv/loop.c: Likewise.
4270 * iconv/skeleton.c: Likewise.
4271 * include/aio.h: Likewise.
4272 * include/aliases.h: Likewise.
4273 * include/argz.h: Likewise.
4274 * include/arpa/inet.h: Likewise.
4275 * include/assert.h: Likewise.
4276 * include/dirent.h: Likewise.
4277 * include/dlfcn.h: Likewise.
4278 * include/execinfo.h: Likewise.
4279 * include/fcntl.h: Likewise.
4280 * include/fenv.h: Likewise.
4281 * include/glob.h: Likewise.
4282 * include/grp.h: Likewise.
4283 * include/libintl.h: Likewise.
4284 * include/mntent.h: Likewise.
4285 * include/netdb.h: Likewise.
4286 * include/pwd.h: Likewise.
4287 * include/rpc/netdb.h: Likewise.
4288 * include/sched.h: Likewise.
4289 * include/search.h: Likewise.
4290 * include/shadow.h: Likewise.
4291 * include/signal.h: Likewise.
4292 * include/stdio.h: Likewise.
4293 * include/stdlib.h: Likewise.
4294 * include/string.h: Likewise.
4295 * include/sys/socket.h: Likewise.
4296 * include/sys/stat.h: Likewise.
4297 * include/sys/statfs.h: Likewise.
4298 * include/sys/statvfs.h: Likewise.
4299 * include/sys/syslog.h: Likewise.
4300 * include/sys/time.h: Likewise.
4301 * include/sys/uio.h: Likewise.
4302 * include/time.h: Likewise.
4303 * include/unistd.h: Likewise.
4304 * include/utmp.h: Likewise.
4305 * include/wchar.h: Likewise.
4306 * include/wctype.h: Likewise.
4307 * inet/aliases.h: Likewise.
4308 * inet/arpa/inet.h: Likewise.
4309 * inet/netinet/ether.h: Likewise.
4310 * inet/netinet/in.h: Likewise.
4311 * intl/libintl.h: Likewise.
4312 * io/bits/fcntl2.h: Likewise.
4313 * io/fcntl.h: Likewise.
4314 * io/ftw.h: Likewise.
4315 * io/sys/poll.h: Likewise.
4316 * io/sys/stat.h: Likewise.
4317 * io/sys/statfs.h: Likewise.
4318 * io/sys/statvfs.h: Likewise.
4319 * io/utime.h: Likewise.
4320 * libio/bits/stdio.h: Likewise.
4321 * libio/bits/stdio2.h: Likewise.
4322 * libio/libio.h: Likewise.
4323 * libio/libioP.h: Likewise.
4324 * libio/stdio.h: Likewise.
4325 * locale/lc-ctype.c: Likewise.
4326 * locale/locale.h: Likewise.
4327 * login/utmp.h: Likewise.
4328 * malloc/arena.c: Likewise.
4329 * malloc/malloc.c: Likewise.
4330 * malloc/malloc.h: Likewise.
4331 * malloc/mcheck.c: Likewise.
4332 * malloc/mtrace.c: Likewise.
4333 * math/bits/mathcalls.h: Likewise.
4334 * math/fenv.h: Likewise.
4335 * math/math_private.h: Likewise.
4336 * misc/bits/error.h: Likewise.
4337 * misc/bits/syslog.h: Likewise.
4338 * misc/err.h: Likewise.
4339 * misc/error.h: Likewise.
4340 * misc/fstab.h: Likewise.
4341 * misc/mntent.h: Likewise.
4342 * misc/regexp.h: Likewise.
4343 * misc/search.h: Likewise.
4344 * misc/sgtty.h: Likewise.
4345 * misc/sys/mman.h: Likewise.
4346 * misc/sys/syslog.h: Likewise.
4347 * misc/sys/uio.h: Likewise.
4348 * misc/sys/xattr.h: Likewise.
4349 * misc/ttyent.h: Likewise.
4350 * nis/rpcsvc/ypclnt.h: Likewise.
4351 * nss/nss.h: Likewise.
4352 * posix/bits/unistd.h: Likewise.
4353 * posix/fnmatch.h: Likewise.
4354 * posix/glob.h: Likewise.
4355 * posix/sched.h: Likewise.
4356 * posix/spawn.h: Likewise.
4357 * posix/sys/wait.h: Likewise.
4358 * posix/unistd.h: Likewise.
4359 * posix/wordexp.h: Likewise.
4360 * pwd/pwd.h: Likewise.
4361 * resolv/netdb.h: Likewise.
4362 * resource/sys/resource.h: Likewise.
4363 * rt/aio.h: Likewise.
4364 * rt/bits/mqueue2.h: Likewise.
4365 * rt/mqueue.h: Likewise.
4366 * shadow/shadow.h: Likewise.
4367 * signal/signal.h: Likewise.
4368 * socket/send.c: Likewise.
4369 * socket/sendto.c: Likewise.
4370 * socket/sys/socket.h: Likewise.
4371 * stdio-common/printf.h: Likewise.
4372 * stdlib/bits/stdlib.h: Likewise.
4373 * stdlib/fmtmsg.h: Likewise.
4374 * stdlib/monetary.h: Likewise.
4375 * stdlib/stdlib.h: Likewise.
4376 * stdlib/ucontext.h: Likewise.
4377 * streams/stropts.h: Likewise.
4378 * string/argz.h: Likewise.
4379 * string/bits/string2.h: Likewise.
4380 * string/string.h: Likewise.
4381 * string/strings.h: Likewise.
4382 * sunrpc/rpc/auth.h: Likewise.
4383 * sunrpc/rpc/auth_des.h: Likewise.
4384 * sunrpc/rpc/clnt.h: Likewise.
4385 * sunrpc/rpc/netdb.h: Likewise.
4386 * sunrpc/rpc/pmap_clnt.h: Likewise.
4387 * sunrpc/rpc/xdr.h: Likewise.
4388 * sysdeps/generic/inttypes.h: Likewise.
4389 * sysdeps/generic/net/if.h: Likewise.
4390 * sysdeps/generic/sys/swap.h: Likewise.
4391 * sysdeps/gnu/net/if.h: Likewise.
4392 * sysdeps/gnu/utmpx.h: Likewise.
4393 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4394 * sysdeps/i386/i486/bits/string.h: Likewise.
4395 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4396 * sysdeps/s390/bits/string.h: Likewise.
4397 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4398 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4399 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4400 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4401 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4402 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4403 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4405 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4407 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4408 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4409 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4410 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4411 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4412 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4413 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4419 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4420 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4421 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4425 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4427 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4428 * sysvipc/sys/ipc.h: Likewise.
4429 * sysvipc/sys/msg.h: Likewise.
4430 * sysvipc/sys/sem.h: Likewise.
4431 * sysvipc/sys/shm.h: Likewise.
4432 * termios/termios.h: Likewise.
4433 * time/sys/time.h: Likewise.
4434 * time/time.h: Likewise.
4435 * wcsmbs/bits/wchar2.h: Likewise.
4436 * wcsmbs/uchar.h: Likewise.
4437 * wcsmbs/wchar.h: Likewise.
4438 * wctype/wctype.h: Likewise.
4441 * Makeconfig: Remove all but ELF support including AIX support.
4442 * Makerules: Likewise.
4443 * config.h.in: Likewise.
4444 * config.make.in: Likewise.
4445 * configure: Likewise.
4446 * configure.in: Likewise.
4447 * csu/Makefile: Likewise.
4448 * csu/version.c: Likewise.
4449 * debug/Makefile: Likewise.
4450 * dlfcn/Makefile: Likewise.
4451 * elf/Makefile: Likewise.
4452 * extra-lib.mk: Likewise.
4453 * iconv/Makefile: Likewise.
4454 * include/libc-symbols.h: Likewise.
4455 * include/shlib-compat.h: Likewise.
4456 * resolv/Makefile: Likewise.
4457 * resolv/res_libc.c: Likewise.
4458 * rt/Makefile: Likewise.
4459 * sysdeps/i386/asm-syntax.h: Likewise.
4460 * sysdeps/i386/sysdep.h: Likewise.
4461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4462 * sysdeps/mach/sysdep.h: Likewise.
4463 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4464 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4465 * sysdeps/s390/asm-syntax.h: Likewise.
4466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4468 * sysdeps/sh/sysdep.h: Likewise.
4469 * sysdeps/unix/sparc/sysdep.h: Likewise.
4470 * sysdeps/wordsize-32/divdi3.c: Likewise.
4471 * sysdeps/x86_64/sysdep.h: Likewise.
4473 * argp/Versions: Remove _argp_unlock_xxx.
4476 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4477 * abilist/libBrokenLocale.abilist: Likewise.
4478 * abilist/libanl.abilist: Likewise.
4479 * abilist/libc.abilist: Likewise.
4480 * abilist/libcrypt.abilist: Likewise.
4481 * abilist/libdl.abilist: Likewise.
4482 * abilist/libm.abilist: Likewise.
4483 * abilist/libnsl.abilist: Likewise.
4484 * abilist/libpthread.abilist: Likewise.
4485 * abilist/libresolv.abilist: Likewise.
4486 * abilist/librt.abilist: Likewise.
4487 * abilist/libthread_db.abilist: Likewise.
4488 * abilist/libutil.abilist: Likewise.
4489 * abilist/libnss_db.abilist: New file.
4491 * scripts/abilist.awk: Add support for indirect functions.
4493 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4495 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4497 * shlib-versions: Remove entries for ports architectures.
4499 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4501 * elf/stackguard-macros.h: Remove support for IA-64.
4502 * elf/tst-auditmod1.c: Likewise.
4503 * sysdeps/generic/ldsodefs.h: Likewise.
4505 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4506 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4510 * configure.in: Remove --enable-omitfp support.
4512 * config.make.in: Likewise.
4513 * Makeconfig: Likewise.
4514 * manual/install.texi: Likewise.
4516 In case anyone cares, the IA-64 architecture could move to ports.
4517 * sysdeps/ia64/*: Removed.
4518 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4519 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4522 * configure.in: Remove entries for unsupported architectures.
4525 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4526 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4528 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4529 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4530 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4531 fall back to using wcrtomb.
4532 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4533 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4535 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4536 * wcsmbs/tst-c16c32-1.c: New file.
4538 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4541 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4543 * elf/tst-unique3.cc: Add explicit declaration of gets.
4544 * elf/tst-unique3lib.cc: Likewise.
4545 * elf/tst-unique3lib2.cc: Likewise.
4546 * elf/tst-unique4.cc: Likewise.
4548 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4550 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4553 * assert/assert.h (static_assert): Don't define for C++.
4554 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4555 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4557 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4559 * iconv/loop.c (single loop): Fix assertion in storing of
4562 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4564 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4566 * posix/getconf.c: Update copyright year.
4567 * nss/getent.c: Likewise.
4568 * nss/makedb.c: Likewise.
4569 * iconv/iconvconfig.c: Likewise.
4570 * iconv/iconv_prog.c: Likewise.
4571 * elf/ldconfig.c: Likewise.
4572 * elf/pldd.c: Likewise.
4573 * elf/sotruss.ksh: Likewise.
4574 * catgets/gencat.c: Likewise.
4575 * csu/version.c: Likewise.
4576 * elf/ldd.bash.in: Likewise.
4577 * elf/sprof.c (print_version): Likewise.
4578 * locale/programs/locale.c: Likewise.
4579 * locale/programs/localedef.c: Likewise.
4580 * login/programs/pt_chown.c: Likewise.
4581 * nscd/nscd.c (print_version): Likewise.
4582 * debug/xtrace.sh: Likewise.
4583 * malloc/memusage.sh: Likewise.
4584 * malloc/mtrace.pl: Likewise.
4585 * debug/catchsegv.sh: Likewise.
4587 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4589 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4592 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4595 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4596 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4598 * iconv/gconv_int.h: Likewise.
4599 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4600 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4601 from libc for GLIBC_2.16.
4602 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4603 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4604 * wcsmbs/uchar.h: Really define mbstate_t.
4605 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4606 * wcsmbs/c16rtomb.c: New file.
4607 * wcsmbs/mbrtoc16.c: New file.
4608 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4610 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4611 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4613 * wcsmbs/wchar.h: Add missing __restrict.
4615 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4618 * time/Makefile (routines): Add timespec_get.
4619 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4620 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4621 timespec for ISO C11.
4622 * time/timespec_get.c: New file.
4623 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4624 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4627 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4628 * stdlib/stdlib.h: Declare aligned_alloc.
4629 * Versions.def: Add GLIBC_2.16 for libc.
4630 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4633 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4636 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4640 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4643 * assert/assert.h (static_assert): Define.
4645 * version.h: Update for 2.16 development version.
4648 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4651 * version.h (RELEASE): Bump for 2.15 release.
4652 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4654 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4655 Patch by Marek Polacek <mpolacek@redhat.com>.
4657 * bits/byteswap.h: Protect long long constants with __extension__.
4658 * sysdeps/i386/bits/byteswap.h: Likewise.
4659 * sysdeps/ia64/bits/byteswap.h: Likewise.
4660 * sysdeps/s390/bits/byteswap.h: Likewise.
4661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4663 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4668 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4670 2011-12-23 Marek Polacek <polacek@redhat.com>
4672 * elf/dl-addr.c (determine_info): Add inline keyword.
4673 * elf/tst-auditmod4b.c (check_avx): Likewise.
4674 * elf/tst-auditmod6b.c (check_avx): Likewise.
4675 * elf/tst-auditmod6c.c (check_avx): Likewise.
4676 * elf/tst-auditmod7b.c (check_avx): Likewise.
4678 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4683 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4686 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4687 processing for last bytes.
4689 2011-08-06 Bruno Haible <bruno@clisp.org>
4692 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4693 U+0385, not to U+1FEE.
4696 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4697 entry for U+00A5 U+0301.
4699 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4702 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4703 buffer for the output is too small.
4705 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4709 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4710 SSE flags if possible.
4712 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4716 processing for last bytes.
4718 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4721 (syscall-list-default-options, syscall-list-default-condition)
4722 (syscall-list-includes): Define.
4723 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4724 list of ABIs and options and #if conditions for each ABI. Do not
4725 handle common syscalls between ABIs specially.
4726 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4728 (syscall-list-variants, syscall-list-32bit-options)
4729 (syscall-list-32bit-condition, syscall-list-64bit-options)
4730 (syscall-list-64bit-condition): Define.
4731 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4732 (syscall-list-variants, syscall-list-32bit-options)
4733 (syscall-list-32bit-condition, syscall-list-64bit-options)
4734 (syscall-list-64bit-condition): Define.
4735 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4737 (syscall-list-variants, syscall-list-32bit-options)
4738 (syscall-list-32bit-condition, syscall-list-64bit-options)
4739 (syscall-list-64bit-condition): Define.
4740 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4742 (syscall-list-variants, syscall-list-32bit-options)
4743 (syscall-list-32bit-condition, syscall-list-64bit-options)
4744 (syscall-list-64bit-condition): Define.
4746 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4748 * locale/iso-639.def: Add brx entry.
4751 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4752 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4754 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4755 __feraiseexcept_renamed.
4757 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4760 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4761 EPOLLET with unsigned values.
4762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4765 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4766 to large cancellation.
4767 * math/s_cacoshf.c: Likewise.
4768 * math/s_cacoshl.c: Likewise.
4770 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4774 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4775 * math/s_cacoshf.c: Likewise.
4776 * math/s_cacoshl.c: Likewise.
4778 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4781 * iconv/gconv.h: Define __GCONV_SWAP.
4782 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4783 * iconvdata/utf-16.c: Likewise.
4784 * iconvdata/utf-32.c: Likewise.
4786 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4790 numerator after shifting it by one limb.
4792 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4795 under [__USE_EXTERN_INLINES].
4797 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4800 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4802 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4805 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4807 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4808 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4809 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4810 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4811 for strncasecmp/strncasecmp_l compilation.
4812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4813 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4815 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4818 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4821 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4824 * time/tzfile.c (__tzfile_read): Check values from file header.
4826 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4828 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4829 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4830 * powerpc/powerpc32/dl-start.S: Likewise.
4831 * powerpc/powerpc32/elf/start.S: Likewise.
4832 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4833 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4834 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4835 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4836 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4837 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4838 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4839 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4840 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4841 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4842 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4843 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4844 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4845 * powerpc/powerpc32/memset.S: Likewise.
4846 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4847 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4848 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4849 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4850 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4851 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4852 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4853 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4854 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4855 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4857 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4858 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4860 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862 * math/libm-test.inc: Added more nearbyint tests.
4863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4868 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4870 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4873 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4875 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4876 Add wcscpy-ssse3 wcscpy-c.
4877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4878 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4879 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4880 * sysdeps/x86_64/wcschr.S: New file.
4881 * sysdeps/x86_64/wcsrchr.S: New file.
4882 * string/test-strcmp.c: Remove checking of wcscmp function for
4884 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4885 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4886 wcsrchr-sse2 wcsrchr-c.
4887 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4888 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4889 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4890 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4891 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4892 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4893 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4894 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4896 * wcsmbc/wcschr.c (WCSCHR): New macro.
4898 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4900 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4901 * wcsmbs/test-wcsrchr.c: New file.
4902 * string/test-strrchr.c: Add wcsrchr support.
4904 * wcsmbs/test-wcscpy.c: New file.
4905 * string/test-strcpy.c: Add wcscpy support.
4908 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4910 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4913 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4916 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4918 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4921 Minor optimizations.
4923 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4924 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4925 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4927 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4929 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4930 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4931 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4932 for gcc to avoid warnings.
4933 * inet/Makefile (tests): Add tst-checks.
4934 * inet/tst-checks.c: New file.
4936 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4939 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4942 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4943 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4945 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4947 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4949 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4952 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4954 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4957 conditional on GCC version.
4958 (__arch_compare_and_exchange_val_8_acq)
4959 (__arch_compare_and_exchange_val_16_acq)
4960 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4961 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4962 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4964 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4966 * sysdeps/sh/backtrace.c: New file.
4968 2011-12-02 Andreas Schwab <schwab@redhat.com>
4970 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4973 2011-12-01 Andreas Schwab <schwab@redhat.com>
4975 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4976 falling back to utime.
4978 2011-11-30 Andreas Schwab <schwab@redhat.com>
4980 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4981 expectations for float.
4983 2011-11-29 Andreas Schwab <schwab@redhat.com>
4985 * locale/weight.h (findidx): Add parameter len.
4986 * locale/weightwc.h (findidx): Likewise.
4987 * posix/fnmatch_loop.c (FCT): Adjust caller.
4988 * posix/regcomp.c (build_equiv_class): Likewise.
4989 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4990 * posix/regexec.c (check_node_accept_bytes): Likewise.
4991 * string/strcoll_l.c (STRCOLL): Likewise.
4992 * string/strxfrm_l.c (STRXFRM): Likewise.
4994 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4996 * Makefile.in: Remove CVSOPT handling.
4997 * configure.in: Remove use of AC_REVISION.
4998 * iconvdata/Makefile (distribute): No need to filter out CVS.
4999 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5002 2011-11-16 Andreas Schwab <schwab@redhat.com>
5004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5005 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5006 [USE_AS_STRNCASECMP_L]: Likewise.
5007 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5008 NO_TLS_DIRECT_SEG_REFS.
5009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5010 Fix argument offsets for non-PIC.
5011 [USE_AS_STRNCASECMP_L]: Likewise.
5012 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5013 NO_TLS_DIRECT_SEG_REFS.
5015 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5017 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5019 * locale/loadlocale.c (_nl_load_locale): Likewise.
5021 2011-11-15 Andreas Schwab <schwab@redhat.com>
5023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5024 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5026 (SYSCALL_GETTIME): Set errno on error.
5028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5029 count references to noai6ai_cached.
5031 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5033 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5035 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5036 FD_CLOEXEC for /proc/self/maps.
5038 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5039 FD_CLOEXEC for /proc/meminfo.
5041 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5044 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5045 FD_CLOEXEC for given file.
5047 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5049 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5050 FD_CLOEXEC for /etc/hosts.
5051 (_gethtent): Likewise.
5053 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5055 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5056 cancellation and set FD_CLOEXEC for /etc/netgroup.
5058 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5059 reading /etc/publickey.
5061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5062 allow cancellation when reading /etc/group.
5064 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5066 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5068 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5069 when using data file.
5071 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5073 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5074 (write_nis_obj): Use "c" and "e" in fopen.
5076 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5078 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5080 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5082 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5084 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5087 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5089 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5091 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5093 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5094 file parsing and set FD_CLOEXEC.
5096 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5098 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5100 2011-11-14 Andreas Schwab <schwab@redhat.com>
5102 * malloc/arena.c (arena_get2): Don't call reused_arena when
5103 _int_new_arena failed.
5105 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5107 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5108 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5109 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5113 to compile strcasecmp and strncasecmp.
5114 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5115 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5119 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5121 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5122 locale-defines.sym to gen-as-const-headers.
5123 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5124 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5126 to compile strcasecmp and strncasecmp.
5127 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5128 strcasecmp_l and strncasecmp_l.
5129 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5130 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5131 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5133 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5135 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5136 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5137 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5138 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5139 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5141 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5143 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5144 result of SYSDEP_GETTIME_CPU to retval.
5145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5146 parameter list to macro. Remove trailing semicolon. Adjust users.
5148 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5156 from unused variable.
5158 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5160 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5163 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5166 * sunrpc/rpc_prot.c (rejected): Fix case value.
5168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5169 unsigned long long int to avoid warnings in shift.
5171 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5173 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5177 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5178 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5180 * nis/nis_table.c (nis_list): Use variable of correct type for
5181 result of __follow_path call.
5183 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5185 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5186 of math functions ceil, trunc, floor, round, and sqrt, when
5187 avaliable on the platform.
5188 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5194 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5196 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5199 2011-11-11 Roland McGrath <roland@hack.frob.com>
5201 * include/unistd.h: Fix __readlink return type.
5202 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5204 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5206 * stdlib/ucontext.h: Undo last change for makecontext.
5208 2011-11-11 Andreas Schwab <schwab@redhat.com>
5210 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5212 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5213 * setjmp/setjmp.h: Mark functions as non-leaf.
5214 * setjmp/bits/setjmp2.h: Likewise.
5215 * stdlib/ucontext.h: Likewise.
5217 2011-11-10 Andreas Schwab <schwab@redhat.com>
5219 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5220 (reused_arena): Don't check arena limit.
5221 (arena_get2): Atomically check arena limit.
5223 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5225 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5226 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5231 2011-11-07 Andreas Schwab <schwab@redhat.com>
5233 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5234 handler when locking.
5236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5237 Fix size of allocated buffer.
5239 2011-11-04 Andreas Schwab <schwab@redhat.com>
5242 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5243 declarations for long double functions.
5244 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5246 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5248 2011-11-03 Andreas Schwab <schwab@redhat.com>
5250 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5253 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5256 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5258 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5260 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5262 * include/alloca.h (stackinfo_alloca_round): Define.
5263 (extend_alloca): Use it.
5264 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5265 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5268 * scripts/check-local-headers.sh: Ignore libaudit.h.
5270 * nscd/Makefile (extra-objs): Make recursively expanded.
5272 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5274 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5277 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5278 * posix/tst-rfc3484-2.c: Likewise.
5279 * posix/tst-rfc3484-3.c: Likewise.
5281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5283 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5285 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5286 process_vm_writev from libc using GLIBC_2.15 version.
5288 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5290 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5292 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5295 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5298 * nss/getent.c (initgroups_keys): Show error message in case no group
5301 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5302 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5303 __bump_nl_timestamp.
5304 * nscd/connections (nscd_init): When host database is served open
5305 netlink socket and request notification about configuration changes.
5306 (main_loop_poll): Track netlink file descriptor and bump timestamp
5307 in case data becomes available.
5308 (main_loop_epoll): Likewise.
5309 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5310 (database_pers_head): Add extra_data fileds.
5311 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5313 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5316 in6ai data, call __free_in6ai.
5317 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5319 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5320 interface information. Reuse previous data if netlink timestamp
5322 (__bump_nl_timestamp): New function.
5323 (__free_in6ai): New function.
5325 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5328 close_not_cancel_no_status here.
5329 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5331 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5334 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5337 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5338 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5339 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5341 2011-07-03 Andreas Jaeger <aj@suse.de>
5344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5345 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5346 * math/libm-test.inc (sin_test): Add test case.
5348 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5351 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5354 * elf/chroot_canon.c (chroot_canon): Cleanups.
5356 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5359 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5362 * string/test-strchr.c: Make usable for strchrnul testing.
5363 * string/test-strchrnul.c: New file.
5364 * string/Makefile (strop-tests): Add strchrnul.
5366 * po/it.po: Update from translation team.
5367 * po/es.po: Likewise.
5369 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5372 the three constants needed as parameters. Drop the others.
5373 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5374 __m128i_strloadu_tolower.
5375 Create and initialize variable zero and use it in all the places
5376 where _mm_setzero_si128 was used.
5378 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5379 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5380 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5383 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5386 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5388 __mpranred, __mptan.
5389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5393 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5394 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5397 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5399 2011-10-28 Andreas Schwab <schwab@redhat.com>
5401 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5403 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5406 wide char related routines to wcsmbs subdir.
5408 2011-10-27 Andreas Schwab <schwab@redhat.com>
5411 * misc/sys/cdefs.h (__THROWNL): Define.
5412 * posix/unistd.h: Use __THREADNL instead of __THREAD
5413 for memory synchronization functions.
5415 2011-10-26 Roland McGrath <roland@hack.frob.com>
5418 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5420 * manual/stdio.texi (Obstack Streams): Node removed.
5422 2011-10-26 Andreas Schwab <schwab@redhat.com>
5424 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5428 * math/math_private.h (math_force_eval): Allow non-addressable
5430 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5432 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5444 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5446 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5447 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5448 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5449 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5450 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5452 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5453 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5454 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5456 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5457 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5459 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5466 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5467 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5470 place. Use VEX encoding when compiling for AVX.
5472 2011-10-25 Andreas Schwab <schwab@redhat.com>
5474 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5475 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5477 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5479 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5481 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5482 useless if() expression.
5483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5492 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5498 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5503 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5505 2011-10-25 Andreas Schwab <schwab@redhat.com>
5507 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5509 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5511 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5513 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5514 .text section. Avoid duplicate constants.
5515 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5525 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5527 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5530 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5548 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5549 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5550 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5553 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5561 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5563 * sysdeps/x86_64/dla.h: Move to ...
5564 * sysdeps/x86_64/fpu/dla.h: ...here.
5565 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5566 situations. Use __builtin_fma only for gcc 4.6 and up.
5568 * config.make.in: Add have-mfma4 entry.
5569 * configure.in: Substitute libc_cv_cc_fma4.
5570 * math/Makefile (dbl-only-routines): Add sincostab.
5571 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5572 Use __sincostab not sincos.
5573 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5580 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5581 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5582 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5583 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5586 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5588 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5589 define aliases when function name is a macro.
5590 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5591 sysdeps/ieee754/dbl-64/sincos.tbl.
5592 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5593 fma4-enabled routines.
5594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5595 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5596 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5597 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5599 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5625 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5636 2011-10-24 Andreas Schwab <schwab@redhat.com>
5638 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5644 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5648 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5649 Remove unused variable magic_bits.
5650 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5652 * string/strnlen.c: Define and use STRNLEN macro.
5653 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5654 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5656 * wcsmbs/wcslen.c: Define and use WCSLEN.
5657 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5658 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5659 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5660 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5661 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5662 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5663 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5665 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5668 strnlen-sse2-no-bsf.
5669 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5671 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5672 Add strnlen support.
5673 (USE_AS_STRNLEN): New macro.
5674 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5675 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5676 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5677 * sysdeps/x86_64/wcslen.S: New file.
5679 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5682 XMM-moves are used for copying on small sizes.
5684 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5686 * wcsmbs/Makefile (strop-tests): Add wcschr.
5687 * wcsmbs/test-wcschr.c: New file.
5688 * string/test-strchr.c: Update.
5692 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5694 * wcsmbs/Makefile (strop-tests): Add wcslen.
5695 * wcsmbs/test-wcslen.c: New file.
5696 * string/test-strlen.c: Update.
5700 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5702 * po/it.po: Update from translation team.
5704 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5706 * sysdeps/x86_64/wcscmp.S: Update.
5707 Fix wrong comparison semantics.
5708 wcscmp shall use signed comparison not unsigned.
5709 Don't use substraction to avoid overflow bug.
5710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5711 * wcsmbc/wcscmp.c: Likewise.
5712 * string/test-strcmp.c: Likewise.
5713 Add new tests to check cases with negative values.
5715 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5717 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5718 * sysdeps/x86_64/dla.h: ...here. New file.
5719 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5729 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5732 __ynl_finite aliases.
5734 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5738 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5740 [DLA_FMA] (EMULV): Use DLA_FMA.
5741 [DLA_FMA] (MUL12): Use EMULV.
5742 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5743 that are not needed.
5744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5752 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5754 * math/s_nan.c: Undef __nan.
5755 * math/s_nanf.c: Undef __nanf.
5756 * math/s_nanl.c: Undef __nanl.
5757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5760 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5762 * math/s_catan.c: Add branch predictions.
5763 * math/s_catanf.c: Likewise.
5764 * math/s_catanh.c: Likewise.
5765 * math/s_catanhf.c: Likewise.
5766 * math/s_catanhl.c: Likewise.
5767 * math/s_catanl.c: Likewise.
5768 * math/s_cexp.c: Likewise.
5769 * math/s_cexpf.c: Likewise.
5770 * math/s_cexpl.c: Likewise.
5771 * math/s_clog.c: Likewise.
5772 * math/s_clog10.c: Likewise.
5773 * math/s_clog10f.c: Likewise.
5774 * math/s_clog10l.c: Likewise.
5775 * math/s_clogf.c: Likewise.
5776 * math/s_clogl.c: Likewise.
5777 * math/s_csqrt.c: Likewise.
5778 * math/s_csqrtf.c: Likewise.
5779 * math/s_csqrtl.c: Likewise.
5780 * math/s_ctanf.c: Likewise.
5781 * math/s_ctanh.c: Likewise.
5782 * math/s_ctanhf.c: Likewise.
5783 * math/s_ctanhl.c: Likewise.
5784 * math/s_ctanl.c: Likewise.
5786 * math/math_private.h: Define __nan, __nanf, __nanl.
5787 * math/s_cacosh.c: Include <math_private.h>.
5788 * math/s_cacoshl.c: Likewise.
5789 * math/s_casinh.c: Likewise.
5790 * math/s_casinhf.c: Likewise.
5791 * math/s_casinhl.c: Likewise.
5792 * math/s_ccos.c: Rely entire on ccosh.
5793 * math/s_ccosf.c: Rely entire on ccoshf.
5794 * math/s_ccosl.c: Rely entirely on ccoshl.
5795 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5796 Remove tests for FE_INVALID.
5797 * math/s_ccoshf.c: Likewise.
5798 * math/s_ccoshl.c: Likewise.
5799 * math/s_csin.c: Likewise.
5800 * math/s_csinf.c: Likewise.
5801 * math/s_csinh.c Likewise.
5802 * math/s_csinhf.c: Likewise.
5803 * math/s_csinhl.c: Likewise.
5804 * math/s_csinl.c: Likewise.
5805 * math/s_ctan.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5807 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5810 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5813 compilation problems.
5815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5818 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5820 * sysdeps/i386/configure.in: Test for -mfma4 option.
5821 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5822 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5823 COMMON_CPUID_INDEX_80000001.
5824 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5825 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5826 use it if FMA3 is not supported.
5827 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5829 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5830 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5832 2011-10-20 Andreas Schwab <schwab@redhat.com>
5835 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5836 it would create a cycle with a link time dependency.
5838 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5840 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5842 * string/Makefile (strop-tests): Add rawmemchr.
5843 * string/test-rawmemchr.c: New file.
5845 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5847 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5848 when compiling str{,n}casecmp and when AVX is available. Hook up
5849 new optimized code in initializers.
5851 2011-10-19 Andreas Schwab <schwab@redhat.com>
5853 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5854 __feraiseexcept instead of feraiseexcept.
5856 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5858 * math/math_private.h: Define defaults for libc_fetestexcept and
5860 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5865 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5866 libc_fetestexcept and libc_feupdateenv.
5868 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5869 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5870 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5871 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5872 libc_feholdexcept_setround.
5874 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5875 Add s_nearbyint-c and s_nearbyintf-c.
5876 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5881 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5883 * math/math_private.h: Define defaults for libc_fegetround,
5884 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5885 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5886 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5888 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5890 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5891 Remove comments and hacks for old compiler versions.
5892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5893 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5896 2011-10-18 Andreas Schwab <schwab@redhat.com>
5898 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5899 (__feraiseexcept_renamed): Add __NTH.
5900 (feraiseexcept): Add __NTH. Rename local variables to fix
5901 namespace violations.
5903 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5909 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5910 recently added interfaces.
5911 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5913 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5914 about macro parameter expansion.
5916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5917 __NO_MATH_INLINES is defined. Cleanups.
5919 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5920 and __floorf is target has SSE4.1.
5921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5923 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5926 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5930 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5932 2011-10-17 Andreas Schwab <schwab@redhat.com>
5934 * misc/sys/cdefs.h: Fix last change.
5936 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5939 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5941 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5943 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5951 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5952 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5953 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5954 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5955 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5956 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5957 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5958 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5959 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5960 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5961 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5962 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5963 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5964 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5966 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5967 ceil, ceilf, floor, floorf.
5969 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5970 Perform IRELATIVE relocations last.
5972 * elf/do-rel.h: Add another parameter nrelative, replacing the
5973 local variable with the same name. Change name of the function
5974 to end in Rel or Rela (uppercase).
5975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5976 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5977 elf_dynamic_do_##reloc function.
5979 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5981 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5982 is sufficient, at least on modern CPUs.
5984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5986 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5987 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5989 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5991 * math/bits/math-finite.h: Add entries for exp.
5992 * math/e_expl.c: Add __*_finite alias.
5993 * sysdeps/i386/fpu/e_exp.S: Likewise.
5994 * sysdeps/i386/fpu/e_expf.S: Likewise.
5995 * sysdeps/i386/fpu/e_expl.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6004 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6005 is sufficient, at least on modern CPUs.
6007 * ctype/ctype-info.c (__ctype_init): Define.
6008 * include/ctype.h (__ctype_init): Declare.
6009 (__ctype_b_loc): The variable is always initialized.
6010 (__ctype_toupper_loc): Likewise.
6011 (__ctype_tolower_loc): Likewise.
6012 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6013 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6015 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6017 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6019 * configure.in: Also look in $cxxmachine/include for C++ system
6022 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6024 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6025 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6026 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6027 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6029 (USE_AS_WMEMCMP): New macro.
6031 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6032 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6033 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6034 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6036 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6037 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6039 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6040 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6042 (USE_AS_WMEMCMP): New macro.
6043 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6044 * sysdeps/string/test-memcmp.c: Update.
6047 * wcsmbs/wmemcmp.c: Update.
6048 (WMEMCMP): New macro.
6051 2011-10-12 Andreas Jaeger <aj@suse.de>
6054 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6056 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6058 * libio/iofwide.c (do_length): Avoid warning.
6060 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6062 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6064 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6066 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6067 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6068 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6069 * sysdeps/i386/i686/fpu/e_log.S: New file.
6070 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6071 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6073 * ctype/ctype.h: Add support for inlined isXXX functions when
6076 2011-10-14 Andreas Schwab <schwab@redhat.com>
6078 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6082 2011-10-13 Roland McGrath <roland@hack.frob.com>
6085 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6087 2011-10-13 Andreas Schwab <schwab@redhat.com>
6089 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6090 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6093 * sysdeps/x86_64/memrchr.S: Check for zero size.
6095 * string/stratcliff.c: Add memrchr tests.
6097 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6100 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6101 rawmemchr-sse2 rawmemchr-sse2-bsf.
6102 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6103 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6104 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6105 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6106 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6107 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6108 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6109 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6111 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6112 * string/memrchr.c (MEMRCHR): New macro.
6114 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6116 Add integration with gcc's -ffinite-math-only and optimize wrapper
6118 * Versions.def: Define GLIBC_2.15 version for libm.
6119 * math/Makefile (headers): Add bits/math-finite.h.
6120 * math/bits/math-finite.h: New file.
6121 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6122 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6123 * math/e_acoshl.c: Add __*_finite alias.
6124 * math/e_acosl.c: Likewise.
6125 * math/e_asinl.c: Likewise.
6126 * math/e_atan2l.c: Likewise.
6127 * math/e_atanhl.c: Likewise.
6128 * math/e_coshl.c: Likewise.
6129 * math/e_exp10.c: Likewise.
6130 * math/e_exp10f.c: Likewise.
6131 * math/e_exp10l.c: Likewise.
6132 * math/e_exp2l.c: Likewise.
6133 * math/e_fmodl.c: Likewise.
6134 * math/e_gammal_r.c: Likewise.
6135 * math/e_hypotl.c: Likewise.
6136 * math/e_j0l.c: Likewise.
6137 * math/e_j1l.c: Likewise.
6138 * math/e_jnl.c: Likewise.
6139 * math/e_lgammal_r.c: Likewise.
6140 * math/e_log10l.c: Likewise.
6141 * math/e_log2l.c: Likewise.
6142 * math/e_logl.c: Likewise.
6143 * math/e_powl.c: Likewise.
6144 * math/e_sinhl.c: Likewise.
6145 * math/e_sqrtl.c: Likewise.
6146 * math/e_scalb.c: Completely rewritten and optimized.
6147 * math/e_scalbf.c: Likewise.
6148 * math/e_scalbl.c: Likewise.
6149 * math/w_acos.c: Likewise.
6150 * math/w_acosf.c: Likewise.
6151 * math/w_acosl.c: Likewise.
6152 * math/w_acosh.c: Likewise.
6153 * math/w_acoshf.c: Likewise.
6154 * math/w_acoshl.c: Likewise.
6155 * math/w_asin.c: Likewise.
6156 * math/w_asinf.c: Likewise.
6157 * math/w_asinl.c: Likewise.
6158 * math/w_atan2.c: Likewise.
6159 * math/w_atan2f.c: Likewise.
6160 * math/w_atan2l.c: Likewise.
6161 * math/w_atanh.c: Likewise.
6162 * math/w_atanhf.c: Likewise.
6163 * math/w_atanhl.c: Likewise.
6164 * math/w_exp10.c: Likewise.
6165 * math/w_exp10f.c: Likewise.
6166 * math/w_exp10l.c: Likewise.
6167 * math/w_fmod.c: Likewise.
6168 * math/w_fmodf.c: Likewise.
6169 * math/w_fmodl.c: Likewise.
6170 * math/w_j0.c: Likewise.
6171 * math/w_j0f.c: Likewise.
6172 * math/w_j0l.c: Likewise.
6173 * math/w_j1.c: Likewise.
6174 * math/w_j1f.c: Likewise.
6175 * math/w_j1l.c: Likewise.
6176 * math/w_jn.c: Likewise.
6177 * math/w_jnf.c: Likewise.
6178 * math/w_log.c: Likewise.
6179 * math/w_logf.c: Likewise.
6180 * math/w_logl.c: Likewise.
6181 * math/w_log10.c: Likewise.
6182 * math/w_log10f.c: Likewise.
6183 * math/w_log10l.c: Likewise.
6184 * math/w_log2.c: Likewise.
6185 * math/w_log2f.c: Likewise.
6186 * math/w_log2l.c: Likewise.
6187 * math/w_pow.c: Likewise.
6188 * math/w_powf.c: Likewise.
6189 * math/w_powl.c: Likewise.
6190 * math/w_remainder.c: Likewise.
6191 * math/w_remainderf.c: Likewise.
6192 * math/w_remainderl.c: Likewise.
6193 * math/w_scalb.c: Likewise.
6194 * math/w_scalbf.c: Likewise.
6195 * math/w_scalbl.c: Likewise.
6196 * math/w_sqrt.c: Likewise.
6197 * math/w_sqrtf.c: Likewise.
6198 * math/w_sqrtl.c: Likewise.
6199 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6200 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6202 * math/math_private.h: Declare __kernel_standard_f.
6203 * math/w_cosh.c: Remove cruft and optimize a bit.
6204 * math/w_coshf.c: Likewise.
6205 * math/w_coshl.c: Likewise.
6206 * math/w_exp2.c: Likewise.
6207 * math/w_exp2f.c: Likewise.
6208 * math/w_exp2l.c: Likewise.
6209 * math/w_hypot.c: Likewise.
6210 * math/w_hypotf.c: Likewise.
6211 * math/w_hypotl.c: Likewise.
6212 * math/w_lgamma.c: Likewise.
6213 * math/w_lgamma_r.c: Likewise.
6214 * math/w_lgammaf.c: Likewise.
6215 * math/w_lgammaf_r.c: Likewise.
6216 * math/w_lgammal.c: Likewise.
6217 * math/w_lgammal_r.c: Likewise.
6218 * math/w_sinh.c: Likewise.
6219 * math/w_sinhf.c: Likewise.
6220 * math/w_sinhl.c: Likewise.
6221 * math/w_tgamma.c: Likewise.
6222 * math/w_tgammaf.c: Likewise.
6223 * math/w_tgammal.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6226 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6227 Minor optimizations. Pretty printing. Remove cruft.
6228 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6229 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6232 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6233 * sysdeps/i386/fpu/e_asin.S: Likewise.
6234 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6235 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6236 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6237 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6241 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6242 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6243 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6244 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6245 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6246 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6247 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6248 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6249 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6250 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6251 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6252 * sysdeps/i386/fpu/e_log.S: Likewise.
6253 * sysdeps/i386/fpu/e_log10.S: Likewise.
6254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6256 * sysdeps/i386/fpu/e_log2.S: Likewise.
6257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6259 * sysdeps/i386/fpu/e_logf.S: Likewise.
6260 * sysdeps/i386/fpu/e_logl.S: Likewise.
6261 * sysdeps/i386/fpu/e_pow.S: Likewise.
6262 * sysdeps/i386/fpu/e_powf.S: Likewise.
6263 * sysdeps/i386/fpu/e_powl.S: Likewise.
6264 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6265 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6266 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6267 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6270 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6271 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6272 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6294 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6300 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6302 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6304 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6305 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6309 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6310 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6311 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6313 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6370 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6371 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6372 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6373 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6374 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6375 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6376 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6381 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6382 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6383 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6384 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6385 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6386 (__isnanf): Likewise.
6387 (__isinf_ns): Likewise.
6388 (__isinf_nsf): Likewise.
6389 (__finite): Likewise.
6390 (__finitef): Likewise.
6391 (__ieee754_sqrt): Define as macro.
6392 (__ieee754_sqrtf): Define as macro.
6393 (__ieee754_sqrtl): Define as macro.
6394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6396 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6397 __FINITE_MATH_ONLY__ consistent.
6398 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6400 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6402 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6405 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6407 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6409 * po/ja.po: Update from translation team.
6411 2011-10-08 Roland McGrath <roland@hack.frob.com>
6413 * locale/programs/locarchive.c (prepare_address_space): New function.
6414 (create_archive, enlarge_archive, open_archive): Use it.
6416 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6417 inside [SHARED], where it is used.
6419 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6421 * nss/getent.c (netgroup_keys): Remove unused variable.
6422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6424 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6426 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6431 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6432 * math/Makefile (libm-calls): Add s_isinf_ns.
6433 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6434 * math/multc3.c: Likewise.
6435 * math/s_casin.c: Likewise.
6436 * math/s_casinf.c: Likewise.
6437 * math/s_casinl.c: Likewise.
6438 * math/s_ccos.c: Likewise.
6439 * math/s_ccosf.c: Likewise.
6440 * math/s_ccosl.c: Likewise.
6441 * math/s_ctan.c: Likewise.
6442 * math/s_ctanf.c: Likewise.
6443 * math/s_ctanh.c: Likewise.
6444 * math/s_ctanhf.c: Likewise.
6445 * math/s_ctanhl.c: Likewise.
6446 * math/s_ctanl.c: Likewise.
6447 * math/w_fmod.c: Likewise.
6448 * math/w_fmodf.c: Likewise.
6449 * math/w_fmodl.c: Likewise.
6450 * math/w_remainder.c: Likewise.
6451 * math/w_remainderf.c: Likewise.
6452 * math/w_remainderl.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6454 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6455 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6457 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6458 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6459 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6460 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6462 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6464 * stdio-common/printf_fphex.c: Likewise.
6465 * stdio-common/printf_size.c: Likewise.
6467 * math/e_exp10.c: Include math_private.h using <...> not "...".
6468 * math/e_exp10f.c: Likewise.
6469 * math/e_exp10l.c: Likewise.
6470 * math/e_exp2l.c: Likewise.
6471 * math/e_j0l.c: Likewise.
6472 * math/e_j1l.c: Likewise.
6473 * math/e_jnl.c: Likewise.
6474 * math/e_lgammal_r.c: Likewise.
6475 * math/e_rem_pio2l.c: Likewise.
6476 * math/e_scalb.c: Likewise.
6477 * math/e_scalbf.c: Likewise.
6478 * math/e_scalbl.c: Likewise.
6479 * math/k_cosl.c: Likewise.
6480 * math/k_sinl.c: Likewise.
6481 * math/k_tanl.c: Likewise.
6482 * math/s_cacoshf.c: Likewise.
6483 * math/s_catan.c: Likewise.
6484 * math/s_catanf.c: Likewise.
6485 * math/s_catanh.c: Likewise.
6486 * math/s_catanhf.c: Likewise.
6487 * math/s_catanhl.c: Likewise.
6488 * math/s_catanl.c: Likewise.
6489 * math/s_ccosh.c: Likewise.
6490 * math/s_ccoshf.c: Likewise.
6491 * math/s_ccoshl.c: Likewise.
6492 * math/s_cexp.c: Likewise.
6493 * math/s_cexpf.c: Likewise.
6494 * math/s_cexpl.c: Likewise.
6495 * math/s_clog.c: Likewise.
6496 * math/s_clog10.c: Likewise.
6497 * math/s_clog10f.c: Likewise.
6498 * math/s_clog10l.c: Likewise.
6499 * math/s_clogf.c: Likewise.
6500 * math/s_clogl.c: Likewise.
6501 * math/s_csin.c: Likewise.
6502 * math/s_csinf.c: Likewise.
6503 * math/s_csinh.c: Likewise.
6504 * math/s_csinhf.c: Likewise.
6505 * math/s_csinhl.c: Likewise.
6506 * math/s_csinl.c: Likewise.
6507 * math/s_csqrt.c: Likewise.
6508 * math/s_csqrtf.c: Likewise.
6509 * math/s_csqrtl.c: Likewise.
6510 * math/s_ctan.c: Likewise.
6511 * math/s_ctanf.c: Likewise.
6512 * math/s_ctanh.c: Likewise.
6513 * math/s_ctanhf.c: Likewise.
6514 * math/s_ctanhl.c: Likewise.
6515 * math/s_ctanl.c: Likewise.
6516 * math/s_ldexp.c: Likewise.
6517 * math/s_ldexpf.c: Likewise.
6518 * math/s_ldexpl.c: Likewise.
6519 * math/s_significand.c: Likewise.
6520 * math/s_significandf.c: Likewise.
6521 * math/s_significandl.c: Likewise.
6522 * math/w_acos.c: Likewise.
6523 * math/w_acosf.c: Likewise.
6524 * math/w_acosh.c: Likewise.
6525 * math/w_acoshf.c: Likewise.
6526 * math/w_acoshl.c: Likewise.
6527 * math/w_acosl.c: Likewise.
6528 * math/w_asin.c: Likewise.
6529 * math/w_asinf.c: Likewise.
6530 * math/w_asinl.c: Likewise.
6531 * math/w_atan2.c: Likewise.
6532 * math/w_atan2f.c: Likewise.
6533 * math/w_atan2l.c: Likewise.
6534 * math/w_atanh.c: Likewise.
6535 * math/w_atanhf.c: Likewise.
6536 * math/w_atanhl.c: Likewise.
6537 * math/w_cosh.c: Likewise.
6538 * math/w_coshf.c: Likewise.
6539 * math/w_coshl.c: Likewise.
6540 * math/w_dremf.c: Likewise.
6541 * math/w_exp10.c: Likewise.
6542 * math/w_exp10f.c: Likewise.
6543 * math/w_exp10l.c: Likewise.
6544 * math/w_exp2.c: Likewise.
6545 * math/w_exp2f.c: Likewise.
6546 * math/w_fmod.c: Likewise.
6547 * math/w_fmodf.c: Likewise.
6548 * math/w_fmodl.c: Likewise.
6549 * math/w_hypot.c: Likewise.
6550 * math/w_hypotf.c: Likewise.
6551 * math/w_hypotl.c: Likewise.
6552 * math/w_j0.c: Likewise.
6553 * math/w_j0f.c: Likewise.
6554 * math/w_j0l.c: Likewise.
6555 * math/w_j1.c: Likewise.
6556 * math/w_j1f.c: Likewise.
6557 * math/w_j1l.c: Likewise.
6558 * math/w_jn.c: Likewise.
6559 * math/w_jnf.c: Likewise.
6560 * math/w_jnl.c: Likewise.
6561 * math/w_lgamma.c: Likewise.
6562 * math/w_lgamma_r.c: Likewise.
6563 * math/w_lgammaf.c: Likewise.
6564 * math/w_lgammaf_r.c: Likewise.
6565 * math/w_lgammal.c: Likewise.
6566 * math/w_lgammal_r.c: Likewise.
6567 * math/w_log.c: Likewise.
6568 * math/w_log10.c: Likewise.
6569 * math/w_log10f.c: Likewise.
6570 * math/w_log10l.c: Likewise.
6571 * math/w_log2.c: Likewise.
6572 * math/w_log2f.c: Likewise.
6573 * math/w_log2l.c: Likewise.
6574 * math/w_logf.c: Likewise.
6575 * math/w_logl.c: Likewise.
6576 * math/w_pow.c: Likewise.
6577 * math/w_powf.c: Likewise.
6578 * math/w_powl.c: Likewise.
6579 * math/w_remainder.c: Likewise.
6580 * math/w_remainderf.c: Likewise.
6581 * math/w_remainderl.c: Likewise.
6582 * math/w_scalb.c: Likewise.
6583 * math/w_scalbf.c: Likewise.
6584 * math/w_scalbl.c: Likewise.
6585 * math/w_sinh.c: Likewise.
6586 * math/w_sinhf.c: Likewise.
6587 * math/w_sinhl.c: Likewise.
6588 * math/w_sqrt.c: Likewise.
6589 * math/w_sqrtf.c: Likewise.
6590 * math/w_sqrtl.c: Likewise.
6591 * math/w_tgamma.c: Likewise.
6592 * math/w_tgammaf.c: Likewise.
6593 * math/w_tgammal.c: Likewise.
6595 * po/ja.po: Update from translation team.
6597 2011-09-29 Andreas Jaeger <aj@suse.de>
6600 * sunrpc/netname.c (netname2host): Fix logic.
6604 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6606 * math/w_remainder.c (__remainder): Likewise.
6607 * math/w_remainderf.c (__remainderf): Likewise.
6608 * math/libm-test.inc (remainder_test): Add test cases.
6610 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6615 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6617 * string/test-memcmp.c: Avoid unncessary #defines.
6618 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6620 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6622 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6623 Use new sse2 version for core i3 - i7 as it's faster
6625 (bit_Prefer_PMINUB_for_stringop): New.
6626 * sysdeps/x86_64/rawmemchr.S: Update.
6627 Replace with faster SSE2 version.
6628 * sysdeps/x86_64/memrchr.S: New file.
6629 * sysdeps/x86_64/memchr.S: Update.
6630 Replace with faster SSE2 version.
6632 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6634 * elf/dl-load.c (lose): Add cast to avoid warning.
6636 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6638 * po/ca.po: Update from translation team.
6640 * inet/getnetgrent_r.c: Hook up nscd.
6641 * nscd/Makefile (routines): Add nscd_netgroup.
6642 (nscd-modules): Add netgroupcache.
6643 (CFLAGS-netgroupcache.c): Define.
6644 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6645 (cache_search): Add const to second parameter.
6646 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6648 (dbs): Add netgrdb entry.
6649 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6650 (verify_persistent_db): Handle netgrdb.
6651 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6652 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6654 (netgroup_response_header): Define.
6655 (innetgroup_response_header): Define.
6656 (datahead): Add netgroup_response_header and innetgroup_response_header
6658 * nscd/nscd.conf: Add entries for netgroup cache.
6659 * nscd/nscd.h (dbtype): Add netgrdb.
6660 (_PATH_NSCD_NETGROUP_DB): Define.
6661 (netgroup_iov_disabled): Declare.
6662 (xmalloc, xcalloc, xrealloc): Move declarations here.
6663 (cache_search): Adjust prototype.
6664 Add netgroup-related prototypes.
6665 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6666 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6667 (__nscd_innetgr): Declare.
6668 * nscd/selinux.c (perms): Use access_vector_t as element type and
6669 add netgroup-related initializers.
6670 * nscd/netgroupcache.c: New file.
6671 * nscd/nscd_netgroup.c: New file.
6672 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6673 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6674 For four parameters use innetgr.
6675 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6676 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6677 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6678 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6680 * nscd/connections.c (register_traced_file): Don't register file
6681 for disabled databases.
6683 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6685 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6687 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6688 from tree and freeing node.
6690 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6692 * nss/nsswitch.c (__nss_database_lookup): Handle
6693 nss_parse_service_list out of memory case.
6695 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6697 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6700 2011-10-04 Andreas Schwab <schwab@redhat.com>
6702 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6703 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6705 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6706 elf_machine_rela, elf_machine_lazy_rel.
6707 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6708 (ELF_DYNAMIC_DO_REL): Likewise.
6709 (ELF_DYNAMIC_DO_RELA): Likewise.
6710 (ELF_DYNAMIC_RELOCATE): Likewise.
6711 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6712 to ELF_DYNAMIC_DO_REL.
6713 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6714 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6715 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6717 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6718 skip_ifunc, don't call ifunc function if non-zero.
6719 (elf_machine_rela): Likewise.
6720 (elf_machine_lazy_rel): Likewise.
6721 (elf_machine_lazy_rela): Likewise.
6722 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6723 (elf_machine_lazy_rel): Likewise.
6724 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6726 (elf_machine_lazy_rel): Likewise.
6727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6729 (elf_machine_lazy_rel): Likewise.
6730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6731 (elf_machine_lazy_rel): Likewise.
6732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6733 (elf_machine_lazy_rel): Likewise.
6734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6735 (elf_machine_lazy_rel): Likewise.
6736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6737 (elf_machine_lazy_rel): Likewise.
6738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6739 (elf_machine_lazy_rel): Likewise.
6740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6741 (elf_machine_lazy_rel): Likewise.
6743 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6745 * nss/nss_files/files-init.c (_nss_files_init): Use static
6746 initialization for all the *_traced_file variables.
6748 2011-09-28 Andreas Schwab <schwab@redhat.com>
6750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6752 2011-09-27 Roland McGrath <roland@hack.frob.com>
6755 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6757 2011-09-27 Andreas Schwab <schwab@redhat.com>
6759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6760 Reread the line before reparsing it.
6762 2011-09-26 Andreas Schwab <schwab@redhat.com>
6764 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6766 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6767 Maxim Kuvyrkov <maxim@codesourcery.com>
6768 Joseph Myers <joseph@codesourcery.com>
6770 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6771 if needed for __stack_chk_guard.
6773 2011-09-19 Roland McGrath <roland@hack.frob.com>
6775 * sysdeps/posix/spawni.c (script_execute): Always define it.
6776 It will be optimized away if unused.
6777 (maybe_script_execute): New function.
6778 (__spawni): Call it.
6780 * Makerules: Don't include tls.make.
6781 (config-tls): Always set to thread.
6782 * tls.make.c: File removed.
6784 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6786 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6787 * config.make.in (CPPFLAGS-config): New substituted variable.
6789 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6794 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6795 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6797 2011-09-15 Roland McGrath <roland@hack.frob.com>
6799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6800 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6802 (CALL_FAIL): Likewise.
6803 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6804 (CALL_FAIL): Macro removed.
6805 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6807 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6810 for __FINITE_MATH_ONLY__ == 1.
6812 2011-09-15 Andreas Schwab <schwab@redhat.com>
6814 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6815 __ieee754_sqrt instead of sqrt.
6816 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6817 __ieee754_sqrtf instead of sqrtf.
6818 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6819 __floorf instead of floorf.
6820 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6821 __floorf, __truncf instead of floorf, truncf.
6823 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6825 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6827 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6828 __extern_always_inline.
6829 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6832 2011-09-14 Andreas Schwab <schwab@redhat.com>
6834 * elf/rtld.c (dl_main): Also relocate in dependency order when
6835 doing symbol dependency testing.
6837 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6840 Always define `refsym'.
6842 2011-09-13 Andreas Schwab <schwab@redhat.com>
6844 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6845 (__FD_ELT): Renamed from __FDELT.
6846 * misc/bits/select2.h (__FD_ELT): Likewise.
6847 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6848 __FD_MASK instead of __FDELT, __FDMASK.
6849 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6851 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6854 * elf/Makefile (gen-ldd): Fix pattern.
6856 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6857 (init_tls): Likewise.
6859 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6863 2011-09-12 Andreas Schwab <schwab@redhat.com>
6865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6866 `struct cmsghdr *' instead of `void *'.
6867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6870 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6872 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6874 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6877 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6879 * configure.in: Remove --with-tls option.
6880 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6881 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6882 out in case it is missing.
6883 * sysdeps/ia64/elf/configure.in: Likewise.
6884 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6885 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6886 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6887 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6888 * sysdeps/sh/elf/configure.in: Likewise.
6889 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6890 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6891 * sysdeps/x86_64/elf/configure.in: Likewise.
6892 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6893 * sysdeps/mach/hurd/tls.h: Likewise.
6896 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6899 * configure.in: Fix use of AC_INIT.
6901 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6903 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6905 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6907 * malloc/hooks.c: Likewise.
6910 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6911 variables statically.
6912 (narenas): Initialize.
6913 (list_lock): Initialize.
6914 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6915 initializtion of main_arena and list_lock. Small cleanups.
6916 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6917 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6918 Add initializers to main_arena and mp_.
6919 (malloc_state): Remove pagesize member. Change all users to use
6922 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6923 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6924 is always initialized.
6926 * malloc/malloc.c: Removed unused configurations and dead code.
6927 * malloc/arena.c: Likewise.
6928 * malloc/hooks.c: Likewise.
6929 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6931 * include/tls.h: Removed. USE___THREAD must always be defined.
6932 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6933 * elf/dl-libc.c: Likewise.
6934 * elf/dl-tsd.c: Likewise.
6935 * include/errno.h: Likewise.
6936 * include/netdb.h: Likewise.
6937 * include/resolv.h: Likewise.
6938 * inet/herrno-loc.c: Likewise.
6939 * inet/herrno.c: Likewise.
6940 * malloc/arena.c: Likewise.
6941 * malloc/hooks.c: Likewise.
6942 * malloc/malloc.c: Likewise.
6943 * resolv/res-state.c: Likewise.
6944 * resolv/res_libc.c: Likewise.
6945 * sysdeps/i386/dl-machine.h: Likewise.
6946 * sysdeps/ia64/dl-machine.h: Likewise.
6947 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6949 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6950 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6951 * sysdeps/sh/dl-machine.h: Likewise.
6952 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6954 * sysdeps/unix/i386/sysdep.S: Likewise.
6955 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6956 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6966 * sysdeps/x86_64/dl-machine.h: Likewise.
6967 * tls.make.c: Likewise.
6969 * configure.in: Remove --with-__thread option. Make tests for
6970 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6971 tls_model attribute fail if no support is available. Remove
6973 * Makeconfig: Adjust for dropped configure option. All features are
6975 * Makerules: Likewise.
6976 * Versions.def: Likewise.
6977 * argp/argp-fmtstream.c: Likewise.
6978 * argp/argp-fmtstream.h: Likewise.
6979 * argp/argp-help.c: Likewise.
6980 * assert/assert.c: Likewise.
6981 * config.h.in: Likewise.
6982 * config.make.in: Likewise.
6983 * configure: Likewise.
6984 * configure.in: Likewise.
6985 * csu/Versions: Likewise.
6986 * csu/init.c: Likewise.
6987 * elf/tst-audit2.c: Likewise.
6988 * elf/tst-tls10.c: Likewise.
6989 * elf/tst-tls10.h: Likewise.
6990 * elf/tst-tls11.c: Likewise.
6991 * elf/tst-tls12.c: Likewise.
6992 * elf/tst-tls14.c: Likewise.
6993 * elf/tst-tlsmod11.c: Likewise.
6994 * elf/tst-tlsmod12.c: Likewise.
6995 * elf/tst-tlsmod13.c: Likewise.
6996 * elf/tst-tlsmod13a.c: Likewise.
6997 * elf/tst-tlsmod14a.c: Likewise.
6998 * elf/tst-tlsmod15b.c: Likewise.
6999 * elf/tst-tlsmod16a.c: Likewise.
7000 * elf/tst-tlsmod16b.c: Likewise.
7001 * elf/tst-tlsmod7.c: Likewise.
7002 * elf/tst-tlsmod8.c: Likewise.
7003 * elf/tst-tlsmod9.c: Likewise.
7004 * gmon/gmon.c: Likewise.
7005 * grp/fgetgrent_r.c: Likewise.
7006 * grp/putgrent.c: Likewise.
7007 * hurd/fopenport.c: Likewise.
7008 * include/libc-symbols.h: Likewise.
7009 * include/tls.h: Likewise.
7010 * intl/gettextP.h: Likewise.
7011 * intl/loadinfo.h: Likewise.
7012 * locale/global-locale.c: Likewise.
7013 * locale/localeinfo.h: Likewise.
7014 * mach/devstream.c: Likewise.
7015 * malloc/arena.c: Likewise.
7016 * malloc/set-freeres.c: Likewise.
7017 * misc/err.c: Likewise.
7018 * misc/getttyent.c: Likewise.
7019 * misc/mntent_r.c: Likewise.
7020 * posix/getopt.c: Likewise.
7021 * posix/wordexp.c: Likewise.
7022 * pwd/fgetpwent_r.c: Likewise.
7023 * resolv/Versions: Likewise.
7024 * resolv/res_hconf.c: Likewise.
7025 * shadow/fgetspent_r.c: Likewise.
7026 * shadow/putspent.c: Likewise.
7027 * stdio-common/printf_fphex.c: Likewise.
7028 * stdio-common/tmpfile.c: Likewise.
7029 * stdlib/abort.c: Likewise.
7030 * stdlib/fmtmsg.c: Likewise.
7031 * sunrpc/auth_unix.c: Likewise.
7032 * sunrpc/clnt_perr.c: Likewise.
7033 * sunrpc/clnt_tcp.c: Likewise.
7034 * sunrpc/clnt_udp.c: Likewise.
7035 * sunrpc/clnt_unix.c: Likewise.
7036 * sunrpc/openchild.c: Likewise.
7037 * sunrpc/svc_simple.c: Likewise.
7038 * sunrpc/svc_tcp.c: Likewise.
7039 * sunrpc/svc_udp.c: Likewise.
7040 * sunrpc/svc_unix.c: Likewise.
7041 * sunrpc/xdr.c: Likewise.
7042 * sunrpc/xdr_array.c: Likewise.
7043 * sunrpc/xdr_rec.c: Likewise.
7044 * sunrpc/xdr_ref.c: Likewise.
7045 * sunrpc/xdr_stdio.c: Likewise.
7047 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7049 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7051 2011-07-03 Andreas Jaeger <aj@suse.de>
7053 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7055 regenerate with gen-libm-tests.pl.
7057 2010-05-12 Petr Baudis <pasky@suse.cz>
7060 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7061 around j0() zero points by switching to j1().
7062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7065 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7067 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7074 Patch in part by Pavel Roskin <proski@gnu.org>.
7077 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7079 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7080 Free memory block if necessary.
7083 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7084 be NULL. Don't lock in this case.
7086 2011-09-09 Roland McGrath <roland@hack.frob.com>
7088 * elf/elf.h (ELFOSABI_GNU): New macro.
7089 (ELFOSABI_LINUX): Define to that.
7091 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7093 * string/strncat.c (strncat): Undef the symbol in case it has been
7094 defined in bits/string.h.
7096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7098 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7100 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7103 2011-08-17 Andreas Jaeger <aj@suse.de>
7105 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7107 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7108 Ian Lance Taylor <iant@google.com>
7110 * math/libm-test.inc (lround_test): New testcase.
7111 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7113 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7115 * Makefile: Remove support for automatic cvs check-ins.
7116 * Makerules: Likewise.
7117 * config.make.in: Likewise.
7118 * configure.in: Likewise.
7119 * intl/Makefile: Likewise.
7120 * locale/Makefile: Likewise.
7121 * po/Makefile: Likewise.
7122 * posix/Makefile: Likewise.
7123 * sysdeps/gnu/Makefile: Likewise.
7124 * sysdeps/mach/hurd/Makefile: Likewise.
7125 * sysdeps/sparc/sparc32/Makefile: Likewise.
7128 * posix/Makefile (bug-regex32-ENV): Define.
7129 Patch by John Stanley <jpsinthemix@verizon.net>.
7131 * misc/Makefile (headers): Add bits/select2.h.
7132 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7133 * misc/bits/select2.h: New file.
7134 * include/bits/select2.h: New file.
7135 * debug/Makefile (routines): Add fdelt_chk.
7136 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7137 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7139 * debug/fdelt_chk.c: New file.
7141 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7142 * wcsmbs/test-wmemcmp.c: Likewise.
7143 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7144 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7146 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7148 * string/Makefile (strop-tests): Add memcmp.
7149 * string/test-wmemcmp.c: New file.
7150 * string/test-memcmp.c: Add wmemcmp support.
7152 2011-09-08 Roland McGrath <roland@hack.frob.com>
7155 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7158 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7159 garbage value in a __mach_port_mod_refs call in the cases of the
7160 task-self and thread-self ports.
7162 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7164 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7166 2011-09-08 Andreas Schwab <schwab@redhat.com>
7168 * elf/dl-load.c (lose): Check for non-null L.
7170 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7172 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7174 * elf/dl-libc.c (dlerror_run): Pass back error code from
7178 * elf/dl-load.c (lose): Free l_origin if it is valid.
7180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7182 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7187 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7189 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7191 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7192 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7195 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7196 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7197 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7198 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7199 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7200 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7202 2011-08-15 Alan Modra <amodra@gmail.com>
7205 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7206 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7207 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7208 ppc_mcount to static-only-routines.
7209 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7211 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7212 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7214 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7217 for finite and infinity parameters.
7219 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7222 and add nop instructions for throughput optimization.
7223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7225 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7228 aligned copy for power7 with vector-scalar instructions.
7229 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7231 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7236 2011-09-07 Andreas Schwab <schwab@redhat.com>
7239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7242 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7244 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7245 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7246 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7250 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7253 Forgot to demangle the pointer.
7255 * sysdeps/i386/sysdep.h: Define atom_text_section.
7256 * sysdeps/x86_64/sysdep.h: Likewise.
7257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7258 section with atom_text_section.
7259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7261 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7266 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7267 already be defined. Change to take two parameters and don't assign
7268 result to variable. Adjust all users.
7269 Define INTERNAL_GETTIME if not already defined.
7270 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7273 HAVE_CLOCK_GETTIME_VSYSCALL.
7274 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7277 gettimeofday vsyscall, just use time.
7279 2011-09-06 Andreas Schwab <schwab@redhat.com>
7281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7284 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7286 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7290 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7292 syscall if possible.
7294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7296 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7297 e_ident. Don't pass to find_mapsXX.
7298 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7300 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7303 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7304 * sysdeps/x86_64/multiarch/strchr.S: Update.
7305 Check bit_slow_BSF bit.
7306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7310 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7313 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7316 (__spawni): Change last parameter to be flag. Test
7317 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7318 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7319 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7320 * posix/spawni.c: Likewise.
7321 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7322 * posix/spawnp.c: Likewise. Change normal version to use
7323 SPAWN_XFLAGS_USE_PATH.
7324 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7325 SPAWN_XFLAGS_TRY_SHELL.
7328 * posix/glob.h: Remove gcc 1.x support.
7331 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7333 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7336 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7338 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7339 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7341 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7345 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7347 * sysdeps/x86_64/wcscmp.S: New file.
7349 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7350 wcscmp-c wcscmp-sse2
7351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7352 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7353 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7354 * wcsmbs/wcscmp.c: Allow renaming.
7356 2011-09-05 David S. Miller <davem@davemloft.net>
7358 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7359 stack slot, rather than the struct return pointer slot.
7360 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7361 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7363 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7365 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7367 * po/ja.po: Update from translation team.
7370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7371 kernel in 64-bit binaries.
7373 2011-09-01 David S. Miller <davem@davemloft.net>
7375 * elf/elf.h (HWCAP_SPARC_*): Move to..
7376 * sysdeps/sparc/sysdep.h: this new file and add new values.
7377 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7378 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7379 _DL_HWCAP_COUNT to 24.
7380 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7382 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7383 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7384 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7386 instead of magic constants.
7387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7389 2011-08-31 David S. Miller <davem@davemloft.net>
7391 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7393 Reimplement to do errno handling inline.
7394 (SYSCALL_ERROR_HANDLER): New macro.
7395 (__SYSCALL_STRING): Do not do errno handling in asm.
7396 (__CLONE_SYSCALL_STRING): Delete.
7397 (__INTERNAL_SYSCALL_STRING): Delete.
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7399 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7400 (PSEUDO): Reimplement to do errno handling inline.
7401 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7402 (SYSCALL_ERROR_HANDLER): New macro.
7403 (__SYSCALL_STRING): Do not do errno handling in asm.
7404 (__CLONE_SYSCALL_STRING): Delete.
7405 (__INTERNAL_SYSCALL_STRING): Delete.
7406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7407 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7409 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7410 (inline_syscall*): Add 'err' argument.
7411 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7412 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7413 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7414 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7416 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7419 2011-08-30 Andreas Schwab <schwab@redhat.com>
7421 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7423 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7425 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7428 2011-08-24 David S. Miller <davem@davemloft.net>
7430 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7432 2011-08-24 Andreas Schwab <schwab@redhat.com>
7434 * elf/Makefile: Add rules to build and run unload8 test.
7435 * elf/unload8.c: New file.
7436 * elf/unload8mod1.c: New file.
7437 * elf/unload8mod1x.c: New file.
7438 * elf/unload8mod2.c: New file.
7439 * elf/unload8mod3.c: New file.
7441 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7444 2011-08-23 David S. Miller <davem@davemloft.net>
7446 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7447 subtract stack bias.
7448 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7449 %sp not %fp in calculations.
7450 (_JMPBUF_UNWINDS_ADJ): Likewise.
7452 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7453 (aio_suspend): Call it to force an exception region around the
7454 AIO_MISC_WAIT() invocation.
7456 2011-08-23 Andreas Schwab <schwab@redhat.com>
7458 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7461 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7463 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7465 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7467 (Elf64_FuncDesc): Remove.
7469 2011-08-22 David S. Miller <davem@davemloft.net>
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7472 sigaltstack check, add missing cfi directives.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7474 missing cfi directives, and sigaltstack handling.
7476 2011-08-16 Andreas Schwab <schwab@redhat.com>
7479 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7480 object is seen twice.
7481 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7483 * elf/Makefile (distribute): Add tst-initorder2.c.
7484 (tests): Add tst-initorder2.
7485 (modules-names): Add tst-initorder2a tst-initorder2b
7486 tst-initorder2c tst-initorder2d. Add rules to build them.
7487 ($(objpfx)tst-initorder2.out): New rule.
7488 * elf/tst-initorder2.c: New file.
7489 * elf/tst-initorder2.exp: New file.
7491 2011-08-22 Andreas Schwab <schwab@redhat.com>
7493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7495 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7496 dependencies back to end of function.
7498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7501 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7504 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7506 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7507 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7508 of __vdso_gettimeofday.
7509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7510 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7512 (_libc_vdso_platform_setup): Remove initialization of
7513 __vdso_gettimeofday and __vdso_time.
7515 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7517 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7519 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7522 * elf/dl-open.c (add_to_global): Report additions to the global scope
7523 for LD_DEBUG=scopes.
7524 (dl_open_worker): Also print scope of newly loaded dependencies.
7525 (_dl_show_scope): Indicate if there is no scope.
7528 * stdio-common/Makefile (tests): Add bug24.
7529 * stdio-common/bug24.c: New file.
7531 2011-08-19 Andreas Jaeger <aj@suse.de>
7534 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7535 non-existant file when using close-on-exec mode.
7537 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7540 the very first instruction.
7542 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7543 the CFI state in the end.
7544 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7545 inclusion of dl-trampoline.h.
7546 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7548 2011-08-19 Andreas Schwab <schwab@redhat.com>
7550 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7551 expectations for long double.
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7554 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7556 2011-08-14 David S. Miller <davem@davemloft.net>
7558 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7559 artificual limit depends upon the system page size.
7561 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7563 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7564 * resolv/Makefile: Define CFLAGS-libresolv.
7566 2011-08-17 Andreas Schwab <schwab@redhat.com>
7568 * nss/makedb.c (compute_tables): Make variables used in nested
7571 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7573 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7574 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7575 if buffer was too small.
7577 * elf/pldd.c (main): Attach to all threads in the process.
7578 Rewrite /proc handling to use *at functions.
7580 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7582 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7583 specifies first scope to show.
7584 (dl_open_worker): Update callers. Move printing scope of new
7585 object to before the relocation.
7586 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7587 * sysdeps/generic/ldsodefs.h: Update declaration.
7589 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7590 string for the scope number.
7592 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7594 * nscd/servicescache.c (cache_addserv): Make sure written is always
7597 2011-08-14 Roland McGrath <roland@hack.frob.com>
7599 * sysdeps/i386/i486/bits/atomic.h
7600 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7601 statement expression, so as to suppress "set but not used" warning.
7602 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7604 * string/strncat.c (STRNCAT): Use prototype definition.
7606 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7607 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7609 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7610 (localedef-modules): Add localedef.
7611 (locale-modules): Add locale.
7613 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7614 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7617 2011-08-14 David S. Miller <davem@davemloft.net>
7619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7620 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7622 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7624 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7625 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7626 * elf/rtld.c (dl_main): Set l_name of vDSO.
7627 Call _dl_show_scope when DL_DEBUG_SCOPES.
7628 (process_dl_debug): Recognize scopes flag and also set it for all.
7629 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7630 Declare _dl_show_scope.
7632 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7633 (do_dlopen): Pass caller_dlopen to dl_open.
7634 (__libc_dlopen_mode): Initialize caller_dlopen.
7636 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7637 of libc. Make tolower call locale-independent. Optimize a bit by
7638 using isdigit instead of isalnum.
7639 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7641 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7643 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7644 was a dependency or dynamically loaded.
7646 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7648 * intl/l10nflist.c: Allow architecture-specific pop function.
7649 * sysdeps/x86_64/l10nflist.c: New file.
7651 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7654 2011-08-10 Andreas Schwab <schwab@redhat.com>
7656 * include/dirent.h: Add libc_hidden_proto for scandirat and
7657 scandirat64. Don't declare __scandirat64.
7658 * dirent/scandirat.c: Add libc_hidden_def.
7659 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7660 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7662 2011-08-10 David S. Miller <davem@davemloft.net>
7664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7670 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7672 * Versions.def [libc]: Add GLIBC_2.15.
7673 * dirent/Makefile (routines): Add scandirat and scandirat64.
7674 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7676 * dirent/dirent.h: Declare scandirat and scandirat64.
7677 * dirent/scandirat.c: New file.
7678 * dirent/scandirat64.c: New file.
7679 * sysdeps/wordsize-64/scandirat.c: New file.
7680 * sysdeps/wordsize-64/scandirat64.c: New file.
7681 * dirent/opendir.c: Define opendirat.
7682 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7684 * dirent/scandir64.c: Adjust for scandir.c change.
7685 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7686 __scandirat64, and __scandir_cancel_handler.
7687 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7688 additional parameter and use openat instead of open (outside of ld.so).
7689 Add new __opendir as wrapper around __opendirat.
7690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7691 here without requiring old scandirat implementation.
7693 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7695 * dirent/scandir.c (cancel_handler): Renamed to
7696 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7697 defined. Adjust users.
7698 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7701 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7703 * string/test-string.h (IMPL): Use __STRING to expand name and then
7706 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7709 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7711 * string/Makefile: Update.
7712 (strop-tests): Append strncat.
7713 * string/test-wcscmp.c: New file.
7714 New comprehensive test for wcscmp.
7715 * string/test-strcmp.c: Update.
7718 2011-07-22 Andreas Schwab <schwab@redhat.com>
7720 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7723 2011-07-26 Andreas Schwab <schwab@redhat.com>
7725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7726 encoding to ACE if AI_IDN.
7728 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7731 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7733 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7736 Fix overflow bug in strncat.
7737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7739 * string/test-strncat.c: Update.
7740 Add new tests for checking overflow bugs.
7742 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7745 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7746 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7747 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7749 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7750 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7751 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7752 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7755 (USE_AS_STRCAT): Define.
7756 Add strcat and strncat support.
7757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7759 2011-07-25 Andreas Schwab <schwab@redhat.com>
7761 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7762 __n bigger than INT_MAX+1.
7763 (__strncmp_g): Likewise.
7765 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7767 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7768 * libio/stido.h: Likewise.
7770 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7775 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7782 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7787 (_dl_x86_64_save_sse): Likewise.
7789 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7793 (_dl_x86_64_save_sse): Likewise.
7795 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7797 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7799 2011-07-21 Andreas Schwab <schwab@redhat.com>
7801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7803 (_dl_x86_64_save_sse): Use correct AVX check.
7805 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7808 bug in strncpy/strncat.
7809 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7811 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7813 * string/tester.c (test_strcat): Add tests for different alignments
7814 of source and destination.
7815 (test_strncat): Likewise.
7817 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7820 * posix/glob.c (glob): Check passed in values before using them in
7821 expressions to avoid some overflows.
7822 (glob_in_dir): Likewise.
7825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7826 check for AVX enablement so that we don't crash with old kernels and
7828 * elf/tst-audit4.c: Add same checks here.
7829 * elf/tst-audit6.c: Likewise.
7831 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7833 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7835 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7837 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7839 * po/cs.po: Update from translation team.
7840 * po/bg.po: Likewise.
7842 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7844 * misc/sys/cdefs.h: Add support for const attribute.
7845 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7846 to gnu_dev_{major,minor,makedev} functions.
7848 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7850 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7852 2011-07-20 Andreas Schwab <schwab@redhat.com>
7854 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7857 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7860 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7861 register in order to avoid conflicts with the soft frame pointer
7862 being held in r11 when necessary.
7863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7864 (INTERNAL_VSYSCALL_NCS): Likewise.
7866 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7868 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7869 * elf/dl-fini.c (_dl_fini): Adjust caller.
7870 * elf/dl-close.c (_dl_close_worker): Likewise.
7871 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7873 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7875 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7876 "aux_cache->nlibs < 0".
7878 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7879 in the reload-count case.
7881 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7884 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7885 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7886 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7887 * sysdeps/x86_64/multiarch/strcat.S: New file.
7888 * sysdeps/x86_64/multiarch/strncat.S: New file.
7889 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7891 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7892 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7894 (USE_AS_STRCAT): Define.
7895 Add strcat and strncat support.
7896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7898 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7899 * string/strncat.c: Update.
7900 (USE_AS_STRNCAT): Define.
7901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7902 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7904 * sysdeps/x86_64/multiarch/init-arch.h
7905 (bit_Prefer_PMINUB_for_stringop): New.
7906 (index_Prefer_PMINUB_for_stringop): Likewise.
7907 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7908 bit_Prefer_PMINUB_for_stringop.
7910 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7912 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7914 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7915 of casting of buffer.
7916 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7917 buffer32 and buffer64.
7918 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7919 writes instead of casting of buffer.
7920 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7922 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7925 2011-07-19 Andreas Schwab <schwab@redhat.com>
7927 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7929 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7931 * nscd/nscd.c (termination_handler): Don't do anything for a database
7932 if it has not yet been initialized.
7934 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7938 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7940 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7942 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7944 * po/nl.po: Update from translation team.
7945 * po/sv.po: Likewise.
7947 2011-07-16 Roland McGrath <roland@hack.frob.com>
7949 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7950 now disallowed by GCC.
7952 * configure.in (use-default-link): Default to yes if a test -shared
7953 link meets our qualifications.
7954 * configure: Regenerated.
7956 * config.make.in (output-format): New variable.
7957 * configure.in: Check for ld --print-output-format support.
7958 * configure: Regenerated.
7959 * Makerules ($(common-objpfx)format.lds)
7960 [$(output-format) != unknown]: Just use $(output-format),
7961 instead of the linker-script munging.
7963 2011-07-14 Roland McGrath <roland@hack.frob.com>
7965 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7966 of $(common-objpfx)shlib.lds.
7967 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7969 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7970 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7972 * configure.in (-z relro check): Adjust test code to add a large
7973 writable data section after it.
7974 * configure: Regenerated.
7976 2011-07-11 Roland McGrath <roland@hack.frob.com>
7978 * configure.in (-z relro check): Fix test code to make the variable
7980 * configure: Regenerated.
7982 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7984 * nscd/nscd.h (struct traced_file): Define.
7985 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7986 elements. Add traced_files.
7987 (inotify_fd): Declare.
7988 (register_traced_file): Declare.
7989 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7990 (inotify_fd): Export.
7991 (resolv_conf_descr): Remove.
7992 (nscd_init): Move inotify descriptor creation to main.
7993 Don't register files for notification here.
7994 (register_traced_file): New function.
7995 (invalidate_cache): Don't use reset_res to determine whether to call
7996 res_init, go through the list of registered files.
7997 (main_loop_poll): The inotify descriptors are now stored in the
7998 structures for the traced files.
7999 (main_loop_epoll): Likewise
8000 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8001 to __nss_disable_nscd.
8002 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8003 for a database anymore. Check the records for all the registered
8005 * nss/Makefile (libnss_files-routines): Add files-init.
8006 (libnss_db-routines): Add db-init.
8007 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8008 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8009 * nss/nss_db/db-init.c: New file.
8010 * nss/nss_files/files-init.c: New file.
8011 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8012 __nss_lookup_function.
8013 (__nss_lookup_function): Call nss_load_library.
8014 (nss_load_all_libraries): New function.
8015 (__nss_disable_nscd): Take parameter with callback function for files
8016 to register. Set is_nscd. Load all the DSOs for the NSS modules
8017 used for the cached services.
8018 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8019 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8020 options for features to all the files in nscd.
8022 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8024 2011-07-10 Roland McGrath <roland@hack.frob.com>
8026 * csu/elf-init.c (__libc_csu_init): Comment typo.
8028 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8030 * po/pl.po: Update from translation team.
8031 * po/ja.po: Likewise.
8032 * po/ru.po: Likewise.
8033 * po/ko.po: Likewise.
8034 * po/fr.po: Likewise.
8036 2011-07-09 Roland McGrath <roland@hack.frob.com>
8038 * configure.in (.ctors/.dtors header and trailer check):
8039 Use an empirical test on a built program.
8040 * configure: Regenerated.
8042 * configure.in (-z relro check): Use an empirical test on a built DSO.
8043 Detect, but do not require, on ia64.
8044 * configure: Regenerated.
8046 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8047 Update tests that use readelf to use $READELF instead.
8048 * configure: Regenerated.
8050 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8052 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8053 if the result is not used.
8055 2011-07-05 Andreas Jaeger <aj@suse.de>
8058 * stdlib/tst-strtod.c: Add testcase.
8060 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8062 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8063 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8064 The latter has a higher limit. Take additional parameter to pass to
8066 (__pathconf): Pass file to __statfs_link_max.
8067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8069 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8073 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8077 (__statfs_filesize_max): Likewise.
8078 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8080 2011-07-05 Andreas Jaeger <aj@suse.de>
8082 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8084 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8086 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8088 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8091 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8093 * Makefile (strop-tests): Add strncat.
8094 * string/test-strncat.c: New file.
8096 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8098 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8100 2011-06-21 Andreas Jaeger <aj@suse.de>
8102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8103 Copy rule from iconvdata/Makefile.
8105 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8108 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8109 but no long options are defined, just return 'W'.
8111 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8114 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8116 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8118 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8120 (innetgr): Likewise.
8122 2011-07-05 Roland McGrath <roland@hack.frob.com>
8124 * config.make.in (install_root): Default to $(DESTDIR).
8126 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8130 2011-07-02 Roland McGrath <roland@hack.frob.com>
8132 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8134 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8135 containing directory rather than embedding absolute directory names.
8137 * scripts/check-local-headers.sh: Rewritten using awk.
8138 Match by word, not by line. Print error messages for matches.
8139 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8141 * Makerules [shlib-lds-flags empty]:
8142 ($(common-objpfx)libc_pic.opts): New target.
8143 ($(common-objpfx)libc_pic.os.clean): New target.
8144 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8146 * config.make.in (OBJCOPY): New variable.
8147 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8148 * configure: Regenerated.
8150 * config.make.in (use-default-link): New variable.
8151 * configure.in (use_default_link): Grok --with-default-link to set it.
8152 * configure: Regenerated.
8153 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8154 (shlib-lds, shlib-lds-flags): Define to empty.
8156 * Makerules (shlib-lds): New variable.
8157 (shlib-lds-flags): New variable.
8158 (build-shlib, build-moduile, build-module-asneeded): Use it.
8159 ($(common-objpfx)libc.so): Use $(shlib-lds).
8160 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8161 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8163 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8164 DT_FLAGS/DT_FLAGS_1 with zero flags.
8166 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8167 linker script munging.
8169 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8171 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8173 * crypt/sha512.c (sha512_process_block): Perform total addition using
8174 128-bit if possible.
8175 (__sha512_finish_ctx): Likewise.
8176 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8178 * crypt/sha256.c (SWAP64): Define.
8179 (sha256_process_block): Perform total addition using 64-bit if
8181 (__sha256_finish_ctx): Likewise.
8183 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8185 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8187 * nscd/hstcache.c (cache_addhst): Likewise.
8188 * nscd/grpcache.c (cache_addgr): Likewise.
8189 * nscd/aicache.c (addhstaiX): Likewise
8190 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8192 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8194 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8196 * nscd/hstcache.c (cache_addhst): Likewise.
8197 * nscd/grpcache.c (cache_addgr): Likewise.
8198 * nscd/aicache.c (addhstaiX): Likewise
8200 2011-07-01 Andreas Schwab <schwab@redhat.com>
8202 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8203 domain only when needed.
8205 2011-06-30 Andreas Schwab <schwab@redhat.com>
8207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8210 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8212 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8213 are re-adding the entry.
8214 * nscd/servicescache.c (cache_addserv): Likewise.
8216 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8218 * sysdeps/generic/dl-irel.h: fix protection against multiple
8220 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8222 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8225 * malloc/memusage.sh: Fix quoting in message.
8226 * debug/xtrace.sh: Likewise.
8228 * configure.in: Remove support for --experimental-malloc option, make
8230 * config.make.in: Likewise.
8231 * malloc/Makefile: Likewise.
8233 2011-06-27 Andreas Schwab <schwab@redhat.com>
8235 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8236 two-byte characters.
8238 2011-06-27 Roland McGrath <roland@hack.frob.com>
8240 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8241 AC_CACHE_CHECK invocation.
8242 * configure: Regenerated.
8244 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8246 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8249 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8250 bit from old_res_options.
8252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8254 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8255 value type for setfct.
8257 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8260 __gettimeofday instead of gettimeofday.
8262 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8264 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8266 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8273 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8276 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8277 strcpy-sse2-unaligned strncpy-sse2-unaligned
8278 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8279 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8280 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8281 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8282 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8285 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8286 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8287 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8288 (STRCPY): Support SSE2 and SSSE3 versions.
8290 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8294 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8295 kernels which artificially limit size of requests.
8297 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8300 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8301 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8302 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8303 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8304 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8305 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8306 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8309 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8310 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8311 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8312 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8313 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8315 Enable unaligned load optimization for Intel Core i3, i5 and i7
8317 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8319 (index_Fast_Unaligned_Load): Define.
8320 (HAS_FAST_UNALIGNED_LOAD): Define.
8322 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8324 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8326 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8330 until it is clear that the information is realy needed.
8331 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8333 2011-06-22 Andreas Schwab <schwab@redhat.com>
8335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8337 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8340 /sys/devices/system/cpu/online if it is usable.
8342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8343 reading the information from the /proc filesystem to once a second.
8345 2011-06-21 Andreas Jaeger <aj@suse.de>
8347 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8348 NULL after inclusion of kernel headers.
8350 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8352 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8353 calls to internal_setent.
8356 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8357 addresses using gethostbyname4_r ignore IPv4 addresses.
8359 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8360 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8362 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8364 2011-06-20 David S. Miller <davem@davemloft.net>
8366 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8368 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8370 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8372 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8373 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8374 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8375 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8376 * sysdeps/x86_64/dl-irel.h: Likewise.
8378 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8379 * elf/dl-sym.c: Likewise.
8381 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8383 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8384 need to dereference resplen2.
8386 2011-06-14 Andreas Schwab <schwab@redhat.com>
8388 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8390 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8392 * Makeconfig: Define vardbdir and inst_vardbdir.
8393 * nss/Makefile: Add rules to install db-Makefile.
8395 * nss/nss_db/db-XXX.c: Cleanup.
8397 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8398 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8400 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8401 * nss/makedb.c: Implement -g option to specify that value strings
8402 are generated and should not be added to table iterated over for
8404 * nss/nss_db/db-initgroups.c: New file.
8406 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8409 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8410 (internal_getgrouplist): Adjust to name change.
8411 Update use_initgroups_entry if this is not the first call.
8412 * nss/databases.def: Add initgroups entry.
8414 * nss/makedb.c (compute_tables): Check result of multiple hash table
8415 sizes to minimize maximum chain length.
8417 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8419 * Versions.def: Add entry for libnss_db.
8420 * shlib-versions: Likewise.
8421 * nss/Makefile: Add rules to build libnss_db.
8422 * nss/Versions: Add libnss_db information. Organize libnss_files
8424 * nss/db-Makefile: Add gshadow support. Change rules for the new
8425 makedb progra. Some minor improvements to generate smaller files.
8426 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8428 * nss/makedb.c: ...here.
8429 Improve database format to be smaller and require less memory at
8431 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8433 * nss/nss_db/db-netgrp.c: Likewise.
8434 * nss/nss_db/db-open.c: Likewise.
8435 * nss/nss_files/flies-XXX.x: Adjust comments.
8436 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8437 * nss/nss_files/files-grp.c: Likewise.
8438 * nss/nss_files/files-hosts.c: Likewise.
8439 * nss/nss_files/files-network.c: Likewise.
8440 * nss/nss_files/files-proto.c: Likewise.
8441 * nss/nss_files/files-pwd.c: Likewise.
8442 * nss/nss_files/files-rpc.c: Likewise.
8443 * nss/nss_files/files-service.c: Likewise.
8444 * nss/nss_files/files-sgrp.c: Likewise.
8445 * nss/nss_files/files-spwd.c: Likewise.
8446 * nss/nss_db/db-alias.c: Removed.
8447 * nss/nss_db/dummy-db.h: Removed.
8449 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8451 * nss/makedb.c: Rewritten to not use database library.
8452 * nss/Makefile: Update to build new makedb program.
8454 2011-06-14 Andreas Jaeger <aj@suse.de>
8456 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8459 2011-06-10 Andreas Schwab <schwab@redhat.com>
8461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8464 2011-06-10 Roland McGrath <roland@hack.frob.com>
8466 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8467 * elf/Makefile ($(objpfx)ld.so): Likewise.
8469 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8470 Don't list ld.so twice in dependencies.
8472 * posix/bug-regex31.c: Include <stdlib.h>.
8474 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8476 * nis/nss_compat/compat-spwd.c
8477 (getspent_next_nss_netgr): Remove unused variable.
8478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8480 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8481 nonmembers" output to use the right array.
8483 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8485 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8487 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8488 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8489 * catgets/gencat.c (read_input_file): Likewise.
8490 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8492 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8493 variable definition inside #if's controlling its use.
8495 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8497 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8499 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8501 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8504 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8506 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8507 * configure: Regenerated.
8509 * Makerules: Revert last change.
8510 * elf/Makefile: Likewise.
8512 2011-06-09 Roland McGrath <roland@hack.frob.com>
8514 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8515 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8516 (reloc-link): Likewise.
8518 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8520 * elf/Makefile: Add rules to build pldd.
8521 * elf/pldd.c: New file.
8522 * elf/pldd-xx.c: New file.
8524 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8526 * version.h: Update for 2.15 development version.
8528 2011-06-07 David S. Miller <davem@davemloft.net>
8530 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8533 elf_machine_lazy_rel): Likewise.
8534 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8536 elf_machine_lazy_rel): Likewise.
8537 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8538 dl_hwcap via passed in argument.
8539 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8542 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8544 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8546 2011-06-06 Roland McGrath <roland@hack.frob.com>
8549 * manual/fdl-1.1.texi: New file, verbatim from:
8550 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8551 * manual/lgpl-2.1.texi: New file, verbatim from:
8552 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8553 * manual/Makefile (licenses): New variable, list those new file names.
8555 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8557 * manual/fdl.texi: File removed.
8558 * manual/lesser.texi: File removed.
8559 * manual/libc.texinfo (Copying, Documentation License):
8560 Use new @include file names, put @appendix directive before @include.
8562 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8565 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8566 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8567 (mq_open): Add __NTH.
8569 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8572 Assume Intel Core i3/i5/i7 processor if AVX is available.
8574 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8579 2011-05-31 Andreas Schwab <schwab@redhat.com>
8581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8582 memory. Use alloca_account. Fix memory leak when retrying.
8584 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8586 * version.h (RELEASE): Bump for 2.14 release.
8587 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8589 * config.make.in (RANLIB): Remove entry.
8591 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8593 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8594 (libc.pot): Work around missing support for .ksh extension in xgettext.
8597 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8598 if both request failed.
8599 (send_dg): In case of server errors clear resplen or *resplen2.
8602 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8603 when there are multiple maps.
8604 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8605 (_dl_fini): Remove test here.
8607 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8609 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8612 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8613 bit from old_res_options.
8614 (gaih_inet): Likewise.
8617 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8620 * resolv/res_init.c (res_setoptions): Make the code more compact.
8623 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8627 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8629 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8632 * malloc/malloc.h: Declare malloc hook variables as volatile.
8634 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8638 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8639 raise in the comment.
8640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8642 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8644 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8647 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8648 grow the buffers more if it already has to be sufficient.
8649 (build_wcs_upper_buffer): Likewise.
8650 * posix/regexec.c (check_matching): Likewise.
8651 (clean_state_log_if_needed): Likewise.
8652 (extend_buffers): Don't enlarge buffers beyond size of the input
8654 Patches mostly by Emil Wojak <emil@wojak.eu>.
8655 * posix/bug-regex32.c: New file.
8656 * posix/Makefile (tests): Add bug-regex32.
8658 * locale/findlocale.c (_nl_find_locale): Return right away if
8659 _nl_explode_name failed.
8660 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8662 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8664 * debug/xtrace.sh: Unify messages.
8665 * malloc/memusage.sh: Likewise.
8668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8669 time symbol from vDSO. Substitute with vsyscall if not available.
8670 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8674 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8676 Add sendmmsg and internal_sendmmsg.
8677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8678 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8681 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8682 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8685 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8689 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8695 * iconvdata/Makefile (tests): Add bug-iconv9.
8696 * iconvdata/bug-iconv9.c: New file.
8698 2011-05-27 Andreas Schwab <schwab@redhat.com>
8701 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8703 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8706 (struct user_regs_struct): Change intcs field back to cs.
8708 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8710 * po/ja.po: Update from translation team.
8712 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8716 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8718 2011-05-20 Andreas Schwab <schwab@redhat.com>
8720 * stdlib/longlong.h: Update from GCC.
8722 2011-05-23 Andreas Schwab <schwab@redhat.com>
8724 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8726 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8728 (__sysconf): Pass it down.
8730 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8733 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8736 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8737 add in in __libc_use_alloca calls. Adjust callers.
8738 (glob): Use malloc in some situations.
8740 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8741 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8744 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8746 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8747 and CLOCK_BOOTTIME_ALARM.
8750 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8753 * string/_strerror.c (__strerror_r): Print negative errors as signed
8757 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8758 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8759 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8761 * configure.in: Fix typo in redirection and correct removal of test
8765 * locale/setlocale.c (new_composite_name): Fix test to check for
8766 identical name of all categories.
8769 * libio/filedoalloc.c (local_isatty): New function.
8770 (_IO_file_doallocate): Use local_isatty.
8771 * stdio-common/perror.c (perror): In case a new stream is used
8772 forward the stream error.
8773 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8776 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8781 * include/alloca.h (extend_alloca_account): Define.
8784 * posix/regex.h: Fix comments with documentation of user-accessible
8785 fields after compilation and describe correct free'ing of pattern
8786 after re_compile_pattern.
8787 Patch by Reuben Thomas <rrt@sc3d.org>.
8789 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8791 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8792 and -mno-altivec to prevent the compiler from using Altivec and/or
8793 VSX instructions when the corresponding registers are not available.
8795 2011-05-19 Andreas Schwab <schwab@redhat.com>
8797 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8799 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8801 * libio/freopen.c (freopen): Use __dup2, not dup2.
8802 * libio/freopen64.c (freopen64): Likewise.
8804 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8807 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8808 * math/Makefile (tests): Add test-powl.
8809 (CFLAGS-test-powl.c): Define.
8810 * math/test-powl.c: New file.
8812 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8814 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8816 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8819 * iconvdata/gb18030.c: Update to GB18020-2005.
8821 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8823 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8824 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8825 Patch by Aharon Robbins <arnold@skeeve.com>.
8828 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8832 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8836 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8837 point to strings before performing equality test for error_one_per_line
8841 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8845 (struct user_fpregs_struct): Avoid __uint*_t types.
8848 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8849 symbol info. Use it instead of calling _dl_addr locally.
8850 (lock_and_info): New function.
8851 (tr_freehook): Call lock_and_info and pass symbol info as additional
8852 parameter to tr_where.
8853 (tr_mallochook): Likewise.
8854 (tr_reallochook): Likewise.
8855 (tr_memalignhook): Likewise.
8857 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8858 used and couldn't be at all thread-safe.
8860 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8862 * libio/freopen.c (freopen): Don't close old file descriptor
8863 before the new one is opened. Instead dup the new file descriptor
8864 to the old one after the new stream is created.
8865 * libio/freopen64.c (freopen64): Likewise.
8866 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8867 * libio/fileops.c (_IO_new_file_close_it): Handle new
8868 _IO_FLAGS2_NOCLOSE flag.
8869 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8870 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8871 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8872 _IO_FLAGS2_NOCLOSE flag.
8873 * include/unistd.h: Add hidden_proto for dup3.
8875 * io/dup3.c: Define hidden symbol.
8876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8879 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8880 when an incomplete long option is used.
8881 * posix/tst-getopt_long1.c: New file.
8882 * posix/Makefile (tests): Add tst-getopt_long1.
8885 * scripts/config.guess: Update from autoconf-2.68.
8886 * scripts/config.sub: Likewise.
8889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8891 (has_cpuclock): ...this. New function.
8892 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8893 macro here based on has_cpuclock code.
8896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8897 First byte (not low byte) is now always NUL.
8898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8901 Use non-cancelable interfaces.
8904 * locale/iso-639.def: Add entry for Sorani.
8907 * include/stdlib.h: Move include protection to the right place.
8908 Define abort_msg_s. Declare __abort_msg with it.
8909 * stdlib/abort.c (__abort_msg): Adjust type.
8910 * assert/assert.c (__assert_fail_base): New function. Majority
8911 of code from __assert_fail. Allocate memory for __abort_msg with
8913 (__assert_fail): Now call __assert_fail_base.
8914 * assert/assert-perr.c: Remove bulk of implementation. Use
8916 * include/assert.hL Declare __assert_fail_base.
8917 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8919 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8921 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8925 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8926 until all modules are registered in the DTV.
8927 * elf/Makefile: Add rules to build and run tst-tls19.
8928 * elf/tst-tls19.c: New file.
8929 * elf/tst-tls19mod1.c: New file.
8930 * elf/tst-tls19mod2.c: New file.
8931 * elf/tst-tls19mod3.c: New file.
8932 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8935 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8939 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8940 two-byte sequence errors.
8941 * iconvdata/Makefile (tests): Add bug-iconv8.
8942 * iconvdata/bug-iconv8.c: New file.
8945 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8948 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8951 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8952 (dummy_getcfa): New function.
8953 (init): Get _Unwind_GetCFA address, use dummy if not found.
8954 (backtrace_helper): In recursion check, also check whether CFA changes.
8955 (__backtrace): Completely initialize arg.
8957 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8958 storing incomplete byte sequence in state object. Avoid testing for
8959 guaranteed too small input if we know there is enough data available.
8961 2011-05-11 Andreas Schwab <schwab@redhat.com>
8963 * Makeconfig (+link-pie): Indent.
8964 * Rules (binaries-pie): Define if $(have-fpie) and
8966 (binaries-shared): Also filter out $(binaries-pie).
8967 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8968 * nscd/Makefile (others-pie): Add nscd.
8969 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8970 ($(objpfx)nscd): Remove command override.
8971 * login/Makefile (others-pie): Add pt_chown.
8972 ($(objpfx)pt_chown): Remove command override.
8973 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8974 remove command overrides.
8976 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8978 * libio/tst_putwc.c: Fix error messages.
8981 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8982 currently writing and seek to current position when not.
8983 * libio/Makefile (tests): Add bug-fclose1.
8984 * libio/bug-fclose1.c: New file.
8986 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8989 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8990 don't set DF_1_NODELETE here.
8991 (do_lookup_x): When entering new entry test for copy relocation
8992 and if necessary set DF_1_NODELETE flag.
8993 * elf/tst-unique4.cc: New file.
8994 * elf/tst-unique4.h: New file.
8995 * elf/tst-unique4lib.cc: New file.
8996 * elf/Makefile: Add rules to build and run tst-unique4.
8997 Patch by Piotr Bury <pbury@goahead.com>.
8999 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9002 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9005 * misc/mntent_r.c (addmntent): Flush the stream after the output
9008 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9009 (is_trusted_path_normalize): Skip initial colon. Append slash
9010 to empty buffer. Duplicate is_trusted_path code but allow
9011 constructed patch to be prefix.
9012 (is_dst): Allow $ORIGIN followed by /.
9013 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9014 Correct testing of result of is_trusted_path_normalize
9015 (decompose_rpath): Fix warning.
9017 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9020 * grp/initgroups.c (internal_getgrouplist): When we found the service
9021 list through the initgroups entry in nsswitch.conf do not always
9022 continue on a successful lookup. Don't always use the
9023 __nss_group_database value if it is set.
9024 * nss/nsswitch.conf (initgroups): Change action for successful db
9025 lookup to continue for compatibility.
9027 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9030 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9032 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9034 * iconvdata/tst-tables.sh: Likewise.
9035 * iconvdata/cp770.c: New file.
9036 * iconvdata/cp771.c: New file.
9037 * iconvdata/cp772.c: New file.
9038 * iconvdata/cp773.c: New file.
9039 * iconvdata/cp774.c: New file.
9040 * iconvdata/testdata/CP770: New file.
9041 * iconvdata/testdata/CP770..UTF8: New file.
9042 * iconvdata/testdata/CP771: New file.
9043 * iconvdata/testdata/CP771..UTF8: New file.
9044 * iconvdata/testdata/CP772: New file.
9045 * iconvdata/testdata/CP772..UTF8: New file.
9046 * iconvdata/testdata/CP773: New file.
9047 * iconvdata/testdata/CP773..UTF8: New file.
9048 * iconvdata/testdata/CP774: New file.
9049 * iconvdata/testdata/CP774..UTF8: New file.
9051 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9053 * iconvdata/gen-8bit-gap.sh: Likewise.
9054 * iconvdata/gen-8bit.sh: Likewise.
9056 * locale/iso-639.def: Add ary entry.
9059 * locale/C-translit.h.in: Add U20A1 transliteration.
9062 * locale/iso-639.def: Add wae entry.
9063 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9066 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9070 * locale/C-translit.h.in: Add entry for U20B9.
9071 Patch by pravin.d.s@gmail.com.
9073 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9076 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9077 ENAMETOOLONG use generic getcwd.
9078 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9079 in rtld. Use *stat64.
9080 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9081 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9082 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9083 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9084 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9085 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9086 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9088 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9089 * dirent/rewinddir.c: Add libc_hidden_def.
9090 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9091 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9093 * include/dirent.h (__alloc_dir): Add flags parameter.
9094 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9095 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9097 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9098 from fdopendir if O_CLOEXEC is already set.
9100 2011-03-15 Alan Modra <amodra@gmail.com>
9102 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9103 l_tls_firstbyte_offset non-zero. Save padding offset in
9104 l_tls_firstbyte_offset for later use.
9105 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9106 freeing static tls block.
9108 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9110 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9111 where #ifdef was intended. The intent is to prevent ARG_MAX from
9112 being defined by the kernel headers.
9114 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9117 * resolv/resolv.h: Define RES_NOTLDQUERY.
9118 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9119 no-tld-query and set RES_NOTLDQUERY.
9120 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9121 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9122 modern BIND to search name as TLD unless forbidden.
9124 2011-05-07 Petr Baudis <pasky@suse.cz>
9125 Ulrich Drepper <drepper@gmail.com>
9128 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9129 (is_trusted_path): ...to here.
9130 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9131 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9132 using is_trusted_path_normalize() in setuid scripts.
9134 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9136 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9137 __BEGIN/__END_DECLS.
9139 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9141 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9142 NSS_STATUS_NOTFOUND if no record was found.
9144 2011-05-05 Andreas Schwab <schwab@redhat.com>
9146 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9147 (headers-not-in-tirpc): Remove rpc/netdb.h
9148 * resolv/netdb.h: Revert last change.
9150 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9152 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9153 circular dependency between libgcc.a and libc.a.
9155 2011-05-05 Andreas Schwab <schwab@redhat.com>
9157 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9158 * nis/Makefile: Don't install rpcsvc/*.
9159 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9160 instead of <rpc/types.h>.
9161 (MAXHOSTNAMELEN): Define.
9163 2011-05-03 Andreas Schwab <schwab@redhat.com>
9165 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9167 2011-04-28 Maciej Babinski <mbabinski@google.com>
9170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9171 gethostbyname4_r when IPv6 results are possible.
9173 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9176 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9177 _PC_PIPE_BUF handling.
9179 2011-04-30 Bruno Haible <bruno@clisp.org>
9182 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9183 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9185 * inet/getnameinfo.c (getnameinfo): Likewise.
9187 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9189 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9190 to groups setting in database lookup.
9191 * nss/nsswitch.conf: Add initgroups entry.
9193 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9196 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9198 Patch by Eric Blake <eblake@redhat.com>.
9200 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9202 * sunrpc/Makefile (need-export-routines): Add svc_run.
9203 (routines): Remove svc_run.
9204 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9205 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9206 * sunrpc/svc_run.c (svc_run): Likewise.
9207 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9209 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9212 problem in reallocation in last patch.
9214 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9216 * sunrpc/Makefile: Move inclusion of Rules.
9218 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9220 * nss/nss_files/files-initgroups.c: New file.
9221 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9222 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9223 _nss_files_initgroups_dyn.
9225 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9227 * elf/elf.h (R_ARM_IRELATIVE): Define.
9229 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9231 * po/ru.po: Update from translation team.
9233 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9235 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9238 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9241 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9242 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9247 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9255 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9258 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9260 * stdlib/bug-getcontext.c: New file.
9261 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9263 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9265 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9266 instructions into .machine "z9-109".
9267 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9268 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9270 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9272 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9273 between environment variables and auxiliary vector.
9275 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9277 * Makefile: Add rules to build linkobj/libc.so.
9278 * include/libc-symbols.h: Define libc_hidden_nolink.
9279 * include/rpc/auth.h: Mark functions which are to be hidden.
9280 * include/rpc/auth_des.h: Likewise.
9281 * include/rpc/auth_unix.h: Likewise.
9282 * include/rpc/clnt.h: Likewise.
9283 * include/rpc/des_crypt.h: Likewise.
9284 * include/rpc/key_prot.h: Likewise.
9285 * include/rpc/pmap_clnt.h: Likewise.
9286 * include/rpc/pmap_prot.h: Likewise.
9287 * include/rpc/pmap_rmt.h: Likewise.
9288 * include/rpc/rpc_msg.h: Likewise.
9289 * include/rpc/svc.h: Likewise.
9290 * include/rpc/svc_auth.h: Likewise.
9291 * include/rpc/xdr.h: Likewise.
9292 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9293 * nss/Makefile: Likewise.
9294 * sunrpc/Makefile: Don't install headers. Build library with normal
9295 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9296 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9297 for the compat linking library. Remove use of INTDEF/INTUSE.
9298 * sunrpc/auth_none.c: Likewise.
9299 * sunrpc/auth_unix.c: Likewise.
9300 * sunrpc/authdes_prot.c: Likewise.
9301 * sunrpc/authuxprot.c: Likewise.
9302 * sunrpc/clnt_gen.c: Likewise.
9303 * sunrpc/clnt_perr.c: Likewise.
9304 * sunrpc/clnt_raw.c: Likewise.
9305 * sunrpc/clnt_simp.c: Likewise.
9306 * sunrpc/clnt_tcp.c: Likewise.
9307 * sunrpc/clnt_udp.c: Likewise.
9308 * sunrpc/clnt_unix.c: Likewise.
9309 * sunrpc/des_crypt.c: Likewise.
9310 * sunrpc/des_soft.c: Likewise.
9311 * sunrpc/get_myaddr.c: Likewise.
9312 * sunrpc/key_call.c: Likewise.
9313 * sunrpc/key_prot.c: Likewise.
9314 * sunrpc/netname.c: Likewise.
9315 * sunrpc/pm_getmaps.c: Likewise.
9316 * sunrpc/pm_getport.c: Likewise.
9317 * sunrpc/pmap_clnt.c: Likewise.
9318 * sunrpc/pmap_prot.c: Likewise.
9319 * sunrpc/pmap_prot2.c: Likewise.
9320 * sunrpc/pmap_rmt.c: Likewise.
9321 * sunrpc/publickey.c: Likewise.
9322 * sunrpc/rpc_cmsg.c: Likewise.
9323 * sunrpc/rpc_common.c: Likewise.
9324 * sunrpc/rpc_dtable.c: Likewise.
9325 * sunrpc/rpc_prot.c: Likewise.
9326 * sunrpc/rpc_thread.c: Likewise.
9327 * sunrpc/rtime.c: Likewise.
9328 * sunrpc/svc.c: Likewise.
9329 * sunrpc/svc_auth.c: Likewise.
9330 * sunrpc/svc_authux.c: Likewise.
9331 * sunrpc/svc_raw.c: Likewise.
9332 * sunrpc/svc_run.c: Likewise.
9333 * sunrpc/svc_simple.c: Likewise.
9334 * sunrpc/svc_tcp.c: Likewise.
9335 * sunrpc/svc_udp.c: Likewise.
9336 * sunrpc/svc_unix.c: Likewise.
9337 * sunrpc/svcauth_des.c: Likewise.
9338 * sunrpc/xcrypt.c: Likewise.
9339 * sunrpc/xdr.c: Likewise.
9340 * sunrpc/xdr_array.c: Likewise.
9341 * sunrpc/xdr_float.c: Likewise.
9342 * sunrpc/xdr_intXX_t.c: Likewise.
9343 * sunrpc/xdr_mem.c: Likewise.
9344 * sunrpc/xdr_rec.c: Likewise.
9345 * sunrpc/xdr_ref.c: Likewise.
9346 * sunrpc/xdr_sizeof.c: Likewise.
9347 * sunrpc/xdr_stdio.c: Likewise.
9349 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9352 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9353 * sysdeps/ia64/dl-tls.h: Likewise.
9354 * sysdeps/powerpc/dl-tls.h: Likewise.
9355 * sysdeps/s390/dl-tls.h: Likewise.
9356 * sysdeps/sh/dl-tls.h: Likewise.
9357 * sysdeps/sparc/dl-tls.h: Likewise.
9358 * sysdeps/x86_64/dl-tls.h: Likewise.
9359 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9361 2011-03-14 Andreas Schwab <schwab@redhat.com>
9363 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9364 rpath element also skip the following colon.
9365 (expand_dynamic_string_token): Add is_path parameter and pass
9366 down to DL_DST_REQUIRED and _dl_dst_substitute.
9367 (decompose_rpath): Call expand_dynamic_string_token with
9368 non-zero is_path. Ignore empty rpaths.
9369 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9372 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9377 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9380 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9381 Patch by Filipe David Manana <fdmanana@apache.org>.
9383 2011-04-07 Andreas Schwab <schwab@redhat.com>
9385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9386 Maintain aligned stack.
9387 (CHECK_RSP): Remove unused macro.
9389 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9391 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9394 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9396 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9398 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9400 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9403 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9404 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9405 * sysdeps/x86_64/memmove.c: New file.
9406 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9407 (memcpy): Renamed to ...
9408 (__new_memcpy): This.
9409 (memcpy): Provide GLIBC_2_14 memcpy.
9410 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9411 (memcpy): Provide GLIBC_2_2_5 memcpy.
9413 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9416 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9418 2011-03-30 Andreas Schwab <schwab@redhat.com>
9420 * misc/syncfs.c: New file.
9421 * misc/Makefile (routines): Add syncfs.
9422 * posix/unistd.h: Declare syncfs.
9423 * sysdeps/unix/syscalls.list: Add syncfs.
9425 2011-04-01 Andreas Schwab <schwab@redhat.com>
9427 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9434 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9447 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9448 sync_file_range.c with -fexceptions.
9449 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9450 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9451 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9452 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9453 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9456 sync_file_range as cancellation point
9457 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9458 now a wrapper around __call_sync_file_range with cancellation handling.
9459 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9461 function name to __call_sync_file_range.
9462 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9463 Add call_sync_file_range.
9465 2011-04-01 Andreas Schwab <schwab@redhat.com>
9467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9470 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9472 * iconv/iconv.h: Fix typo in comment.
9473 * io/fcntl.h: Likewise.
9474 * libio/stdio.h: Likewise.
9475 * posix/spawn.h: Likewise.
9476 * posix/unistd.h: Likewise.
9477 * stdlib/stdlib.h: Likewise.
9478 * time/time.h: Likewise.
9479 * wcsmbs/wchar.h: Likewise.
9481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9482 open_by_handle): Add.
9483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9484 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9485 Augment a few comments.
9486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9491 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9494 * io/fcntl.h (AT_EMPTY_PATH): Define.
9496 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9498 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9499 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9500 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9502 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9503 * Versions.def: Add GLIBC_2.14.
9504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9507 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9511 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9513 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9516 * string/test-strncmp.c (do_page_test): New function.
9518 (test_main): Call check2.
9519 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9521 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9524 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9525 Handle cache information in CPU leaf 4.
9526 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9528 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9531 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9532 character representation.
9533 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9535 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9537 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9538 END(__isnan) to END(__isnanf) to match function entry point/label
9539 EALIGN(__isnanf,...).
9541 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9543 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9545 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9548 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9549 copy from the symbol referenced in the relocation to initialize the
9551 Patch by Piotr Bury <pbury@goahead.com>.
9552 * elf/Makefile: Add rules to build and tst-unique3.
9553 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9554 * elf/tst-unique3.cc: New file.
9555 * elf/tst-unique3.h: New file.
9556 * elf/tst-unique3lib.cc: New file.
9557 * elf/tst-unique3lib2.cc: New file.
9559 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9561 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9563 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9564 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9567 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9569 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9570 to-be-loaded object along a path to loader is ld.so.
9572 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9573 Ulrich Drepper <drepper@gmail.com>
9575 * sysdeps/x86_64/memset.S: After aligning destination, code
9576 branches to different locations depending on the value of
9577 misalignment, when multiarch is enabled. Fix this.
9579 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9581 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9582 Set _x86_64_preferred_memory_instruction for AMD processsors.
9583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9584 Set bit_Prefer_SSE_for_memop for AMD processors.
9586 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9588 * libio/fmemopen.c (fmemopen): Optimize a bit.
9590 2011-03-03 Andreas Schwab <schwab@redhat.com>
9592 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9594 2011-03-03 Roland McGrath <roland@redhat.com>
9596 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9598 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9600 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9601 __bzero_ultra1 instead of __memset_ultra1.
9603 2011-02-23 Andreas Schwab <schwab@redhat.com>
9604 Ulrich Drepper <drepper@gmail.com>
9607 * include/link.h (struct link_map): Add l_orig_initfini.
9608 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9609 returning unsuccessfully.
9610 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9611 close of a file loaded at startup, restore the original l_initfini
9613 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9614 list, store the pointer.
9615 * elf/Makefile ($(objpfx)noload-mem): New rule.
9616 (noload-ENV): Define.
9617 (tests): Add $(objpfx)noload-mem.
9618 * elf/noload.c: Include <memcheck.h>.
9619 (main): Call mtrace. Close all opened handles.
9621 2011-02-17 Andreas Schwab <schwab@redhat.com>
9624 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9625 dependencies are missing.
9627 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9629 Fix __if_freereq crash: Unlike the generic version which uses free,
9631 * sysdeps/mach/hurd/ifreq.h: New file.
9633 2011-01-27 Petr Baudis <pasky@suse.cz>
9634 Ulrich Drepper <drepper@gmail.com>
9637 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9639 * stdio-common/bug23.c: New file.
9640 * stdio-common/Makefile (tests): Add bug23.
9642 2010-09-28 Andreas Schwab <schwab@redhat.com>
9643 Ulrich Drepper <drepper@gmail.com>
9646 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9647 before performing relro protection. At old place add assertion
9648 to make sure nothing changed.
9650 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9651 Glauber de Oliveira Costa <glommer@gmail.com>
9653 * elf/elf.h: Add new ARM TLS relocs.
9655 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9658 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9660 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9662 * sysdeps/wordsize-64/tst-writev.c: New file.
9664 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9666 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9667 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9668 insns in _dl_start to prevent a TOC reference before relocs are
9671 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9674 * Makeconfig: Remove RANLIB definition.
9675 * Makerules: Don't use RANLIB.
9676 * aclocal.m4: Remove ranlib test.
9677 * configure.in: No need to check for ranlib.
9678 * elf/rtld-Rules: Don't use RANLIB.
9680 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9682 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9684 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9685 inclusion protection macro.
9687 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9688 SIGRTMIN and SIGRTMAX and print information in that case only when
9689 SIGRTMIN is defined.
9691 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9693 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9694 arginfo fn returning -1.
9696 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9697 and thousands string is zero terminated.
9699 2011-02-03 Andreas Schwab <schwab@redhat.com>
9701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9702 sysdeps/unix/sysv/linux/bits/socket.h.
9704 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9706 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9707 (__CPU_COUNT): Remove old macros.
9708 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9709 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9710 (__CPU_ALLOC, __CPU_FREE): Add macros.
9711 (__sched_cpualloc, __sched_cpufree): Add declarations.
9713 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9715 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9716 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9717 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9718 (readdhstai): Return value of addhstaiX call.
9719 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9720 (addgrbyX): Return value returned by cache_addgr.
9721 (readdgrbyname): Return value returned by addgrbyX.
9722 (readdgrbygid): Likewise.
9723 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9724 (addpwbyX): Return value returned by cache_addpw.
9725 (readdpwbyname): Return value returned by addhstbyX.
9726 (readdpwbyuid): Likewise.
9727 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9728 (addservbyX): Return value returned by cache_addserv.
9729 (readdservbyname): Return value returned by addservbyX:
9730 (readdservbyport): Likewise.
9731 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9732 (addhstbyX): Return value returned by cache_addhst.
9733 (readdhstbyname): Return value returned by addhstbyX.
9734 (readdhstbyaddr): Likewise.
9735 (readdhstbynamev6): Likewise.
9736 (readdhstbyaddrv6): Likewise.
9737 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9738 (readdinitgroups): Return value returned by addinitgroupsX.
9739 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9740 (prune_cache): Keep track of timeout value of re-added entries.
9741 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9742 * nscd/nscd.h: Adjust prototypes of readd* functions.
9744 2011-02-04 Roland McGrath <roland@redhat.com>
9746 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9747 (nis_stats): Likewise.
9748 * nis/nis_modify.c (nis_modify): Likewise.
9749 * nis/nis_remove.c (nis_remove): Likewise.
9750 * nis/nis_add.c (nis_add): Likewise.
9752 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9754 * posix/fnmatch_loop.c: Add some consts.
9756 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9758 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9761 * config.make.in (config-cflags-novzeroupper): Define.
9762 * configure.in: Substitute libc_cv_cc_novzeroupper.
9763 * elf/Makefile (AVX-CFLAGS): Define.
9764 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9765 (CFLAGS-tst-auditmod4a.c): Likewise.
9766 (CFLAGS-tst-auditmod4b.c): Likewise.
9767 (CFLAGS-tst-auditmod6b.c): Likewise.
9768 (CFLAGS-tst-auditmod6c.c): Likewise.
9769 (CFLAGS-tst-auditmod7b.c): Likewise.
9770 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9772 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9774 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9775 function to the callback.
9776 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9778 2011-02-02 Andreas Schwab <schwab@redhat.com>
9780 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9783 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9786 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9788 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9790 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9793 * elf/Makefile: Add rules to build and run new test.
9794 * elf/tst-initorder.c: New file.
9795 * elf/tst-initorder.exp: New file.
9796 * elf/tst-initordera1.c: New file.
9797 * elf/tst-initordera2.c: New file.
9798 * elf/tst-initordera3.c: New file.
9799 * elf/tst-initordera4.c: New file.
9800 * elf/tst-initorderb1.c: New file.
9801 * elf/tst-initorderb2.c: New file.
9802 * elf/tst-order-a1.c: New file.
9803 * elf/tst-order-a2.c: New file.
9804 * elf/tst-order-a3.c: New file.
9805 * elf/tst-order-a4.c: New file.
9806 * elf/tst-order-b1.c: New file.
9807 * elf/tst-order-b2.c: New file.
9808 * elf/tst-order-main.c: New file.
9809 New test case by George Gensure <werkt0@gmail.com>.
9811 2010-10-01 Andreas Schwab <schwab@redhat.com>
9813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9814 decoding ACE if AI_CANONIDN.
9816 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9818 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9820 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9822 * version.h (RELEASE): Bump for 2.13 release.
9823 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9825 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9829 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9832 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9836 * posix/getconf.c: Update copyright year.
9837 * catgets/gencat.c: Likewise.
9838 * csu/version.c: Likewise.
9839 * debug/catchsegv.sh: Likewise.
9840 * debug/xtrace.sh: Likewise.
9841 * elf/ldconfig.c: Likewise.
9842 * elf/ldd.bash.in: Likewise.
9843 * elf/sprof.c (print_version): Likewise.
9844 * iconv/iconv_prog.c: Likewise.
9845 * iconv/iconvconfig.c: Likewise.
9846 * locale/programs/locale.c: Likewise.
9847 * locale/programs/localedef.c: Likewise.
9848 * malloc/memusage.sh: Likewise.
9849 * malloc/mtrace.pl: Likewise.
9850 * nscd/nscd.c (print_version): Likewise.
9851 * nss/getent.c: Likewise.
9853 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9854 PF_CAIF, and PF_ALG.
9855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9857 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9859 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9860 (modules-names): Use them.
9861 (ifunc-test-modules, ifunc-pie-tests): Define.
9862 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9863 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9864 (test-extras): Likewise.
9865 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9866 $(compile-command.c).
9867 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9868 (all-built-dso): Define.
9869 (check-textrel.out, check-execstack.out): Depend on it.
9871 * configure.in: Don't override --enable-multi-arch.
9873 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9876 * nscd/hstcache.c (tryagain): Define.
9877 (cache_addhst): Return tryagain not notfound for temporary errors.
9878 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9881 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9885 to make the syscall.
9886 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9889 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9890 and fall back to matching as normal character if the string ends before
9891 the matching ']' is found. This is what POSIX requires.
9892 * posix/testfnm.c: Adjust test result.
9893 * posix/globtest.sh: Adjust test result. Add new test.
9894 * posix/tst-fnmatch.input: Likewise.
9895 * posix/tst-fnmatch2.c: Add new test.
9897 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9899 * elf/Makefile (check-execstack): Revert last change. Depend on
9901 (check-execstack.h): New target.
9902 (generated): Add check-execstack.h.
9903 * elf/check-execstack.c: Include "check-execstack.h".
9904 (main): Revert last change.
9905 (handle_file): Return zero if GNU_STACK is absent and
9906 DEFAULT_STACK_PERMS doesn't include PF_X.
9908 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9910 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9911 in child fails because the descriptor is already closed.
9912 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9913 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9917 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9921 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9922 temporary buffer used to handle multi lookups locally.
9923 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9925 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9927 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9930 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9932 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9935 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9938 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9939 characters. When rounding increased number of integer digits recompute
9941 * stdio-common/tst-grouping.c: New file.
9942 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9944 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9946 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9947 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9949 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9951 * bits/select.h: Likewise.
9953 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9955 * po/ja.po: Update from translation team.
9957 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9960 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9961 implementation just like for lxstat, fxstatat, et al.
9963 2010-12-27 Jim Meyering <meyering@redhat.com>
9966 * posix/regexec.c (build_trtable): Return failure indication upon
9967 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9969 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9972 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9973 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9975 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9978 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9981 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9982 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9984 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9986 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9987 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9988 script has SORT_BY_INIT_PRIORITY.
9989 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9990 NO_CTORS_DTORS_SECTIONS is defined.
9991 * elf/soinit.c: Likewise.
9992 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9993 NO_CTORS_DTORS_SECTIONS is defined.
9994 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9995 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9996 * sysdeps/sh/init-first.c: Likewise.
9997 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9999 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10001 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10002 always use the slow path.
10004 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10006 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10007 similar rule which adds the sysdep directories to the header search in
10008 order to pick up the correct platform stackinfo.h.
10009 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10010 perform test if it is, otherwise return successfully without testing.
10011 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10012 DEFAULT_STACK_PERMS define in stackinfo.h.
10013 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10014 defined in stackinfo.h.
10015 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10016 DEFAULT_STACK_PERMS defined in stackinfo.h.
10017 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10018 * sysdeps/ia64/stackinfo.h: Likewise.
10019 * sysdeps/s390/stackinfo.h: Likewise.
10020 * sysdeps/sh/stackinfo.h: Likewise.
10021 * sysdeps/sparc/stackinfo.h: Likewise.
10022 * sysdeps/x86_64/stackinfo.h: Likewise.
10023 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10024 PF_X for powerpc64. Retain PF_X for powerpc32.
10026 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10028 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10031 GETDENTS_64BIT_ALIGNED.
10033 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10035 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10037 2010-12-10 Andreas Schwab <schwab@redhat.com>
10039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10043 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10045 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10046 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10048 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10051 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10054 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10056 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10058 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10060 * po/it.po: Update from translation team.
10062 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10067 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10069 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10071 2010-11-24 Andreas Schwab <schwab@redhat.com>
10073 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10075 (gaih_getanswer_slice): Likewise.
10077 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10081 2010-05-31 Petr Baudis <pasky@suse.cz>
10084 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10085 silently even in the chroot mode.
10087 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10089 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10090 last patch a bit. Pretty printing
10092 2010-05-31 Petr Baudis <pasky@suse.cz>
10095 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10096 initialization of skip_initgroups_dyn.
10098 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10103 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10105 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10107 2010-11-11 Andreas Schwab <schwab@redhat.com>
10109 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10110 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10111 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10112 ($(objpfx)tst-fnmatch-mem): New rule.
10113 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10114 * posix/tst-fnmatch.c (main): Call mtrace.
10116 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10119 Support Intel processor model 6 and model 0x2c.
10121 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10126 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10129 * string/test-strncasecmp.c (check_result): New function.
10130 (do_one_test): Use it.
10131 (check1): New function.
10132 (test_main): Use it.
10133 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10134 Support strcasecmp and strncasecmp.
10136 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10139 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10142 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10144 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10148 * sysdeps/x86_64/multiarch/bzero.S: New file.
10149 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10150 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10151 * sysdeps/x86_64/multiarch/memset.S: New file.
10152 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10154 Set bit_Prefer_SSE_for_memop for Intel processors.
10155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10157 (index_Prefer_SSE_for_memop): Define.
10158 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10160 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10165 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10169 (__x86_64_raw_data_cache_size_half): Likewise.
10170 (__x86_64_raw_shared_cache_size): Likewise.
10171 (__x86_64_raw_shared_cache_size_half): Likewise.
10173 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10174 (__x86_64_raw_data_cache_size_half): Likewise.
10175 (__x86_64_raw_shared_cache_size): Likewise.
10176 (__x86_64_raw_shared_cache_size_half): Likewise.
10177 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10178 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10179 and __x86_64_raw_shared_cache_size_half. Round
10180 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10181 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10182 to multiple of 256 bytes.
10184 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10188 of inacessible symlinks. Verify result of symlink before returning it.
10189 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10190 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10192 2010-10-28 Erich Ritz <erichritz@gmail.com>
10194 * math/math.h (isinf): Fix typo in comment.
10196 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10198 * po/da.po: Update from translation team.
10200 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10202 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10203 is added to the list.
10205 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10206 Ulrich Drepper <drepper@gmail.com>
10208 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10209 the global list here. Move code to...
10210 (_dl_add_to_namespace_list): ...here. New function.
10211 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10212 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10213 * elf/dl-load.c (lose): Don't remove the element from the list.
10214 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10215 (_dl_map_object): Likewise.
10217 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10220 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10221 into all bytes of SSE register.
10222 Patch by Richard Li <richardpku@gmail.com>.
10224 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10227 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10230 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10232 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10233 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10240 2010-10-22 Andreas Schwab <schwab@redhat.com>
10242 * include/dlfcn.h (__RTLD_SECURE): Define.
10243 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10244 mode & __RTLD_SECURE instead.
10245 (open_path): Rename preloaded parameter to secure.
10246 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10247 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10248 * elf/dl-deps.c (openaux): Likewise.
10249 * elf/rtld.c (struct map_args): Remove is_preloaded.
10250 (map_doit): Don't use it.
10251 (dl_main): Likewise.
10252 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10253 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10255 2010-09-09 Andreas Schwab <schwab@redhat.com>
10257 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10258 (sysd-rules-targets): Remove duplicates.
10259 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10260 rtld-%.$o dependency.
10262 2010-10-18 Andreas Schwab <schwab@redhat.com>
10264 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10265 _dl_map_object do it.
10267 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10269 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10270 fast fma builtins, define the macros in the C99 standard.
10271 (FP_FAST_FMAF): Likewise.
10272 (FP_FAST_FMAL): Likewise.
10273 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10275 * bits/mathdef.h: Update copyright year.
10276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10278 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10280 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10281 builtins, define the macros in the C99 standard.
10282 (FP_FAST_FMAF): Likewise.
10283 (FP_FAST_FMAL): Likewise.
10284 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10286 (FP_FAST_FMAF): Likewise.
10288 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10291 * math/libm-test.inc (fma_test): Some new testcases.
10292 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10294 y and infinite z. Do multiplication by C already in long double.
10295 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10297 y and infinite z. Do bitwise or of inexact bit into u.d.
10298 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10299 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10300 * sysdeps/i386/fpu/s_fma.S: Removed.
10301 * sysdeps/i386/fpu/s_fmal.S: Removed.
10303 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10306 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10308 computation is not scheduled after fetestexcept. Fix value
10309 of minimum denormal long double.
10311 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10314 * math/libm-test.inc (fma_test): Add some more tests.
10315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10318 2010-10-15 Andreas Schwab <schwab@redhat.com>
10320 * scripts/data/localplt-s390-linux-gnu.data: New file.
10321 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10323 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10326 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10327 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10329 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10331 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10333 if one of x and y is very large and the other is subnormal.
10334 * sysdeps/s390/fpu/s_fmaf.c: New file.
10335 * sysdeps/s390/fpu/s_fma.c: New file.
10336 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10337 * sysdeps/powerpc/fpu/s_fma.S: New file.
10338 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10339 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10340 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10342 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10345 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10348 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10349 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10350 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10351 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10352 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10355 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10358 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10359 * posix/bug-regex31.input: Add test case.
10361 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10363 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10364 * posix/bug-regex31.input: New file.
10367 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10368 (parse_sub_exp): Fix last change, use postorder.
10370 * posix/bug-regex31.c: New file.
10371 * posix/Makefile: Add rules to build and run bug-regex31.
10373 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10376 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10379 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10380 to have entries in sys_siglist.
10383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10386 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10389 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10390 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10391 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10392 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10394 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10395 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10396 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10397 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10398 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10399 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10400 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10401 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10402 * math/ftestexcept.c (fetestexcept): Likewise.
10403 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10404 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10405 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10406 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10407 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10408 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10409 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10411 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10414 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10417 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10419 * string/bug-strstr1.c: New file.
10420 * string/Makefile: Add rules to build and run bug-strstr1.
10422 2010-10-05 Eric Blake <eblake@redhat.com>
10425 * string/str-two-way.h (two_way_long_needle): Always clear memory
10426 when skipping input due to the shift table.
10428 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10431 * malloc/mcheck.c: Handle large requests.
10434 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10435 for strncmp and strncasecmp.
10436 * string/stratcliff.c: Add tests for strcmp and strncmp.
10437 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10439 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10441 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10444 2010-09-30 Andreas Jaeger <aj@suse.de>
10446 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10447 (CGROUP_SUPER_MAGIC): Define.
10448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10449 Handle btrfs and cgroup file systems.
10450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10453 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10455 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10456 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10458 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10461 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10462 trying to locate the ELF header.
10464 2010-09-27 Andreas Schwab <schwab@redhat.com>
10467 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10468 Mask out sign-bit copies when constructing f_fsid.
10470 2010-09-24 Petr Baudis <pasky@suse.cz>
10472 * debug/stack_chk_fail_local.c: Add missing licence exception.
10473 * debug/warning-nop.c: Likewise.
10475 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10477 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10478 implementing getdents64 using getdents syscall, set d_type if
10479 __ASSUME_GETDENTS32_D_TYPE.
10481 2010-09-16 Andreas Schwab <schwab@redhat.com>
10483 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10484 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10486 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10489 * posix/unistd.h: Undo change of feature selection for ftruncate from
10492 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10494 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10497 2010-09-20 Andreas Schwab <schwab@redhat.com>
10499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10503 2010-09-14 Andreas Schwab <schwab@redhat.com>
10505 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10506 variables after CHECK_SP call.
10507 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10509 2010-09-13 Andreas Schwab <schwab@redhat.com>
10510 Ulrich Drepper <drepper@redhat.com>
10512 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10513 re-relocationg ld.so.
10514 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10515 _dl_init_paths call.
10516 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10519 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10521 * resolv/res_init.c (__res_vinit): Count the default server we added.
10523 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10524 Ulrich Drepper <drepper@redhat.com>
10527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10528 (____longjmp_chk): Use %ebx for saving value across system call.
10531 2010-09-06 Andreas Schwab <schwab@redhat.com>
10533 * manual/Makefile: Don't mix pattern rules with normal rules.
10535 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10537 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10539 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10540 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10541 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10542 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10546 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10549 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10550 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10552 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10554 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10555 * sysdeps/x86_64/addmul_1.S: Likewise.
10556 * sysdeps/x86_64/lshift.S: Likewise.
10557 * sysdeps/x86_64/mul_1.S: Likewise.
10558 * sysdeps/x86_64/rshift.S: Likewise.
10559 * sysdeps/x86_64/sub_n.S: Likewise.
10560 * sysdeps/x86_64/submul_1.S: Likewise.
10562 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10564 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10565 Define __sched_param instead of SCHED_* and sched_param when
10566 <bits/sched.h> is included with __need_schedparam defined.
10567 * bits/sched.h [__need_schedparam]
10568 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10569 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10570 (__defined_schedparam): Define to 1.
10571 (__sched_param): New structure, identical to sched_param.
10572 (__need_schedparam): Undefine.
10574 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10577 (epoll_create1): Declare.
10579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10581 2010-08-31 Andreas Schwab <schwab@redhat.com>
10584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10585 shifting retval into place.
10587 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10589 * nis/rpcsvc/nis.h: Update copyright notice.
10590 * nis/rpcsvc/nis.x: Likewise.
10591 * nis/rpcsvc/nis_callback.h: Likewise.
10592 * nis/rpcsvc/nis_callback.x: Likewise.
10593 * nis/rpcsvc/nis_object.x: Likewise.
10594 * nis/rpcsvc/nis_tags.h: Likewise.
10595 * nis/rpcsvc/yp.h: Likewise.
10596 * nis/rpcsvc/yp.x: Likewise.
10597 * nis/rpcsvc/ypupd.h: Likewise.
10598 * nis/yp_xdr.c: Likewise.
10599 * nis/ypupdate_xdr.c: Likewise.
10601 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10602 mainly the body of pmap_getport. Add parameters to specify timeouts.
10603 (pmap_getport): Use __libc_rpc_getport.
10604 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10605 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10606 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10608 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10613 2010-08-27 Roland McGrath <roland@redhat.com>
10615 * sysdeps/i386/i686/multiarch/Makefile
10616 (CFLAGS-varshift.c): New variable.
10618 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10620 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10621 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10625 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10627 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10629 * sysdeps/x86_64/strlen.S: Unroll the loop.
10630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10631 strlen-sse2 strlen-sse2-bsf.
10632 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10633 __strlen_no_bsf if bit_Slow_BSF is set.
10634 (__strlen_sse42): Removed.
10635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10636 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10638 2010-08-25 Roland McGrath <roland@redhat.com>
10640 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10641 * sysdeps/x86_64/multiarch/varshift.c: New file.
10642 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10643 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10644 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10645 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10647 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10650 strlen-sse2 strlen-sse2-bsf.
10651 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10652 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10653 (__strlen_sse2): Removed.
10654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10657 bit_Slow_BSF for Atom.
10658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10659 (index_Slow_BSF): Define.
10660 (HAS_SLOW_BSF): Define.
10662 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10665 * resolv/res_init.c (__res_vinit): When no server address at all
10666 is given default to loopback.
10668 2010-08-24 Roland McGrath <roland@redhat.com>
10670 * configure.in: Remove config-name.h generation.
10671 * configure: Regenerated.
10672 * config-name.in: File removed.
10673 * scripts/config-uname.sh: New file.
10674 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10675 ($(objdir)config-name.h): New target.
10677 * sunrpc/rpc_parse.h: Avoid nested comment.
10679 2010-08-24 Richard Henderson <rth@redhat.com>
10680 Ulrich Drepper <drepper@redhat.com>
10681 H.J. Lu <hongjiu.lu@intel.com>
10683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10685 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10686 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10687 _mm_alignr_epi8 with _mm_loadu_si128.
10688 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10689 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10690 (__m128i_shift_right): Removed.
10691 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10692 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10693 * sysdeps/x86_64/multiarch/varshift.h: New file.
10694 * sysdeps/x86_64/multiarch/varshift.S: New file.
10696 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10698 * configure.in: Move assembler checks to before sysdep dir checking.
10700 2010-08-20 Petr Baudis <pasky@suse.cz>
10702 * LICENSES: Sync the sunrpc license.
10704 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10706 * sunrpc/auth_des.c: Update copyright notice once again.
10707 * sunrpc/auth_none.c: Likewise.
10708 * sunrpc/auth_unix.c: Likewise.
10709 * sunrpc/authdes_prot.c: Likewise.
10710 * sunrpc/authuxprot.c: Likewise.
10711 * sunrpc/bindrsvprt.c: Likewise.
10712 * sunrpc/clnt_gen.c: Likewise.
10713 * sunrpc/clnt_perr.c: Likewise.
10714 * sunrpc/clnt_raw.c: Likewise.
10715 * sunrpc/clnt_simp.c: Likewise.
10716 * sunrpc/clnt_tcp.c: Likewise.
10717 * sunrpc/clnt_udp.c: Likewise.
10718 * sunrpc/clnt_unix.c: Likewise.
10719 * sunrpc/des_crypt.c: Likewise.
10720 * sunrpc/des_soft.c: Likewise.
10721 * sunrpc/get_myaddr.c: Likewise.
10722 * sunrpc/getrpcport.c: Likewise.
10723 * sunrpc/key_call.c: Likewise.
10724 * sunrpc/key_prot.c: Likewise.
10725 * sunrpc/openchild.c: Likewise.
10726 * sunrpc/pm_getmaps.c: Likewise.
10727 * sunrpc/pm_getport.c: Likewise.
10728 * sunrpc/pmap_clnt.c: Likewise.
10729 * sunrpc/pmap_prot.c: Likewise.
10730 * sunrpc/pmap_prot2.c: Likewise.
10731 * sunrpc/pmap_rmt.c: Likewise.
10732 * sunrpc/rpc/auth.h: Likewise.
10733 * sunrpc/rpc/auth_unix.h: Likewise.
10734 * sunrpc/rpc/clnt.h: Likewise.
10735 * sunrpc/rpc/des_crypt.h: Likewise.
10736 * sunrpc/rpc/key_prot.h: Likewise.
10737 * sunrpc/rpc/netdb.h: Likewise.
10738 * sunrpc/rpc/pmap_clnt.h: Likewise.
10739 * sunrpc/rpc/pmap_prot.h: Likewise.
10740 * sunrpc/rpc/pmap_rmt.h: Likewise.
10741 * sunrpc/rpc/rpc.h: Likewise.
10742 * sunrpc/rpc/rpc_des.h: Likewise.
10743 * sunrpc/rpc/rpc_msg.h: Likewise.
10744 * sunrpc/rpc/svc.h: Likewise.
10745 * sunrpc/rpc/svc_auth.h: Likewise.
10746 * sunrpc/rpc/types.h: Likewise.
10747 * sunrpc/rpc/xdr.h: Likewise.
10748 * sunrpc/rpc_clntout.c: Likewise.
10749 * sunrpc/rpc_cmsg.c: Likewise.
10750 * sunrpc/rpc_common.c: Likewise.
10751 * sunrpc/rpc_cout.c: Likewise.
10752 * sunrpc/rpc_dtable.c: Likewise.
10753 * sunrpc/rpc_hout.c: Likewise.
10754 * sunrpc/rpc_main.c: Likewise.
10755 * sunrpc/rpc_parse.c: Likewise.
10756 * sunrpc/rpc_parse.h: Likewise.
10757 * sunrpc/rpc_prot.c: Likewise.
10758 * sunrpc/rpc_sample.c: Likewise.
10759 * sunrpc/rpc_scan.c: Likewise.
10760 * sunrpc/rpc_scan.h: Likewise.
10761 * sunrpc/rpc_svcout.c: Likewise.
10762 * sunrpc/rpc_tblout.c: Likewise.
10763 * sunrpc/rpc_util.c: Likewise.
10764 * sunrpc/rpc_util.h: Likewise.
10765 * sunrpc/rpcinfo.c: Likewise.
10766 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10767 * sunrpc/rpcsvc/key_prot.x: Likewise.
10768 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10769 * sunrpc/rpcsvc/mount.x: Likewise.
10770 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10771 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10772 * sunrpc/rpcsvc/rex.x: Likewise.
10773 * sunrpc/rpcsvc/rstat.x: Likewise.
10774 * sunrpc/rpcsvc/rusers.x: Likewise.
10775 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10776 * sunrpc/rpcsvc/spray.x: Likewise.
10777 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10778 * sunrpc/rtime.c: Likewise.
10779 * sunrpc/svc.c: Likewise.
10780 * sunrpc/svc_auth.c: Likewise.
10781 * sunrpc/svc_authux.c: Likewise.
10782 * sunrpc/svc_raw.c: Likewise.
10783 * sunrpc/svc_run.c: Likewise.
10784 * sunrpc/svc_simple.c: Likewise.
10785 * sunrpc/svc_tcp.c: Likewise.
10786 * sunrpc/svc_udp.c: Likewise.
10787 * sunrpc/svc_unix.c: Likewise.
10788 * sunrpc/svcauth_des.c: Likewise.
10789 * sunrpc/xcrypt.c: Likewise.
10790 * sunrpc/xdr.c: Likewise.
10791 * sunrpc/xdr_array.c: Likewise.
10792 * sunrpc/xdr_float.c: Likewise.
10793 * sunrpc/xdr_mem.c: Likewise.
10794 * sunrpc/xdr_rec.c: Likewise.
10795 * sunrpc/xdr_ref.c: Likewise.
10796 * sunrpc/xdr_sizeof.c: Likewise.
10797 * sunrpc/xdr_stdio.c: Likewise.
10799 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10802 2010-08-19 Andreas Schwab <schwab@redhat.com>
10804 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10806 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10808 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10811 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10813 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10815 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10817 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10818 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10819 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10820 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10821 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10823 2010-07-26 Anton Blanchard <anton@samba.org>
10825 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10826 * malloc/arena.c (heap_trim): Likewise.
10828 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10830 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10833 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10835 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10837 * sysdeps/i386/elf/Makefile: New file.
10839 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10841 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10842 from fanotify_init.
10843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10846 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10848 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10850 * sysdeps/multiarch/strcmp.S: Likewise.
10852 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10855 strncase_l-nonascii.
10856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10857 Add strncase_l-ssse3.
10858 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10859 * sysdeps/x86_64/strcmp.S: Likewise.
10860 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10861 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10862 * sysdeps/x86_64/strncase.S: New file.
10863 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10864 * sysdeps/x86_64/strncase_l.S: New file.
10865 * string/Makefile (strop-tests): Add strncasecmp.
10866 * string/test-strncasecmp.c: New file.
10868 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10871 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10874 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10876 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10878 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10880 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10884 2010-05-01 Alan Modra <amodra@gmail.com>
10886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10887 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10888 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10889 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10890 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10891 tidying. Don't tail-call __sigjmp_save for static lib.
10892 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10894 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10895 (CALL_MCOUNT): Add eh info, and nop after bl.
10896 (TAIL_CALL_SYSCALL_ERROR): New macro.
10897 (PSEUDO_RET): Use it.
10898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10899 Correct save location of integer regs and cr.
10900 (_dl_profile_resolve): Correct cr save location. Delete nops
10901 after bl when SHARED. Reduce cfi size a little by better
10902 placement of cfi directives.
10903 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10904 make a stack frame. Instead use parm save area as a temp.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10906 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10908 Don't make a stack frame for parent, use parm save area.
10909 Increase child stack frame to 112 bytes. Don't save unused reg,
10910 and adjust reg usage. Set up cfi on error recovery and
10911 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10913 (__makecontext): Add dummy nop after jump to exit.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10915 Use correct parm save area and cr save, reduce stack frame.
10916 Correct cfi for possible PSEUDO_RET frame setup.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10918 Branch to local label emitted by PSEUDO_RET rather than
10921 2010-08-12 Andreas Schwab <schwab@redhat.com>
10924 * locale/programs/locale.c (print_assignment): New function.
10925 (show_locale_vars): Use it.
10927 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10929 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10931 (struct statfs64): Likewise.
10932 (_STATFS_F_FLAGS): Define.
10933 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10935 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10936 (ST_VALID): Define locally.
10937 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10938 __statvfs_getflags, use the provided value.
10939 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10940 __ASSUME_STATFS_F_FLAGS.
10942 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10945 Add sys/fanotify.h.
10946 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10947 fanotify_mask for GLIBC_2.13.
10948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10949 fanotify_init and fanotify_mark.
10950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10951 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10953 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10955 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10956 prlimit64 for GLIBC_2.13.
10957 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10962 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10963 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10964 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10967 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10970 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10971 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10973 * nss/Makefile: Add rules to build and run tst-nss-test1.
10974 * shlib-versions: Add entry for libnss_test1.
10975 * nss/nss_test1.c: New file.
10976 * nss/tst-nss-test1.c: New file.
10978 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10979 (__nss_configure_lookup): Set appropriate entry in
10980 __nss_configure_lookup to true.
10981 * nss/nsswitch.h: Define enum with indeces of databases in
10982 databases and __nss_database_custom arrays. Declare
10983 __nss_database_custom.
10984 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10985 to avoid using nscd when custom rules are installed.
10986 * nss/getXXbyYY_r.c: Likewise.
10987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10989 * nss/nss_files/files-parse.c: Whitespace fixes.
10991 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10994 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10995 * posix/fnmatch_loop.c: Likewise.
10997 2010-07-17 Andi Kleen <ak@linux.intel.com>
10999 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11000 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11001 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11002 * Versions.def [GLIBC_2.13]: Add.
11004 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11007 Also fail if tpwd after pwuid call is NULL.
11009 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11011 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11012 when converting to ms.
11014 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11016 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11017 EOPNOTSUPP errors with ENOTTY.
11018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11019 EOPNOTSUPP errors with ENOTTY.
11021 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11024 Add strcasecmp_l-ssse3.
11025 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11027 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11028 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11029 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11031 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11033 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11035 * string/Makefile (strop-tests): Add strcasecmp.
11036 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11037 strcasecmp_l-nonascii.
11038 (gen-as-const-headers): Add locale-defines.sym.
11039 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11040 * sysdeps/x86_64/strcasecmp.S: New file.
11041 * sysdeps/x86_64/strcasecmp_l.S: New file.
11042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11043 * sysdeps/x86_64/locale-defines.sym: New file.
11044 * string/test-strcasecmp.c: New file.
11046 * string/test-strcasestr.c: Test both ends of the range of characters.
11047 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11049 2010-07-29 Roland McGrath <roland@redhat.com>
11052 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11054 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11056 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11059 2010-07-27 Andreas Schwab <schwab@redhat.com>
11061 * manual/memory.texi (Malloc Tunable Parameters): Document
11064 2010-07-26 Roland McGrath <roland@redhat.com>
11067 * configure.in (-fgnu89-inline check): Set and substitute
11068 gnu89_inline, not libc_cv_gnu89_inline.
11069 * configure: Regenerated.
11070 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11072 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11074 * string/test-strnlen.c: New file.
11075 * string/Makefile (strop-tests): Add strnlen.
11076 * string/tester.c (test_strnlen): Add a few more test cases.
11077 * string/tst-strlen.c: Better error reporting.
11079 * sysdeps/x86_64/strnlen.S: New file.
11081 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11084 lower-latency instructions.
11086 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11088 * string/test-strcasestr.c: New file.
11089 * string/test-strstr.c: New file.
11090 * string/Makefile (strop-tests): Add strstr and strcasestr.
11091 * string/str-two-way.h: Don't undefine MAX.
11092 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11094 2010-07-21 Andreas Schwab <schwab@redhat.com>
11096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11097 strcasestr-nonascii.
11098 (CFLAGS-strcasestr-nonascii.c): Define.
11099 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11101 Remove unused attribute.
11103 2010-07-20 Roland McGrath <roland@redhat.com>
11105 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11106 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11107 ld.so.cache was broken. With it, there is no way to disable dsocaps
11108 like LD_HWCAP_MASK can disable hwcaps.
11110 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11112 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11114 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11116 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11117 call in strcasestr.
11118 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11119 __strcasestr_sse42_nonascii.
11120 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11121 strcasestr-nonascii.c.
11122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11124 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11131 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11136 2010-07-06 Andreas Schwab <schwab@redhat.com>
11139 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11142 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11145 _PC_PIPE_BUF using F_GETPIPE_SZ.
11147 2010-07-05 Roland McGrath <roland@redhat.com>
11149 * manual/arith.texi (Rounding Functions): Fix rint description
11150 implicit in round description.
11152 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11154 * elf/Makefile: Fix linking for a few tests to make recent linker
11157 2010-06-30 Andreas Schwab <schwab@redhat.com>
11159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11160 $(common-objpfx)libc_nonshared.a.
11162 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11164 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11165 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11166 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11168 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11171 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11186 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11187 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11188 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11189 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11190 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11191 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11192 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11193 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11194 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11195 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11196 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11197 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11213 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11215 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11216 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11217 * string/memmove.c (memmove): Renamed to ...
11218 (MEMMOVE): ...this. Default to memmove.
11219 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11220 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11223 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11224 mempcpy-ssse3-back memmove-ssse3-back.
11225 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11228 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11229 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11230 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11231 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11232 * sysdeps/x86_64/multiarch/memmove.c: New file.
11233 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11234 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11235 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11236 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11240 (index_Fast_Copy_Backward): Define.
11241 (HAS_ARCH_FEATURE): Define.
11242 (HAS_FAST_REP_STRING): Define.
11243 (HAS_FAST_COPY_BACKWARD): Define.
11245 2010-06-21 Andreas Schwab <schwab@redhat.com>
11247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11248 Restore proper fallback handling.
11250 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11253 * posix/group_member.c (__group_member): Correct checking loop.
11255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11256 OOM in getpwuid_r correctly. Return error number when the caller
11257 should return, otherwise -1.
11258 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11259 call returning > 0 value.
11260 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11262 2010-06-07 Andreas Schwab <schwab@redhat.com>
11264 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11265 libc_nonshared.a from targets in modules-names.
11267 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11269 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11272 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11279 2010-06-02 Andreas Schwab <schwab@redhat.com>
11281 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11283 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11291 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11294 2010-06-14 Roland McGrath <roland@redhat.com>
11296 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11298 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11300 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11301 __REDIRECT followed by __THROW.
11302 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11303 * posix/getopt.h (getopt): Likewise.
11305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11307 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11308 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11309 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11311 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11312 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11314 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11318 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11322 Properly check family and model.
11324 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11328 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11330 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11332 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11334 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11337 2010-05-19 Andreas Schwab <schwab@redhat.com>
11339 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11342 2010-05-21 Andreas Schwab <schwab@redhat.com>
11344 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11345 and internal_recvmmsg.
11346 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11347 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11349 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11351 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11352 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11353 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11355 2010-05-20 Andreas Schwab <schwab@redhat.com>
11357 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11359 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11361 POWER7 optimizations.
11362 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11363 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11365 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11367 * version.h: Update for 2.13 development version.
11369 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11372 exceptions. Return 0.
11374 2010-05-07 Roland McGrath <roland@redhat.com>
11376 * elf/ldconfig.c (main): Add a const.
11378 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11380 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11381 (args_options): Add no-idn option.
11382 (ahosts_keys_int): Add idn_flags to ai_flags.
11383 (parse_option): Handle 'i' option to clear idn_flags.
11385 * malloc/malloc.c (_int_free): Possible race in the most recently
11386 added check. Only act on the data if no current modification
11389 See ChangeLog.17 for earlier changes.