1 2012-04-08 Andreas Jaeger <aj@suse.de>
4 * manual/startup.texi (Environment Access): Describe return value
8 * manual/filesys.texi (Directory Entries): Add description for
12 * manual/filesys.texi (Directory Entries): Clarify that it's file
13 system not operating system in the description of DT_UNKNOWN.
16 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18 2012-04-08 Stephen Compall <s11@member.fsf.org>
21 * manual/llio.texi (Opening and Closing Files): Add cross
22 reference to explain mode argument.
24 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27 * sysdeps/x86_64/memset_chk.S: Likewise.
29 2012-04-07 David S. Miller <davem@davemloft.net>
31 * elf/elf.h (R_SPARC_WDISP10): Define.
32 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35 R_SPARC_SIZE64 and R_SPARC_H34.
37 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40 conditions and remove no longer applicable assertion.
42 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44 * bits/byteswap.h (__bswap_16): Removed.
45 Include <bits/byteswap-16.h> to get __bswap_16.
46 * sysdeps/i386/bits/byteswap.h: Likewise.
47 * sysdeps/s390/bits/byteswap.h: Likewise.
48 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49 * bits/byteswap-16.h: New file.
50 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51 * sysdeps/s390/bits/byteswap-16.h: Likewise.
52 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53 * string/Makefile (headers): Add bits/byteswap-16.h.
55 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60 * nss/Makefile (tests-static, tests): Add tst-nss-static.
61 * nss/tst-nss-static.c: New.
63 2012-04-06 Robert Millan <rmh@gnu.org>
66 * manual/llio.texi (File Position Primitive): lseek
67 refers to WHENCE when it really means OFFSET.
69 2012-04-06 Andreas Jaeger <aj@suse.de>
71 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74 * abilist/libc.abilist: Add __poll and __ppoll.
76 2012-04-05 David S. Miller <davem@davemloft.net>
78 * scripts/check-local-headers.sh: Accept a host triplet in the
79 path matched by the exclude regexp.
81 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83 * sysdeps/powerpc/powerpc32/dl-machine.h
84 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85 * sysdeps/s390/s390-32/dl-machine.h
86 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
87 * sysdeps/sparc/sparc32/dl-machine.h
88 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
89 * sysdeps/sparc/sparc64/dl-machine.h
90 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
92 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
94 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
95 undefined symbol errors.
97 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
100 2012-04-05 Michael Matz <matz@suse.de>
103 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
105 2012-04-05 Andreas Jaeger <aj@suse.de>
108 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
111 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
113 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
114 which ROUND is no valid rounding mode.
116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
118 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
120 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
122 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
124 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
125 an exception using FPU order intentionally.
127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
129 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
130 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
131 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
132 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
134 2012-04-05 Simon Josefsson <simon@josefsson.org>
137 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
138 EINVAL when BUFLEN is too smal.
140 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
143 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
144 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
146 2012-04-03 Andreas Jaeger <aj@suse.de>
149 * manual/setjmp.texi (System V contexts): Fix sentence.
152 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
153 New macro for this case.
154 [!__GNUC__] (__bswap_64): New inline function for this case.
155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
156 * bits/byteswap.h: Likewise.
157 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
158 ull, guard with __GLIBC_HAVE_LONG_LONG.
160 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
161 __GLIBC_HAVE_LONG_LONG.
163 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
164 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
166 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
169 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
170 inptr and inend, rather than using last_ch.
172 2012-04-02 David S. Miller <davem@davemloft.net>
174 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
175 * stdio-common/printf-parse.h (read_int): Change return type to
176 'int', return -1 on INT_MAX overflow.
177 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
178 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
179 overflows INT_MAX. Check for overflow of in-format-string precision
180 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
181 SIZE_MAX not INT_MAX for integer overflow test.
182 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
183 skip the construct in the format string but do not record anything.
184 * stdio-common/bug22.c: Adjust to test both width/prevision
185 INT_MAX overflow as well as total length INT_MAX overflow. Check
186 explicitly for proper errno values.
188 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
190 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
192 * string/test-strcmp.c [! WIDE]: Likewise.
193 * time/tst-mktime2.c: Likewise for INT_MAX.
194 * string/test-string.h: #include <sys/param.h> for MIN.
196 * csu/init-first.c (__libc_init_first): Call __ctype_init.
197 * sysdeps/i386/init-first.c (init): Likewise.
198 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
199 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
200 * sysdeps/sh/init-first.c (init): Likewise.
202 2012-04-01 Ulrich Drepper <drepper@gmail.com>
204 * po/ru.po: Update from translation team.
205 * po/vi.po: Likewise.
207 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
209 * resolv/nss_dns/dns-host.c: Merge copyright years.
211 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
214 Optimize memcpy with prefetch if
215 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
216 src, dst pointers have unequal 16 byte alignments.
218 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
221 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
222 from a CNAME entry and return the minimum ttl for the query.
223 (gaih_getanswer_slice): Likewise.
225 2012-03-30 Jeff Law <law@redhat.com>
227 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
229 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
230 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
232 * resolv/nss_dns/dns-host.c: Update copyright year.
234 2012-03-30 Ulrich Drepper <drepper@gmail.com>
236 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
237 requests to save a system call. Fix check that all bytes are sent.
239 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
240 comments for sendmmsg.
242 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
245 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
246 with only 1 character between 0x0041 and 0x01b0.
247 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
248 * wcsmbs/tst-mbsnrtowcs.c: New file.
250 2012-03-29 David S. Miller <davem@davemloft.net>
252 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
253 small copies by hand.
255 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
258 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
259 _nss_compat_initgroups_dyn): Fall back to malloc/free
260 for large group memberships.
262 2012-03-28 David S. Miller <davem@davemloft.net>
264 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
265 that branches into memcpy.
266 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
269 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
272 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
274 * sysdeps/sparc/mempcpy.S: New file.
276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
277 the IFUNC routine in the libc case.
278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
280 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
281 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
282 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
283 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
284 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
285 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
286 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
287 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
289 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
290 loop to 256 bytes instead of 64 bytes and fix test signedness.
292 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
293 * sysdeps/sparc/sparc32/Makefile: rather than here...
294 * sysdeps/sparc/sparc64/Makefile: and here.
296 2012-03-28 Ulrich Drepper <drepper@gmail.com>
298 * malloc/mallocbug.c: Avoid warnings about unused variables.
300 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
303 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
304 in the right place. Discard and retry query if response is
305 larger than input buffer size.
307 2012-03-28 Joseph Myers <joseph@codesourcery.com>
312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
313 x for large integer exponent.
314 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
315 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
316 sign of result as needed afterwards.
317 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
319 result for underflowing pow the same as for overflow.
320 (__kernel_standard_l): Handle powl overflow and underflow here
321 rather than calling __kernel_standard.
322 * math/libm-test.inc (pow_test): Add more tests.
337 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
338 * sysdeps/ieee754/k_standard.c: Include <float.h>.
339 (__kernel_standard_l): New function.
340 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
342 * math/w_acosl.c (__acosl): Likewise.
343 * math/w_asinl.c (__asinl): Likewise.
344 * math/w_atan2l.c (__atan2l): Likewise.
345 * math/w_atanhl.c (__atanhl): Likewise.
346 * math/w_coshl.c (__coshl): Likewise.
347 * math/w_exp10l.c (__exp10l): Likewise.
348 * math/w_exp2l.c (__exp2l): Likewise.
349 * math/w_fmodl.c (__fmodl): Likewise.
350 * math/w_hypotl.c (__hypotl): Likewise.
351 * math/w_j0l.c (__j0l, __y0l): Likewise.
352 * math/w_j1l.c (__j1l, __y1l): Likewise.
353 * math/w_jnl.c (__jnl, __ynl): Likewise.
354 * math/w_lgammal.c (__lgammal): Likewise.
355 * math/w_log10l.c (__log10l): Likewise.
356 * math/w_log2l.c (__log2l): Likewise.
357 * math/w_logl.c (__logl): Likewise.
358 * math/w_powl.c (__powl): Likewise.
359 * math/w_remainderl.c (__remainderl): Likewise.
360 * math/w_scalbl.c (sysv_scalbl): Likewise.
361 * math/w_sinhl.c (__sinhl): Likewise.
362 * math/w_sqrtl.c (__sqrtl): Likewise.
363 * math/w_tgammal.c (__tgammal): Likewise.
364 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
365 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
366 * math/libm-test.inc (acos_test): Add more tests.
367 (acosh_test): Likewise.
368 (asin_test): Likewise.
369 (atanh_test): Likewise.
370 (exp_test): Likewise.
371 (exp10_test): Likewise.
372 (exp2_test): Likewise.
373 (expm1_test): Likewise.
374 (lgamma_test): Likewise.
375 (log_test): Likewise.
376 (log10_test): Likewise.
377 (log1p_test): Likewise.
378 (log2_test): Likewise.
379 (pow_test): Do not allow some spurious overflow exceptions.
380 (sqrt_test): Add more tests.
381 (tgamma_test): Likewise.
386 2012-03-27 Anton Blanchard <anton@samba.org>
388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
390 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
391 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
394 2012-03-27 David S. Miller <davem@davemloft.net>
396 * conform/Makefile: Run run-conformtest.sh using $(BASH).
398 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
401 2012-03-27 Andreas Jaeger <aj@suse.de>
403 * sysdeps/x86_64/elf/configure.in: Moved to ...
404 * sysdeps/x86_64/configure.in: ... here.
405 * sysdeps/x86_64/elf/start.S: Moved to ...
406 * sysdeps/x86_64/start.S: ... here.
407 * sysdeps/x86_64/elf/configure: Delete.
409 * sysdeps/x86_64/configure.in: Merge contents from
410 sysdeps/i386/configure.in (without i686 check).
412 * sysdeps/i386/elf/Versions: Merge into ...
413 * sysdeps/i386/Versions: ... this.
414 * sysdeps/i386/elf/Versions: Delete file.
415 * sysdeps/i386/elf/start.S: Moved to ...
416 * sysdeps/i386/start.S: ...here.
417 * sysdeps/i386/elf/configure.in: Merge into...
418 * sysdeps/i386/configure.in: ...here.
419 * sysdeps/i386/elf/configure.in: Delete file.
420 * sysdeps/i386/elf/configure: Delete file.
422 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
423 * debug/backtracesyms.c: ... here.
424 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
425 * debug/backtracesymsfd.c: ... here.
426 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
427 * sysdeps/generic/ifunc-sel.h: ... here.
429 * sysdeps/unix/i386/start.c: Delete file.
430 * sysdeps/unix/sparc/start.c: Delete file.
431 * sysdeps/unix/start.c: Delete file.
433 * sysdeps/sh/elf/configure.in: Moved to ...
434 * sysdeps/sh/configure.in: ... here.
435 * sysdeps/sh/elf/start.S: Moved to ...
436 * sysdeps/sh/start.S: ... here.
437 * sysdeps/sh/elf/configure: Delete file.
439 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
440 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
441 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
442 * sysdeps/powerpc/powerpc64/entry.h: ... here.
443 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
444 * sysdeps/powerpc/powerpc64/start.S: here.
445 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
446 * sysdeps/powerpc/powerpc64/Makefile: ... this.
447 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
448 * sysdeps/powerpc/powerpc64/configure.in: ... this.
449 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
451 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
452 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
453 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
454 * sysdeps/powerpc/powerpc32/start.S: ... here.
455 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
456 * sysdeps/powerpc/powerpc32/configure.in: ... this.
457 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
459 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
460 * sysdeps/powerpc/ifunc-sel.h: ... here.
461 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
462 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
464 * sysdeps/sparc/elf/configure.in: Moved to ...
465 * sysdeps/sparc/configure.in: ... here.
466 * sysdeps/sparc/elf/configure: Delete file.
467 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
468 * sysdeps/sparc/sparc32/start.S: ... here.
469 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
470 * sysdeps/sparc/sparc64/start.S: ... here.
471 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
472 * sysdeps/sparc/sparc32/Makefile: ... this.
473 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
474 * sysdeps/sparc/sparc64/Makefile: ... this.
476 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
477 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
478 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
479 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
480 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
481 * sysdeps/s390/s390-32/setjmp.S: ... here.
482 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
483 * sysdeps/s390/s390-32/configure.in: ... here.
484 * sysdeps/s390/s390-32/elf/configure: Delete file.
485 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
486 * sysdeps/s390/s390-32/start.S: ... here.
488 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
489 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
490 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
491 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
492 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
493 * sysdeps/s390/s390-64/setjmp.S: ... here.
494 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
495 * sysdeps/s390/s390-64/configure.in: ... here
496 * sysdeps/s390/s390-64/elf/configure: Delete file.
497 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
498 * sysdeps/s390/s390-64/start.S: ... here.
499 * sysdeps/s390/s390-64/elf/configure: Delete.
501 * configure.in: Remove support for elf directories in sysdeps.
503 * configure: Regenerated.
504 * sysdeps/i386/configure: Regenerated.
505 * sysdeps/powerpc/powerpc32/configure: Regenerated.
506 * sysdeps/powerpc/powerpc64/configure: Regenerated.
507 * sysdeps/s390/s390-32/configure: Regenerated.
508 * sysdeps/s390/s390-64/configure: Regenerated.
509 * sysdeps/sh/configure: Regenerated.
510 * sysdeps/sparc/configure: Regenerated.
511 * sysdeps/x86_64/configure: Regenerated.
513 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
518 denormal result into account.
520 2012-03-25 Roland McGrath <roland@hack.frob.com>
522 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
523 Reported by Allan McRae <allan@archlinux.org>.
525 2012-03-23 Jeff Law <law@redhat.com>
527 * nss/getnssent.c (__nss_getent): Fix typo.
529 2012-03-23 David S. Miller <davem@davemloft.net>
531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
533 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
535 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
536 to pad to uint64_t for each field.
537 (dl_tls_index): Replace unsigned long with uint64_t.
539 2012-03-23 Daniel Jacobowitz <dmj@google.com>
540 Paul Pluzhnikov <ppluzhnikov@google.com>
543 * grp/Makefile (otherlibs): Don't set it.
544 * inet/Makefile (otherlibs): Likewise.
545 * login/Makefile (otherlibs): Likewise.
546 * nscd/Makefile (otherlibs): Likewise.
547 * posix/Makefile (otherlibs): Likewise.
548 * pwd/Makefile (otherlibs): Likewise.
549 * rt/Makefile (otherlibs): Likewise.
550 * sunrpc/Makefile (otherlibs): Likewise.
551 * nss/Makefile (otherlibs): Likewise.
552 Add libnss_files to routines and static-only-routines.
553 ($(objpfx)getent): Remove rule.
554 * resolv/Makefile: Add libnss_dns and libresolv to routines and
555 static-only-routines.
557 2012-03-22 Joseph Myers <joseph@codesourcery.com>
560 * math/s_cexp.c: Include <float.h>.
561 (__cexp): Handle exp result overflowing not necessarily
562 overflowing both real and imaginary parts of result.
563 * math/s_cexpf.c: Likewise.
564 * math/s_cexpl.c: Likewise.
565 * math/libm-test.inc (cexp_test): Add more tests.
566 * sysdeps/i386/fpu/libm-test-ulps: Update.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
569 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
571 * include/link.h (ELFW): New macro.
572 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
573 Replace ELF64_R_TYPE with ELFW(R_TYPE).
575 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
577 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
582 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
584 (struct La_x32_retval): Likewise.
586 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
588 * sysdeps/x86_64/preconfigure.in: New file.
589 * sysdeps/x86_64/preconfigure: New generated file.
591 2012-03-22 Joseph Myers <joseph@codesourcery.com>
594 * math/e_exp2l.c: Include <float.h>.
595 (__ieee754_exp2l): Handle overflow and underflow cases
596 separately. Only pass fractional part of argument to
598 * math/libm-test.inc (exp2_test): Add more tests.
600 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
601 negating x to take absolute value.
602 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
604 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
607 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
608 computing low part if x was negated.
609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
611 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
613 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
615 (pltexit): Cast int_retval to ptrdiff_t.
616 * elf/tst-auditmod3b.c: Likewise.
617 * elf/tst-auditmod4b.c: Likewise.
618 * elf/tst-auditmod5b.c: Likewise.
619 * elf/tst-auditmod6b.c: Likewise.
620 * elf/tst-auditmod6c.c: Likewise.
621 * elf/tst-auditmod7b.c: Likewise.
623 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
626 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
628 (La_x32_regs): New macro.
629 (La_x32_retval): Likewise.
630 (la_x32_gnu_pltenter): New function prototype.
631 (la_x32_gnu_pltexit): Likewise.
633 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
640 * configure.in (libc_cv_cc_nofma): Check for option to disable
641 generation of FMA instructions.
642 * configure: Regenerate.
643 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
644 * sysdeps/ieee754/dbl-64/Makefile: New file.
645 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
646 Remove brandred-fma4.
647 (CFLAGS-brandred-fma4.c): Remove.
648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
649 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
654 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
656 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
657 LLONG_MAX != LONG_MAX.
658 (_itoa_word): Use _ITOA_WORD_TYPE on value.
659 (_fitoa_word): Likewise.
660 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
661 LLONG_MAX != LONG_MAX.
662 * stdio-common/_itowa.h: Include <_itoa.h>.
663 (_itowa_word): Use _ITOA_WORD_TYPE on value.
664 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
665 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
667 (_ITOA_WORD_TYPE): Likewise.
668 (_itoa_word): Use _ITOA_WORD_TYPE on value.
669 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
671 2012-03-21 David S. Miller <davem@davemloft.net>
673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
675 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
677 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
678 of x86_64 when setting libc_cv_slibdir, libdir and
680 * sysdeps/unix/sysv/linux/configure: Regenerated.
682 2012-03-21 Joseph Myers <joseph@codesourcery.com>
684 * manual/lang.texi (Old Varargs): Remove section.
685 (How Variadic): Update menu.
686 (va_start): Do not mention varargs.h.
688 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
689 Joseph Myers <joseph@codesourcery.com>
691 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
693 * configure: Regenerated.
695 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
697 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
698 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
701 2012-03-21 Joseph Myers <joseph@codesourcery.com>
704 * Makefile (files-for-dist): Remove NOTES.
705 (NOTES): Remove rule.
706 * README: Don't refer to NOTES.
707 * manual/creature.texi: Don't include macros.texi.
708 * manual/intro.texi (creature.texi): Remove comment referring to
711 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
712 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
713 * configure: Regenerated.
714 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
716 (libc_cv_as_i686): Likewise.
717 (libc_cv_cc_avx): Likewise.
718 (libc_cv_cc_sse2avx): Likewise.
719 (libc_cv_cc_fma4): Likewise.
720 (libc_cv_cc_novzeroupper): Likewise.
721 * sysdeps/i386/configure: Regenerated.
724 * sysdeps/i386/fpu/s_cexp.S: Remove.
725 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
726 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
727 * math/libm-test.inc (cexp_test): Add more tests.
728 * sysdeps/i386/fpu/libm-test-ulps: Update.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
731 2012-03-21 Allan McRae <allan@archlinux.org>
733 * timezone/Makefile: Do not install iso3166.tab and zone.tab
735 2012-03-21 Joseph Myers <joseph@codesourcery.com>
738 * math/w_exp2.c: Do not include <float.h>.
739 (o_threshold, u_threshold): Remove.
740 (__exp2): Calculate result before checking finiteness and calling
742 * math/w_exp2f.c: Likewise.
743 * math/w_exp2l.c: Likewise.
744 * math/libm-test.inc (exp2_test): Require overflow exception for
748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
749 range of signed 64-bit integers before using fistpll. Remove
750 checks for whether integers fit in mantissa bits.
751 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
752 the range of signed 32-bit integers before using fistpl. Remove
753 checks for whether integers fit in mantissa bits.
754 * sysdeps/i386/fpu/e_powl.S (p64): New object.
755 (__ieee754_powl): Test for y outside the range of signed 64-bit
756 integers before using fistpll. Reduce 64-bit values to 63-bit
758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
759 divide-by-zero is raised for zero to large negative powers.
760 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
761 (__ieee754_powl): Test for y outside the range of signed 64-bit
762 integers before using fistpll. Reduce 64-bit values to 63-bit
764 * math/libm-test.inc (pow_test): Add more tests.
766 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
768 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
769 <stdio-common/_itoa.h>.
770 * debug/segfault.c: Likewise.
771 * elf/dl-cache.c: Likewise.
772 * elf/dl-minimal.c: Likewise.
773 * elf/dl-misc.c: Likewise.
774 * elf/dl-sysdep.c: Likewise.
775 * elf/dl-version.c: Likewise.
776 * elf/rtld.c: Likewise.
777 * hurd/hurdsock.c: Likewise.
778 * hurd/lookup-retry.c: Likewise.
779 * malloc/malloc.c: Likewise.
780 * malloc/mtrace.c: Likewise.
781 * nscd/nscd_getgr_r.c: Likewise.
782 * nscd/nscd_getpw_r.c: Likewise.
783 * nscd/nscd_getserv_r.c: Likewise.
784 * posix/getopt_init.c: Likewise.
785 * posix/wordexp.c: Likewise.
786 * stdio-common/_itoa.c: Likewise.
787 * stdio-common/printf_fphex.c: Likewise.
788 * stdio-common/vfprintf.c: Likewise.
789 * string/_strerror.c: Likewise.
790 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
791 * sysdeps/i386/i686/hp-timing.h: Likewise.
792 * sysdeps/mach/_strerror.c: Likewise.
793 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
794 * sysdeps/mach/hurd/sethostid.c: Likewise.
795 * sysdeps/mach/hurd/xmknodat.c: Likewise.
796 * sysdeps/mach/xpg-strerror.c: Likewise.
797 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
799 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
800 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
801 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
802 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
803 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
804 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
805 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
806 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
807 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
808 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
809 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
811 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
812 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
814 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
815 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
816 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
817 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
819 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
821 * stdio-common/_itoa.h: Moved to ...
822 * sysdeps/generic/_itoa.h: Here.
824 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
826 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
827 instead of "_itoa.h" and "_itowa.h".
828 * stdio-common/vfprintf.: Likewise.
830 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
832 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
834 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
835 (__signbit): Likwise.
839 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
844 2012-03-20 Joseph Myers <joseph@codesourcery.com>
846 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
847 OVERFLOW_EXCEPTION_OK.
848 * math/libm-test.inc ("Philosophy"): Update comment about
850 (OVERFLOW_EXCEPTION): Define.
851 (OVERFLOW_EXCEPTION_OK): Likewise.
852 (INVALID_EXCEPTION_OK): Renumber.
853 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
854 (IGNORE_ZERO_INF_SIGN): Likewise.
855 (test_exceptions): Handle FE_OVERFLOW.
856 (exp10_test): Expect overflow exceptions.
857 (exp2_test): Likewise.
858 (expm1_test): Likewise.
859 (nextafter_test): Likewise.
860 (pow_test): Likewise.
861 (scalbn_test): Likewise.
862 (scalbln_test): Likewise.
864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
866 * sysdeps/x86_64/bits/atomic.h
867 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
869 (atomic_exchange_acq): Likewise.
870 (__arch_exchange_and_add_body): Likewise.
871 (__arch_add_body): Likewise.
872 (atomic_add_negative): Likewise.
873 (atomic_add_zero): Likewise.
875 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
877 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
878 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
883 Check __x86_64__ instead of __WORDSIZE.
885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
887 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
889 2012-03-19 David S. Miller <davem@davemloft.net>
891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
893 * sysdeps/sparc/fpu/fenv_private.h: New file.
894 * sysdeps/sparc/fpu/math_private.h: Use it.
895 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
897 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
898 (libc_feholdexcept_setroundl): Remove.
899 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
901 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
902 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
906 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
907 int64_t instead of long int.
908 (INSERT_WORDS64): Likwise.
910 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
912 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
913 _Unwind_GetCFA return to _Unwind_Ptr first.
915 2012-03-19 Joseph Myers <joseph@codesourcery.com>
918 * math/s_clog.c: Include <float.h>.
919 (__clog): Scale large or subnormal inputs.
920 * math/s_clogf.c: Likewise.
921 * math/s_clogl.c: Likewise.
922 * math/s_clog10.c: Include <float.h>.
924 (__clog10): Scale large or subnormal inputs.
925 * math/s_clog10f.c: Likewise.
926 * math/s_clog10l.c: Likewise.
927 * math/libm-test.inc (clog_test): Add more tests.
928 (clog10_test): Likewise.
929 * sysdeps/i386/fpu/libm-test-ulps: Update.
930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
933 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
935 * math/libm-test.inc (atan2_test): Add another test.
937 * Makerules (common-objdir-compile): Remove.
938 * sysdeps/unix/Makefile (config-generated): Do not add
939 $(unix-generated) to variable.
940 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
941 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
943 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
945 [generic bits/local_lim.h] (before-compile): Do not append to
947 [generic bits/local_lim.h] (common-generated): Likewise.
948 [generic sys/param.h] (before-compile): Do not append to variable.
949 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
950 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
951 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
952 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
954 [generic sys/param.h] (sys/param.h-includes): Remove variable.
955 [generic sys/param.h] (sys/param.h-includes): Remove rule.
956 [generic sys/param.h] ($(addprefix
957 $(common-objpfx),$(sys/param.h-includes))): Likewise.
958 [generic sys/param.h] (common-generated): Do not append to
960 [generic sys/param.h] (sysdep_headers): Likewise.
961 [generic bits/errno.h] (before-compile): Do not append to
963 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
965 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
966 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
967 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
968 [generic bits/errno.h] (common-generated): Do not append to
970 [generic bits/ioctls.h] (before-compile): Do not append to
972 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
974 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
975 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
976 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
978 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
979 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
980 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
981 [generic bits/ioctls.h] (common-generated): Do not append to
983 [generic sys/syscall.h] (syscall.h): Remove variable.
984 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
986 [generic sys/syscall.h] (before-compile): Do not append to
988 [generic sys/syscall.h] (common-generated): Likewise.
989 * sysdeps/unix/errnos-tmpl.c: Remove file.
990 * sysdeps/unix/errnos.awk: Likewise.
991 * sysdeps/unix/ioctls-tmpl.c: Likewise.
992 * sysdeps/unix/ioctls.awk: Likewise.
993 * sysdeps/unix/mk-local_lim.c: Likewise.
994 * sysdeps/unix/snarf-ioctls: Likewise.
996 2012-03-19 Richard Henderson <rth@twiddle.net>
998 * sysdeps/i386/fpu/fenv_private.h: New file.
999 * sysdeps/i386/fpu/math_private.h: Use it.
1000 (math_opt_barrier, math_force_eval): Remove.
1001 (libc_feholdexcept_setround_53bit): Remove.
1002 (libc_feupdateenv_53bit): Remove.
1003 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1004 (math_opt_barrier, math_force_eval): Remove.
1005 (libc_feholdexcept): Remove.
1006 (libc_feholdexcept_setround): Remove.
1007 (libc_fetestexcept, libc_fesetenv): Remove.
1008 (libc_feupdateenv_test): Remove.
1009 (libc_feupdateenv, libc_feholdsetround): Remove.
1010 (libc_feresetround): Remove.
1012 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1013 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1015 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1016 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1017 (libc_feupdateenv_testl): New.
1018 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1019 (libc_feupdateenv_testf): New.
1020 (libc_feupdateenv): Use libc_feupdateenv_test.
1021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1024 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1025 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1026 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1027 (libc_feresetround_noex): New.
1028 (libc_feresetround_noexf): New.
1029 (libc_feresetround_noexl): New.
1030 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1031 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1032 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1033 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1036 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1038 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1040 SET_RESTORE_ROUND_NOEX.
1041 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1042 SET_RESTORE_ROUND_NOEXF.
1043 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1044 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1045 (libc_feholdsetroundf): New.
1046 (libc_feresetround, libc_feresetroundf): New.
1048 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1049 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1050 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1052 * sysdeps/generic/math_private.h: Include <fenv.h>.
1053 (default_libc_feholdexcept): New.
1054 (default_libc_feholdexcept_setround): New.
1055 (default_libc_fesetenv, default_libc_feupdateenv): New.
1056 (libc_feholdexcept): Only define if undefined.
1057 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1058 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1059 (libc_feholdexcept_setroundl): Likewise.
1060 (libc_feholdexcept_setround_53bit): Likewise.
1061 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1062 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1063 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1064 (libc_feupdateenv_53bit): Likewise.
1065 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1066 (libc_feholdexcept): Convert from macro to inline function.
1067 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1068 (libc_fesetenv, libc_feupdateenv): Likewise.
1070 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1071 not previously defined.
1072 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1073 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1074 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1075 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1076 * sysdeps/ieee754/flt-32/math_private.h: New file.
1077 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1078 math_private.h below SET_FLOAT_WORD.
1079 (__isnan, __isinf_ns, __finite): Remove.
1080 (__isnanf, __isinf_nsf, __finitef): Remove.
1082 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1086 2012-03-17 David S. Miller <davem@davemloft.net>
1089 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1092 2012-03-16 David S. Miller <davem@davemloft.net>
1094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1098 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1100 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1101 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1102 sysdep_routines when subdir is sysvipc.
1103 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1106 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1110 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1116 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1117 (__lround): Renamed to ...
1118 (__llround): This. Replace long int with long long int.
1119 Define lround functions as aliases of llround functions.
1120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1124 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1125 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1126 adresses to uintptr_t. Replace "long int" and "unsigned long
1127 int" with "greg_t" on va_arg.
1129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1131 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1132 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1134 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1135 Move e_machine check before EI_CLASS check. Handle x32
1136 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1137 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1138 SKIP_EM_IA_64 and include
1139 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1141 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1142 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1143 (add_system_dir): New macro.
1145 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1146 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1148 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1159 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1161 * math/w_j0f.c (j0f): Likewise.
1163 * math/w_j0l.c (__j0l): Likewise.
1165 * math/w_j1.c (j1): Likewise.
1167 * math/w_j1f.c (j1f): Likewise.
1169 * math/w_j1l.c (__j1l): Likewise.
1171 * math/w_jn.c (jn): Likewise.
1173 * math/w_jnf.c (jnf): Likewise.
1175 * math/w_jnl.c (__jnl): Likewise.
1177 * math/libm-test.inc (j0_test): Add more tests.
1178 (j1_test): Likewise.
1179 (jn_test): Likewise. Add trailing semicolon to existing test.
1180 (y0_test): Likewise.
1181 (y1_test): Likewise.
1182 * sysdeps/i386/fpu/libm-test-ulps: Update.
1183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1187 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1188 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1189 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1191 (__tanl): Set errno for infinite argument.
1192 * sysdeps/i386/fpu/mptan.c: Remove.
1193 * sysdeps/i386/fpu/s_tan.S: Likewise.
1194 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1195 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1196 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1197 * math/libm-test.inc (tan_test): Add more tests and enable more
1198 tests for double and long double.
1199 * sysdeps/i386/fpu/libm-test-ulps: Update.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1204 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1205 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1207 2012-03-16 Roland McGrath <roland@hack.frob.com>
1209 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1210 * configure.in: Use it for both main tree and add-ons.
1211 * configure: Regenerated.
1213 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1215 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1217 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1219 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1223 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1224 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1225 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1226 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1227 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1229 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1232 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1233 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1234 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1235 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1236 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1237 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1238 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1239 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1240 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1241 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1242 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1243 * math/libm-test.inc (cos_test): Add more tests and enable more
1244 tests for long double.
1245 (sin_test): Likewise.
1246 (sincos_test): Likewise.
1247 * sysdeps/i386/fpu/libm-test-ulps: Update.
1248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1250 2012-03-16 David S. Miller <davem@davemloft.net>
1252 * sysdeps/sparc/fpu/math_private.h: New file.
1254 2012-03-15 David S. Miller <davem@davemloft.net>
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1270 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1271 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1273 * sysdeps/sparc/sparc-ifunc.h: New file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1319 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1321 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1325 2012-03-15 Andreas Jaeger <aj@suse.de>
1328 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1329 ieee754/flt-32 implementation for sin, cos and sincos.
1330 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1331 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1332 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1333 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1334 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1335 ieee754/flt-32 implementation for tan.
1337 * math/libm-test.inc (cos_test): Enable some large input tests for
1339 (sin_test): Likewise.
1340 (sincos_test): Likewise.
1341 (tan_test): Add tests for large input.
1343 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345 2012-03-15 Andreas Jaeger <aj@suse.de>
1348 * math/libm-test.inc (cos_test): Add more test cases.
1349 (sin_test): Likewise.
1350 (sincos_test): Likewise.
1352 2012-03-15 Andreas Jaeger <aj@suse.de>
1355 * math/libm-test.inc (cos_test): Add a test case for large input
1357 (sin_test): Likewise.
1358 (sincos_test): Likewise.
1360 2012-03-15 Andreas Jaeger <aj@suse.de>,
1361 Joseph Myers <joseph@codesourcery.com>
1364 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1365 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1366 * sysdeps/i386/fpu/branred.c: Likewise.
1367 * sysdeps/i386/fpu/dosincos.c: Likewise.
1368 * sysdeps/i386/fpu/mpa.c: Likewise.
1369 * sysdeps/i386/fpu/s_cos.S: Likewise.
1370 * sysdeps/i386/fpu/s_sin.S: Likewise.
1371 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1372 * sysdeps/i386/fpu/sincos32.c: Likewise.
1374 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1376 (libc_feupdateenv_53bit): Define.
1377 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1379 (libc_feupdateenv_53bit): Define.
1381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1382 53 bit (without extend i386 double precision).
1384 * math/libm-test.inc (sincos_test): Add tests for large input.
1388 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1390 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1394 2012-03-15 David S. Miller <davem@davemloft.net>
1396 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1397 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1398 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1399 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1424 fmin/fmax sysdep routines.
1425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1427 2012-03-14 David S. Miller <davem@davemloft.net>
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1506 * sysdeps/sparc/configure.in: New file.
1507 * sysdeps/sparc/configure: Generate.
1508 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1509 * configure: Regenerate.
1510 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1511 * config.make.in (have-as-vis3): New.
1512 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1513 available use -Av9d instead of -Av9a.
1514 * sysdeps/sparc/sparc64/Makefile: Likewise.
1515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1530 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1531 fzeros/fnegs to load 0x80000000 into a float register instead of
1533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1535 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1539 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1540 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1541 ($(inst_includedir)/bits/syscall.h): Remove rule.
1542 ($(objpfx)bits/syscall.d): Include instead of
1543 $(objpfx)syscall-list.d.
1544 (generated): Change syscall-list.h and syscall-list.d to
1545 bits/syscall.h and bits/syscall.d.
1547 2012-03-14 Roland McGrath <roland@hack.frob.com>
1550 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1552 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1555 * math/s_csqrt.c: Include <float.h>.
1556 (__csqrt): Scale large or subnormal inputs.
1557 * math/s_csqrtf.c: Likewise.
1558 * math/s_csqrtl.c: Likewise.
1559 * math/libm-test.inc (csqrt_test): Add more tests.
1560 * sysdeps/i386/fpu/libm-test-ulps: Update.
1561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1564 * math/libm-test.inc (hypot_test): Add more tests.
1566 2012-03-13 David S. Miller <davem@davemloft.net>
1569 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1570 double-precision for the calculation instead of scaling.
1572 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1574 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1575 manipulate bits before adding and subtracting TWO52[sx].
1576 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1581 2012-03-13 David S. Miller <davem@davemloft.net>
1583 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1584 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1586 rtld-global-offsets.h
1587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1594 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1595 'err' in the ifdef scope in which it is actually used.
1597 * nss/nss_db/db-init.c: Include string.h
1599 2012-03-12 David S. Miller <davem@davemloft.net>
1601 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1602 masking out of the most significant byte of random value used.
1603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1604 Fix coding style in previous change.
1606 * sysdeps/unix/sysv/linux/kernel-features.h
1607 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1608 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1610 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1613 2012-03-11 David S. Miller <davem@davemloft.net>
1615 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1616 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1617 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1618 for 'resultvar' otherwise things get truncated on 64-bit.
1620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1621 Fix masking out of the most significant byte of random value used.
1623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1625 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1629 2012-03-09 David S. Miller <davem@davemloft.net>
1631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1632 variables with appropriate CPP guards.
1633 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1634 frame pointer, not the stack pointer. Correct layout comments. Fix test
1635 on resulting framesize and the management of the outregs buffer for pltexit.
1636 Preserve floating point return values across _dl_call_pltexit call.
1637 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1638 framesize and the management of the outregs buffer for pltexit.
1639 Preserve floating point return values across _dl_call_pltexit
1641 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1642 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1643 (print_exit): Fix format string for return register value.
1645 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1647 * sunrpc/Makefile (others): Add rpcgen.
1648 ($(objpfx)rpcgen): Remove special build rule and dependency on
1650 * sunrpc/rpcgen.c: New file.
1652 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1655 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1656 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1657 * sysdeps/i386/crti.S: Likewise.
1658 * sysdeps/i386/crtn.S: Likewise.
1659 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1660 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1661 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1662 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1663 * sysdeps/sh/crti.S: Likewise.
1664 * sysdeps/sh/crtn.S: Likewise.
1665 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1668 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1670 * locale/programs/locfile-kw.gperf: Likewise.
1671 * locale/programs/charmap-kw.h: Regenerated.
1672 * locale/programs/locfile-kw.h: Likewise.
1675 * intl/plural.y: Replace FSF snail mail address with URL.
1676 * intl/plural.c: Regenerated.
1678 2012-03-09 Richard Henderson <rth@twiddle.net>
1680 * include/math_private.h: Remove file.
1681 * math/math_private.h: Move file ...
1682 * sysdeps/generic/math_private.h: ... here.
1684 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1685 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1686 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1688 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1689 and <math_private.h>.
1690 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1691 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1692 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1693 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1694 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1778 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1780 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1782 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1783 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1790 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1791 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1792 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1793 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1795 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1796 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1800 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1801 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1802 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1828 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1829 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1831 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1832 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1834 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1835 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1836 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1837 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1838 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1839 * sysdeps/ieee754/k_standard.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1989 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2000 * sysdeps/ieee754/s_lib_version.c: Likewise.
2001 * sysdeps/ieee754/s_matherr.c: Likewise.
2002 * sysdeps/ieee754/s_signgam.c: Likewise.
2003 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2004 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2005 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2006 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2008 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2009 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2010 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2011 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2012 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2013 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2014 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2015 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2016 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2017 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2019 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2020 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2025 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2027 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2028 * sunrpc/rpc_main.c: Likewise.
2029 * sunrpc/rpc_svcout.c: Likewise.
2031 2012-03-09 David S. Miller <davem@davemloft.net>
2033 * include/math_private.h: New file.
2035 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2037 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2038 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2039 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2040 from <bits/socket_type.h>.
2041 (enum __socket_type): Don't define here.
2042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2047 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2050 * Makerules ($(inst_includedir)/%.h): New rule.
2051 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2052 (install-others): Remove variable setting.
2053 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2055 2012-03-08 Richard Henderson <rth@twiddle.net>
2057 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2058 from macro to inline function; merge with the
2059 !__LIBC_INTERNAL_MATH_INLINES version.
2060 (__ieee754_sqrtf): Likewise.
2062 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2064 (__rintf, __floor, __floorf): Likewise.
2066 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2067 macro to inline function.
2068 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2071 not <math/math_private.h>.
2073 2012-03-08 David S. Miller <davem@davemloft.net>
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2077 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2079 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2081 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2083 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2084 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2086 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2088 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2089 be defined individually, they must be defined as a block. Define
2090 S for printing a string instead of hidint the different by using a
2091 macro for adding the 'l'.
2092 * stdio-common/tst-fphex-wide.c: Adjust.
2094 2012-03-07 Marek Polacek <polacek@redhat.com>
2096 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2098 2012-03-08 Marek Polacek <polacek@redhat.com>
2101 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2102 * stdio-common/tst-fphex.c: Define a few macros to make the
2103 test reusable. Use them.
2104 * stdio-common/tst-fphex-wide.c: New file.
2106 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2109 * manual/macros.texi (gnusystems): New macro.
2110 (nongnusystems): Likewise.
2111 (gnulinuxhurdsystems): Likewise.
2112 (gnuhurdsystems): Likewise..
2113 (gnulinuxsystems): Likewise.
2114 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2115 variants of the GNU system, not "GNU system".
2116 * manual/conf.texi: Likewise.
2117 * manual/errno.texi: Likewise. Update example of errno macro
2119 * manual/filesys.texi: Likewise.
2120 (getumask): Document as specific to GNU/Hurd.
2121 * manual/install.texi: Likewise. Reword some references to
2123 * manual/intro.texi: Likewise.
2124 * manual/io.texi: Likewise.
2125 (File Name Portability): Detail which constraints are inapplicable
2126 to all GNU systems and which are only inapplicable to GNU/Hurd.
2127 * manual/job.texi: Likewise.
2128 * manual/llio.texi: Likewise.
2129 (O_NOCTTY): Document as present on GNU/Linux.
2130 * manual/maint.texi: Likewise.
2131 * manual/memory.texi: Likewise.
2132 * manual/pattern.texi: Likewise.
2133 * manual/pipe.texi: Likewise.
2134 * manual/process.texi: Likewise.
2135 * manual/resource.texi: Likewise.
2136 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2138 * manual/setjmp.texi: Likewise.
2139 * manual/signal.texi: Likewise.
2140 * manual/startup.texi: Likewise.
2141 * manual/stdio.texi: Likewise.
2142 * manual/terminal.texi: Likewise.
2143 (ONLCR): Document as POSIX.
2144 (OXTABS): Document availability on GNU/Linux as XTABS.
2145 (ONOEOT): Document availability separately from other bits.
2146 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2147 * manual/time.texi: Likewise.
2148 * manual/users.texi: Likewise.
2149 * INSTALL: Regenerated.
2150 * sysdeps/gnu/errlist.c: Regenerated.
2152 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2153 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2154 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2156 * configure: Regenerated.
2158 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2160 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2161 default includes instead of AC_HEADER_CHECK.
2162 * sysdeps/i386/configure: Regenerated.
2165 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2166 * math/s_cacoshf.c (__cacoshf): Likewise.
2167 * math/s_cacoshl.c (__cacoshl): Likewise.
2168 * math/s_casinh.c (__casinh): Set signs of result from argument.
2169 * math/s_casinhf.c (__casinhf): Likewise.
2170 * math/s_casinhl.c (__casinhl): Likewise.
2171 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2172 (casinh_test): Add more tests.
2173 * sysdeps/i386/fpu/libm-test-ulps: Update.
2174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2176 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2178 * po/zh_TW.po: Update from translation team.
2180 * login/Makefile (distribute): Remove variable.
2181 * catgets/Makefile: Likewise.
2182 * mach/Makefile: Likewise.
2183 * malloc/Makefile: Likewise.
2184 * misc/Makefile: Likewise.
2185 * iconv/Makefile: Likewise.
2186 * nscd/Makefile: Likewise.
2187 * hurd/Makefile: Likewise.
2188 * manual/Makefile: Likewise.
2189 * locale/Makefile: Likewise.
2190 * intl/Makefile: Likewise.
2191 * conform/Makefile: Likewise.
2192 * nss/Makefile: Likewise.
2193 * time/Makefile: Likewise.
2194 * soft-fp/Makefile: Likewise.
2195 * dirent/Makefile: Likewise.
2196 * gmon/Makefile: Likewise.
2197 * po/Makefile: Likewise.
2198 * rt/Makefile: Likewise.
2199 * socket/Makefile: Likewise.
2200 * math/Makefile: Likewise.
2201 * signal/Makefile: Likewise.
2202 * debug/Makefile: Likewise.
2203 * elf/Makefile: Likewise.
2204 * timezone/Makefile: Likewise.
2205 * stdlib/Makefile: Likewise.
2206 * iconvdata/Makefile: Likewise.
2207 * sunrpc/Makefile: Likewise.
2208 * io/Makefile: Likewise.
2209 * argp/Makefile: Likewise.
2210 * inet/Makefile: Likewise.
2211 * hesiod/Makefile: Likewise.
2212 * grp/Makefile: Likewise.
2213 * csu/Makefile: Likewise.
2214 * wctype/Makefile: Likewise.
2215 * crypt/Makefile: Likewise.
2216 * libio/Makefile: Likewise.
2217 * string/Makefile: Likewise.
2218 * nis/Makefile: Likewise.
2219 * resolv/Makefile: Likewise.
2220 * stdio-common/Makefile: Likewise.
2221 * wcsmbs/Makefile: Likewise.
2222 * dlfcn/Makefile: Likewise.
2223 * posix/Makefile: Likewise.
2225 * timezone/Makefile: Don't install timezone files, just the programs
2228 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2230 * nss/databases.def: Add missing gshadow entry.
2232 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2234 2012-03-06 Marek Polacek <polacek@redhat.com>
2237 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2238 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2239 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2240 * stdio-common/tst-long-dbl-fphex.c: New file.
2242 2012-03-06 David S. Miller <davem@davemloft.net>
2244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2245 (set_obp_int): New function.
2246 (get_obp_int): New function.
2247 (__get_clockfreq_via_dev_openprom): Likewise.
2248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2249 Avoid unused variable warnings on 'val' and use builtin_expect.
2250 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2252 (INLINE_CLONE_SYSCALL): Likewise.
2254 2012-03-05 David S. Miller <davem@davemloft.net>
2256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2258 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2262 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2266 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2269 Replace gettimeofday with __vdso_gettimeofday.
2271 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2272 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2273 __vdso_clock_gettime and __vdso_getcpu.
2275 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2276 time with __vdso_time.
2278 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2280 * manual/lang.texi (size_t): Note types to which size_t may be
2281 equivalent with the GNU C Library, but do not describe when
2282 differences between them are significant.
2284 2012-03-05 Andreas Jaeger <aj@suse.de>
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2288 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2291 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2292 (__ieee754_pow): Save and restore rounding mode and use
2293 round-to-nearest for main computations.
2294 * math/libm-test.inc (pow_test_tonearest): New function.
2295 (pow_test_towardzero): Likewise.
2296 (pow_test_downward): Likewise.
2297 (pow_test_upward): Likewise.
2298 (main): Call the new functions.
2299 * sysdeps/i386/fpu/libm-test-ulps: Update.
2300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303 * math/libm-test.inc (cosh_test_tonearest): New function.
2304 (cosh_test_towardzero): Likewise.
2305 (cosh_test_downward): Likewise.
2306 (cosh_test_upward): Likewise.
2307 (sinh_test_tonearest): Likewise.
2308 (sinh_test_towardzero): Likewise.
2309 (sinh_test_downward): Likewise.
2310 (sinh_test_upward): Likewise.
2311 (main): Call the new functions.
2312 * sysdeps/i386/fpu/libm-test-ulps: Update.
2313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315 2012-03-05 Tom de Vries <tom@codesourcery.com>
2317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2318 default stack guard is set in last bytes.
2319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2321 2012-03-05 Kees Cook <keescook@chromium.org>
2323 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2326 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2327 possibly allocate from heap instead of stack.
2328 * stdio-common/bug-vfprintf-nargs.c: New file.
2329 * stdio-common/Makefile (tests): Add nargs overflow test.
2331 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2335 2012-03-03 Marek Polacek <polacek@redhat.com>
2337 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2338 * math/math_private.h: Likewise.
2339 * stdlib/tst-strtod.c: Likewise.
2340 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2341 * sysdeps/x86_64/bits/atomic.h: Likewise.
2343 2012-03-02 David S. Miller <davem@davemloft.net>
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2349 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2350 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2351 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2352 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2354 2012-03-02 Roland McGrath <roland@hack.frob.com>
2357 * manual/examples/README: New file, says the example source files
2358 can be used under GPL>=2.
2359 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2360 line containing just "*/".
2361 * manual/examples/add.c: Add copyright header (GPL>=2).
2362 * manual/examples/argp-ex1.c: Likewise.
2363 * manual/examples/argp-ex2.c: Likewise.
2364 * manual/examples/argp-ex3.c: Likewise.
2365 * manual/examples/argp-ex4.c: Likewise.
2366 * manual/examples/atexit.c: Likewise.
2367 * manual/examples/db.c: Likewise.
2368 * manual/examples/dir.c: Likewise.
2369 * manual/examples/dir2.c: Likewise.
2370 * manual/examples/execinfo.c: Likewise.
2371 * manual/examples/filecli.c: Likewise.
2372 * manual/examples/filesrv.c: Likewise.
2373 * manual/examples/fmtmsgexpl.c: Likewise.
2374 * manual/examples/genpass.c: Likewise.
2375 * manual/examples/inetcli.c: Likewise.
2376 * manual/examples/inetsrv.c: Likewise.
2377 * manual/examples/isockad.c: Likewise.
2378 * manual/examples/longopt.c: Likewise.
2379 * manual/examples/memopen.c: Likewise.
2380 * manual/examples/memstrm.c: Likewise.
2381 * manual/examples/mkfsock.c: Likewise.
2382 * manual/examples/mkisock.c: Likewise.
2383 * manual/examples/mygetpass.c: Likewise.
2384 * manual/examples/pipe.c: Likewise.
2385 * manual/examples/popen.c: Likewise.
2386 * manual/examples/rprintf.c: Likewise.
2387 * manual/examples/search.c: Likewise.
2388 * manual/examples/select.c: Likewise.
2389 * manual/examples/setjmp.c: Likewise.
2390 * manual/examples/sigh1.c: Likewise.
2391 * manual/examples/sigusr.c: Likewise.
2392 * manual/examples/stpcpy.c: Likewise.
2393 * manual/examples/strdupa.c: Likewise.
2394 * manual/examples/strftim.c: Likewise.
2395 * manual/examples/strncat.c: Likewise.
2396 * manual/examples/subopt.c: Likewise.
2397 * manual/examples/swapcontext.c: Likewise.
2398 * manual/examples/termios.c: Likewise.
2399 * manual/examples/testopt.c: Likewise.
2400 * manual/examples/testpass.c: Likewise.
2401 * manual/examples/timeval_subtract.c: Likewise.
2404 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2406 * manual/timeval_subtract.c.texi: ... here, new file.
2408 2012-03-02 David S. Miller <davem@davemloft.net>
2410 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2412 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2415 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2416 (__sin): Save and restore rounding mode and use round-to-nearest
2417 for all computations.
2418 (__cos): Save and restore rounding mode and use round-to-nearest
2419 for all computations.
2420 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2422 (tan): Save and restore rounding mode and use round-to-nearest for
2424 * math/libm-test.inc (cos_test_tonearest): New function.
2425 (cos_test_towardzero): Likewise.
2426 (cos_test_downward): Likewise.
2427 (cos_test_upward): Likewise.
2428 (sin_test_tonearest): Likewise.
2429 (sin_test_towardzero): Likewise.
2430 (sin_test_downward): Likewise.
2431 (sin_test_upward): Likewise.
2432 (tan_test_tonearest): Likewise.
2433 (tan_test_towardzero): Likewise.
2434 (tan_test_downward): Likewise.
2435 (tan_test_upward): Likewise.
2436 (main): Call the new functions.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2442 small n, then large n, before computing and testing k+n.
2443 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2448 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2449 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2454 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2456 * math/libm-test.inc (scalbn_test): Add more tests.
2457 (scalbln_test): Likewise.
2459 * manual/filesys.texi (mode_t): Describe constraints on size and
2460 signedness, not exact equivalence to a particular type.
2462 (ino64_t): Likewise.
2464 (nlink_t): Likewise.
2465 (blkcnt_t): Likewise.
2466 (blkcnt64_t): Likewise.
2467 * manual/llio.texi (off_t): Likewise.
2470 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2471 (__ieee754_exp): Save and restore rounding mode and use
2472 round-to-nearest for all computations.
2473 * math/libm-test.inc (exp_test_tonearest): New function.
2474 (exp_test_towardzero): Likewise.
2475 (exp_test_downward): Likewise.
2476 (exp_test_upward): Likewise.
2477 (main): Call the new functions.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2481 2012-03-01 Chris Demetriou <cgd@google.com>
2483 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2484 have predictable order.
2486 2012-03-01 David S. Miller <davem@davemloft.net>
2488 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2490 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2491 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2492 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2495 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2496 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2497 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2500 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2501 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2502 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2503 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2508 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2509 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2511 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2512 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2513 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2514 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2515 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2518 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2519 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2520 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2521 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2527 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2528 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2529 * sysdeps/sparc/elf/configure: Regenerated.
2531 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2533 * configure.in (AS, LD): Require binutils 2.20 or later.
2534 * configure: Regenerated.
2535 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2536 as required minimum version.
2537 * INSTALL: Regenerated.
2541 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2542 before squaring exponent.
2543 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2544 bottom long double and 27 bits of top long double before squaring
2546 * math/libm-test.inc (erfc_test): Add more tests.
2547 * sysdeps/i386/fpu/libm-test-ulps: Update.
2548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551 2012-03-01 Kai Tietz <ktietz@redhat.com>
2553 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2554 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2555 containing bit-fields.
2556 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2557 * soft-fp/single.h (_FP_UNION_S): Likewise.
2558 * soft-fp/double.h (_FP_UNION_D): Likewise.
2560 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2563 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2564 not include ../strcmp.S.
2565 [USE_AS_STRNCASECMP_L]: Likewise.
2566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2567 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2568 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2569 (__strncasecmp_l_ia32): Define as alias to
2570 __strncasecmp_l_nonascii.
2573 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2580 2012-02-29 Jeff Law <law@redhat.com>
2582 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2585 2012-02-29 Marek Polacek <polacek@redhat.com>
2588 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2589 * elf/Makefile: Add rules to run tst-unused-dep.out.
2591 2012-02-28 David S. Miller <davem@davemloft.net>
2593 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2594 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2596 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2600 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2602 * math/libm-test.inc (llround_test): Move one test from
2603 lround_test. Use TEST_f_L in moved test.
2604 (lround_test): Move misplaced test to llround_test. Add testcase
2607 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2609 * sysdeps/x86_64/fpu/e_expf.S: New file.
2610 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2612 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2615 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2616 of remain_len that may cause incomplete multi-byte character and
2618 * posix/bug-regex33.c: New file.
2619 * posix/Makefile (tests): Add bug-regex33.
2621 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2623 * manual/macros.texi: New file.
2624 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2625 * manual/libc.texinfo: Include macros.texi.
2626 * manual/creatute.texi: Likewise.
2627 * manual/install.texi: Likewise.
2628 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2629 @glibcadj{} in references to the GNU C Library.
2630 * manual/charset.texi: Likewise.
2631 * manual/conf.texi: Likewise.
2632 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2633 when not using those macros.
2634 * manual/creature.texi: Likewise.
2635 * manual/crypt.texi: Likewise.
2636 * manual/errno.texi: Likewise.
2637 * manual/filesys.texi: Likewise.
2638 * manual/header.texi: Likewise.
2639 * manual/install.texi: Likewise.
2640 * manual/intro.texi: Likewise.
2641 * manual/io.texi: Likewise.
2642 * manual/job.texi: Likewise.
2643 * manual/lang.texi: Likewise.
2644 * manual/libc.texiinfo: Likewise.
2645 * manual/llio.texi: Likewise.
2646 * manual/locale.texi: Likewise.
2647 * manual/maint.texi: Likewise.
2648 * manual/math.texi: Likewise.
2649 * manual/memory.texi: Likewise.
2650 * manual/message.texi: Likewise.
2651 * manual/nss.texi: Likewise.
2652 * manual/pattern.texi: Likewise.
2653 * manual/process.texi: Likewise.
2654 * manual/resource.texi: Likewise.
2655 * manual/search.texi: Likewise.
2656 * manual/setjmp.texi: Likewise.
2657 * manual/signal.texi: Likewise.
2658 * manual/socket.texi: Likewise.
2659 * manual/startup.texi: Likewise.
2660 * manual/stdio.texi: Likewise.
2661 * manual/string.texi: Likewise.
2662 * manual/sysinfo.texi: Likewise.
2663 * manual/syslog.texi: Likewise.
2664 * manual/terminal.texi: Likewise.
2665 * manual/time.texi: Likewise.
2666 * manual/users.texi: Likewise.
2667 * INSTALL: Regenerated.
2668 * NOTES: Regenerated.
2669 * sysdeps/gnu/errlist.c: Regenerated.
2671 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2673 * include/dirent.h: Include <dirstream.h> before
2676 2012-02-28 David S. Miller <davem@davemloft.net>
2678 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2679 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2681 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2683 2012-02-27 David S. Miller <davem@davemloft.net>
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2691 frame pointer instead of stack pointer relative arg slot.
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2693 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2694 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2696 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2699 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2701 2012-02-27 David S. Miller <davem@davemloft.net>
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2709 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2710 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2712 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2714 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2715 later. Allow versions 5-9.
2716 * configure: Regenerated.
2717 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2718 required minimum version and 4.6 as recommended version. Do not
2719 mention bugs in GCC 2.7 and 2.8.
2720 * INSTALL: Regenerated.
2722 2012-02-27 David S. Miller <davem@davemloft.net>
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2734 manipulate bits before adding and subtracting TWO112[sx].
2735 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2737 2012-02-27 Roland McGrath <roland@hack.frob.com>
2740 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2741 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2742 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2743 being in POSIX, because they are in 1003.1-2008.
2745 * rt/tst-aio.c: Include <fcntl.h>.
2746 * rt/tst-aio7.c: Likewise.
2747 * rt/tst-aio64.c: Likewise.
2749 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2751 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2753 * manual/install.texi (--with-headers): Describe headers as
2754 interface headers, not private headers.
2755 (Specific advice for GNU/Linux systems): Describe use of headers
2756 from "make headers_install", not private headers from older
2758 * INSTALL: Regenerated.
2759 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2761 * sysdeps/unix/sysv/linux/configure: Regenerated.
2763 * manual/llio.texi (fclean): Remove documentation.
2765 * manual/Makefile (libc-texi-generated): New variable. Include
2767 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2768 $(libc-texi-generated), not duplicated list of files.
2769 (version.texi, stamp-version): New rules.
2770 (realclean): Remove $(libc-texi-generated), not individual files
2771 from that list. Do not remove dir-add.texinfo.
2772 * manual/libc.texinfo: Comment out uses of edition numbers and
2773 references to printed manual. Remove last-updated dates.
2774 (EDITION): Comment out.
2776 (VERSION, UPDATED): Remove.
2777 (version.texi): Include.
2779 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2781 * sysdeps/posix/spawni.c: Include <signal.h>.
2782 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2783 * sysdeps/pthread/aio_fsync.c: Likewise.
2785 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2787 * conform/Makefile (tests): Run only when not cross-compiling and
2788 when fast-check is not defined.
2790 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2791 * conform/data/limits.h-data: Fixes for POSIX2008.
2792 * conform/run-conformtest.sh: Run all tests.
2793 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2795 * include/bits/dlfcn.h: Likewise.
2796 * include/langinfo.h: Likewise.
2797 * include/monetary.h: Likewise.
2798 * include/sys/poll.h: Likewise.
2800 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2802 * posix/spawn.h: Define __need_sigset_t.
2803 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2804 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2805 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2806 to get sigevent_t only.
2807 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2810 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2811 process_vm_writev only for __USE_GNU.
2812 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2814 * conform/Makefile: For now ignore errors from run-conformtest.
2815 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2816 POSIX to avoid namespace pollution. Don't prepend headers.
2817 * conform/data/aio.h-data: Fixes for POSIX testing.
2818 * conform/data/fcntl.h-data: Likewise.
2819 * conform/data/glob.h-data: Likewise.
2820 * conform/data/grp.h-data: Likewise.
2821 * conform/data/pthread.h-data: Likewise.
2822 * conform/data/pwd.h-data: Likewise.
2823 * conform/data/signal.h-data: Likewise.
2824 * conform/data/spawn.h-data: Likewise.
2825 * conform/data/stdio.h-data: Likewise.
2826 * conform/data/stdlib.h-data: Likewise.
2827 * conform/data/stropts.h-data: Likewise.
2828 * conform/data/sys/mman.h-data: Likewise.
2829 * conform/data/sys/stat.h-data: Likewise.
2830 * conform/data/sys/types.h-data: Likewise.
2831 * conform/data/sys/wait.h-data: Likewise.
2832 * conform/data/time.h-data: Likewise.
2833 * conform/data/unistd.h-data: Likewise.
2834 * conform/data/utime.h-data: Likewise.
2836 * io/sys/stat.h: fchmod was always in POSIX.
2837 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2838 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2839 * rt/aio.h: Define __need_timespec before including <time.h>.
2840 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2841 struct. Add forward declaration of pthread_attr_t and use it in
2843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2845 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2846 always remove CLK_TCK definition.
2848 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2850 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2852 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2854 * conform/run-conformtest.sh: New file.
2855 * conform/Makefile: Run run-conformtest for tests.
2856 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2859 * conform/data/uchar.h-data: New file.
2860 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2861 * conform/data/arpa/inet.h-data: Likewise.
2862 * conform/data/assert.h-data: Likewise.
2863 * conform/data/complex.h-data: Likewise.
2864 * conform/data/cpio.h-data: Likewise.
2865 * conform/data/ctype.h-data: Likewise.
2866 * conform/data/dirent.h-data: Likewise.
2867 * conform/data/dlfcn.h-data: Likewise.
2868 * conform/data/errno.h-data: Likewise.
2869 * conform/data/fcntl.h-data: Likewise.
2870 * conform/data/float.h-data: Likewise.
2871 * conform/data/fmtmsg.h-data: Likewise.
2872 * conform/data/fnmatch.h-data: Likewise.
2873 * conform/data/ftw.h-data: Likewise.
2874 * conform/data/glob.h-data: Likewise.
2875 * conform/data/grp.h-data: Likewise.
2876 * conform/data/iconv.h-data: Likewise.
2877 * conform/data/inttypes.h-data: Likewise.
2878 * conform/data/langinfo.h-data: Likewise.
2879 * conform/data/libgen.h-data: Likewise.
2880 * conform/data/limits.h-data: Likewise.
2881 * conform/data/locale.h-data: Likewise.
2882 * conform/data/math.h-data: Likewise.
2883 * conform/data/monetary.h-data: Likewise.
2884 * conform/data/mqueue.h-data: Likewise.
2885 * conform/data/ndbm.h-data: Likewise.
2886 * conform/data/net/if.h-data: Likewise.
2887 * conform/data/netdb.h-data: Likewise.
2888 * conform/data/netinet/in.h-data: Likewise.
2889 * conform/data/nl_types.h-data: Likewise.
2890 * conform/data/poll.h-data: Likewise.
2891 * conform/data/pthread.h-data: Likewise.
2892 * conform/data/pwd.h-data: Likewise.
2893 * conform/data/regex.h-data: Likewise.
2894 * conform/data/sched.h-data: Likewise.
2895 * conform/data/search.h-data: Likewise.
2896 * conform/data/semaphore.h-data: Likewise.
2897 * conform/data/setjmp.h-data: Likewise.
2898 * conform/data/signal.h-data: Likewise.
2899 * conform/data/spawn.h-data: Likewise.
2900 * conform/data/stdarg.h-data: Likewise.
2901 * conform/data/stdio.h-data: Likewise.
2902 * conform/data/stdlib.h-data: Likewise.
2903 * conform/data/string.h-data: Likewise.
2904 * conform/data/strings.h-data: Likewise.
2905 * conform/data/stropts.h-data: Likewise.
2906 * conform/data/sys/ipc.h-data: Likewise.
2907 * conform/data/sys/mman.h-data: Likewise.
2908 * conform/data/sys/msg.h-data: Likewise.
2909 * conform/data/sys/resource.h-data: Likewise.
2910 * conform/data/sys/select.h-data: Likewise.
2911 * conform/data/sys/sem.h-data: Likewise.
2912 * conform/data/sys/shm.h-data: Likewise.
2913 * conform/data/sys/socket.h-data: Likewise.
2914 * conform/data/sys/stat.h-data: Likewise.
2915 * conform/data/sys/statvfs.h-data: Likewise.
2916 * conform/data/sys/time.h-data: Likewise.
2917 * conform/data/sys/timeb.h-data: Likewise.
2918 * conform/data/sys/times.h-data: Likewise.
2919 * conform/data/sys/types.h-data: Likewise.
2920 * conform/data/sys/uio.h-data: Likewise.
2921 * conform/data/sys/un.h-data: Likewise.
2922 * conform/data/sys/utsname.h-data: Likewise.
2923 * conform/data/sys/wait.h-data: Likewise.
2924 * conform/data/syslog.h-data: Likewise.
2925 * conform/data/tar.h-data: Likewise.
2926 * conform/data/termios.h-data: Likewise.
2927 * conform/data/utime.h-data: Likewise.
2928 * conform/data/utmpx.h-data: Likewise.
2929 * conform/data/varargs.h-data: Likewise.
2930 * conform/data/wchar.h-data: Likewise.
2931 * conform/data/wctype.h-data: Likewise.
2932 * conform/data/wordexp.h-data: Likewise.
2934 * include/stropts.h: New file.
2935 * include/uchar.h: New file.
2936 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2937 * include/assert.h: Likewise.
2938 * include/ctype.h: Likewise.
2939 * include/dirent.h: Likewise.
2940 * include/dlfcn.h: Likewise.
2941 * include/fcntl.h: Likewise.
2942 * include/fnmatch.h: Likewise.
2943 * include/glob.h: Likewise.
2944 * include/grp.h: Likewise.
2945 * include/libio.h: Likewise.
2946 * include/locale.h: Likewise.
2947 * include/math.h: Likewise.
2948 * include/net/if.h: Likewise.
2949 * include/netdb.h: Likewise.
2950 * include/netinet/in.h: Likewise.
2951 * include/pthread.h: Likewise.
2952 * include/pwd.h: Likewise.
2953 * include/regex.h: Likewise.
2954 * include/sched.h: Likewise.
2955 * include/search.h: Likewise.
2956 * include/setjmp.h: Likewise.
2957 * include/signal.h: Likewise.
2958 * include/stdio.h: Likewise.
2959 * include/stdlib.h: Likewise.
2960 * include/string.h: Likewise.
2961 * include/sys/cdefs.h: Likewise.
2962 * include/sys/mman.h: Likewise.
2963 * include/sys/msg.h: Likewise.
2964 * include/sys/resource.h: Likewise.
2965 * include/sys/select.h: Likewise.
2966 * include/sys/socket.h: Likewise.
2967 * include/sys/stat.h: Likewise.
2968 * include/sys/statvfs.h: Likewise.
2969 * include/sys/time.h: Likewise.
2970 * include/sys/times.h: Likewise.
2971 * include/sys/uio.h: Likewise.
2972 * include/sys/utsname.h: Likewise.
2973 * include/sys/wait.h: Likewise.
2974 * include/termios.h: Likewise.
2975 * include/time.h: Likewise.
2976 * include/ulimit.h: Likewise.
2977 * include/unistd.h: Likewise.
2978 * include/utime.h: Likewise.
2979 * include/wchar.h: Likewise.
2980 * include/wctype.h: Likewise.
2981 * include/wordexp.h: Likewise.
2983 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2985 * time/time.h: TIME_UTC must be a macro.
2986 Make timespec_get available for ISO C11 only as well.
2988 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2990 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2991 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2995 * configure.in: Use -o not -a in test for unsupported multi-arch.
2997 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2999 * manual/texinfo.tex: Update to version 2012-01-19.16.
3001 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3003 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3005 2012-02-24 Roland McGrath <roland@hack.frob.com>
3008 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3009 * manual/fdl-1.3.texi: New file.
3010 * manual/fdl-1.1.texi: File removed.
3013 * manual/libc.texinfo (FDL_VERSION): New @set.
3014 Use it for mention of FDL in cover text.
3015 (Documentation License): Use it in @include file name.
3017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3018 Roland McGrath <roland@hack.frob.com>
3021 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3022 not LONG_LONG_MAX and LONG_LONG_MIN.
3023 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3024 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3026 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3032 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3033 manipulate bits before adding and subtracting TWO23[sx].
3034 * math/libm-test.inc (nearbyint_test): Add more tests.
3036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3039 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3040 bits before adding and subtracting TWO23[sx].
3041 * math/libm-test.inc (rint_test): Add more tests.
3042 (rint_test_tonearest): Likewise.
3043 (rint_test_towardzero): Likewise.
3044 (rint_test_downward): Likewise.
3045 (rint_test_upward: Likewise.
3047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3050 * include/stdc-predef.h: New file. Extracted from features.h.
3051 * include/features.h: Include stdc-predef.h.
3052 * Makefile (headers): Add stdc-predef.h.
3053 * CONFORMANCE (Compiler limitations): Update.
3055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3057 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3059 2012-02-21 David S. Miller <davem@davemloft.net>
3061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3064 2012-02-20 David S. Miller <davem@davemloft.net>
3066 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3067 using a normal save/restore sequence, rather than allocating a
3068 dummy stack frame just to store a frame pointer and restore.
3069 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3071 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3073 * manual/install.texi: Fix stray word in line-wrapped comment.
3075 2012-02-20 David S. Miller <davem@davemloft.net>
3077 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3078 both binutils and gcc support GOTDATA.
3080 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3081 "rd %pc" in the PIC register setup sequences.
3083 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3084 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3085 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3086 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3087 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3089 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3092 (SYSCALL_ERROR_HANDLER): Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3096 (SYSCALL_ERROR_HANDLER): Likewise.
3098 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3099 (HAVE_GCC_GOTDATA): New.
3100 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3101 relocation support in both binutils and gcc.
3102 * sysdeps/sparc/elf/configure: Regenerate.
3104 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3105 * sysdeps/sparc/sparc32/elf/configure: Delete.
3106 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3107 * sysdeps/sparc/sparc64/elf/configure: Delete.
3108 * sysdeps/sparc/elf/configure.in: New file.
3109 * sysdeps/sparc/elf/configure: Generate.
3111 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3112 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3113 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3114 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3115 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3117 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3119 * manual/install.texi: Do not mention specific glibc version
3121 * manual/libc.texinfo (VERSION, UPDATED): Update.
3122 (@copying): Use @copyright{} and range of years.
3124 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3127 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3128 [crti.S not in sysdirs] (generated): Do not append.
3129 [crti.S not in sysdirs] (omit-deps): Likewise.
3130 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3131 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3132 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3133 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3134 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3136 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3137 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3138 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3139 * csu/defs.awk: Remove file.
3140 * sysdeps/generic/initfini.c: Likewise.
3141 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3143 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3146 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3148 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3149 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3150 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3151 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3155 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3156 (__EPOLL_PACKED): Define to empty if not defined by
3158 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3162 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3164 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3165 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3167 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3169 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3173 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3177 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3178 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3182 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3187 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3189 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3190 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3192 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3194 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3197 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3199 * math/w_acos.c: Use non-signaling floating-point comparisons.
3200 * math/w_acosf.c: Likewise.
3201 * math/w_acosh.c: Likewise.
3202 * math/w_acoshf.c: Likewise.
3203 * math/w_acoshl.c: Likewise.
3204 * math/w_acosl.c: Likewise.
3205 * math/w_asin.c: Likewise.
3206 * math/w_asinf.c: Likewise.
3207 * math/w_asinl.c: Likewise.
3208 * math/w_atanh.c: Likewise.
3209 * math/w_atanhf.c: Likewise.
3210 * math/w_atanhl.c: Likewise.
3211 * math/w_exp2.c: Likewise.
3212 * math/w_exp2f.c: Likewise.
3213 * math/w_exp2l.c: Likewise.
3214 * math/w_j0.c: Likewise.
3215 * math/w_j0f.c: Likewise.
3216 * math/w_j0l.c: Likewise.
3217 * math/w_j1.c: Likewise.
3218 * math/w_j1f.c: Likewise.
3219 * math/w_j1l.c: Likewise.
3220 * math/w_jn.c: Likewise.
3221 * math/w_jnf.c: Likewise.
3222 * math/w_log.c: Likewise.
3223 * math/w_log10.c: Likewise.
3224 * math/w_log10f.c: Likewise.
3225 * math/w_log10l.c: Likewise.
3226 * math/w_log2.c: Likewise.
3227 * math/w_log2f.c: Likewise.
3228 * math/w_log2l.c: Likewise.
3229 * math/w_logf.c: Likewise.
3230 * math/w_logl.c: Likewise.
3231 * math/w_sqrt.c: Likewise.
3232 * math/w_sqrtf.c: Likewise.
3233 * math/w_sqrtl.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3236 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3237 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3240 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3243 * manual/string.texi (strnlen): Use correct parameter name in
3244 equivalent expression.
3246 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3249 * manual/users.texi (seteuid): Consistently use neweuid for
3252 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3255 * manual/nss.texi (Services in the NSS configuration): Correct
3256 list of services in example configuration file.
3258 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3261 * manual/arith.texi: Remove statements about negative zero
3262 behaving identically to zero.
3264 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3267 * manual/install.texi: Do not document upgrading from libc5.
3269 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3272 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3274 2012-02-18 David S. Miller <davem@davemloft.net>
3276 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3277 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3278 %o7 across the call.
3279 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3284 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3285 * sysdeps/sparc/crtn.S: Likewise.
3287 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3289 * aout/Makefile: Remove.
3291 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3294 * manual/examples/argp-ex1.c (main): Format definition in GNU
3296 * manual/examples/argp-ex2.c (main): Likewise.
3297 * manual/examples/argp-ex3.c (main): Likewise.
3298 * manual/examples/argp-ex4.c (main): Likewise.
3299 * manual/examples/longopt.c (main): Use new-style prototype
3301 * manual/examples/strncat.c (main): Specify return type and use
3302 (void) for arguments.
3303 * manual/examples/subopt.c (main): Use char **argv argument.
3305 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3308 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3311 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3314 * manual/string.texi (strchr): Change when strchrnul is
3317 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3320 * manual/locale.texi (setlocale): Document LOCPATH.
3322 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3325 * manual/process.texi (execle): Move @dots{} before last argument.
3327 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3330 * manual/charset.texi (Generic Charset Conversion): Fix typo
3331 (LC_TYPE -> LC_CTYPE).
3333 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3336 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3337 (scalbnf): Likewise.
3338 (scalbnl): Likewise.
3339 (scalbln): Likewise.
3340 (scalblnf): Likewise.
3341 (scalblnl): Likewise.
3342 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3346 * manual/filesys.texi (telldir): Use braces around return type.
3347 * manual/llio.texi (mmap): Add space after comma.
3349 * manual/math.texi (jn): Use @var{} on parameter names.
3355 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3357 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3359 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3360 (sched_get_priority_max): Likewise.
3361 * manual/signal.texi (sigvec): Add space after comma.
3362 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3364 (if_indextoname): Likewise.
3365 (if_freenameindex): Likewise.
3366 (sendto): Use ',' instead of '.' in prototype.
3367 * manual/startup.texi (syscall): Use @dots{} instead of literal
3369 * manual/stdio.texi (__fpending): Separate initial words of
3370 paragraph from @deftypefun line.
3371 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3373 (vsyslog): Use @var{} on parameter names.
3374 * manual/terminal.texi (stty): Use @var{} on parameter names.
3375 * manual/users.texi (getutmp): Use @var{} on parameter names.
3376 (getutmpx): Likewise.
3378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3381 * manual/stdio.texi (fopen): Fix typos in description of
3384 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3387 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3388 get clock_id definition.
3390 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3393 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3394 (madvise): Cast every argument to void on its own.
3396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3399 * manual/startup.texi (Exit Status): Fix typo.
3401 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3404 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3405 * manual/examples/argp-ex2.c: Likewise.
3406 * manual/examples/argp-ex3.c: Likewise.
3408 2012-02-16 Richard Henderson <rth@redhat.com>
3410 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3411 * sysdeps/s390/s390-32/initfini.c: Remove.
3412 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3413 * sysdeps/s390/s390-64/initfini.c: Remove.
3415 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3417 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3418 compiler output for sysdeps/generic/initfini.c.
3419 * sysdeps/sh/elf/initfini.c: Remove file.
3421 2012-02-16 David S. Miller <davem@davemloft.net>
3424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3426 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3427 * sysdeps/sparc/crti.S: New file.
3428 * sysdeps/sparc/crtn.S: New file.
3429 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3430 * sysdeps/sparc/sparc64/Makefile: Likewise.
3432 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3435 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3437 2012-02-15 Roland McGrath <roland@hack.frob.com>
3440 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3442 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3443 (write, read, close): Likewise.
3444 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3446 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3448 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3449 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3450 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3451 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3453 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3457 2012-02-14 Marek Polacek <polacek@redhat.com>
3459 * sysdeps/x86_64/crti.S: New file.
3460 * sysdeps/x86_64/crtn.S: New file.
3461 * sysdeps/x86_64/elf/initfini.c: Remove file.
3463 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3465 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3466 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3467 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3468 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3470 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3474 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3476 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3477 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3479 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3481 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3485 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3487 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3488 __feraiseexcept instead of feraiseexcept.
3490 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3491 nanosleep invocations.
3492 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3493 strings, and add error checking for a nanosleep invocations.
3495 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3497 Replace FSF snail mail address with URLs, as per GNU coding standards.
3498 Most of the snail mail addresses were wrong anyway, and omitting
3499 them makes the source code easier to maintain. Almost all of the
3500 changes are to license notices and to locale LC_IDENTIFICATION
3501 addresses, except for this one:
3502 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3503 not its snail mail address.
3505 2012-02-09 Richard Henderson <rth@twiddle.net>
3507 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3508 of kernel-features.h.
3510 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3512 2012-02-08 Marek Polacek <polacek@redhat.com>
3514 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3515 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3516 * sysdeps/gnu/_G_config.h: Likewise.
3517 * sysdeps/generic/_G_config.h: Likewise.
3519 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3521 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3525 * sysdeps/powerpc/powerpc32/crti.S: New file.
3526 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3527 * sysdeps/powerpc/powerpc64/crti.S: New file.
3528 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3530 * Makeconfig (have-initfini): Don't set.
3531 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3532 * configure.in (nopic_initfini): Don't substitute.
3533 * config.h.in (HAVE_INITFINI): Don't #undef.
3534 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3535 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3537 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3539 Support crti.S and crtn.S provided directly by architectures.
3540 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3541 [crti.S in sysdirs] (omit-deps): Likewise.
3542 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3543 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3544 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3545 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3546 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3547 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3548 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3549 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3550 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3551 compiler output for sysdeps/generic/initfini.c.
3552 * sysdeps/i386/elf/Makefile: Remove file.
3553 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3555 2012-02-07 Marek Polacek <polacek@redhat.com>
3557 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3558 * sysdeps/gnu/_G_config.h: Likewise.
3559 * sysdeps/mach/hurd/_G_config.h: Likewise.
3561 2012-02-07 Marek Polacek <polacek@redhat.com>
3563 * math/Makefile (tests): Add tst-CMPLX2.
3564 * math/tst-CMPLX2.c: New file.
3566 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3570 * math/libm-test.inc (jn_test): Add missing L suffix.
3572 2012-02-06 Marek Polacek <polacek@redhat.com>
3574 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3575 * sysdeps/i386/fpu/e_powf.S: Likewise.
3576 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3578 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3579 * sysdeps/i386/fpu/e_pow.S: Likewise.
3580 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3582 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3583 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3584 * sysdeps/i386/fpu/e_log2.S: Likewise.
3585 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3586 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3587 * sysdeps/i386/fpu/e_powl.S: Likewise.
3588 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3589 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3590 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3591 * sysdeps/i386/fpu/e_logl.S: Likewise.
3592 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3593 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3594 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3595 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3596 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3597 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3598 * sysdeps/i386/fpu/e_log.S: Likewise.
3599 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3600 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3601 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3602 * sysdeps/i386/fpu/e_logf.S: Likewise.
3603 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3605 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3606 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3607 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3608 * sysdeps/i386/fpu/e_log10.S: Likewise.
3609 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3610 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3611 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3612 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3613 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3614 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3615 * sysdeps/i386/asm-syntax.h: Likewise.
3616 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3617 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3618 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3619 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3620 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3621 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3622 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3623 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3624 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3625 * sysdeps/powerpc/sysdep.h: Likewise.
3626 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3627 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3629 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3632 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3634 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3636 * sysdeps/i386/sysdep.h: Include <features.h>.
3637 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3640 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3642 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3644 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3647 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3649 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3650 (SETUP_PIC_REG): Use GET_PC_THUNK.
3651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3654 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3657 for non-PIC compilation.
3658 (SETUP_PIC_REG): Add .p2align directive.
3659 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3660 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3701 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3703 * math/tst-CMPLX.c: Include <stdio.h>.
3705 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3707 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3709 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3710 * sysdeps/sparc/bits/mathdef.h: Likewise.
3712 2012-01-31 Marek Polacek <polacek@redhat.com>
3714 * libio/libio.h: Don't define _PARAMS.
3715 * locale/programs/config.h: Don't define PARAMS.
3716 * stdlib/strtol_l.c: Likewise.
3717 (__strtol_l): Remove PARAMS from the prototype.
3719 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3721 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3722 names. Just use the correct names. Remove unnecessary wrapper
3724 * malloc/arena.c: Likewise.
3725 * malloc/hooks.c: Likewise.
3727 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3728 ARENA_TEST says not to. Simplify test for creation of a new arena.
3729 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3731 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3733 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3735 (update_get_addr): New function.
3736 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3737 GET_ADDR_MODULE parameter.
3739 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3741 * crypt/cert.c: Remove __STDC__ conditionals.
3742 * crypt/crypt-entry.c: Likewise.
3743 * crypt/crypt_util.c: Likewise.
3744 * libio/filedoalloc.c: Likewise.
3745 * libio/fileops.c: Likewise.
3746 * libio/genops.c: Likewise.
3747 * libio/iofclose.c: Likewise.
3748 * libio/iofdopen.c: Likewise.
3749 * libio/iofopen.c: Likewise.
3750 * libio/iofopen64.c: Likewise.
3751 * libio/iogetdelim.c: Likewise.
3752 * libio/iopopen.c: Likewise.
3753 * libio/obprintf.c: Likewise.
3754 * libio/oldfileops.c: Likewise.
3755 * libio/oldiofclose.c: Likewise.
3756 * libio/oldiofdopen.c: Likewise.
3757 * libio/oldiofopen.c: Likewise.
3758 * libio/oldiopopen.c: Likewise.
3759 * libio/wfiledoalloc.c: Likewise.
3760 * libio/wgenops.c: Likewise.
3761 * locale/programs/xmalloc.c: Likewise.
3762 * misc/syslog.c: Likewise.
3763 * stdio-common/xbug.c: Likewise.
3764 * string/memchr.c: Likewise.
3765 * string/memcmp.c: Likewise.
3766 * string/memrchr.c: Likewise.
3767 * string/rawmemchr.c: Likewise.
3768 * sysdeps/posix/getcwd.c: Likewise.
3769 * time/strftime_l.c: Likewise.
3771 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3773 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3774 * config.make.in (config-cflags-sse2avx): Define.
3775 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3778 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3780 * scripts/config.guess: Update from upstream config git repository.
3781 * scripts/config.sub: Likewise.
3783 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3785 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3787 (R_TILEPRO_*, R_TILEGX_*): New macros.
3789 * scripts/firstversions.awk: Fix bug in version range handling.
3791 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3793 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3795 * include/sys/epoll.h: New file.
3796 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3799 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3801 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3802 Avoid unnecessary __WORDSIZE == 64 test.
3803 (fmaxf): Use VEX format if possible.
3808 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3809 * math/math_private.h: Remove libc_fegetround* and
3811 * sysdeps/i386/configure.in: Check for -msse2avx.
3812 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3813 also if SSE2AVX is defined.
3814 Remove libc_fegetround* and libc_fesetround*.
3815 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3816 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3820 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3825 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3827 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3831 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3833 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3836 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3838 * Makeconfig (libm): Define.
3839 * elf/Makefile: Add rules to build and run tst-relsort1.
3840 * elf/tst-relsort1.c: New file.
3841 * elf/tst-relsort1mod1.c: New file.
3842 * elf/tst-relsort1mod2.c: New file.
3844 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3846 * math/s_ldexp.c: Remove __STDC__ conditionals.
3847 * math/s_ldexpf.c: Likewise.
3848 * math/s_ldexpl.c: Likewise.
3849 * math/s_nextafter.c: Likewise.
3850 * math/s_nexttowardf.c: Likewise.
3851 * math/s_significand.c: Likewise.
3852 * math/s_significandf.c: Likewise.
3853 * math/s_significandl.c: Likewise.
3854 * math/w_jnl.c: Likewise.
3855 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3856 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3857 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3858 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3859 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3874 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3894 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3895 * sysdeps/ieee754/k_standard.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3975 * sysdeps/ieee754/s_matherr.c: Likewise.
3976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3981 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3983 * crypt/md5.h: Remove __STDC__ conditionals.
3984 * libio/libioP.h: Likewise.
3985 * locale/programs/config.h: Likewise.
3986 * sysdeps/generic/sysdep.h: Likewise.
3987 * sysdeps/i386/asm-syntax.h: Likewise.
3988 * sysdeps/s390/asm-syntax.h: Likewise.
3989 * sysdeps/unix/sysdep.h: Likewise.
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3993 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3995 * libio/libio.h: Remove __STDC__ conditionals.
3996 * malloc/obstack.h: Likewise.
3997 * math/complex.h: Likewise.
3998 * math/math.h: Likewise.
3999 * sysdeps/generic/_G_config.h: Likewise.
4000 * sysdeps/gnu/_G_config.h: Likewise.
4001 * sysdeps/mach/hurd/_G_config.h: Likewise.
4002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4003 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4004 * sysdeps/sparc/bits/mathdef.h: Likewise.
4006 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4009 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4010 Clean up HAS_* macros.
4011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4012 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4014 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4016 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4017 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4018 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4020 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4022 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4024 * elf/tst-unique3.cc (gets): Remove declaration.
4025 * elf/tst-unique3lib.cc (gets): Likewise.
4026 * elf/tst-unique3lib2.cc (gets): Likewise.
4027 * elf/tst-unique4.cc (gets): Likewise.
4029 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4031 * include/stdio.h: Add C++ protection. Add gets declarations and
4033 * debug/tst-chk1.c: Don't declare gets here.
4034 * stdio-common/tst-gets.c: Likewise.
4036 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4038 * posix/glob: Remove directory.
4040 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4042 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4044 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4046 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4047 of the non-standard EPFNOSUPPORT.
4049 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4051 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4052 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4053 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4055 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4057 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4059 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4061 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4063 * nscd/grpcache.c (cache_addgr): Likewise.
4064 * nscd/hstcache.c (cache_addhst): Likewise.
4065 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4066 * nscd/pwdcache.c (cache_addpw): Likewise.
4067 * nscd/servicescache.c (cache_addserv): Likewise.
4069 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4071 * malloc/malloc.c: Various cleanups.
4072 * malloc/hooks.c: Likewise.
4074 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4075 * stdlib/bug-fmtmsg1.c: New file.
4077 * stdlib/fmtmsg.c (init): Add missing unlock.
4078 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4080 2012-01-12 Marek Polacek <polacek@redhat.com>
4082 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4085 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4087 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4088 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4089 macro to ensure uniqueness of label name.
4090 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4091 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4093 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4098 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4102 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4104 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4106 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4107 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4108 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4110 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4113 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4114 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4117 * math/bits/math-finite.h: Add ldexp support.
4119 2012-01-10 Marek Polacek <polacek@redhat.com>
4121 * locale/programs/localedef.h (show_archive_content): Add noreturn
4124 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4126 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4128 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4130 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4132 * io/Makefile (headers): Add bits/poll2.h.
4134 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4137 typo #include statement.
4139 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4141 * include/sys/cdefs.h: Define __attribute_alloc_size.
4142 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4143 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4144 * elf/pldd.c: Likewise.
4145 * iconv/iconv_charmap.c: Likewise.
4146 * iconv/iconvconfig.c: Likewise.
4147 * iconv/strtab.c: Likewise.
4148 * locale/programs/locale.c: Likewise.
4149 * locale/programs/localedef.h: Likewise.
4150 * locale/programs/simple-hash.c: Likewise.
4151 * nscd/nscd.h: Likewise.
4152 * nss/makedb.c: Likewise.
4153 * sysdeps/generic/ldconfig.h: Likewise.
4154 * locale/programs/localedef.c: Remove xmalloc prototype.
4155 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4157 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4159 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4162 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4164 * math/Makefile (tests): Add tst-CMPLX.
4165 * math/tst-CMPLX.c: New file.
4167 * math/complex.h (CMPLXL): Fix typo.
4169 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4170 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4172 * debug/tst-chk1.c: Add poll and ppoll tests.
4173 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4174 * include/sys/poll.h: Add hidden proto for ppoll.
4175 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4176 * sysdeps/mach/hurd/ppoll.c: Likewise.
4177 * io/ppoll.c: Likewise.
4178 * debug/poll_chk.c: New file.
4179 * debug/ppoll_chk.c: New file.
4180 * include/bits/poll2.h: New file.
4181 * io/bits/poll2.h: New file.
4184 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4186 * configure.in: static is always set to yes. Remove.
4187 * config.make.in: Don't set build-static.
4188 * Makeconfig: Remove use of build-static.
4189 * dlfcn/Makefile: Likewise.
4190 * elf/Makefile: Likewise.
4191 * math/Makefile: Likewise.
4192 * misc/Makefile: Likewise.
4193 * nptl/Makefile: Likewise.
4194 * sysdeps/mach/hurd/Makefile: Likewise.
4196 * configure.in: PWD_P is not used anymore.
4197 * config.make.in: Remove PWD_P entry.
4199 * configure.in: Remove last remnants of RANLIB.
4200 No need to check for signed size_t anymore.
4201 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4203 Remove __builtin_expect test because we require at least gcc 3.4.
4204 * aclocal.m4: Likewise.
4206 * wcsmbs/mbrtoc16.c: Implement using towc function.
4207 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4208 * wcsmbs/wcsmbsload.c: Likewise.
4209 * iconv/gconv_simple.c: Likewise.
4210 * iconv/gconv_int.h: Likewise.
4211 * iconv/gconv_builtin.h: Likewise.
4212 * iconv/iconv_prog.c: Remove CHAR16 handling.
4214 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4216 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4218 * configure.in: Remove --with-elf and --enable-bounded options.
4219 Dont set base_machine for ia64. More non-ELF conditions removed.
4220 Remove testing and setting of leading underscore information.
4221 * config.make.in (build-bounded): Set to no.
4222 * config.h.in: Remove NO_UNDERSCORES entry.
4223 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4225 * csu/start.c: Remove !NO_UNDERSCORE code.
4226 * locale/localeinfo.h: Likewise.
4227 * sysdeps/generic/machine-gmon.h: Likewise.
4228 * sysdeps/generic/sysdep.h: Likewise.
4229 * sysdeps/i386/sysdep.h: Likewise.
4230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4231 * sysdeps/mach/sysdep.h: Likewise.
4232 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4234 * sysdeps/sh/sysdep.h: Likewise.
4235 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4236 * sysdeps/unix/i386/sysdep.S: Likewise.
4237 * sysdeps/unix/sparc/start.c: Likewise.
4238 * sysdeps/unix/sparc/sysdep.S: Likewise.
4239 * sysdeps/unix/sparc/sysdep.h: Likewise.
4240 * sysdeps/unix/start.c: Likewise.
4241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4242 * sysdeps/x86_64/sysdep.h: Likewise.
4244 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4247 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4249 * argp/argp-fmtstream.h: Use const instead __const.
4250 * argp/argp.h: Likewise.
4251 * assert/assert.h: Likewise.
4252 * bits/fenv.h: Likewise.
4253 * bits/sched.h: Likewise.
4254 * bits/sigset.h: Likewise.
4255 * bits/sigthread.h: Likewise.
4256 * catgets/nl_types.h: Likewise.
4257 * conform/data/pthread.h-data: Likewise.
4258 * crypt/crypt-private.h: Likewise.
4259 * crypt/crypt.h: Likewise.
4260 * crypt/crypt_util.c: Likewise.
4261 * ctype/ctype.h: Likewise.
4262 * debug/execinfo.h: Likewise.
4263 * debug/mbsnrtowcs_chk.c: Likewise.
4264 * debug/mbsrtowcs_chk.c: Likewise.
4265 * debug/wcsnrtombs_chk.c: Likewise.
4266 * debug/wcsrtombs_chk.c: Likewise.
4267 * debug/wcstombs_chk.c: Likewise.
4268 * dirent/dirent.h: Likewise.
4269 * dlfcn/dlfcn.h: Likewise.
4270 * elf/neededtest4.c: Likewise.
4271 * grp/grp.h: Likewise.
4272 * gshadow/gshadow.h: Likewise.
4273 * iconv/gconv.h: Likewise.
4274 * iconv/gconv_int.h: Likewise.
4275 * iconv/gconv_simple.c: Likewise.
4276 * iconv/iconv.h: Likewise.
4277 * iconv/loop.c: Likewise.
4278 * iconv/skeleton.c: Likewise.
4279 * include/aio.h: Likewise.
4280 * include/aliases.h: Likewise.
4281 * include/argz.h: Likewise.
4282 * include/arpa/inet.h: Likewise.
4283 * include/assert.h: Likewise.
4284 * include/dirent.h: Likewise.
4285 * include/dlfcn.h: Likewise.
4286 * include/execinfo.h: Likewise.
4287 * include/fcntl.h: Likewise.
4288 * include/fenv.h: Likewise.
4289 * include/glob.h: Likewise.
4290 * include/grp.h: Likewise.
4291 * include/libintl.h: Likewise.
4292 * include/mntent.h: Likewise.
4293 * include/netdb.h: Likewise.
4294 * include/pwd.h: Likewise.
4295 * include/rpc/netdb.h: Likewise.
4296 * include/sched.h: Likewise.
4297 * include/search.h: Likewise.
4298 * include/shadow.h: Likewise.
4299 * include/signal.h: Likewise.
4300 * include/stdio.h: Likewise.
4301 * include/stdlib.h: Likewise.
4302 * include/string.h: Likewise.
4303 * include/sys/socket.h: Likewise.
4304 * include/sys/stat.h: Likewise.
4305 * include/sys/statfs.h: Likewise.
4306 * include/sys/statvfs.h: Likewise.
4307 * include/sys/syslog.h: Likewise.
4308 * include/sys/time.h: Likewise.
4309 * include/sys/uio.h: Likewise.
4310 * include/time.h: Likewise.
4311 * include/unistd.h: Likewise.
4312 * include/utmp.h: Likewise.
4313 * include/wchar.h: Likewise.
4314 * include/wctype.h: Likewise.
4315 * inet/aliases.h: Likewise.
4316 * inet/arpa/inet.h: Likewise.
4317 * inet/netinet/ether.h: Likewise.
4318 * inet/netinet/in.h: Likewise.
4319 * intl/libintl.h: Likewise.
4320 * io/bits/fcntl2.h: Likewise.
4321 * io/fcntl.h: Likewise.
4322 * io/ftw.h: Likewise.
4323 * io/sys/poll.h: Likewise.
4324 * io/sys/stat.h: Likewise.
4325 * io/sys/statfs.h: Likewise.
4326 * io/sys/statvfs.h: Likewise.
4327 * io/utime.h: Likewise.
4328 * libio/bits/stdio.h: Likewise.
4329 * libio/bits/stdio2.h: Likewise.
4330 * libio/libio.h: Likewise.
4331 * libio/libioP.h: Likewise.
4332 * libio/stdio.h: Likewise.
4333 * locale/lc-ctype.c: Likewise.
4334 * locale/locale.h: Likewise.
4335 * login/utmp.h: Likewise.
4336 * malloc/arena.c: Likewise.
4337 * malloc/malloc.c: Likewise.
4338 * malloc/malloc.h: Likewise.
4339 * malloc/mcheck.c: Likewise.
4340 * malloc/mtrace.c: Likewise.
4341 * math/bits/mathcalls.h: Likewise.
4342 * math/fenv.h: Likewise.
4343 * math/math_private.h: Likewise.
4344 * misc/bits/error.h: Likewise.
4345 * misc/bits/syslog.h: Likewise.
4346 * misc/err.h: Likewise.
4347 * misc/error.h: Likewise.
4348 * misc/fstab.h: Likewise.
4349 * misc/mntent.h: Likewise.
4350 * misc/regexp.h: Likewise.
4351 * misc/search.h: Likewise.
4352 * misc/sgtty.h: Likewise.
4353 * misc/sys/mman.h: Likewise.
4354 * misc/sys/syslog.h: Likewise.
4355 * misc/sys/uio.h: Likewise.
4356 * misc/sys/xattr.h: Likewise.
4357 * misc/ttyent.h: Likewise.
4358 * nis/rpcsvc/ypclnt.h: Likewise.
4359 * nss/nss.h: Likewise.
4360 * posix/bits/unistd.h: Likewise.
4361 * posix/fnmatch.h: Likewise.
4362 * posix/glob.h: Likewise.
4363 * posix/sched.h: Likewise.
4364 * posix/spawn.h: Likewise.
4365 * posix/sys/wait.h: Likewise.
4366 * posix/unistd.h: Likewise.
4367 * posix/wordexp.h: Likewise.
4368 * pwd/pwd.h: Likewise.
4369 * resolv/netdb.h: Likewise.
4370 * resource/sys/resource.h: Likewise.
4371 * rt/aio.h: Likewise.
4372 * rt/bits/mqueue2.h: Likewise.
4373 * rt/mqueue.h: Likewise.
4374 * shadow/shadow.h: Likewise.
4375 * signal/signal.h: Likewise.
4376 * socket/send.c: Likewise.
4377 * socket/sendto.c: Likewise.
4378 * socket/sys/socket.h: Likewise.
4379 * stdio-common/printf.h: Likewise.
4380 * stdlib/bits/stdlib.h: Likewise.
4381 * stdlib/fmtmsg.h: Likewise.
4382 * stdlib/monetary.h: Likewise.
4383 * stdlib/stdlib.h: Likewise.
4384 * stdlib/ucontext.h: Likewise.
4385 * streams/stropts.h: Likewise.
4386 * string/argz.h: Likewise.
4387 * string/bits/string2.h: Likewise.
4388 * string/string.h: Likewise.
4389 * string/strings.h: Likewise.
4390 * sunrpc/rpc/auth.h: Likewise.
4391 * sunrpc/rpc/auth_des.h: Likewise.
4392 * sunrpc/rpc/clnt.h: Likewise.
4393 * sunrpc/rpc/netdb.h: Likewise.
4394 * sunrpc/rpc/pmap_clnt.h: Likewise.
4395 * sunrpc/rpc/xdr.h: Likewise.
4396 * sysdeps/generic/inttypes.h: Likewise.
4397 * sysdeps/generic/net/if.h: Likewise.
4398 * sysdeps/generic/sys/swap.h: Likewise.
4399 * sysdeps/gnu/net/if.h: Likewise.
4400 * sysdeps/gnu/utmpx.h: Likewise.
4401 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4402 * sysdeps/i386/i486/bits/string.h: Likewise.
4403 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4404 * sysdeps/s390/bits/string.h: Likewise.
4405 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4406 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4407 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4408 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4409 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4410 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4411 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4412 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4413 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4414 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4415 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4416 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4417 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4418 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4419 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4425 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4428 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4433 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4435 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4436 * sysvipc/sys/ipc.h: Likewise.
4437 * sysvipc/sys/msg.h: Likewise.
4438 * sysvipc/sys/sem.h: Likewise.
4439 * sysvipc/sys/shm.h: Likewise.
4440 * termios/termios.h: Likewise.
4441 * time/sys/time.h: Likewise.
4442 * time/time.h: Likewise.
4443 * wcsmbs/bits/wchar2.h: Likewise.
4444 * wcsmbs/uchar.h: Likewise.
4445 * wcsmbs/wchar.h: Likewise.
4446 * wctype/wctype.h: Likewise.
4449 * Makeconfig: Remove all but ELF support including AIX support.
4450 * Makerules: Likewise.
4451 * config.h.in: Likewise.
4452 * config.make.in: Likewise.
4453 * configure: Likewise.
4454 * configure.in: Likewise.
4455 * csu/Makefile: Likewise.
4456 * csu/version.c: Likewise.
4457 * debug/Makefile: Likewise.
4458 * dlfcn/Makefile: Likewise.
4459 * elf/Makefile: Likewise.
4460 * extra-lib.mk: Likewise.
4461 * iconv/Makefile: Likewise.
4462 * include/libc-symbols.h: Likewise.
4463 * include/shlib-compat.h: Likewise.
4464 * resolv/Makefile: Likewise.
4465 * resolv/res_libc.c: Likewise.
4466 * rt/Makefile: Likewise.
4467 * sysdeps/i386/asm-syntax.h: Likewise.
4468 * sysdeps/i386/sysdep.h: Likewise.
4469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4470 * sysdeps/mach/sysdep.h: Likewise.
4471 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4472 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4473 * sysdeps/s390/asm-syntax.h: Likewise.
4474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4476 * sysdeps/sh/sysdep.h: Likewise.
4477 * sysdeps/unix/sparc/sysdep.h: Likewise.
4478 * sysdeps/wordsize-32/divdi3.c: Likewise.
4479 * sysdeps/x86_64/sysdep.h: Likewise.
4481 * argp/Versions: Remove _argp_unlock_xxx.
4484 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4485 * abilist/libBrokenLocale.abilist: Likewise.
4486 * abilist/libanl.abilist: Likewise.
4487 * abilist/libc.abilist: Likewise.
4488 * abilist/libcrypt.abilist: Likewise.
4489 * abilist/libdl.abilist: Likewise.
4490 * abilist/libm.abilist: Likewise.
4491 * abilist/libnsl.abilist: Likewise.
4492 * abilist/libpthread.abilist: Likewise.
4493 * abilist/libresolv.abilist: Likewise.
4494 * abilist/librt.abilist: Likewise.
4495 * abilist/libthread_db.abilist: Likewise.
4496 * abilist/libutil.abilist: Likewise.
4497 * abilist/libnss_db.abilist: New file.
4499 * scripts/abilist.awk: Add support for indirect functions.
4501 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4503 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4505 * shlib-versions: Remove entries for ports architectures.
4507 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4509 * elf/stackguard-macros.h: Remove support for IA-64.
4510 * elf/tst-auditmod1.c: Likewise.
4511 * sysdeps/generic/ldsodefs.h: Likewise.
4513 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4514 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4518 * configure.in: Remove --enable-omitfp support.
4520 * config.make.in: Likewise.
4521 * Makeconfig: Likewise.
4522 * manual/install.texi: Likewise.
4524 In case anyone cares, the IA-64 architecture could move to ports.
4525 * sysdeps/ia64/*: Removed.
4526 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4527 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4530 * configure.in: Remove entries for unsupported architectures.
4533 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4534 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4536 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4537 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4538 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4539 fall back to using wcrtomb.
4540 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4541 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4543 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4544 * wcsmbs/tst-c16c32-1.c: New file.
4546 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4549 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4551 * elf/tst-unique3.cc: Add explicit declaration of gets.
4552 * elf/tst-unique3lib.cc: Likewise.
4553 * elf/tst-unique3lib2.cc: Likewise.
4554 * elf/tst-unique4.cc: Likewise.
4556 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4558 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4561 * assert/assert.h (static_assert): Don't define for C++.
4562 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4563 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4565 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4567 * iconv/loop.c (single loop): Fix assertion in storing of
4570 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4572 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4574 * posix/getconf.c: Update copyright year.
4575 * nss/getent.c: Likewise.
4576 * nss/makedb.c: Likewise.
4577 * iconv/iconvconfig.c: Likewise.
4578 * iconv/iconv_prog.c: Likewise.
4579 * elf/ldconfig.c: Likewise.
4580 * elf/pldd.c: Likewise.
4581 * elf/sotruss.ksh: Likewise.
4582 * catgets/gencat.c: Likewise.
4583 * csu/version.c: Likewise.
4584 * elf/ldd.bash.in: Likewise.
4585 * elf/sprof.c (print_version): Likewise.
4586 * locale/programs/locale.c: Likewise.
4587 * locale/programs/localedef.c: Likewise.
4588 * login/programs/pt_chown.c: Likewise.
4589 * nscd/nscd.c (print_version): Likewise.
4590 * debug/xtrace.sh: Likewise.
4591 * malloc/memusage.sh: Likewise.
4592 * malloc/mtrace.pl: Likewise.
4593 * debug/catchsegv.sh: Likewise.
4595 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4597 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4600 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4603 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4604 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4606 * iconv/gconv_int.h: Likewise.
4607 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4608 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4609 from libc for GLIBC_2.16.
4610 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4611 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4612 * wcsmbs/uchar.h: Really define mbstate_t.
4613 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4614 * wcsmbs/c16rtomb.c: New file.
4615 * wcsmbs/mbrtoc16.c: New file.
4616 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4618 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4619 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4621 * wcsmbs/wchar.h: Add missing __restrict.
4623 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4626 * time/Makefile (routines): Add timespec_get.
4627 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4628 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4629 timespec for ISO C11.
4630 * time/timespec_get.c: New file.
4631 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4632 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4635 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4636 * stdlib/stdlib.h: Declare aligned_alloc.
4637 * Versions.def: Add GLIBC_2.16 for libc.
4638 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4641 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4644 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4648 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4651 * assert/assert.h (static_assert): Define.
4653 * version.h: Update for 2.16 development version.
4656 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4659 * version.h (RELEASE): Bump for 2.15 release.
4660 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4662 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4663 Patch by Marek Polacek <mpolacek@redhat.com>.
4665 * bits/byteswap.h: Protect long long constants with __extension__.
4666 * sysdeps/i386/bits/byteswap.h: Likewise.
4667 * sysdeps/ia64/bits/byteswap.h: Likewise.
4668 * sysdeps/s390/bits/byteswap.h: Likewise.
4669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4671 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4676 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4678 2011-12-23 Marek Polacek <polacek@redhat.com>
4680 * elf/dl-addr.c (determine_info): Add inline keyword.
4681 * elf/tst-auditmod4b.c (check_avx): Likewise.
4682 * elf/tst-auditmod6b.c (check_avx): Likewise.
4683 * elf/tst-auditmod6c.c (check_avx): Likewise.
4684 * elf/tst-auditmod7b.c (check_avx): Likewise.
4686 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4688 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4691 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4694 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4695 processing for last bytes.
4697 2011-08-06 Bruno Haible <bruno@clisp.org>
4700 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4701 U+0385, not to U+1FEE.
4704 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4705 entry for U+00A5 U+0301.
4707 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4710 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4711 buffer for the output is too small.
4713 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4717 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4718 SSE flags if possible.
4720 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4724 processing for last bytes.
4726 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4728 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4729 (syscall-list-default-options, syscall-list-default-condition)
4730 (syscall-list-includes): Define.
4731 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4732 list of ABIs and options and #if conditions for each ABI. Do not
4733 handle common syscalls between ABIs specially.
4734 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4736 (syscall-list-variants, syscall-list-32bit-options)
4737 (syscall-list-32bit-condition, syscall-list-64bit-options)
4738 (syscall-list-64bit-condition): Define.
4739 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4740 (syscall-list-variants, syscall-list-32bit-options)
4741 (syscall-list-32bit-condition, syscall-list-64bit-options)
4742 (syscall-list-64bit-condition): Define.
4743 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4745 (syscall-list-variants, syscall-list-32bit-options)
4746 (syscall-list-32bit-condition, syscall-list-64bit-options)
4747 (syscall-list-64bit-condition): Define.
4748 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4750 (syscall-list-variants, syscall-list-32bit-options)
4751 (syscall-list-32bit-condition, syscall-list-64bit-options)
4752 (syscall-list-64bit-condition): Define.
4754 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4756 * locale/iso-639.def: Add brx entry.
4759 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4760 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4762 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4763 __feraiseexcept_renamed.
4765 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4768 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4769 EPOLLET with unsigned values.
4770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4773 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4774 to large cancellation.
4775 * math/s_cacoshf.c: Likewise.
4776 * math/s_cacoshl.c: Likewise.
4778 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4782 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4783 * math/s_cacoshf.c: Likewise.
4784 * math/s_cacoshl.c: Likewise.
4786 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4789 * iconv/gconv.h: Define __GCONV_SWAP.
4790 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4791 * iconvdata/utf-16.c: Likewise.
4792 * iconvdata/utf-32.c: Likewise.
4794 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4798 numerator after shifting it by one limb.
4800 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4803 under [__USE_EXTERN_INLINES].
4805 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4808 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4810 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4813 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4815 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4816 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4817 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4818 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4819 for strncasecmp/strncasecmp_l compilation.
4820 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4821 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4823 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4826 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4829 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4832 * time/tzfile.c (__tzfile_read): Check values from file header.
4834 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4836 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4837 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4838 * powerpc/powerpc32/dl-start.S: Likewise.
4839 * powerpc/powerpc32/elf/start.S: Likewise.
4840 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4841 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4842 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4843 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4844 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4845 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4846 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4847 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4848 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4849 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4850 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4851 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4852 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4853 * powerpc/powerpc32/memset.S: Likewise.
4854 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4855 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4856 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4857 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4858 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4859 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4860 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4861 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4862 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4863 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4865 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4866 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4868 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870 * math/libm-test.inc: Added more nearbyint tests.
4871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4876 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4878 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4881 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4883 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4884 Add wcscpy-ssse3 wcscpy-c.
4885 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4886 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4887 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4888 * sysdeps/x86_64/wcschr.S: New file.
4889 * sysdeps/x86_64/wcsrchr.S: New file.
4890 * string/test-strcmp.c: Remove checking of wcscmp function for
4892 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4893 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4894 wcsrchr-sse2 wcsrchr-c.
4895 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4896 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4897 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4898 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4899 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4900 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4901 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4902 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4903 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4904 * wcsmbc/wcschr.c (WCSCHR): New macro.
4906 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4908 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4909 * wcsmbs/test-wcsrchr.c: New file.
4910 * string/test-strrchr.c: Add wcsrchr support.
4912 * wcsmbs/test-wcscpy.c: New file.
4913 * string/test-strcpy.c: Add wcscpy support.
4916 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4921 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4924 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4926 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4929 Minor optimizations.
4931 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4932 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4933 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4935 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4937 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4938 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4939 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4940 for gcc to avoid warnings.
4941 * inet/Makefile (tests): Add tst-checks.
4942 * inet/tst-checks.c: New file.
4944 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4947 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4950 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4951 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4953 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4955 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4957 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4960 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4962 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4964 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4965 conditional on GCC version.
4966 (__arch_compare_and_exchange_val_8_acq)
4967 (__arch_compare_and_exchange_val_16_acq)
4968 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4969 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4970 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4972 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4974 * sysdeps/sh/backtrace.c: New file.
4976 2011-12-02 Andreas Schwab <schwab@redhat.com>
4978 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4981 2011-12-01 Andreas Schwab <schwab@redhat.com>
4983 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4984 falling back to utime.
4986 2011-11-30 Andreas Schwab <schwab@redhat.com>
4988 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4989 expectations for float.
4991 2011-11-29 Andreas Schwab <schwab@redhat.com>
4993 * locale/weight.h (findidx): Add parameter len.
4994 * locale/weightwc.h (findidx): Likewise.
4995 * posix/fnmatch_loop.c (FCT): Adjust caller.
4996 * posix/regcomp.c (build_equiv_class): Likewise.
4997 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4998 * posix/regexec.c (check_node_accept_bytes): Likewise.
4999 * string/strcoll_l.c (STRCOLL): Likewise.
5000 * string/strxfrm_l.c (STRXFRM): Likewise.
5002 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5004 * Makefile.in: Remove CVSOPT handling.
5005 * configure.in: Remove use of AC_REVISION.
5006 * iconvdata/Makefile (distribute): No need to filter out CVS.
5007 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5010 2011-11-16 Andreas Schwab <schwab@redhat.com>
5012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5013 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5014 [USE_AS_STRNCASECMP_L]: Likewise.
5015 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5016 NO_TLS_DIRECT_SEG_REFS.
5017 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5018 Fix argument offsets for non-PIC.
5019 [USE_AS_STRNCASECMP_L]: Likewise.
5020 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5021 NO_TLS_DIRECT_SEG_REFS.
5023 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5025 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5027 * locale/loadlocale.c (_nl_load_locale): Likewise.
5029 2011-11-15 Andreas Schwab <schwab@redhat.com>
5031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5032 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5033 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5034 (SYSCALL_GETTIME): Set errno on error.
5036 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5037 count references to noai6ai_cached.
5039 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5041 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5043 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5044 FD_CLOEXEC for /proc/self/maps.
5046 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5047 FD_CLOEXEC for /proc/meminfo.
5049 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5052 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5053 FD_CLOEXEC for given file.
5055 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5057 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5058 FD_CLOEXEC for /etc/hosts.
5059 (_gethtent): Likewise.
5061 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5063 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5064 cancellation and set FD_CLOEXEC for /etc/netgroup.
5066 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5067 reading /etc/publickey.
5069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5070 allow cancellation when reading /etc/group.
5072 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5074 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5076 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5077 when using data file.
5079 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5081 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5082 (write_nis_obj): Use "c" and "e" in fopen.
5084 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5086 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5088 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5090 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5092 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5095 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5097 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5099 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5101 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5102 file parsing and set FD_CLOEXEC.
5104 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5106 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5108 2011-11-14 Andreas Schwab <schwab@redhat.com>
5110 * malloc/arena.c (arena_get2): Don't call reused_arena when
5111 _int_new_arena failed.
5113 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5115 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5116 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5120 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5121 to compile strcasecmp and strncasecmp.
5122 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5123 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5127 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5130 locale-defines.sym to gen-as-const-headers.
5131 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5132 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5134 to compile strcasecmp and strncasecmp.
5135 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5136 strcasecmp_l and strncasecmp_l.
5137 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5138 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5139 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5140 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5141 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5142 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5143 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5144 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5145 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5146 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5147 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5149 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5151 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5152 result of SYSDEP_GETTIME_CPU to retval.
5153 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5154 parameter list to macro. Remove trailing semicolon. Adjust users.
5156 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5159 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5161 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5163 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5164 from unused variable.
5166 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5168 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5171 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5174 * sunrpc/rpc_prot.c (rejected): Fix case value.
5176 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5177 unsigned long long int to avoid warnings in shift.
5179 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5181 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5184 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5185 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5186 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5188 * nis/nis_table.c (nis_list): Use variable of correct type for
5189 result of __follow_path call.
5191 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5193 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5194 of math functions ceil, trunc, floor, round, and sqrt, when
5195 avaliable on the platform.
5196 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5202 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5204 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5205 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5207 2011-11-11 Roland McGrath <roland@hack.frob.com>
5209 * include/unistd.h: Fix __readlink return type.
5210 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5212 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5214 * stdlib/ucontext.h: Undo last change for makecontext.
5216 2011-11-11 Andreas Schwab <schwab@redhat.com>
5218 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5220 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5221 * setjmp/setjmp.h: Mark functions as non-leaf.
5222 * setjmp/bits/setjmp2.h: Likewise.
5223 * stdlib/ucontext.h: Likewise.
5225 2011-11-10 Andreas Schwab <schwab@redhat.com>
5227 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5228 (reused_arena): Don't check arena limit.
5229 (arena_get2): Atomically check arena limit.
5231 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5233 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5234 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5239 2011-11-07 Andreas Schwab <schwab@redhat.com>
5241 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5242 handler when locking.
5244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5245 Fix size of allocated buffer.
5247 2011-11-04 Andreas Schwab <schwab@redhat.com>
5250 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5251 declarations for long double functions.
5252 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5254 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5256 2011-11-03 Andreas Schwab <schwab@redhat.com>
5258 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5261 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5264 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5266 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5268 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5270 * include/alloca.h (stackinfo_alloca_round): Define.
5271 (extend_alloca): Use it.
5272 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5273 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5276 * scripts/check-local-headers.sh: Ignore libaudit.h.
5278 * nscd/Makefile (extra-objs): Make recursively expanded.
5280 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5282 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5285 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5286 * posix/tst-rfc3484-2.c: Likewise.
5287 * posix/tst-rfc3484-3.c: Likewise.
5289 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5291 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5293 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5294 process_vm_writev from libc using GLIBC_2.15 version.
5296 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5298 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5300 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5303 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5306 * nss/getent.c (initgroups_keys): Show error message in case no group
5309 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5310 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5311 __bump_nl_timestamp.
5312 * nscd/connections (nscd_init): When host database is served open
5313 netlink socket and request notification about configuration changes.
5314 (main_loop_poll): Track netlink file descriptor and bump timestamp
5315 in case data becomes available.
5316 (main_loop_epoll): Likewise.
5317 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5318 (database_pers_head): Add extra_data fileds.
5319 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5320 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5321 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5323 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5324 in6ai data, call __free_in6ai.
5325 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5327 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5328 interface information. Reuse previous data if netlink timestamp
5330 (__bump_nl_timestamp): New function.
5331 (__free_in6ai): New function.
5333 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5335 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5336 close_not_cancel_no_status here.
5337 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5339 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5342 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5345 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5346 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5347 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5349 2011-07-03 Andreas Jaeger <aj@suse.de>
5352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5353 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5354 * math/libm-test.inc (sin_test): Add test case.
5356 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5359 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5362 * elf/chroot_canon.c (chroot_canon): Cleanups.
5364 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5367 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5368 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5370 * string/test-strchr.c: Make usable for strchrnul testing.
5371 * string/test-strchrnul.c: New file.
5372 * string/Makefile (strop-tests): Add strchrnul.
5374 * po/it.po: Update from translation team.
5375 * po/es.po: Likewise.
5377 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5379 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5380 the three constants needed as parameters. Drop the others.
5381 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5382 __m128i_strloadu_tolower.
5383 Create and initialize variable zero and use it in all the places
5384 where _mm_setzero_si128 was used.
5386 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5387 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5388 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5389 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5391 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5394 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5395 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5396 __mpranred, __mptan.
5397 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5398 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5399 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5400 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5401 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5402 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5404 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5405 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5407 2011-10-28 Andreas Schwab <schwab@redhat.com>
5409 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5411 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5414 wide char related routines to wcsmbs subdir.
5416 2011-10-27 Andreas Schwab <schwab@redhat.com>
5419 * misc/sys/cdefs.h (__THROWNL): Define.
5420 * posix/unistd.h: Use __THREADNL instead of __THREAD
5421 for memory synchronization functions.
5423 2011-10-26 Roland McGrath <roland@hack.frob.com>
5426 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5428 * manual/stdio.texi (Obstack Streams): Node removed.
5430 2011-10-26 Andreas Schwab <schwab@redhat.com>
5432 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5433 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5436 * math/math_private.h (math_force_eval): Allow non-addressable
5438 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5440 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5442 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5454 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5456 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5457 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5458 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5459 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5465 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5467 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5468 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5469 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5470 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5472 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5474 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5475 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5478 place. Use VEX encoding when compiling for AVX.
5480 2011-10-25 Andreas Schwab <schwab@redhat.com>
5482 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5483 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5485 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5487 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5489 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5490 useless if() expression.
5491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5501 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5502 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5503 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5504 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5505 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5506 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5511 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5513 2011-10-25 Andreas Schwab <schwab@redhat.com>
5515 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5517 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5519 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5521 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5522 .text section. Avoid duplicate constants.
5523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5533 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5535 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5548 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5549 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5550 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5553 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5561 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5562 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5564 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5565 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5566 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5567 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5569 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5571 * sysdeps/x86_64/dla.h: Move to ...
5572 * sysdeps/x86_64/fpu/dla.h: ...here.
5573 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5574 situations. Use __builtin_fma only for gcc 4.6 and up.
5576 * config.make.in: Add have-mfma4 entry.
5577 * configure.in: Substitute libc_cv_cc_fma4.
5578 * math/Makefile (dbl-only-routines): Add sincostab.
5579 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5580 Use __sincostab not sincos.
5581 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5588 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5589 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5590 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5591 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5594 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5596 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5597 define aliases when function name is a macro.
5598 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5599 sysdeps/ieee754/dbl-64/sincos.tbl.
5600 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5601 fma4-enabled routines.
5602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5625 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5629 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5630 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5631 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5633 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5644 2011-10-24 Andreas Schwab <schwab@redhat.com>
5646 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5648 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5652 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5654 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5656 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5657 Remove unused variable magic_bits.
5658 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5660 * string/strnlen.c: Define and use STRNLEN macro.
5661 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5662 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5664 * wcsmbs/wcslen.c: Define and use WCSLEN.
5665 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5666 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5667 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5668 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5669 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5670 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5673 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5676 strnlen-sse2-no-bsf.
5677 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5679 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5680 Add strnlen support.
5681 (USE_AS_STRNLEN): New macro.
5682 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5683 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5684 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5685 * sysdeps/x86_64/wcslen.S: New file.
5687 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5690 XMM-moves are used for copying on small sizes.
5692 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5694 * wcsmbs/Makefile (strop-tests): Add wcschr.
5695 * wcsmbs/test-wcschr.c: New file.
5696 * string/test-strchr.c: Update.
5700 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5702 * wcsmbs/Makefile (strop-tests): Add wcslen.
5703 * wcsmbs/test-wcslen.c: New file.
5704 * string/test-strlen.c: Update.
5708 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5710 * po/it.po: Update from translation team.
5712 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5714 * sysdeps/x86_64/wcscmp.S: Update.
5715 Fix wrong comparison semantics.
5716 wcscmp shall use signed comparison not unsigned.
5717 Don't use substraction to avoid overflow bug.
5718 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5719 * wcsmbc/wcscmp.c: Likewise.
5720 * string/test-strcmp.c: Likewise.
5721 Add new tests to check cases with negative values.
5723 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5725 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5726 * sysdeps/x86_64/dla.h: ...here. New file.
5727 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5737 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5740 __ynl_finite aliases.
5742 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5746 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5748 [DLA_FMA] (EMULV): Use DLA_FMA.
5749 [DLA_FMA] (MUL12): Use EMULV.
5750 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5751 that are not needed.
5752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5760 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5762 * math/s_nan.c: Undef __nan.
5763 * math/s_nanf.c: Undef __nanf.
5764 * math/s_nanl.c: Undef __nanl.
5765 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5768 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5770 * math/s_catan.c: Add branch predictions.
5771 * math/s_catanf.c: Likewise.
5772 * math/s_catanh.c: Likewise.
5773 * math/s_catanhf.c: Likewise.
5774 * math/s_catanhl.c: Likewise.
5775 * math/s_catanl.c: Likewise.
5776 * math/s_cexp.c: Likewise.
5777 * math/s_cexpf.c: Likewise.
5778 * math/s_cexpl.c: Likewise.
5779 * math/s_clog.c: Likewise.
5780 * math/s_clog10.c: Likewise.
5781 * math/s_clog10f.c: Likewise.
5782 * math/s_clog10l.c: Likewise.
5783 * math/s_clogf.c: Likewise.
5784 * math/s_clogl.c: Likewise.
5785 * math/s_csqrt.c: Likewise.
5786 * math/s_csqrtf.c: Likewise.
5787 * math/s_csqrtl.c: Likewise.
5788 * math/s_ctanf.c: Likewise.
5789 * math/s_ctanh.c: Likewise.
5790 * math/s_ctanhf.c: Likewise.
5791 * math/s_ctanhl.c: Likewise.
5792 * math/s_ctanl.c: Likewise.
5794 * math/math_private.h: Define __nan, __nanf, __nanl.
5795 * math/s_cacosh.c: Include <math_private.h>.
5796 * math/s_cacoshl.c: Likewise.
5797 * math/s_casinh.c: Likewise.
5798 * math/s_casinhf.c: Likewise.
5799 * math/s_casinhl.c: Likewise.
5800 * math/s_ccos.c: Rely entire on ccosh.
5801 * math/s_ccosf.c: Rely entire on ccoshf.
5802 * math/s_ccosl.c: Rely entirely on ccoshl.
5803 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5804 Remove tests for FE_INVALID.
5805 * math/s_ccoshf.c: Likewise.
5806 * math/s_ccoshl.c: Likewise.
5807 * math/s_csin.c: Likewise.
5808 * math/s_csinf.c: Likewise.
5809 * math/s_csinh.c Likewise.
5810 * math/s_csinhf.c: Likewise.
5811 * math/s_csinhl.c: Likewise.
5812 * math/s_csinl.c: Likewise.
5813 * math/s_ctan.c: Likewise.
5814 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5815 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5818 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5821 compilation problems.
5823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5826 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5828 * sysdeps/i386/configure.in: Test for -mfma4 option.
5829 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5830 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5831 COMMON_CPUID_INDEX_80000001.
5832 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5833 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5834 use it if FMA3 is not supported.
5835 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5837 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5838 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5840 2011-10-20 Andreas Schwab <schwab@redhat.com>
5843 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5844 it would create a cycle with a link time dependency.
5846 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5848 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5850 * string/Makefile (strop-tests): Add rawmemchr.
5851 * string/test-rawmemchr.c: New file.
5853 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5855 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5856 when compiling str{,n}casecmp and when AVX is available. Hook up
5857 new optimized code in initializers.
5859 2011-10-19 Andreas Schwab <schwab@redhat.com>
5861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5862 __feraiseexcept instead of feraiseexcept.
5864 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5866 * math/math_private.h: Define defaults for libc_fetestexcept and
5868 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5869 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5870 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5871 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5872 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5873 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5874 libc_fetestexcept and libc_feupdateenv.
5876 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5877 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5878 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5879 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5880 libc_feholdexcept_setround.
5882 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5883 Add s_nearbyint-c and s_nearbyintf-c.
5884 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5887 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5888 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5889 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5891 * math/math_private.h: Define defaults for libc_fegetround,
5892 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5893 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5894 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5896 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5898 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5899 Remove comments and hacks for old compiler versions.
5900 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5901 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5904 2011-10-18 Andreas Schwab <schwab@redhat.com>
5906 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5907 (__feraiseexcept_renamed): Add __NTH.
5908 (feraiseexcept): Add __NTH. Rename local variables to fix
5909 namespace violations.
5911 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5915 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5917 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5918 recently added interfaces.
5919 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5921 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5922 about macro parameter expansion.
5924 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5925 __NO_MATH_INLINES is defined. Cleanups.
5927 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5928 and __floorf is target has SSE4.1.
5929 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5930 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5932 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5934 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5938 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5940 2011-10-17 Andreas Schwab <schwab@redhat.com>
5942 * misc/sys/cdefs.h: Fix last change.
5944 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5947 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5949 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5951 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5957 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5958 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5960 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5961 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5962 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5963 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5964 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5965 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5966 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5967 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5968 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5969 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5970 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5971 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5972 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5974 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5975 ceil, ceilf, floor, floorf.
5977 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5978 Perform IRELATIVE relocations last.
5980 * elf/do-rel.h: Add another parameter nrelative, replacing the
5981 local variable with the same name. Change name of the function
5982 to end in Rel or Rela (uppercase).
5983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5984 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5985 elf_dynamic_do_##reloc function.
5987 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5989 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5990 is sufficient, at least on modern CPUs.
5992 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5994 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5997 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5999 * math/bits/math-finite.h: Add entries for exp.
6000 * math/e_expl.c: Add __*_finite alias.
6001 * sysdeps/i386/fpu/e_exp.S: Likewise.
6002 * sysdeps/i386/fpu/e_expf.S: Likewise.
6003 * sysdeps/i386/fpu/e_expl.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6005 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6009 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6010 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6012 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6013 is sufficient, at least on modern CPUs.
6015 * ctype/ctype-info.c (__ctype_init): Define.
6016 * include/ctype.h (__ctype_init): Declare.
6017 (__ctype_b_loc): The variable is always initialized.
6018 (__ctype_toupper_loc): Likewise.
6019 (__ctype_tolower_loc): Likewise.
6020 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6021 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6023 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6025 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6027 * configure.in: Also look in $cxxmachine/include for C++ system
6030 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6032 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6033 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6034 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6035 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6037 (USE_AS_WMEMCMP): New macro.
6039 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6040 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6041 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6042 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6044 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6045 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6046 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6047 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6048 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6049 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6050 (USE_AS_WMEMCMP): New macro.
6051 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6052 * sysdeps/string/test-memcmp.c: Update.
6055 * wcsmbs/wmemcmp.c: Update.
6056 (WMEMCMP): New macro.
6059 2011-10-12 Andreas Jaeger <aj@suse.de>
6062 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6064 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6066 * libio/iofwide.c (do_length): Avoid warning.
6068 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6070 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6072 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6074 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6075 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6076 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6077 * sysdeps/i386/i686/fpu/e_log.S: New file.
6078 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6079 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6081 * ctype/ctype.h: Add support for inlined isXXX functions when
6084 2011-10-14 Andreas Schwab <schwab@redhat.com>
6086 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6088 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6090 2011-10-13 Roland McGrath <roland@hack.frob.com>
6093 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6095 2011-10-13 Andreas Schwab <schwab@redhat.com>
6097 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6098 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6101 * sysdeps/x86_64/memrchr.S: Check for zero size.
6103 * string/stratcliff.c: Add memrchr tests.
6105 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6108 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6109 rawmemchr-sse2 rawmemchr-sse2-bsf.
6110 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6111 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6112 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6113 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6114 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6115 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6116 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6117 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6118 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6119 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6120 * string/memrchr.c (MEMRCHR): New macro.
6122 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6124 Add integration with gcc's -ffinite-math-only and optimize wrapper
6126 * Versions.def: Define GLIBC_2.15 version for libm.
6127 * math/Makefile (headers): Add bits/math-finite.h.
6128 * math/bits/math-finite.h: New file.
6129 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6130 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6131 * math/e_acoshl.c: Add __*_finite alias.
6132 * math/e_acosl.c: Likewise.
6133 * math/e_asinl.c: Likewise.
6134 * math/e_atan2l.c: Likewise.
6135 * math/e_atanhl.c: Likewise.
6136 * math/e_coshl.c: Likewise.
6137 * math/e_exp10.c: Likewise.
6138 * math/e_exp10f.c: Likewise.
6139 * math/e_exp10l.c: Likewise.
6140 * math/e_exp2l.c: Likewise.
6141 * math/e_fmodl.c: Likewise.
6142 * math/e_gammal_r.c: Likewise.
6143 * math/e_hypotl.c: Likewise.
6144 * math/e_j0l.c: Likewise.
6145 * math/e_j1l.c: Likewise.
6146 * math/e_jnl.c: Likewise.
6147 * math/e_lgammal_r.c: Likewise.
6148 * math/e_log10l.c: Likewise.
6149 * math/e_log2l.c: Likewise.
6150 * math/e_logl.c: Likewise.
6151 * math/e_powl.c: Likewise.
6152 * math/e_sinhl.c: Likewise.
6153 * math/e_sqrtl.c: Likewise.
6154 * math/e_scalb.c: Completely rewritten and optimized.
6155 * math/e_scalbf.c: Likewise.
6156 * math/e_scalbl.c: Likewise.
6157 * math/w_acos.c: Likewise.
6158 * math/w_acosf.c: Likewise.
6159 * math/w_acosl.c: Likewise.
6160 * math/w_acosh.c: Likewise.
6161 * math/w_acoshf.c: Likewise.
6162 * math/w_acoshl.c: Likewise.
6163 * math/w_asin.c: Likewise.
6164 * math/w_asinf.c: Likewise.
6165 * math/w_asinl.c: Likewise.
6166 * math/w_atan2.c: Likewise.
6167 * math/w_atan2f.c: Likewise.
6168 * math/w_atan2l.c: Likewise.
6169 * math/w_atanh.c: Likewise.
6170 * math/w_atanhf.c: Likewise.
6171 * math/w_atanhl.c: Likewise.
6172 * math/w_exp10.c: Likewise.
6173 * math/w_exp10f.c: Likewise.
6174 * math/w_exp10l.c: Likewise.
6175 * math/w_fmod.c: Likewise.
6176 * math/w_fmodf.c: Likewise.
6177 * math/w_fmodl.c: Likewise.
6178 * math/w_j0.c: Likewise.
6179 * math/w_j0f.c: Likewise.
6180 * math/w_j0l.c: Likewise.
6181 * math/w_j1.c: Likewise.
6182 * math/w_j1f.c: Likewise.
6183 * math/w_j1l.c: Likewise.
6184 * math/w_jn.c: Likewise.
6185 * math/w_jnf.c: Likewise.
6186 * math/w_log.c: Likewise.
6187 * math/w_logf.c: Likewise.
6188 * math/w_logl.c: Likewise.
6189 * math/w_log10.c: Likewise.
6190 * math/w_log10f.c: Likewise.
6191 * math/w_log10l.c: Likewise.
6192 * math/w_log2.c: Likewise.
6193 * math/w_log2f.c: Likewise.
6194 * math/w_log2l.c: Likewise.
6195 * math/w_pow.c: Likewise.
6196 * math/w_powf.c: Likewise.
6197 * math/w_powl.c: Likewise.
6198 * math/w_remainder.c: Likewise.
6199 * math/w_remainderf.c: Likewise.
6200 * math/w_remainderl.c: Likewise.
6201 * math/w_scalb.c: Likewise.
6202 * math/w_scalbf.c: Likewise.
6203 * math/w_scalbl.c: Likewise.
6204 * math/w_sqrt.c: Likewise.
6205 * math/w_sqrtf.c: Likewise.
6206 * math/w_sqrtl.c: Likewise.
6207 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6208 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6210 * math/math_private.h: Declare __kernel_standard_f.
6211 * math/w_cosh.c: Remove cruft and optimize a bit.
6212 * math/w_coshf.c: Likewise.
6213 * math/w_coshl.c: Likewise.
6214 * math/w_exp2.c: Likewise.
6215 * math/w_exp2f.c: Likewise.
6216 * math/w_exp2l.c: Likewise.
6217 * math/w_hypot.c: Likewise.
6218 * math/w_hypotf.c: Likewise.
6219 * math/w_hypotl.c: Likewise.
6220 * math/w_lgamma.c: Likewise.
6221 * math/w_lgamma_r.c: Likewise.
6222 * math/w_lgammaf.c: Likewise.
6223 * math/w_lgammaf_r.c: Likewise.
6224 * math/w_lgammal.c: Likewise.
6225 * math/w_lgammal_r.c: Likewise.
6226 * math/w_sinh.c: Likewise.
6227 * math/w_sinhf.c: Likewise.
6228 * math/w_sinhl.c: Likewise.
6229 * math/w_tgamma.c: Likewise.
6230 * math/w_tgammaf.c: Likewise.
6231 * math/w_tgammal.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6234 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6235 Minor optimizations. Pretty printing. Remove cruft.
6236 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6237 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6238 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6239 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6240 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6241 * sysdeps/i386/fpu/e_asin.S: Likewise.
6242 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6243 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6244 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6245 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6247 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6248 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6249 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6250 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6251 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6252 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6253 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6254 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6255 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6256 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6257 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6258 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6259 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6260 * sysdeps/i386/fpu/e_log.S: Likewise.
6261 * sysdeps/i386/fpu/e_log10.S: Likewise.
6262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6263 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6264 * sysdeps/i386/fpu/e_log2.S: Likewise.
6265 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6266 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6267 * sysdeps/i386/fpu/e_logf.S: Likewise.
6268 * sysdeps/i386/fpu/e_logl.S: Likewise.
6269 * sysdeps/i386/fpu/e_pow.S: Likewise.
6270 * sysdeps/i386/fpu/e_powf.S: Likewise.
6271 * sysdeps/i386/fpu/e_powl.S: Likewise.
6272 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6273 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6274 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6275 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6277 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6278 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6279 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6280 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6302 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6304 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6305 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6306 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6319 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6320 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6321 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6322 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6374 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6376 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6377 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6378 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6379 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6380 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6381 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6382 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6383 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6384 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6385 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6386 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6387 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6389 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6390 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6391 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6392 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6393 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6394 (__isnanf): Likewise.
6395 (__isinf_ns): Likewise.
6396 (__isinf_nsf): Likewise.
6397 (__finite): Likewise.
6398 (__finitef): Likewise.
6399 (__ieee754_sqrt): Define as macro.
6400 (__ieee754_sqrtf): Define as macro.
6401 (__ieee754_sqrtl): Define as macro.
6402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6404 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6405 __FINITE_MATH_ONLY__ consistent.
6406 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6408 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6410 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6413 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6415 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6417 * po/ja.po: Update from translation team.
6419 2011-10-08 Roland McGrath <roland@hack.frob.com>
6421 * locale/programs/locarchive.c (prepare_address_space): New function.
6422 (create_archive, enlarge_archive, open_archive): Use it.
6424 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6425 inside [SHARED], where it is used.
6427 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6429 * nss/getent.c (netgroup_keys): Remove unused variable.
6430 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6432 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6434 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6435 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6437 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6438 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6439 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6440 * math/Makefile (libm-calls): Add s_isinf_ns.
6441 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6442 * math/multc3.c: Likewise.
6443 * math/s_casin.c: Likewise.
6444 * math/s_casinf.c: Likewise.
6445 * math/s_casinl.c: Likewise.
6446 * math/s_ccos.c: Likewise.
6447 * math/s_ccosf.c: Likewise.
6448 * math/s_ccosl.c: Likewise.
6449 * math/s_ctan.c: Likewise.
6450 * math/s_ctanf.c: Likewise.
6451 * math/s_ctanh.c: Likewise.
6452 * math/s_ctanhf.c: Likewise.
6453 * math/s_ctanhl.c: Likewise.
6454 * math/s_ctanl.c: Likewise.
6455 * math/w_fmod.c: Likewise.
6456 * math/w_fmodf.c: Likewise.
6457 * math/w_fmodl.c: Likewise.
6458 * math/w_remainder.c: Likewise.
6459 * math/w_remainderf.c: Likewise.
6460 * math/w_remainderl.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6462 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6463 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6464 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6465 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6466 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6467 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6468 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6470 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6472 * stdio-common/printf_fphex.c: Likewise.
6473 * stdio-common/printf_size.c: Likewise.
6475 * math/e_exp10.c: Include math_private.h using <...> not "...".
6476 * math/e_exp10f.c: Likewise.
6477 * math/e_exp10l.c: Likewise.
6478 * math/e_exp2l.c: Likewise.
6479 * math/e_j0l.c: Likewise.
6480 * math/e_j1l.c: Likewise.
6481 * math/e_jnl.c: Likewise.
6482 * math/e_lgammal_r.c: Likewise.
6483 * math/e_rem_pio2l.c: Likewise.
6484 * math/e_scalb.c: Likewise.
6485 * math/e_scalbf.c: Likewise.
6486 * math/e_scalbl.c: Likewise.
6487 * math/k_cosl.c: Likewise.
6488 * math/k_sinl.c: Likewise.
6489 * math/k_tanl.c: Likewise.
6490 * math/s_cacoshf.c: Likewise.
6491 * math/s_catan.c: Likewise.
6492 * math/s_catanf.c: Likewise.
6493 * math/s_catanh.c: Likewise.
6494 * math/s_catanhf.c: Likewise.
6495 * math/s_catanhl.c: Likewise.
6496 * math/s_catanl.c: Likewise.
6497 * math/s_ccosh.c: Likewise.
6498 * math/s_ccoshf.c: Likewise.
6499 * math/s_ccoshl.c: Likewise.
6500 * math/s_cexp.c: Likewise.
6501 * math/s_cexpf.c: Likewise.
6502 * math/s_cexpl.c: Likewise.
6503 * math/s_clog.c: Likewise.
6504 * math/s_clog10.c: Likewise.
6505 * math/s_clog10f.c: Likewise.
6506 * math/s_clog10l.c: Likewise.
6507 * math/s_clogf.c: Likewise.
6508 * math/s_clogl.c: Likewise.
6509 * math/s_csin.c: Likewise.
6510 * math/s_csinf.c: Likewise.
6511 * math/s_csinh.c: Likewise.
6512 * math/s_csinhf.c: Likewise.
6513 * math/s_csinhl.c: Likewise.
6514 * math/s_csinl.c: Likewise.
6515 * math/s_csqrt.c: Likewise.
6516 * math/s_csqrtf.c: Likewise.
6517 * math/s_csqrtl.c: Likewise.
6518 * math/s_ctan.c: Likewise.
6519 * math/s_ctanf.c: Likewise.
6520 * math/s_ctanh.c: Likewise.
6521 * math/s_ctanhf.c: Likewise.
6522 * math/s_ctanhl.c: Likewise.
6523 * math/s_ctanl.c: Likewise.
6524 * math/s_ldexp.c: Likewise.
6525 * math/s_ldexpf.c: Likewise.
6526 * math/s_ldexpl.c: Likewise.
6527 * math/s_significand.c: Likewise.
6528 * math/s_significandf.c: Likewise.
6529 * math/s_significandl.c: Likewise.
6530 * math/w_acos.c: Likewise.
6531 * math/w_acosf.c: Likewise.
6532 * math/w_acosh.c: Likewise.
6533 * math/w_acoshf.c: Likewise.
6534 * math/w_acoshl.c: Likewise.
6535 * math/w_acosl.c: Likewise.
6536 * math/w_asin.c: Likewise.
6537 * math/w_asinf.c: Likewise.
6538 * math/w_asinl.c: Likewise.
6539 * math/w_atan2.c: Likewise.
6540 * math/w_atan2f.c: Likewise.
6541 * math/w_atan2l.c: Likewise.
6542 * math/w_atanh.c: Likewise.
6543 * math/w_atanhf.c: Likewise.
6544 * math/w_atanhl.c: Likewise.
6545 * math/w_cosh.c: Likewise.
6546 * math/w_coshf.c: Likewise.
6547 * math/w_coshl.c: Likewise.
6548 * math/w_dremf.c: Likewise.
6549 * math/w_exp10.c: Likewise.
6550 * math/w_exp10f.c: Likewise.
6551 * math/w_exp10l.c: Likewise.
6552 * math/w_exp2.c: Likewise.
6553 * math/w_exp2f.c: Likewise.
6554 * math/w_fmod.c: Likewise.
6555 * math/w_fmodf.c: Likewise.
6556 * math/w_fmodl.c: Likewise.
6557 * math/w_hypot.c: Likewise.
6558 * math/w_hypotf.c: Likewise.
6559 * math/w_hypotl.c: Likewise.
6560 * math/w_j0.c: Likewise.
6561 * math/w_j0f.c: Likewise.
6562 * math/w_j0l.c: Likewise.
6563 * math/w_j1.c: Likewise.
6564 * math/w_j1f.c: Likewise.
6565 * math/w_j1l.c: Likewise.
6566 * math/w_jn.c: Likewise.
6567 * math/w_jnf.c: Likewise.
6568 * math/w_jnl.c: Likewise.
6569 * math/w_lgamma.c: Likewise.
6570 * math/w_lgamma_r.c: Likewise.
6571 * math/w_lgammaf.c: Likewise.
6572 * math/w_lgammaf_r.c: Likewise.
6573 * math/w_lgammal.c: Likewise.
6574 * math/w_lgammal_r.c: Likewise.
6575 * math/w_log.c: Likewise.
6576 * math/w_log10.c: Likewise.
6577 * math/w_log10f.c: Likewise.
6578 * math/w_log10l.c: Likewise.
6579 * math/w_log2.c: Likewise.
6580 * math/w_log2f.c: Likewise.
6581 * math/w_log2l.c: Likewise.
6582 * math/w_logf.c: Likewise.
6583 * math/w_logl.c: Likewise.
6584 * math/w_pow.c: Likewise.
6585 * math/w_powf.c: Likewise.
6586 * math/w_powl.c: Likewise.
6587 * math/w_remainder.c: Likewise.
6588 * math/w_remainderf.c: Likewise.
6589 * math/w_remainderl.c: Likewise.
6590 * math/w_scalb.c: Likewise.
6591 * math/w_scalbf.c: Likewise.
6592 * math/w_scalbl.c: Likewise.
6593 * math/w_sinh.c: Likewise.
6594 * math/w_sinhf.c: Likewise.
6595 * math/w_sinhl.c: Likewise.
6596 * math/w_sqrt.c: Likewise.
6597 * math/w_sqrtf.c: Likewise.
6598 * math/w_sqrtl.c: Likewise.
6599 * math/w_tgamma.c: Likewise.
6600 * math/w_tgammaf.c: Likewise.
6601 * math/w_tgammal.c: Likewise.
6603 * po/ja.po: Update from translation team.
6605 2011-09-29 Andreas Jaeger <aj@suse.de>
6608 * sunrpc/netname.c (netname2host): Fix logic.
6612 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6614 * math/w_remainder.c (__remainder): Likewise.
6615 * math/w_remainderf.c (__remainderf): Likewise.
6616 * math/libm-test.inc (remainder_test): Add test cases.
6618 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6620 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6623 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6625 * string/test-memcmp.c: Avoid unncessary #defines.
6626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6628 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6630 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6631 Use new sse2 version for core i3 - i7 as it's faster
6633 (bit_Prefer_PMINUB_for_stringop): New.
6634 * sysdeps/x86_64/rawmemchr.S: Update.
6635 Replace with faster SSE2 version.
6636 * sysdeps/x86_64/memrchr.S: New file.
6637 * sysdeps/x86_64/memchr.S: Update.
6638 Replace with faster SSE2 version.
6640 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6642 * elf/dl-load.c (lose): Add cast to avoid warning.
6644 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6646 * po/ca.po: Update from translation team.
6648 * inet/getnetgrent_r.c: Hook up nscd.
6649 * nscd/Makefile (routines): Add nscd_netgroup.
6650 (nscd-modules): Add netgroupcache.
6651 (CFLAGS-netgroupcache.c): Define.
6652 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6653 (cache_search): Add const to second parameter.
6654 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6656 (dbs): Add netgrdb entry.
6657 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6658 (verify_persistent_db): Handle netgrdb.
6659 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6660 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6662 (netgroup_response_header): Define.
6663 (innetgroup_response_header): Define.
6664 (datahead): Add netgroup_response_header and innetgroup_response_header
6666 * nscd/nscd.conf: Add entries for netgroup cache.
6667 * nscd/nscd.h (dbtype): Add netgrdb.
6668 (_PATH_NSCD_NETGROUP_DB): Define.
6669 (netgroup_iov_disabled): Declare.
6670 (xmalloc, xcalloc, xrealloc): Move declarations here.
6671 (cache_search): Adjust prototype.
6672 Add netgroup-related prototypes.
6673 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6674 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6675 (__nscd_innetgr): Declare.
6676 * nscd/selinux.c (perms): Use access_vector_t as element type and
6677 add netgroup-related initializers.
6678 * nscd/netgroupcache.c: New file.
6679 * nscd/nscd_netgroup.c: New file.
6680 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6681 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6682 For four parameters use innetgr.
6683 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6684 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6685 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6686 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6688 * nscd/connections.c (register_traced_file): Don't register file
6689 for disabled databases.
6691 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6693 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6695 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6696 from tree and freeing node.
6698 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6700 * nss/nsswitch.c (__nss_database_lookup): Handle
6701 nss_parse_service_list out of memory case.
6703 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6705 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6708 2011-10-04 Andreas Schwab <schwab@redhat.com>
6710 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6711 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6713 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6714 elf_machine_rela, elf_machine_lazy_rel.
6715 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6716 (ELF_DYNAMIC_DO_REL): Likewise.
6717 (ELF_DYNAMIC_DO_RELA): Likewise.
6718 (ELF_DYNAMIC_RELOCATE): Likewise.
6719 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6720 to ELF_DYNAMIC_DO_REL.
6721 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6722 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6723 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6726 skip_ifunc, don't call ifunc function if non-zero.
6727 (elf_machine_rela): Likewise.
6728 (elf_machine_lazy_rel): Likewise.
6729 (elf_machine_lazy_rela): Likewise.
6730 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6731 (elf_machine_lazy_rel): Likewise.
6732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6734 (elf_machine_lazy_rel): Likewise.
6735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6737 (elf_machine_lazy_rel): Likewise.
6738 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6739 (elf_machine_lazy_rel): Likewise.
6740 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6741 (elf_machine_lazy_rel): Likewise.
6742 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6743 (elf_machine_lazy_rel): Likewise.
6744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6745 (elf_machine_lazy_rel): Likewise.
6746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6747 (elf_machine_lazy_rel): Likewise.
6748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6749 (elf_machine_lazy_rel): Likewise.
6751 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6753 * nss/nss_files/files-init.c (_nss_files_init): Use static
6754 initialization for all the *_traced_file variables.
6756 2011-09-28 Andreas Schwab <schwab@redhat.com>
6758 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6760 2011-09-27 Roland McGrath <roland@hack.frob.com>
6763 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6765 2011-09-27 Andreas Schwab <schwab@redhat.com>
6767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6768 Reread the line before reparsing it.
6770 2011-09-26 Andreas Schwab <schwab@redhat.com>
6772 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6774 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6775 Maxim Kuvyrkov <maxim@codesourcery.com>
6776 Joseph Myers <joseph@codesourcery.com>
6778 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6779 if needed for __stack_chk_guard.
6781 2011-09-19 Roland McGrath <roland@hack.frob.com>
6783 * sysdeps/posix/spawni.c (script_execute): Always define it.
6784 It will be optimized away if unused.
6785 (maybe_script_execute): New function.
6786 (__spawni): Call it.
6788 * Makerules: Don't include tls.make.
6789 (config-tls): Always set to thread.
6790 * tls.make.c: File removed.
6792 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6794 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6795 * config.make.in (CPPFLAGS-config): New substituted variable.
6797 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6802 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6803 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6805 2011-09-15 Roland McGrath <roland@hack.frob.com>
6807 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6808 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6810 (CALL_FAIL): Likewise.
6811 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6812 (CALL_FAIL): Macro removed.
6813 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6815 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6818 for __FINITE_MATH_ONLY__ == 1.
6820 2011-09-15 Andreas Schwab <schwab@redhat.com>
6822 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6823 __ieee754_sqrt instead of sqrt.
6824 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6825 __ieee754_sqrtf instead of sqrtf.
6826 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6827 __floorf instead of floorf.
6828 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6829 __floorf, __truncf instead of floorf, truncf.
6831 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6833 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6835 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6836 __extern_always_inline.
6837 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6840 2011-09-14 Andreas Schwab <schwab@redhat.com>
6842 * elf/rtld.c (dl_main): Also relocate in dependency order when
6843 doing symbol dependency testing.
6845 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6848 Always define `refsym'.
6850 2011-09-13 Andreas Schwab <schwab@redhat.com>
6852 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6853 (__FD_ELT): Renamed from __FDELT.
6854 * misc/bits/select2.h (__FD_ELT): Likewise.
6855 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6856 __FD_MASK instead of __FDELT, __FDMASK.
6857 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6859 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6862 * elf/Makefile (gen-ldd): Fix pattern.
6864 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6865 (init_tls): Likewise.
6867 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6871 2011-09-12 Andreas Schwab <schwab@redhat.com>
6873 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6874 `struct cmsghdr *' instead of `void *'.
6875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6878 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6880 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6882 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6885 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6887 * configure.in: Remove --with-tls option.
6888 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6889 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6890 out in case it is missing.
6891 * sysdeps/ia64/elf/configure.in: Likewise.
6892 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6893 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6894 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6895 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6896 * sysdeps/sh/elf/configure.in: Likewise.
6897 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6898 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6899 * sysdeps/x86_64/elf/configure.in: Likewise.
6900 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6901 * sysdeps/mach/hurd/tls.h: Likewise.
6904 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6907 * configure.in: Fix use of AC_INIT.
6909 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6911 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6913 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6915 * malloc/hooks.c: Likewise.
6918 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6919 variables statically.
6920 (narenas): Initialize.
6921 (list_lock): Initialize.
6922 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6923 initializtion of main_arena and list_lock. Small cleanups.
6924 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6925 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6926 Add initializers to main_arena and mp_.
6927 (malloc_state): Remove pagesize member. Change all users to use
6930 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6931 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6932 is always initialized.
6934 * malloc/malloc.c: Removed unused configurations and dead code.
6935 * malloc/arena.c: Likewise.
6936 * malloc/hooks.c: Likewise.
6937 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6939 * include/tls.h: Removed. USE___THREAD must always be defined.
6940 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6941 * elf/dl-libc.c: Likewise.
6942 * elf/dl-tsd.c: Likewise.
6943 * include/errno.h: Likewise.
6944 * include/netdb.h: Likewise.
6945 * include/resolv.h: Likewise.
6946 * inet/herrno-loc.c: Likewise.
6947 * inet/herrno.c: Likewise.
6948 * malloc/arena.c: Likewise.
6949 * malloc/hooks.c: Likewise.
6950 * malloc/malloc.c: Likewise.
6951 * resolv/res-state.c: Likewise.
6952 * resolv/res_libc.c: Likewise.
6953 * sysdeps/i386/dl-machine.h: Likewise.
6954 * sysdeps/ia64/dl-machine.h: Likewise.
6955 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6956 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6957 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6958 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6959 * sysdeps/sh/dl-machine.h: Likewise.
6960 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6962 * sysdeps/unix/i386/sysdep.S: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6964 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6969 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6973 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6974 * sysdeps/x86_64/dl-machine.h: Likewise.
6975 * tls.make.c: Likewise.
6977 * configure.in: Remove --with-__thread option. Make tests for
6978 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6979 tls_model attribute fail if no support is available. Remove
6981 * Makeconfig: Adjust for dropped configure option. All features are
6983 * Makerules: Likewise.
6984 * Versions.def: Likewise.
6985 * argp/argp-fmtstream.c: Likewise.
6986 * argp/argp-fmtstream.h: Likewise.
6987 * argp/argp-help.c: Likewise.
6988 * assert/assert.c: Likewise.
6989 * config.h.in: Likewise.
6990 * config.make.in: Likewise.
6991 * configure: Likewise.
6992 * configure.in: Likewise.
6993 * csu/Versions: Likewise.
6994 * csu/init.c: Likewise.
6995 * elf/tst-audit2.c: Likewise.
6996 * elf/tst-tls10.c: Likewise.
6997 * elf/tst-tls10.h: Likewise.
6998 * elf/tst-tls11.c: Likewise.
6999 * elf/tst-tls12.c: Likewise.
7000 * elf/tst-tls14.c: Likewise.
7001 * elf/tst-tlsmod11.c: Likewise.
7002 * elf/tst-tlsmod12.c: Likewise.
7003 * elf/tst-tlsmod13.c: Likewise.
7004 * elf/tst-tlsmod13a.c: Likewise.
7005 * elf/tst-tlsmod14a.c: Likewise.
7006 * elf/tst-tlsmod15b.c: Likewise.
7007 * elf/tst-tlsmod16a.c: Likewise.
7008 * elf/tst-tlsmod16b.c: Likewise.
7009 * elf/tst-tlsmod7.c: Likewise.
7010 * elf/tst-tlsmod8.c: Likewise.
7011 * elf/tst-tlsmod9.c: Likewise.
7012 * gmon/gmon.c: Likewise.
7013 * grp/fgetgrent_r.c: Likewise.
7014 * grp/putgrent.c: Likewise.
7015 * hurd/fopenport.c: Likewise.
7016 * include/libc-symbols.h: Likewise.
7017 * include/tls.h: Likewise.
7018 * intl/gettextP.h: Likewise.
7019 * intl/loadinfo.h: Likewise.
7020 * locale/global-locale.c: Likewise.
7021 * locale/localeinfo.h: Likewise.
7022 * mach/devstream.c: Likewise.
7023 * malloc/arena.c: Likewise.
7024 * malloc/set-freeres.c: Likewise.
7025 * misc/err.c: Likewise.
7026 * misc/getttyent.c: Likewise.
7027 * misc/mntent_r.c: Likewise.
7028 * posix/getopt.c: Likewise.
7029 * posix/wordexp.c: Likewise.
7030 * pwd/fgetpwent_r.c: Likewise.
7031 * resolv/Versions: Likewise.
7032 * resolv/res_hconf.c: Likewise.
7033 * shadow/fgetspent_r.c: Likewise.
7034 * shadow/putspent.c: Likewise.
7035 * stdio-common/printf_fphex.c: Likewise.
7036 * stdio-common/tmpfile.c: Likewise.
7037 * stdlib/abort.c: Likewise.
7038 * stdlib/fmtmsg.c: Likewise.
7039 * sunrpc/auth_unix.c: Likewise.
7040 * sunrpc/clnt_perr.c: Likewise.
7041 * sunrpc/clnt_tcp.c: Likewise.
7042 * sunrpc/clnt_udp.c: Likewise.
7043 * sunrpc/clnt_unix.c: Likewise.
7044 * sunrpc/openchild.c: Likewise.
7045 * sunrpc/svc_simple.c: Likewise.
7046 * sunrpc/svc_tcp.c: Likewise.
7047 * sunrpc/svc_udp.c: Likewise.
7048 * sunrpc/svc_unix.c: Likewise.
7049 * sunrpc/xdr.c: Likewise.
7050 * sunrpc/xdr_array.c: Likewise.
7051 * sunrpc/xdr_rec.c: Likewise.
7052 * sunrpc/xdr_ref.c: Likewise.
7053 * sunrpc/xdr_stdio.c: Likewise.
7055 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7057 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7059 2011-07-03 Andreas Jaeger <aj@suse.de>
7061 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7062 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7063 regenerate with gen-libm-tests.pl.
7065 2010-05-12 Petr Baudis <pasky@suse.cz>
7068 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7069 around j0() zero points by switching to j1().
7070 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7075 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7077 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7079 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7082 Patch in part by Pavel Roskin <proski@gnu.org>.
7085 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7087 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7088 Free memory block if necessary.
7091 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7092 be NULL. Don't lock in this case.
7094 2011-09-09 Roland McGrath <roland@hack.frob.com>
7096 * elf/elf.h (ELFOSABI_GNU): New macro.
7097 (ELFOSABI_LINUX): Define to that.
7099 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7101 * string/strncat.c (strncat): Undef the symbol in case it has been
7102 defined in bits/string.h.
7104 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7106 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7108 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7111 2011-08-17 Andreas Jaeger <aj@suse.de>
7113 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7115 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7116 Ian Lance Taylor <iant@google.com>
7118 * math/libm-test.inc (lround_test): New testcase.
7119 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7121 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7123 * Makefile: Remove support for automatic cvs check-ins.
7124 * Makerules: Likewise.
7125 * config.make.in: Likewise.
7126 * configure.in: Likewise.
7127 * intl/Makefile: Likewise.
7128 * locale/Makefile: Likewise.
7129 * po/Makefile: Likewise.
7130 * posix/Makefile: Likewise.
7131 * sysdeps/gnu/Makefile: Likewise.
7132 * sysdeps/mach/hurd/Makefile: Likewise.
7133 * sysdeps/sparc/sparc32/Makefile: Likewise.
7136 * posix/Makefile (bug-regex32-ENV): Define.
7137 Patch by John Stanley <jpsinthemix@verizon.net>.
7139 * misc/Makefile (headers): Add bits/select2.h.
7140 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7141 * misc/bits/select2.h: New file.
7142 * include/bits/select2.h: New file.
7143 * debug/Makefile (routines): Add fdelt_chk.
7144 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7145 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7147 * debug/fdelt_chk.c: New file.
7149 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7150 * wcsmbs/test-wmemcmp.c: Likewise.
7151 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7152 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7154 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7156 * string/Makefile (strop-tests): Add memcmp.
7157 * string/test-wmemcmp.c: New file.
7158 * string/test-memcmp.c: Add wmemcmp support.
7160 2011-09-08 Roland McGrath <roland@hack.frob.com>
7163 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7166 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7167 garbage value in a __mach_port_mod_refs call in the cases of the
7168 task-self and thread-self ports.
7170 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7172 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7174 2011-09-08 Andreas Schwab <schwab@redhat.com>
7176 * elf/dl-load.c (lose): Check for non-null L.
7178 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7180 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7182 * elf/dl-libc.c (dlerror_run): Pass back error code from
7186 * elf/dl-load.c (lose): Free l_origin if it is valid.
7188 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7190 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7195 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7197 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7199 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7200 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7201 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7202 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7203 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7204 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7205 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7206 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7207 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7208 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7210 2011-08-15 Alan Modra <amodra@gmail.com>
7213 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7214 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7215 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7216 ppc_mcount to static-only-routines.
7217 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7219 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7220 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7222 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7224 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7225 for finite and infinity parameters.
7227 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7230 and add nop instructions for throughput optimization.
7231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7233 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7235 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7236 aligned copy for power7 with vector-scalar instructions.
7237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7239 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7244 2011-09-07 Andreas Schwab <schwab@redhat.com>
7247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7250 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7252 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7253 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7254 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7255 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7258 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7260 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7261 Forgot to demangle the pointer.
7263 * sysdeps/i386/sysdep.h: Define atom_text_section.
7264 * sysdeps/x86_64/sysdep.h: Likewise.
7265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7266 section with atom_text_section.
7267 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7268 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7269 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7270 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7273 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7274 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7275 already be defined. Change to take two parameters and don't assign
7276 result to variable. Adjust all users.
7277 Define INTERNAL_GETTIME if not already defined.
7278 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7281 HAVE_CLOCK_GETTIME_VSYSCALL.
7282 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7285 gettimeofday vsyscall, just use time.
7287 2011-09-06 Andreas Schwab <schwab@redhat.com>
7289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7292 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7294 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7296 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7298 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7300 syscall if possible.
7302 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7304 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7305 e_ident. Don't pass to find_mapsXX.
7306 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7308 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7311 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7312 * sysdeps/x86_64/multiarch/strchr.S: Update.
7313 Check bit_slow_BSF bit.
7314 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7315 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7318 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7321 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7324 (__spawni): Change last parameter to be flag. Test
7325 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7326 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7327 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7328 * posix/spawni.c: Likewise.
7329 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7330 * posix/spawnp.c: Likewise. Change normal version to use
7331 SPAWN_XFLAGS_USE_PATH.
7332 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7333 SPAWN_XFLAGS_TRY_SHELL.
7336 * posix/glob.h: Remove gcc 1.x support.
7339 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7341 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7344 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7346 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7347 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7348 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7349 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7350 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7353 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7355 * sysdeps/x86_64/wcscmp.S: New file.
7357 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7358 wcscmp-c wcscmp-sse2
7359 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7360 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7361 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7362 * wcsmbs/wcscmp.c: Allow renaming.
7364 2011-09-05 David S. Miller <davem@davemloft.net>
7366 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7367 stack slot, rather than the struct return pointer slot.
7368 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7369 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7373 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7375 * po/ja.po: Update from translation team.
7378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7379 kernel in 64-bit binaries.
7381 2011-09-01 David S. Miller <davem@davemloft.net>
7383 * elf/elf.h (HWCAP_SPARC_*): Move to..
7384 * sysdeps/sparc/sysdep.h: this new file and add new values.
7385 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7386 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7387 _DL_HWCAP_COUNT to 24.
7388 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7390 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7391 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7392 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7394 instead of magic constants.
7395 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7397 2011-08-31 David S. Miller <davem@davemloft.net>
7399 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7401 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
7407 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7408 (PSEUDO): Reimplement to do errno handling inline.
7409 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7410 (SYSCALL_ERROR_HANDLER): New macro.
7411 (__SYSCALL_STRING): Do not do errno handling in asm.
7412 (__CLONE_SYSCALL_STRING): Delete.
7413 (__INTERNAL_SYSCALL_STRING): Delete.
7414 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7415 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7417 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7418 (inline_syscall*): Add 'err' argument.
7419 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7420 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7421 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7422 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7424 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7425 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7427 2011-08-30 Andreas Schwab <schwab@redhat.com>
7429 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7431 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7433 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7436 2011-08-24 David S. Miller <davem@davemloft.net>
7438 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7440 2011-08-24 Andreas Schwab <schwab@redhat.com>
7442 * elf/Makefile: Add rules to build and run unload8 test.
7443 * elf/unload8.c: New file.
7444 * elf/unload8mod1.c: New file.
7445 * elf/unload8mod1x.c: New file.
7446 * elf/unload8mod2.c: New file.
7447 * elf/unload8mod3.c: New file.
7449 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7452 2011-08-23 David S. Miller <davem@davemloft.net>
7454 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7455 subtract stack bias.
7456 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7457 %sp not %fp in calculations.
7458 (_JMPBUF_UNWINDS_ADJ): Likewise.
7460 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7461 (aio_suspend): Call it to force an exception region around the
7462 AIO_MISC_WAIT() invocation.
7464 2011-08-23 Andreas Schwab <schwab@redhat.com>
7466 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7469 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7471 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7473 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7475 (Elf64_FuncDesc): Remove.
7477 2011-08-22 David S. Miller <davem@davemloft.net>
7479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7480 sigaltstack check, add missing cfi directives.
7481 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7482 missing cfi directives, and sigaltstack handling.
7484 2011-08-16 Andreas Schwab <schwab@redhat.com>
7487 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7488 object is seen twice.
7489 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7491 * elf/Makefile (distribute): Add tst-initorder2.c.
7492 (tests): Add tst-initorder2.
7493 (modules-names): Add tst-initorder2a tst-initorder2b
7494 tst-initorder2c tst-initorder2d. Add rules to build them.
7495 ($(objpfx)tst-initorder2.out): New rule.
7496 * elf/tst-initorder2.c: New file.
7497 * elf/tst-initorder2.exp: New file.
7499 2011-08-22 Andreas Schwab <schwab@redhat.com>
7501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7503 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7504 dependencies back to end of function.
7506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7509 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7512 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7514 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7515 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7516 of __vdso_gettimeofday.
7517 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7518 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7520 (_libc_vdso_platform_setup): Remove initialization of
7521 __vdso_gettimeofday and __vdso_time.
7523 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7525 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7527 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7530 * elf/dl-open.c (add_to_global): Report additions to the global scope
7531 for LD_DEBUG=scopes.
7532 (dl_open_worker): Also print scope of newly loaded dependencies.
7533 (_dl_show_scope): Indicate if there is no scope.
7536 * stdio-common/Makefile (tests): Add bug24.
7537 * stdio-common/bug24.c: New file.
7539 2011-08-19 Andreas Jaeger <aj@suse.de>
7542 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7543 non-existant file when using close-on-exec mode.
7545 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7548 the very first instruction.
7550 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7551 the CFI state in the end.
7552 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7553 inclusion of dl-trampoline.h.
7554 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7556 2011-08-19 Andreas Schwab <schwab@redhat.com>
7558 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7559 expectations for long double.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7562 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7564 2011-08-14 David S. Miller <davem@davemloft.net>
7566 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7567 artificual limit depends upon the system page size.
7569 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7571 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7572 * resolv/Makefile: Define CFLAGS-libresolv.
7574 2011-08-17 Andreas Schwab <schwab@redhat.com>
7576 * nss/makedb.c (compute_tables): Make variables used in nested
7579 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7581 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7582 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7583 if buffer was too small.
7585 * elf/pldd.c (main): Attach to all threads in the process.
7586 Rewrite /proc handling to use *at functions.
7588 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7590 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7591 specifies first scope to show.
7592 (dl_open_worker): Update callers. Move printing scope of new
7593 object to before the relocation.
7594 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7595 * sysdeps/generic/ldsodefs.h: Update declaration.
7597 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7598 string for the scope number.
7600 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7602 * nscd/servicescache.c (cache_addserv): Make sure written is always
7605 2011-08-14 Roland McGrath <roland@hack.frob.com>
7607 * sysdeps/i386/i486/bits/atomic.h
7608 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7609 statement expression, so as to suppress "set but not used" warning.
7610 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7612 * string/strncat.c (STRNCAT): Use prototype definition.
7614 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7615 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7617 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7618 (localedef-modules): Add localedef.
7619 (locale-modules): Add locale.
7621 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7622 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7625 2011-08-14 David S. Miller <davem@davemloft.net>
7627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7628 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7630 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7632 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7633 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7634 * elf/rtld.c (dl_main): Set l_name of vDSO.
7635 Call _dl_show_scope when DL_DEBUG_SCOPES.
7636 (process_dl_debug): Recognize scopes flag and also set it for all.
7637 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7638 Declare _dl_show_scope.
7640 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7641 (do_dlopen): Pass caller_dlopen to dl_open.
7642 (__libc_dlopen_mode): Initialize caller_dlopen.
7644 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7645 of libc. Make tolower call locale-independent. Optimize a bit by
7646 using isdigit instead of isalnum.
7647 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7649 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7651 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7652 was a dependency or dynamically loaded.
7654 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7656 * intl/l10nflist.c: Allow architecture-specific pop function.
7657 * sysdeps/x86_64/l10nflist.c: New file.
7659 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7662 2011-08-10 Andreas Schwab <schwab@redhat.com>
7664 * include/dirent.h: Add libc_hidden_proto for scandirat and
7665 scandirat64. Don't declare __scandirat64.
7666 * dirent/scandirat.c: Add libc_hidden_def.
7667 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7668 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7670 2011-08-10 David S. Miller <davem@davemloft.net>
7672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7678 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7680 * Versions.def [libc]: Add GLIBC_2.15.
7681 * dirent/Makefile (routines): Add scandirat and scandirat64.
7682 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7684 * dirent/dirent.h: Declare scandirat and scandirat64.
7685 * dirent/scandirat.c: New file.
7686 * dirent/scandirat64.c: New file.
7687 * sysdeps/wordsize-64/scandirat.c: New file.
7688 * sysdeps/wordsize-64/scandirat64.c: New file.
7689 * dirent/opendir.c: Define opendirat.
7690 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7692 * dirent/scandir64.c: Adjust for scandir.c change.
7693 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7694 __scandirat64, and __scandir_cancel_handler.
7695 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7696 additional parameter and use openat instead of open (outside of ld.so).
7697 Add new __opendir as wrapper around __opendirat.
7698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7699 here without requiring old scandirat implementation.
7701 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7703 * dirent/scandir.c (cancel_handler): Renamed to
7704 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7705 defined. Adjust users.
7706 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7707 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7709 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7711 * string/test-string.h (IMPL): Use __STRING to expand name and then
7714 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7717 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7719 * string/Makefile: Update.
7720 (strop-tests): Append strncat.
7721 * string/test-wcscmp.c: New file.
7722 New comprehensive test for wcscmp.
7723 * string/test-strcmp.c: Update.
7726 2011-07-22 Andreas Schwab <schwab@redhat.com>
7728 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7731 2011-07-26 Andreas Schwab <schwab@redhat.com>
7733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7734 encoding to ACE if AI_IDN.
7736 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7739 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7741 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7743 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7744 Fix overflow bug in strncat.
7745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7747 * string/test-strncat.c: Update.
7748 Add new tests for checking overflow bugs.
7750 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7753 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7754 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7755 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7757 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7758 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7759 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7760 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7763 (USE_AS_STRCAT): Define.
7764 Add strcat and strncat support.
7765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7767 2011-07-25 Andreas Schwab <schwab@redhat.com>
7769 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7770 __n bigger than INT_MAX+1.
7771 (__strncmp_g): Likewise.
7773 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7775 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7776 * libio/stido.h: Likewise.
7778 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7783 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7784 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7786 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7790 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7795 (_dl_x86_64_save_sse): Likewise.
7797 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7801 (_dl_x86_64_save_sse): Likewise.
7803 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7805 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7807 2011-07-21 Andreas Schwab <schwab@redhat.com>
7809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7811 (_dl_x86_64_save_sse): Use correct AVX check.
7813 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7816 bug in strncpy/strncat.
7817 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7819 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7821 * string/tester.c (test_strcat): Add tests for different alignments
7822 of source and destination.
7823 (test_strncat): Likewise.
7825 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7828 * posix/glob.c (glob): Check passed in values before using them in
7829 expressions to avoid some overflows.
7830 (glob_in_dir): Likewise.
7833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7834 check for AVX enablement so that we don't crash with old kernels and
7836 * elf/tst-audit4.c: Add same checks here.
7837 * elf/tst-audit6.c: Likewise.
7839 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7841 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7843 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7845 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7847 * po/cs.po: Update from translation team.
7848 * po/bg.po: Likewise.
7850 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7852 * misc/sys/cdefs.h: Add support for const attribute.
7853 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7854 to gnu_dev_{major,minor,makedev} functions.
7856 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7858 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7860 2011-07-20 Andreas Schwab <schwab@redhat.com>
7862 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7865 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7868 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7869 register in order to avoid conflicts with the soft frame pointer
7870 being held in r11 when necessary.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7872 (INTERNAL_VSYSCALL_NCS): Likewise.
7874 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7876 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7877 * elf/dl-fini.c (_dl_fini): Adjust caller.
7878 * elf/dl-close.c (_dl_close_worker): Likewise.
7879 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7881 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7883 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7884 "aux_cache->nlibs < 0".
7886 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7887 in the reload-count case.
7889 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7892 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7893 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7894 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7895 * sysdeps/x86_64/multiarch/strcat.S: New file.
7896 * sysdeps/x86_64/multiarch/strncat.S: New file.
7897 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7898 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7899 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7900 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7902 (USE_AS_STRCAT): Define.
7903 Add strcat and strncat support.
7904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7906 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7907 * string/strncat.c: Update.
7908 (USE_AS_STRNCAT): Define.
7909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7910 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7912 * sysdeps/x86_64/multiarch/init-arch.h
7913 (bit_Prefer_PMINUB_for_stringop): New.
7914 (index_Prefer_PMINUB_for_stringop): Likewise.
7915 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7916 bit_Prefer_PMINUB_for_stringop.
7918 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7920 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7922 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7923 of casting of buffer.
7924 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7925 buffer32 and buffer64.
7926 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7927 writes instead of casting of buffer.
7928 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7930 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7933 2011-07-19 Andreas Schwab <schwab@redhat.com>
7935 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7937 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7939 * nscd/nscd.c (termination_handler): Don't do anything for a database
7940 if it has not yet been initialized.
7942 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7944 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7946 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7948 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7950 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7952 * po/nl.po: Update from translation team.
7953 * po/sv.po: Likewise.
7955 2011-07-16 Roland McGrath <roland@hack.frob.com>
7957 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7958 now disallowed by GCC.
7960 * configure.in (use-default-link): Default to yes if a test -shared
7961 link meets our qualifications.
7962 * configure: Regenerated.
7964 * config.make.in (output-format): New variable.
7965 * configure.in: Check for ld --print-output-format support.
7966 * configure: Regenerated.
7967 * Makerules ($(common-objpfx)format.lds)
7968 [$(output-format) != unknown]: Just use $(output-format),
7969 instead of the linker-script munging.
7971 2011-07-14 Roland McGrath <roland@hack.frob.com>
7973 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7974 of $(common-objpfx)shlib.lds.
7975 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7977 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7978 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7980 * configure.in (-z relro check): Adjust test code to add a large
7981 writable data section after it.
7982 * configure: Regenerated.
7984 2011-07-11 Roland McGrath <roland@hack.frob.com>
7986 * configure.in (-z relro check): Fix test code to make the variable
7988 * configure: Regenerated.
7990 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7992 * nscd/nscd.h (struct traced_file): Define.
7993 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7994 elements. Add traced_files.
7995 (inotify_fd): Declare.
7996 (register_traced_file): Declare.
7997 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7998 (inotify_fd): Export.
7999 (resolv_conf_descr): Remove.
8000 (nscd_init): Move inotify descriptor creation to main.
8001 Don't register files for notification here.
8002 (register_traced_file): New function.
8003 (invalidate_cache): Don't use reset_res to determine whether to call
8004 res_init, go through the list of registered files.
8005 (main_loop_poll): The inotify descriptors are now stored in the
8006 structures for the traced files.
8007 (main_loop_epoll): Likewise
8008 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8009 to __nss_disable_nscd.
8010 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8011 for a database anymore. Check the records for all the registered
8013 * nss/Makefile (libnss_files-routines): Add files-init.
8014 (libnss_db-routines): Add db-init.
8015 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8016 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8017 * nss/nss_db/db-init.c: New file.
8018 * nss/nss_files/files-init.c: New file.
8019 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8020 __nss_lookup_function.
8021 (__nss_lookup_function): Call nss_load_library.
8022 (nss_load_all_libraries): New function.
8023 (__nss_disable_nscd): Take parameter with callback function for files
8024 to register. Set is_nscd. Load all the DSOs for the NSS modules
8025 used for the cached services.
8026 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8027 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8028 options for features to all the files in nscd.
8030 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8032 2011-07-10 Roland McGrath <roland@hack.frob.com>
8034 * csu/elf-init.c (__libc_csu_init): Comment typo.
8036 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8038 * po/pl.po: Update from translation team.
8039 * po/ja.po: Likewise.
8040 * po/ru.po: Likewise.
8041 * po/ko.po: Likewise.
8042 * po/fr.po: Likewise.
8044 2011-07-09 Roland McGrath <roland@hack.frob.com>
8046 * configure.in (.ctors/.dtors header and trailer check):
8047 Use an empirical test on a built program.
8048 * configure: Regenerated.
8050 * configure.in (-z relro check): Use an empirical test on a built DSO.
8051 Detect, but do not require, on ia64.
8052 * configure: Regenerated.
8054 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8055 Update tests that use readelf to use $READELF instead.
8056 * configure: Regenerated.
8058 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8060 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8061 if the result is not used.
8063 2011-07-05 Andreas Jaeger <aj@suse.de>
8066 * stdlib/tst-strtod.c: Add testcase.
8068 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8070 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8071 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8072 The latter has a higher limit. Take additional parameter to pass to
8074 (__pathconf): Pass file to __statfs_link_max.
8075 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8077 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8081 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8085 (__statfs_filesize_max): Likewise.
8086 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8088 2011-07-05 Andreas Jaeger <aj@suse.de>
8090 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8092 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8094 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8096 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8099 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8101 * Makefile (strop-tests): Add strncat.
8102 * string/test-strncat.c: New file.
8104 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8106 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8108 2011-06-21 Andreas Jaeger <aj@suse.de>
8110 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8111 Copy rule from iconvdata/Makefile.
8113 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8116 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8117 but no long options are defined, just return 'W'.
8119 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8122 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8124 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8126 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8128 (innetgr): Likewise.
8130 2011-07-05 Roland McGrath <roland@hack.frob.com>
8132 * config.make.in (install_root): Default to $(DESTDIR).
8134 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8138 2011-07-02 Roland McGrath <roland@hack.frob.com>
8140 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8142 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8143 containing directory rather than embedding absolute directory names.
8145 * scripts/check-local-headers.sh: Rewritten using awk.
8146 Match by word, not by line. Print error messages for matches.
8147 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8149 * Makerules [shlib-lds-flags empty]:
8150 ($(common-objpfx)libc_pic.opts): New target.
8151 ($(common-objpfx)libc_pic.os.clean): New target.
8152 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8154 * config.make.in (OBJCOPY): New variable.
8155 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8156 * configure: Regenerated.
8158 * config.make.in (use-default-link): New variable.
8159 * configure.in (use_default_link): Grok --with-default-link to set it.
8160 * configure: Regenerated.
8161 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8162 (shlib-lds, shlib-lds-flags): Define to empty.
8164 * Makerules (shlib-lds): New variable.
8165 (shlib-lds-flags): New variable.
8166 (build-shlib, build-moduile, build-module-asneeded): Use it.
8167 ($(common-objpfx)libc.so): Use $(shlib-lds).
8168 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8169 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8171 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8172 DT_FLAGS/DT_FLAGS_1 with zero flags.
8174 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8175 linker script munging.
8177 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8179 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8181 * crypt/sha512.c (sha512_process_block): Perform total addition using
8182 128-bit if possible.
8183 (__sha512_finish_ctx): Likewise.
8184 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8186 * crypt/sha256.c (SWAP64): Define.
8187 (sha256_process_block): Perform total addition using 64-bit if
8189 (__sha256_finish_ctx): Likewise.
8191 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8193 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8195 * nscd/hstcache.c (cache_addhst): Likewise.
8196 * nscd/grpcache.c (cache_addgr): Likewise.
8197 * nscd/aicache.c (addhstaiX): Likewise
8198 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8200 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8202 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8204 * nscd/hstcache.c (cache_addhst): Likewise.
8205 * nscd/grpcache.c (cache_addgr): Likewise.
8206 * nscd/aicache.c (addhstaiX): Likewise
8208 2011-07-01 Andreas Schwab <schwab@redhat.com>
8210 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8211 domain only when needed.
8213 2011-06-30 Andreas Schwab <schwab@redhat.com>
8215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8218 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8220 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8221 are re-adding the entry.
8222 * nscd/servicescache.c (cache_addserv): Likewise.
8224 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8226 * sysdeps/generic/dl-irel.h: fix protection against multiple
8228 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8230 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8233 * malloc/memusage.sh: Fix quoting in message.
8234 * debug/xtrace.sh: Likewise.
8236 * configure.in: Remove support for --experimental-malloc option, make
8238 * config.make.in: Likewise.
8239 * malloc/Makefile: Likewise.
8241 2011-06-27 Andreas Schwab <schwab@redhat.com>
8243 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8244 two-byte characters.
8246 2011-06-27 Roland McGrath <roland@hack.frob.com>
8248 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8249 AC_CACHE_CHECK invocation.
8250 * configure: Regenerated.
8252 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8254 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8257 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8258 bit from old_res_options.
8260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8262 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8263 value type for setfct.
8265 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8268 __gettimeofday instead of gettimeofday.
8270 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8272 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8274 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8281 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8284 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8285 strcpy-sse2-unaligned strncpy-sse2-unaligned
8286 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8287 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8288 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8289 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8290 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8292 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8293 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8294 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8295 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8296 (STRCPY): Support SSE2 and SSSE3 versions.
8298 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8302 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8303 kernels which artificially limit size of requests.
8305 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8308 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8309 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8310 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8311 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8312 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8313 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8314 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8315 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8318 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8319 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8320 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8321 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8323 Enable unaligned load optimization for Intel Core i3, i5 and i7
8325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8327 (index_Fast_Unaligned_Load): Define.
8328 (HAS_FAST_UNALIGNED_LOAD): Define.
8330 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8332 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8334 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8338 until it is clear that the information is realy needed.
8339 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8341 2011-06-22 Andreas Schwab <schwab@redhat.com>
8343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8345 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8348 /sys/devices/system/cpu/online if it is usable.
8350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8351 reading the information from the /proc filesystem to once a second.
8353 2011-06-21 Andreas Jaeger <aj@suse.de>
8355 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8356 NULL after inclusion of kernel headers.
8358 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8360 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8361 calls to internal_setent.
8364 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8365 addresses using gethostbyname4_r ignore IPv4 addresses.
8367 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8368 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8370 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8372 2011-06-20 David S. Miller <davem@davemloft.net>
8374 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8376 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8378 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8380 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8381 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8382 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8383 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8384 * sysdeps/x86_64/dl-irel.h: Likewise.
8386 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8387 * elf/dl-sym.c: Likewise.
8389 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8391 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8392 need to dereference resplen2.
8394 2011-06-14 Andreas Schwab <schwab@redhat.com>
8396 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8398 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8400 * Makeconfig: Define vardbdir and inst_vardbdir.
8401 * nss/Makefile: Add rules to install db-Makefile.
8403 * nss/nss_db/db-XXX.c: Cleanup.
8405 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8406 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8408 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8409 * nss/makedb.c: Implement -g option to specify that value strings
8410 are generated and should not be added to table iterated over for
8412 * nss/nss_db/db-initgroups.c: New file.
8414 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8417 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8418 (internal_getgrouplist): Adjust to name change.
8419 Update use_initgroups_entry if this is not the first call.
8420 * nss/databases.def: Add initgroups entry.
8422 * nss/makedb.c (compute_tables): Check result of multiple hash table
8423 sizes to minimize maximum chain length.
8425 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8427 * Versions.def: Add entry for libnss_db.
8428 * shlib-versions: Likewise.
8429 * nss/Makefile: Add rules to build libnss_db.
8430 * nss/Versions: Add libnss_db information. Organize libnss_files
8432 * nss/db-Makefile: Add gshadow support. Change rules for the new
8433 makedb progra. Some minor improvements to generate smaller files.
8434 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8436 * nss/makedb.c: ...here.
8437 Improve database format to be smaller and require less memory at
8439 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8441 * nss/nss_db/db-netgrp.c: Likewise.
8442 * nss/nss_db/db-open.c: Likewise.
8443 * nss/nss_files/flies-XXX.x: Adjust comments.
8444 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8445 * nss/nss_files/files-grp.c: Likewise.
8446 * nss/nss_files/files-hosts.c: Likewise.
8447 * nss/nss_files/files-network.c: Likewise.
8448 * nss/nss_files/files-proto.c: Likewise.
8449 * nss/nss_files/files-pwd.c: Likewise.
8450 * nss/nss_files/files-rpc.c: Likewise.
8451 * nss/nss_files/files-service.c: Likewise.
8452 * nss/nss_files/files-sgrp.c: Likewise.
8453 * nss/nss_files/files-spwd.c: Likewise.
8454 * nss/nss_db/db-alias.c: Removed.
8455 * nss/nss_db/dummy-db.h: Removed.
8457 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8459 * nss/makedb.c: Rewritten to not use database library.
8460 * nss/Makefile: Update to build new makedb program.
8462 2011-06-14 Andreas Jaeger <aj@suse.de>
8464 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8467 2011-06-10 Andreas Schwab <schwab@redhat.com>
8469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8472 2011-06-10 Roland McGrath <roland@hack.frob.com>
8474 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8475 * elf/Makefile ($(objpfx)ld.so): Likewise.
8477 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8478 Don't list ld.so twice in dependencies.
8480 * posix/bug-regex31.c: Include <stdlib.h>.
8482 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8484 * nis/nss_compat/compat-spwd.c
8485 (getspent_next_nss_netgr): Remove unused variable.
8486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8488 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8489 nonmembers" output to use the right array.
8491 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8493 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8495 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8496 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8497 * catgets/gencat.c (read_input_file): Likewise.
8498 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8500 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8501 variable definition inside #if's controlling its use.
8503 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8505 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8507 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8509 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8512 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8514 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8515 * configure: Regenerated.
8517 * Makerules: Revert last change.
8518 * elf/Makefile: Likewise.
8520 2011-06-09 Roland McGrath <roland@hack.frob.com>
8522 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8523 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8524 (reloc-link): Likewise.
8526 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8528 * elf/Makefile: Add rules to build pldd.
8529 * elf/pldd.c: New file.
8530 * elf/pldd-xx.c: New file.
8532 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8534 * version.h: Update for 2.15 development version.
8536 2011-06-07 David S. Miller <davem@davemloft.net>
8538 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8541 elf_machine_lazy_rel): Likewise.
8542 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8544 elf_machine_lazy_rel): Likewise.
8545 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8546 dl_hwcap via passed in argument.
8547 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8550 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8552 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8554 2011-06-06 Roland McGrath <roland@hack.frob.com>
8557 * manual/fdl-1.1.texi: New file, verbatim from:
8558 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8559 * manual/lgpl-2.1.texi: New file, verbatim from:
8560 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8561 * manual/Makefile (licenses): New variable, list those new file names.
8563 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8565 * manual/fdl.texi: File removed.
8566 * manual/lesser.texi: File removed.
8567 * manual/libc.texinfo (Copying, Documentation License):
8568 Use new @include file names, put @appendix directive before @include.
8570 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8573 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8574 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8575 (mq_open): Add __NTH.
8577 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8580 Assume Intel Core i3/i5/i7 processor if AVX is available.
8582 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8587 2011-05-31 Andreas Schwab <schwab@redhat.com>
8589 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8590 memory. Use alloca_account. Fix memory leak when retrying.
8592 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8594 * version.h (RELEASE): Bump for 2.14 release.
8595 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8597 * config.make.in (RANLIB): Remove entry.
8599 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8601 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8602 (libc.pot): Work around missing support for .ksh extension in xgettext.
8605 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8606 if both request failed.
8607 (send_dg): In case of server errors clear resplen or *resplen2.
8610 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8611 when there are multiple maps.
8612 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8613 (_dl_fini): Remove test here.
8615 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8617 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8620 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8621 bit from old_res_options.
8622 (gaih_inet): Likewise.
8625 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8628 * resolv/res_init.c (res_setoptions): Make the code more compact.
8631 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8635 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8637 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8640 * malloc/malloc.h: Declare malloc hook variables as volatile.
8642 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8646 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8647 raise in the comment.
8648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8650 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8652 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8655 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8656 grow the buffers more if it already has to be sufficient.
8657 (build_wcs_upper_buffer): Likewise.
8658 * posix/regexec.c (check_matching): Likewise.
8659 (clean_state_log_if_needed): Likewise.
8660 (extend_buffers): Don't enlarge buffers beyond size of the input
8662 Patches mostly by Emil Wojak <emil@wojak.eu>.
8663 * posix/bug-regex32.c: New file.
8664 * posix/Makefile (tests): Add bug-regex32.
8666 * locale/findlocale.c (_nl_find_locale): Return right away if
8667 _nl_explode_name failed.
8668 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8672 * debug/xtrace.sh: Unify messages.
8673 * malloc/memusage.sh: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8677 time symbol from vDSO. Substitute with vsyscall if not available.
8678 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8682 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8683 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8684 Add sendmmsg and internal_sendmmsg.
8685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8686 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8687 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8689 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8690 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8691 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8693 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8696 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8697 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8703 * iconvdata/Makefile (tests): Add bug-iconv9.
8704 * iconvdata/bug-iconv9.c: New file.
8706 2011-05-27 Andreas Schwab <schwab@redhat.com>
8709 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8711 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8714 (struct user_regs_struct): Change intcs field back to cs.
8716 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8718 * po/ja.po: Update from translation team.
8720 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8723 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8724 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8726 2011-05-20 Andreas Schwab <schwab@redhat.com>
8728 * stdlib/longlong.h: Update from GCC.
8730 2011-05-23 Andreas Schwab <schwab@redhat.com>
8732 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8734 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8736 (__sysconf): Pass it down.
8738 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8741 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8743 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8744 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8745 add in in __libc_use_alloca calls. Adjust callers.
8746 (glob): Use malloc in some situations.
8748 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8749 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8752 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8754 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8755 and CLOCK_BOOTTIME_ALARM.
8758 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8761 * string/_strerror.c (__strerror_r): Print negative errors as signed
8765 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8766 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8767 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8769 * configure.in: Fix typo in redirection and correct removal of test
8773 * locale/setlocale.c (new_composite_name): Fix test to check for
8774 identical name of all categories.
8777 * libio/filedoalloc.c (local_isatty): New function.
8778 (_IO_file_doallocate): Use local_isatty.
8779 * stdio-common/perror.c (perror): In case a new stream is used
8780 forward the stream error.
8781 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8784 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8789 * include/alloca.h (extend_alloca_account): Define.
8792 * posix/regex.h: Fix comments with documentation of user-accessible
8793 fields after compilation and describe correct free'ing of pattern
8794 after re_compile_pattern.
8795 Patch by Reuben Thomas <rrt@sc3d.org>.
8797 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8799 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8800 and -mno-altivec to prevent the compiler from using Altivec and/or
8801 VSX instructions when the corresponding registers are not available.
8803 2011-05-19 Andreas Schwab <schwab@redhat.com>
8805 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8807 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8809 * libio/freopen.c (freopen): Use __dup2, not dup2.
8810 * libio/freopen64.c (freopen64): Likewise.
8812 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8816 * math/Makefile (tests): Add test-powl.
8817 (CFLAGS-test-powl.c): Define.
8818 * math/test-powl.c: New file.
8820 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8822 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8824 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8827 * iconvdata/gb18030.c: Update to GB18020-2005.
8829 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8831 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8832 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8833 Patch by Aharon Robbins <arnold@skeeve.com>.
8836 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8840 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8844 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8845 point to strings before performing equality test for error_one_per_line
8849 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8853 (struct user_fpregs_struct): Avoid __uint*_t types.
8856 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8857 symbol info. Use it instead of calling _dl_addr locally.
8858 (lock_and_info): New function.
8859 (tr_freehook): Call lock_and_info and pass symbol info as additional
8860 parameter to tr_where.
8861 (tr_mallochook): Likewise.
8862 (tr_reallochook): Likewise.
8863 (tr_memalignhook): Likewise.
8865 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8866 used and couldn't be at all thread-safe.
8868 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8870 * libio/freopen.c (freopen): Don't close old file descriptor
8871 before the new one is opened. Instead dup the new file descriptor
8872 to the old one after the new stream is created.
8873 * libio/freopen64.c (freopen64): Likewise.
8874 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8875 * libio/fileops.c (_IO_new_file_close_it): Handle new
8876 _IO_FLAGS2_NOCLOSE flag.
8877 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8878 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8879 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8880 _IO_FLAGS2_NOCLOSE flag.
8881 * include/unistd.h: Add hidden_proto for dup3.
8883 * io/dup3.c: Define hidden symbol.
8884 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8887 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8888 when an incomplete long option is used.
8889 * posix/tst-getopt_long1.c: New file.
8890 * posix/Makefile (tests): Add tst-getopt_long1.
8893 * scripts/config.guess: Update from autoconf-2.68.
8894 * scripts/config.sub: Likewise.
8897 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8899 (has_cpuclock): ...this. New function.
8900 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8901 macro here based on has_cpuclock code.
8904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8905 First byte (not low byte) is now always NUL.
8906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8909 Use non-cancelable interfaces.
8912 * locale/iso-639.def: Add entry for Sorani.
8915 * include/stdlib.h: Move include protection to the right place.
8916 Define abort_msg_s. Declare __abort_msg with it.
8917 * stdlib/abort.c (__abort_msg): Adjust type.
8918 * assert/assert.c (__assert_fail_base): New function. Majority
8919 of code from __assert_fail. Allocate memory for __abort_msg with
8921 (__assert_fail): Now call __assert_fail_base.
8922 * assert/assert-perr.c: Remove bulk of implementation. Use
8924 * include/assert.hL Declare __assert_fail_base.
8925 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8927 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8929 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8933 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8934 until all modules are registered in the DTV.
8935 * elf/Makefile: Add rules to build and run tst-tls19.
8936 * elf/tst-tls19.c: New file.
8937 * elf/tst-tls19mod1.c: New file.
8938 * elf/tst-tls19mod2.c: New file.
8939 * elf/tst-tls19mod3.c: New file.
8940 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8943 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8947 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8948 two-byte sequence errors.
8949 * iconvdata/Makefile (tests): Add bug-iconv8.
8950 * iconvdata/bug-iconv8.c: New file.
8953 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8956 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8959 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8960 (dummy_getcfa): New function.
8961 (init): Get _Unwind_GetCFA address, use dummy if not found.
8962 (backtrace_helper): In recursion check, also check whether CFA changes.
8963 (__backtrace): Completely initialize arg.
8965 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8966 storing incomplete byte sequence in state object. Avoid testing for
8967 guaranteed too small input if we know there is enough data available.
8969 2011-05-11 Andreas Schwab <schwab@redhat.com>
8971 * Makeconfig (+link-pie): Indent.
8972 * Rules (binaries-pie): Define if $(have-fpie) and
8974 (binaries-shared): Also filter out $(binaries-pie).
8975 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8976 * nscd/Makefile (others-pie): Add nscd.
8977 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8978 ($(objpfx)nscd): Remove command override.
8979 * login/Makefile (others-pie): Add pt_chown.
8980 ($(objpfx)pt_chown): Remove command override.
8981 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8982 remove command overrides.
8984 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8986 * libio/tst_putwc.c: Fix error messages.
8989 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8990 currently writing and seek to current position when not.
8991 * libio/Makefile (tests): Add bug-fclose1.
8992 * libio/bug-fclose1.c: New file.
8994 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8997 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8998 don't set DF_1_NODELETE here.
8999 (do_lookup_x): When entering new entry test for copy relocation
9000 and if necessary set DF_1_NODELETE flag.
9001 * elf/tst-unique4.cc: New file.
9002 * elf/tst-unique4.h: New file.
9003 * elf/tst-unique4lib.cc: New file.
9004 * elf/Makefile: Add rules to build and run tst-unique4.
9005 Patch by Piotr Bury <pbury@goahead.com>.
9007 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9010 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9013 * misc/mntent_r.c (addmntent): Flush the stream after the output
9016 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9017 (is_trusted_path_normalize): Skip initial colon. Append slash
9018 to empty buffer. Duplicate is_trusted_path code but allow
9019 constructed patch to be prefix.
9020 (is_dst): Allow $ORIGIN followed by /.
9021 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9022 Correct testing of result of is_trusted_path_normalize
9023 (decompose_rpath): Fix warning.
9025 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9028 * grp/initgroups.c (internal_getgrouplist): When we found the service
9029 list through the initgroups entry in nsswitch.conf do not always
9030 continue on a successful lookup. Don't always use the
9031 __nss_group_database value if it is set.
9032 * nss/nsswitch.conf (initgroups): Change action for successful db
9033 lookup to continue for compatibility.
9035 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9038 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9040 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9042 * iconvdata/tst-tables.sh: Likewise.
9043 * iconvdata/cp770.c: New file.
9044 * iconvdata/cp771.c: New file.
9045 * iconvdata/cp772.c: New file.
9046 * iconvdata/cp773.c: New file.
9047 * iconvdata/cp774.c: New file.
9048 * iconvdata/testdata/CP770: New file.
9049 * iconvdata/testdata/CP770..UTF8: New file.
9050 * iconvdata/testdata/CP771: New file.
9051 * iconvdata/testdata/CP771..UTF8: New file.
9052 * iconvdata/testdata/CP772: New file.
9053 * iconvdata/testdata/CP772..UTF8: New file.
9054 * iconvdata/testdata/CP773: New file.
9055 * iconvdata/testdata/CP773..UTF8: New file.
9056 * iconvdata/testdata/CP774: New file.
9057 * iconvdata/testdata/CP774..UTF8: New file.
9059 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9061 * iconvdata/gen-8bit-gap.sh: Likewise.
9062 * iconvdata/gen-8bit.sh: Likewise.
9064 * locale/iso-639.def: Add ary entry.
9067 * locale/C-translit.h.in: Add U20A1 transliteration.
9070 * locale/iso-639.def: Add wae entry.
9071 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9074 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9078 * locale/C-translit.h.in: Add entry for U20B9.
9079 Patch by pravin.d.s@gmail.com.
9081 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9084 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9085 ENAMETOOLONG use generic getcwd.
9086 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9087 in rtld. Use *stat64.
9088 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9089 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9090 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9091 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9092 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9093 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9094 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9096 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9097 * dirent/rewinddir.c: Add libc_hidden_def.
9098 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9099 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9101 * include/dirent.h (__alloc_dir): Add flags parameter.
9102 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9103 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9105 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9106 from fdopendir if O_CLOEXEC is already set.
9108 2011-03-15 Alan Modra <amodra@gmail.com>
9110 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9111 l_tls_firstbyte_offset non-zero. Save padding offset in
9112 l_tls_firstbyte_offset for later use.
9113 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9114 freeing static tls block.
9116 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9118 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9119 where #ifdef was intended. The intent is to prevent ARG_MAX from
9120 being defined by the kernel headers.
9122 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9125 * resolv/resolv.h: Define RES_NOTLDQUERY.
9126 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9127 no-tld-query and set RES_NOTLDQUERY.
9128 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9129 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9130 modern BIND to search name as TLD unless forbidden.
9132 2011-05-07 Petr Baudis <pasky@suse.cz>
9133 Ulrich Drepper <drepper@gmail.com>
9136 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9137 (is_trusted_path): ...to here.
9138 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9139 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9140 using is_trusted_path_normalize() in setuid scripts.
9142 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9144 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9145 __BEGIN/__END_DECLS.
9147 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9150 NSS_STATUS_NOTFOUND if no record was found.
9152 2011-05-05 Andreas Schwab <schwab@redhat.com>
9154 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9155 (headers-not-in-tirpc): Remove rpc/netdb.h
9156 * resolv/netdb.h: Revert last change.
9158 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9160 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9161 circular dependency between libgcc.a and libc.a.
9163 2011-05-05 Andreas Schwab <schwab@redhat.com>
9165 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9166 * nis/Makefile: Don't install rpcsvc/*.
9167 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9168 instead of <rpc/types.h>.
9169 (MAXHOSTNAMELEN): Define.
9171 2011-05-03 Andreas Schwab <schwab@redhat.com>
9173 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9175 2011-04-28 Maciej Babinski <mbabinski@google.com>
9178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9179 gethostbyname4_r when IPv6 results are possible.
9181 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9184 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9185 _PC_PIPE_BUF handling.
9187 2011-04-30 Bruno Haible <bruno@clisp.org>
9190 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9191 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9193 * inet/getnameinfo.c (getnameinfo): Likewise.
9195 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9197 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9198 to groups setting in database lookup.
9199 * nss/nsswitch.conf: Add initgroups entry.
9201 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9204 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9206 Patch by Eric Blake <eblake@redhat.com>.
9208 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9210 * sunrpc/Makefile (need-export-routines): Add svc_run.
9211 (routines): Remove svc_run.
9212 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9213 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9214 * sunrpc/svc_run.c (svc_run): Likewise.
9215 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9217 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9220 problem in reallocation in last patch.
9222 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9224 * sunrpc/Makefile: Move inclusion of Rules.
9226 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9228 * nss/nss_files/files-initgroups.c: New file.
9229 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9230 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9231 _nss_files_initgroups_dyn.
9233 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9235 * elf/elf.h (R_ARM_IRELATIVE): Define.
9237 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9239 * po/ru.po: Update from translation team.
9241 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9243 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9246 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9249 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9250 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9255 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9257 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9259 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9261 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9263 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9266 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9268 * stdlib/bug-getcontext.c: New file.
9269 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9271 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9273 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9274 instructions into .machine "z9-109".
9275 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9276 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9278 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9280 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9281 between environment variables and auxiliary vector.
9283 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9285 * Makefile: Add rules to build linkobj/libc.so.
9286 * include/libc-symbols.h: Define libc_hidden_nolink.
9287 * include/rpc/auth.h: Mark functions which are to be hidden.
9288 * include/rpc/auth_des.h: Likewise.
9289 * include/rpc/auth_unix.h: Likewise.
9290 * include/rpc/clnt.h: Likewise.
9291 * include/rpc/des_crypt.h: Likewise.
9292 * include/rpc/key_prot.h: Likewise.
9293 * include/rpc/pmap_clnt.h: Likewise.
9294 * include/rpc/pmap_prot.h: Likewise.
9295 * include/rpc/pmap_rmt.h: Likewise.
9296 * include/rpc/rpc_msg.h: Likewise.
9297 * include/rpc/svc.h: Likewise.
9298 * include/rpc/svc_auth.h: Likewise.
9299 * include/rpc/xdr.h: Likewise.
9300 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9301 * nss/Makefile: Likewise.
9302 * sunrpc/Makefile: Don't install headers. Build library with normal
9303 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9304 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9305 for the compat linking library. Remove use of INTDEF/INTUSE.
9306 * sunrpc/auth_none.c: Likewise.
9307 * sunrpc/auth_unix.c: Likewise.
9308 * sunrpc/authdes_prot.c: Likewise.
9309 * sunrpc/authuxprot.c: Likewise.
9310 * sunrpc/clnt_gen.c: Likewise.
9311 * sunrpc/clnt_perr.c: Likewise.
9312 * sunrpc/clnt_raw.c: Likewise.
9313 * sunrpc/clnt_simp.c: Likewise.
9314 * sunrpc/clnt_tcp.c: Likewise.
9315 * sunrpc/clnt_udp.c: Likewise.
9316 * sunrpc/clnt_unix.c: Likewise.
9317 * sunrpc/des_crypt.c: Likewise.
9318 * sunrpc/des_soft.c: Likewise.
9319 * sunrpc/get_myaddr.c: Likewise.
9320 * sunrpc/key_call.c: Likewise.
9321 * sunrpc/key_prot.c: Likewise.
9322 * sunrpc/netname.c: Likewise.
9323 * sunrpc/pm_getmaps.c: Likewise.
9324 * sunrpc/pm_getport.c: Likewise.
9325 * sunrpc/pmap_clnt.c: Likewise.
9326 * sunrpc/pmap_prot.c: Likewise.
9327 * sunrpc/pmap_prot2.c: Likewise.
9328 * sunrpc/pmap_rmt.c: Likewise.
9329 * sunrpc/publickey.c: Likewise.
9330 * sunrpc/rpc_cmsg.c: Likewise.
9331 * sunrpc/rpc_common.c: Likewise.
9332 * sunrpc/rpc_dtable.c: Likewise.
9333 * sunrpc/rpc_prot.c: Likewise.
9334 * sunrpc/rpc_thread.c: Likewise.
9335 * sunrpc/rtime.c: Likewise.
9336 * sunrpc/svc.c: Likewise.
9337 * sunrpc/svc_auth.c: Likewise.
9338 * sunrpc/svc_authux.c: Likewise.
9339 * sunrpc/svc_raw.c: Likewise.
9340 * sunrpc/svc_run.c: Likewise.
9341 * sunrpc/svc_simple.c: Likewise.
9342 * sunrpc/svc_tcp.c: Likewise.
9343 * sunrpc/svc_udp.c: Likewise.
9344 * sunrpc/svc_unix.c: Likewise.
9345 * sunrpc/svcauth_des.c: Likewise.
9346 * sunrpc/xcrypt.c: Likewise.
9347 * sunrpc/xdr.c: Likewise.
9348 * sunrpc/xdr_array.c: Likewise.
9349 * sunrpc/xdr_float.c: Likewise.
9350 * sunrpc/xdr_intXX_t.c: Likewise.
9351 * sunrpc/xdr_mem.c: Likewise.
9352 * sunrpc/xdr_rec.c: Likewise.
9353 * sunrpc/xdr_ref.c: Likewise.
9354 * sunrpc/xdr_sizeof.c: Likewise.
9355 * sunrpc/xdr_stdio.c: Likewise.
9357 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9360 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9361 * sysdeps/ia64/dl-tls.h: Likewise.
9362 * sysdeps/powerpc/dl-tls.h: Likewise.
9363 * sysdeps/s390/dl-tls.h: Likewise.
9364 * sysdeps/sh/dl-tls.h: Likewise.
9365 * sysdeps/sparc/dl-tls.h: Likewise.
9366 * sysdeps/x86_64/dl-tls.h: Likewise.
9367 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9369 2011-03-14 Andreas Schwab <schwab@redhat.com>
9371 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9372 rpath element also skip the following colon.
9373 (expand_dynamic_string_token): Add is_path parameter and pass
9374 down to DL_DST_REQUIRED and _dl_dst_substitute.
9375 (decompose_rpath): Call expand_dynamic_string_token with
9376 non-zero is_path. Ignore empty rpaths.
9377 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9380 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9385 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9388 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9389 Patch by Filipe David Manana <fdmanana@apache.org>.
9391 2011-04-07 Andreas Schwab <schwab@redhat.com>
9393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9394 Maintain aligned stack.
9395 (CHECK_RSP): Remove unused macro.
9397 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9399 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9400 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9402 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9404 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9406 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9408 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9411 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9412 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9413 * sysdeps/x86_64/memmove.c: New file.
9414 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9415 (memcpy): Renamed to ...
9416 (__new_memcpy): This.
9417 (memcpy): Provide GLIBC_2_14 memcpy.
9418 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9419 (memcpy): Provide GLIBC_2_2_5 memcpy.
9421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9424 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9426 2011-03-30 Andreas Schwab <schwab@redhat.com>
9428 * misc/syncfs.c: New file.
9429 * misc/Makefile (routines): Add syncfs.
9430 * posix/unistd.h: Declare syncfs.
9431 * sysdeps/unix/syscalls.list: Add syncfs.
9433 2011-04-01 Andreas Schwab <schwab@redhat.com>
9435 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9442 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9445 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9449 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9455 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9456 sync_file_range.c with -fexceptions.
9457 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9458 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9459 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9460 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9461 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9462 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9464 sync_file_range as cancellation point
9465 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9466 now a wrapper around __call_sync_file_range with cancellation handling.
9467 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9468 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9469 function name to __call_sync_file_range.
9470 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9471 Add call_sync_file_range.
9473 2011-04-01 Andreas Schwab <schwab@redhat.com>
9475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9478 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9480 * iconv/iconv.h: Fix typo in comment.
9481 * io/fcntl.h: Likewise.
9482 * libio/stdio.h: Likewise.
9483 * posix/spawn.h: Likewise.
9484 * posix/unistd.h: Likewise.
9485 * stdlib/stdlib.h: Likewise.
9486 * time/time.h: Likewise.
9487 * wcsmbs/wchar.h: Likewise.
9489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9490 open_by_handle): Add.
9491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9492 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9493 Augment a few comments.
9494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9499 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9502 * io/fcntl.h (AT_EMPTY_PATH): Define.
9504 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9506 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9507 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9508 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9510 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9511 * Versions.def: Add GLIBC_2.14.
9512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9515 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9519 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9521 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9524 * string/test-strncmp.c (do_page_test): New function.
9526 (test_main): Call check2.
9527 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9529 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9532 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9533 Handle cache information in CPU leaf 4.
9534 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9536 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9539 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9540 character representation.
9541 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9543 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9545 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9546 END(__isnan) to END(__isnanf) to match function entry point/label
9547 EALIGN(__isnanf,...).
9549 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9551 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9553 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9556 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9557 copy from the symbol referenced in the relocation to initialize the
9559 Patch by Piotr Bury <pbury@goahead.com>.
9560 * elf/Makefile: Add rules to build and tst-unique3.
9561 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9562 * elf/tst-unique3.cc: New file.
9563 * elf/tst-unique3.h: New file.
9564 * elf/tst-unique3lib.cc: New file.
9565 * elf/tst-unique3lib2.cc: New file.
9567 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9569 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9571 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9572 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9575 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9577 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9578 to-be-loaded object along a path to loader is ld.so.
9580 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9581 Ulrich Drepper <drepper@gmail.com>
9583 * sysdeps/x86_64/memset.S: After aligning destination, code
9584 branches to different locations depending on the value of
9585 misalignment, when multiarch is enabled. Fix this.
9587 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9589 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9590 Set _x86_64_preferred_memory_instruction for AMD processsors.
9591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9592 Set bit_Prefer_SSE_for_memop for AMD processors.
9594 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9596 * libio/fmemopen.c (fmemopen): Optimize a bit.
9598 2011-03-03 Andreas Schwab <schwab@redhat.com>
9600 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9602 2011-03-03 Roland McGrath <roland@redhat.com>
9604 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9606 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9608 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9609 __bzero_ultra1 instead of __memset_ultra1.
9611 2011-02-23 Andreas Schwab <schwab@redhat.com>
9612 Ulrich Drepper <drepper@gmail.com>
9615 * include/link.h (struct link_map): Add l_orig_initfini.
9616 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9617 returning unsuccessfully.
9618 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9619 close of a file loaded at startup, restore the original l_initfini
9621 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9622 list, store the pointer.
9623 * elf/Makefile ($(objpfx)noload-mem): New rule.
9624 (noload-ENV): Define.
9625 (tests): Add $(objpfx)noload-mem.
9626 * elf/noload.c: Include <memcheck.h>.
9627 (main): Call mtrace. Close all opened handles.
9629 2011-02-17 Andreas Schwab <schwab@redhat.com>
9632 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9633 dependencies are missing.
9635 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9637 Fix __if_freereq crash: Unlike the generic version which uses free,
9639 * sysdeps/mach/hurd/ifreq.h: New file.
9641 2011-01-27 Petr Baudis <pasky@suse.cz>
9642 Ulrich Drepper <drepper@gmail.com>
9645 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9647 * stdio-common/bug23.c: New file.
9648 * stdio-common/Makefile (tests): Add bug23.
9650 2010-09-28 Andreas Schwab <schwab@redhat.com>
9651 Ulrich Drepper <drepper@gmail.com>
9654 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9655 before performing relro protection. At old place add assertion
9656 to make sure nothing changed.
9658 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9659 Glauber de Oliveira Costa <glommer@gmail.com>
9661 * elf/elf.h: Add new ARM TLS relocs.
9663 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9666 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9668 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9670 * sysdeps/wordsize-64/tst-writev.c: New file.
9672 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9674 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9675 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9676 insns in _dl_start to prevent a TOC reference before relocs are
9679 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9682 * Makeconfig: Remove RANLIB definition.
9683 * Makerules: Don't use RANLIB.
9684 * aclocal.m4: Remove ranlib test.
9685 * configure.in: No need to check for ranlib.
9686 * elf/rtld-Rules: Don't use RANLIB.
9688 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9690 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9692 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9693 inclusion protection macro.
9695 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9696 SIGRTMIN and SIGRTMAX and print information in that case only when
9697 SIGRTMIN is defined.
9699 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9701 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9702 arginfo fn returning -1.
9704 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9705 and thousands string is zero terminated.
9707 2011-02-03 Andreas Schwab <schwab@redhat.com>
9709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9710 sysdeps/unix/sysv/linux/bits/socket.h.
9712 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9714 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9715 (__CPU_COUNT): Remove old macros.
9716 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9717 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9718 (__CPU_ALLOC, __CPU_FREE): Add macros.
9719 (__sched_cpualloc, __sched_cpufree): Add declarations.
9721 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9723 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9724 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9725 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9726 (readdhstai): Return value of addhstaiX call.
9727 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9728 (addgrbyX): Return value returned by cache_addgr.
9729 (readdgrbyname): Return value returned by addgrbyX.
9730 (readdgrbygid): Likewise.
9731 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9732 (addpwbyX): Return value returned by cache_addpw.
9733 (readdpwbyname): Return value returned by addhstbyX.
9734 (readdpwbyuid): Likewise.
9735 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9736 (addservbyX): Return value returned by cache_addserv.
9737 (readdservbyname): Return value returned by addservbyX:
9738 (readdservbyport): Likewise.
9739 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9740 (addhstbyX): Return value returned by cache_addhst.
9741 (readdhstbyname): Return value returned by addhstbyX.
9742 (readdhstbyaddr): Likewise.
9743 (readdhstbynamev6): Likewise.
9744 (readdhstbyaddrv6): Likewise.
9745 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9746 (readdinitgroups): Return value returned by addinitgroupsX.
9747 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9748 (prune_cache): Keep track of timeout value of re-added entries.
9749 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9750 * nscd/nscd.h: Adjust prototypes of readd* functions.
9752 2011-02-04 Roland McGrath <roland@redhat.com>
9754 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9755 (nis_stats): Likewise.
9756 * nis/nis_modify.c (nis_modify): Likewise.
9757 * nis/nis_remove.c (nis_remove): Likewise.
9758 * nis/nis_add.c (nis_add): Likewise.
9760 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9762 * posix/fnmatch_loop.c: Add some consts.
9764 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9766 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9769 * config.make.in (config-cflags-novzeroupper): Define.
9770 * configure.in: Substitute libc_cv_cc_novzeroupper.
9771 * elf/Makefile (AVX-CFLAGS): Define.
9772 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9773 (CFLAGS-tst-auditmod4a.c): Likewise.
9774 (CFLAGS-tst-auditmod4b.c): Likewise.
9775 (CFLAGS-tst-auditmod6b.c): Likewise.
9776 (CFLAGS-tst-auditmod6c.c): Likewise.
9777 (CFLAGS-tst-auditmod7b.c): Likewise.
9778 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9780 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9782 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9783 function to the callback.
9784 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9786 2011-02-02 Andreas Schwab <schwab@redhat.com>
9788 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9791 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9794 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9796 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9798 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9801 * elf/Makefile: Add rules to build and run new test.
9802 * elf/tst-initorder.c: New file.
9803 * elf/tst-initorder.exp: New file.
9804 * elf/tst-initordera1.c: New file.
9805 * elf/tst-initordera2.c: New file.
9806 * elf/tst-initordera3.c: New file.
9807 * elf/tst-initordera4.c: New file.
9808 * elf/tst-initorderb1.c: New file.
9809 * elf/tst-initorderb2.c: New file.
9810 * elf/tst-order-a1.c: New file.
9811 * elf/tst-order-a2.c: New file.
9812 * elf/tst-order-a3.c: New file.
9813 * elf/tst-order-a4.c: New file.
9814 * elf/tst-order-b1.c: New file.
9815 * elf/tst-order-b2.c: New file.
9816 * elf/tst-order-main.c: New file.
9817 New test case by George Gensure <werkt0@gmail.com>.
9819 2010-10-01 Andreas Schwab <schwab@redhat.com>
9821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9822 decoding ACE if AI_CANONIDN.
9824 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9826 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9828 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9830 * version.h (RELEASE): Bump for 2.13 release.
9831 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9833 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9837 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9838 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9840 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9842 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9844 * posix/getconf.c: Update copyright year.
9845 * catgets/gencat.c: Likewise.
9846 * csu/version.c: Likewise.
9847 * debug/catchsegv.sh: Likewise.
9848 * debug/xtrace.sh: Likewise.
9849 * elf/ldconfig.c: Likewise.
9850 * elf/ldd.bash.in: Likewise.
9851 * elf/sprof.c (print_version): Likewise.
9852 * iconv/iconv_prog.c: Likewise.
9853 * iconv/iconvconfig.c: Likewise.
9854 * locale/programs/locale.c: Likewise.
9855 * locale/programs/localedef.c: Likewise.
9856 * malloc/memusage.sh: Likewise.
9857 * malloc/mtrace.pl: Likewise.
9858 * nscd/nscd.c (print_version): Likewise.
9859 * nss/getent.c: Likewise.
9861 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9862 PF_CAIF, and PF_ALG.
9863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9865 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9867 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9868 (modules-names): Use them.
9869 (ifunc-test-modules, ifunc-pie-tests): Define.
9870 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9871 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9872 (test-extras): Likewise.
9873 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9874 $(compile-command.c).
9875 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9876 (all-built-dso): Define.
9877 (check-textrel.out, check-execstack.out): Depend on it.
9879 * configure.in: Don't override --enable-multi-arch.
9881 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9884 * nscd/hstcache.c (tryagain): Define.
9885 (cache_addhst): Return tryagain not notfound for temporary errors.
9886 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9889 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9892 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9893 to make the syscall.
9894 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9897 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9898 and fall back to matching as normal character if the string ends before
9899 the matching ']' is found. This is what POSIX requires.
9900 * posix/testfnm.c: Adjust test result.
9901 * posix/globtest.sh: Adjust test result. Add new test.
9902 * posix/tst-fnmatch.input: Likewise.
9903 * posix/tst-fnmatch2.c: Add new test.
9905 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9907 * elf/Makefile (check-execstack): Revert last change. Depend on
9909 (check-execstack.h): New target.
9910 (generated): Add check-execstack.h.
9911 * elf/check-execstack.c: Include "check-execstack.h".
9912 (main): Revert last change.
9913 (handle_file): Return zero if GNU_STACK is absent and
9914 DEFAULT_STACK_PERMS doesn't include PF_X.
9916 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9918 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9919 in child fails because the descriptor is already closed.
9920 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9921 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9925 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9929 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9930 temporary buffer used to handle multi lookups locally.
9931 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9933 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9935 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9938 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9940 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9943 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9946 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9947 characters. When rounding increased number of integer digits recompute
9949 * stdio-common/tst-grouping.c: New file.
9950 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9952 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9954 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9955 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9957 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9959 * bits/select.h: Likewise.
9961 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9963 * po/ja.po: Update from translation team.
9965 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9968 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9969 implementation just like for lxstat, fxstatat, et al.
9971 2010-12-27 Jim Meyering <meyering@redhat.com>
9974 * posix/regexec.c (build_trtable): Return failure indication upon
9975 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9977 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9980 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9981 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9982 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9986 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9989 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9990 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9992 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9994 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9995 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9996 script has SORT_BY_INIT_PRIORITY.
9997 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9998 NO_CTORS_DTORS_SECTIONS is defined.
9999 * elf/soinit.c: Likewise.
10000 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10001 NO_CTORS_DTORS_SECTIONS is defined.
10002 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10003 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10004 * sysdeps/sh/init-first.c: Likewise.
10005 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10007 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10009 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10010 always use the slow path.
10012 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10014 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10015 similar rule which adds the sysdep directories to the header search in
10016 order to pick up the correct platform stackinfo.h.
10017 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10018 perform test if it is, otherwise return successfully without testing.
10019 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10020 DEFAULT_STACK_PERMS define in stackinfo.h.
10021 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10022 defined in stackinfo.h.
10023 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10024 DEFAULT_STACK_PERMS defined in stackinfo.h.
10025 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10026 * sysdeps/ia64/stackinfo.h: Likewise.
10027 * sysdeps/s390/stackinfo.h: Likewise.
10028 * sysdeps/sh/stackinfo.h: Likewise.
10029 * sysdeps/sparc/stackinfo.h: Likewise.
10030 * sysdeps/x86_64/stackinfo.h: Likewise.
10031 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10032 PF_X for powerpc64. Retain PF_X for powerpc32.
10034 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10036 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10038 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10039 GETDENTS_64BIT_ALIGNED.
10041 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10043 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10045 2010-12-10 Andreas Schwab <schwab@redhat.com>
10047 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10050 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10051 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10053 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10054 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10056 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10059 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10062 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10064 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10066 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10068 * po/it.po: Update from translation team.
10070 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10075 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10077 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10079 2010-11-24 Andreas Schwab <schwab@redhat.com>
10081 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10083 (gaih_getanswer_slice): Likewise.
10085 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10089 2010-05-31 Petr Baudis <pasky@suse.cz>
10092 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10093 silently even in the chroot mode.
10095 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10097 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10098 last patch a bit. Pretty printing
10100 2010-05-31 Petr Baudis <pasky@suse.cz>
10103 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10104 initialization of skip_initgroups_dyn.
10106 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10108 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10111 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10113 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10115 2010-11-11 Andreas Schwab <schwab@redhat.com>
10117 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10118 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10119 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10120 ($(objpfx)tst-fnmatch-mem): New rule.
10121 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10122 * posix/tst-fnmatch.c (main): Call mtrace.
10124 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10127 Support Intel processor model 6 and model 0x2c.
10129 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10131 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10134 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10137 * string/test-strncasecmp.c (check_result): New function.
10138 (do_one_test): Use it.
10139 (check1): New function.
10140 (test_main): Use it.
10141 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10142 Support strcasecmp and strncasecmp.
10144 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10147 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10150 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10152 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10156 * sysdeps/x86_64/multiarch/bzero.S: New file.
10157 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10158 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10159 * sysdeps/x86_64/multiarch/memset.S: New file.
10160 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10162 Set bit_Prefer_SSE_for_memop for Intel processors.
10163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10165 (index_Prefer_SSE_for_memop): Define.
10166 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10168 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10170 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10171 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10173 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10176 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10177 (__x86_64_raw_data_cache_size_half): Likewise.
10178 (__x86_64_raw_shared_cache_size): Likewise.
10179 (__x86_64_raw_shared_cache_size_half): Likewise.
10181 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10182 (__x86_64_raw_data_cache_size_half): Likewise.
10183 (__x86_64_raw_shared_cache_size): Likewise.
10184 (__x86_64_raw_shared_cache_size_half): Likewise.
10185 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10186 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10187 and __x86_64_raw_shared_cache_size_half. Round
10188 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10189 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10190 to multiple of 256 bytes.
10192 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10195 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10196 of inacessible symlinks. Verify result of symlink before returning it.
10197 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10198 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10200 2010-10-28 Erich Ritz <erichritz@gmail.com>
10202 * math/math.h (isinf): Fix typo in comment.
10204 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10206 * po/da.po: Update from translation team.
10208 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10210 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10211 is added to the list.
10213 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10214 Ulrich Drepper <drepper@gmail.com>
10216 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10217 the global list here. Move code to...
10218 (_dl_add_to_namespace_list): ...here. New function.
10219 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10220 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10221 * elf/dl-load.c (lose): Don't remove the element from the list.
10222 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10223 (_dl_map_object): Likewise.
10225 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10228 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10229 into all bytes of SSE register.
10230 Patch by Richard Li <richardpku@gmail.com>.
10232 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10235 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10238 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10240 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10241 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10242 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10243 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10248 2010-10-22 Andreas Schwab <schwab@redhat.com>
10250 * include/dlfcn.h (__RTLD_SECURE): Define.
10251 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10252 mode & __RTLD_SECURE instead.
10253 (open_path): Rename preloaded parameter to secure.
10254 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10255 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10256 * elf/dl-deps.c (openaux): Likewise.
10257 * elf/rtld.c (struct map_args): Remove is_preloaded.
10258 (map_doit): Don't use it.
10259 (dl_main): Likewise.
10260 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10261 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10263 2010-09-09 Andreas Schwab <schwab@redhat.com>
10265 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10266 (sysd-rules-targets): Remove duplicates.
10267 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10268 rtld-%.$o dependency.
10270 2010-10-18 Andreas Schwab <schwab@redhat.com>
10272 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10273 _dl_map_object do it.
10275 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10277 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10278 fast fma builtins, define the macros in the C99 standard.
10279 (FP_FAST_FMAF): Likewise.
10280 (FP_FAST_FMAL): Likewise.
10281 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10283 * bits/mathdef.h: Update copyright year.
10284 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10286 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10288 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10289 builtins, define the macros in the C99 standard.
10290 (FP_FAST_FMAF): Likewise.
10291 (FP_FAST_FMAL): Likewise.
10292 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10294 (FP_FAST_FMAF): Likewise.
10296 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10299 * math/libm-test.inc (fma_test): Some new testcases.
10300 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10301 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10302 y and infinite z. Do multiplication by C already in long double.
10303 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10305 y and infinite z. Do bitwise or of inexact bit into u.d.
10306 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10307 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10308 * sysdeps/i386/fpu/s_fma.S: Removed.
10309 * sysdeps/i386/fpu/s_fmal.S: Removed.
10311 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10314 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10316 computation is not scheduled after fetestexcept. Fix value
10317 of minimum denormal long double.
10319 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10322 * math/libm-test.inc (fma_test): Add some more tests.
10323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10326 2010-10-15 Andreas Schwab <schwab@redhat.com>
10328 * scripts/data/localplt-s390-linux-gnu.data: New file.
10329 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10331 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10334 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10335 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10337 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10339 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10341 if one of x and y is very large and the other is subnormal.
10342 * sysdeps/s390/fpu/s_fmaf.c: New file.
10343 * sysdeps/s390/fpu/s_fma.c: New file.
10344 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10345 * sysdeps/powerpc/fpu/s_fma.S: New file.
10346 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10347 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10348 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10350 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10353 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10355 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10356 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10357 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10358 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10359 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10360 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10361 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10363 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10366 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10367 * posix/bug-regex31.input: Add test case.
10369 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10371 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10372 * posix/bug-regex31.input: New file.
10375 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10376 (parse_sub_exp): Fix last change, use postorder.
10378 * posix/bug-regex31.c: New file.
10379 * posix/Makefile: Add rules to build and run bug-regex31.
10381 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10384 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10387 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10388 to have entries in sys_siglist.
10391 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10394 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10397 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10398 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10399 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10400 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10401 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10402 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10403 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10404 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10405 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10406 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10407 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10408 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10409 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10410 * math/ftestexcept.c (fetestexcept): Likewise.
10411 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10412 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10413 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10414 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10415 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10416 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10419 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10422 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10425 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10427 * string/bug-strstr1.c: New file.
10428 * string/Makefile: Add rules to build and run bug-strstr1.
10430 2010-10-05 Eric Blake <eblake@redhat.com>
10433 * string/str-two-way.h (two_way_long_needle): Always clear memory
10434 when skipping input due to the shift table.
10436 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10439 * malloc/mcheck.c: Handle large requests.
10442 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10443 for strncmp and strncasecmp.
10444 * string/stratcliff.c: Add tests for strcmp and strncmp.
10445 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10447 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10449 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10452 2010-09-30 Andreas Jaeger <aj@suse.de>
10454 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10455 (CGROUP_SUPER_MAGIC): Define.
10456 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10457 Handle btrfs and cgroup file systems.
10458 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10461 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10463 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10464 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10466 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10469 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10470 trying to locate the ELF header.
10472 2010-09-27 Andreas Schwab <schwab@redhat.com>
10475 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10476 Mask out sign-bit copies when constructing f_fsid.
10478 2010-09-24 Petr Baudis <pasky@suse.cz>
10480 * debug/stack_chk_fail_local.c: Add missing licence exception.
10481 * debug/warning-nop.c: Likewise.
10483 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10485 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10486 implementing getdents64 using getdents syscall, set d_type if
10487 __ASSUME_GETDENTS32_D_TYPE.
10489 2010-09-16 Andreas Schwab <schwab@redhat.com>
10491 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10492 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10494 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10497 * posix/unistd.h: Undo change of feature selection for ftruncate from
10500 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10502 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10505 2010-09-20 Andreas Schwab <schwab@redhat.com>
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10511 2010-09-14 Andreas Schwab <schwab@redhat.com>
10513 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10514 variables after CHECK_SP call.
10515 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10517 2010-09-13 Andreas Schwab <schwab@redhat.com>
10518 Ulrich Drepper <drepper@redhat.com>
10520 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10521 re-relocationg ld.so.
10522 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10523 _dl_init_paths call.
10524 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10527 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10529 * resolv/res_init.c (__res_vinit): Count the default server we added.
10531 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10532 Ulrich Drepper <drepper@redhat.com>
10535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10536 (____longjmp_chk): Use %ebx for saving value across system call.
10539 2010-09-06 Andreas Schwab <schwab@redhat.com>
10541 * manual/Makefile: Don't mix pattern rules with normal rules.
10543 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10545 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10547 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10548 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10549 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10550 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10554 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10557 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10558 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10560 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10562 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10563 * sysdeps/x86_64/addmul_1.S: Likewise.
10564 * sysdeps/x86_64/lshift.S: Likewise.
10565 * sysdeps/x86_64/mul_1.S: Likewise.
10566 * sysdeps/x86_64/rshift.S: Likewise.
10567 * sysdeps/x86_64/sub_n.S: Likewise.
10568 * sysdeps/x86_64/submul_1.S: Likewise.
10570 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10572 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10573 Define __sched_param instead of SCHED_* and sched_param when
10574 <bits/sched.h> is included with __need_schedparam defined.
10575 * bits/sched.h [__need_schedparam]
10576 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10577 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10578 (__defined_schedparam): Define to 1.
10579 (__sched_param): New structure, identical to sched_param.
10580 (__need_schedparam): Undefine.
10582 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10585 (epoll_create1): Declare.
10587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10589 2010-08-31 Andreas Schwab <schwab@redhat.com>
10592 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10593 shifting retval into place.
10595 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10597 * nis/rpcsvc/nis.h: Update copyright notice.
10598 * nis/rpcsvc/nis.x: Likewise.
10599 * nis/rpcsvc/nis_callback.h: Likewise.
10600 * nis/rpcsvc/nis_callback.x: Likewise.
10601 * nis/rpcsvc/nis_object.x: Likewise.
10602 * nis/rpcsvc/nis_tags.h: Likewise.
10603 * nis/rpcsvc/yp.h: Likewise.
10604 * nis/rpcsvc/yp.x: Likewise.
10605 * nis/rpcsvc/ypupd.h: Likewise.
10606 * nis/yp_xdr.c: Likewise.
10607 * nis/ypupdate_xdr.c: Likewise.
10609 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10610 mainly the body of pmap_getport. Add parameters to specify timeouts.
10611 (pmap_getport): Use __libc_rpc_getport.
10612 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10613 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10614 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10616 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10621 2010-08-27 Roland McGrath <roland@redhat.com>
10623 * sysdeps/i386/i686/multiarch/Makefile
10624 (CFLAGS-varshift.c): New variable.
10626 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10628 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10629 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10633 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10635 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10637 * sysdeps/x86_64/strlen.S: Unroll the loop.
10638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10639 strlen-sse2 strlen-sse2-bsf.
10640 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10641 __strlen_no_bsf if bit_Slow_BSF is set.
10642 (__strlen_sse42): Removed.
10643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10644 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10646 2010-08-25 Roland McGrath <roland@redhat.com>
10648 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10649 * sysdeps/x86_64/multiarch/varshift.c: New file.
10650 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10651 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10652 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10653 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10655 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10658 strlen-sse2 strlen-sse2-bsf.
10659 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10660 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10661 (__strlen_sse2): Removed.
10662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10665 bit_Slow_BSF for Atom.
10666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10667 (index_Slow_BSF): Define.
10668 (HAS_SLOW_BSF): Define.
10670 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10673 * resolv/res_init.c (__res_vinit): When no server address at all
10674 is given default to loopback.
10676 2010-08-24 Roland McGrath <roland@redhat.com>
10678 * configure.in: Remove config-name.h generation.
10679 * configure: Regenerated.
10680 * config-name.in: File removed.
10681 * scripts/config-uname.sh: New file.
10682 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10683 ($(objdir)config-name.h): New target.
10685 * sunrpc/rpc_parse.h: Avoid nested comment.
10687 2010-08-24 Richard Henderson <rth@redhat.com>
10688 Ulrich Drepper <drepper@redhat.com>
10689 H.J. Lu <hongjiu.lu@intel.com>
10691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10693 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10694 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10695 _mm_alignr_epi8 with _mm_loadu_si128.
10696 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10697 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10698 (__m128i_shift_right): Removed.
10699 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10700 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10701 * sysdeps/x86_64/multiarch/varshift.h: New file.
10702 * sysdeps/x86_64/multiarch/varshift.S: New file.
10704 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10706 * configure.in: Move assembler checks to before sysdep dir checking.
10708 2010-08-20 Petr Baudis <pasky@suse.cz>
10710 * LICENSES: Sync the sunrpc license.
10712 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10714 * sunrpc/auth_des.c: Update copyright notice once again.
10715 * sunrpc/auth_none.c: Likewise.
10716 * sunrpc/auth_unix.c: Likewise.
10717 * sunrpc/authdes_prot.c: Likewise.
10718 * sunrpc/authuxprot.c: Likewise.
10719 * sunrpc/bindrsvprt.c: Likewise.
10720 * sunrpc/clnt_gen.c: Likewise.
10721 * sunrpc/clnt_perr.c: Likewise.
10722 * sunrpc/clnt_raw.c: Likewise.
10723 * sunrpc/clnt_simp.c: Likewise.
10724 * sunrpc/clnt_tcp.c: Likewise.
10725 * sunrpc/clnt_udp.c: Likewise.
10726 * sunrpc/clnt_unix.c: Likewise.
10727 * sunrpc/des_crypt.c: Likewise.
10728 * sunrpc/des_soft.c: Likewise.
10729 * sunrpc/get_myaddr.c: Likewise.
10730 * sunrpc/getrpcport.c: Likewise.
10731 * sunrpc/key_call.c: Likewise.
10732 * sunrpc/key_prot.c: Likewise.
10733 * sunrpc/openchild.c: Likewise.
10734 * sunrpc/pm_getmaps.c: Likewise.
10735 * sunrpc/pm_getport.c: Likewise.
10736 * sunrpc/pmap_clnt.c: Likewise.
10737 * sunrpc/pmap_prot.c: Likewise.
10738 * sunrpc/pmap_prot2.c: Likewise.
10739 * sunrpc/pmap_rmt.c: Likewise.
10740 * sunrpc/rpc/auth.h: Likewise.
10741 * sunrpc/rpc/auth_unix.h: Likewise.
10742 * sunrpc/rpc/clnt.h: Likewise.
10743 * sunrpc/rpc/des_crypt.h: Likewise.
10744 * sunrpc/rpc/key_prot.h: Likewise.
10745 * sunrpc/rpc/netdb.h: Likewise.
10746 * sunrpc/rpc/pmap_clnt.h: Likewise.
10747 * sunrpc/rpc/pmap_prot.h: Likewise.
10748 * sunrpc/rpc/pmap_rmt.h: Likewise.
10749 * sunrpc/rpc/rpc.h: Likewise.
10750 * sunrpc/rpc/rpc_des.h: Likewise.
10751 * sunrpc/rpc/rpc_msg.h: Likewise.
10752 * sunrpc/rpc/svc.h: Likewise.
10753 * sunrpc/rpc/svc_auth.h: Likewise.
10754 * sunrpc/rpc/types.h: Likewise.
10755 * sunrpc/rpc/xdr.h: Likewise.
10756 * sunrpc/rpc_clntout.c: Likewise.
10757 * sunrpc/rpc_cmsg.c: Likewise.
10758 * sunrpc/rpc_common.c: Likewise.
10759 * sunrpc/rpc_cout.c: Likewise.
10760 * sunrpc/rpc_dtable.c: Likewise.
10761 * sunrpc/rpc_hout.c: Likewise.
10762 * sunrpc/rpc_main.c: Likewise.
10763 * sunrpc/rpc_parse.c: Likewise.
10764 * sunrpc/rpc_parse.h: Likewise.
10765 * sunrpc/rpc_prot.c: Likewise.
10766 * sunrpc/rpc_sample.c: Likewise.
10767 * sunrpc/rpc_scan.c: Likewise.
10768 * sunrpc/rpc_scan.h: Likewise.
10769 * sunrpc/rpc_svcout.c: Likewise.
10770 * sunrpc/rpc_tblout.c: Likewise.
10771 * sunrpc/rpc_util.c: Likewise.
10772 * sunrpc/rpc_util.h: Likewise.
10773 * sunrpc/rpcinfo.c: Likewise.
10774 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10775 * sunrpc/rpcsvc/key_prot.x: Likewise.
10776 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10777 * sunrpc/rpcsvc/mount.x: Likewise.
10778 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10779 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10780 * sunrpc/rpcsvc/rex.x: Likewise.
10781 * sunrpc/rpcsvc/rstat.x: Likewise.
10782 * sunrpc/rpcsvc/rusers.x: Likewise.
10783 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10784 * sunrpc/rpcsvc/spray.x: Likewise.
10785 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10786 * sunrpc/rtime.c: Likewise.
10787 * sunrpc/svc.c: Likewise.
10788 * sunrpc/svc_auth.c: Likewise.
10789 * sunrpc/svc_authux.c: Likewise.
10790 * sunrpc/svc_raw.c: Likewise.
10791 * sunrpc/svc_run.c: Likewise.
10792 * sunrpc/svc_simple.c: Likewise.
10793 * sunrpc/svc_tcp.c: Likewise.
10794 * sunrpc/svc_udp.c: Likewise.
10795 * sunrpc/svc_unix.c: Likewise.
10796 * sunrpc/svcauth_des.c: Likewise.
10797 * sunrpc/xcrypt.c: Likewise.
10798 * sunrpc/xdr.c: Likewise.
10799 * sunrpc/xdr_array.c: Likewise.
10800 * sunrpc/xdr_float.c: Likewise.
10801 * sunrpc/xdr_mem.c: Likewise.
10802 * sunrpc/xdr_rec.c: Likewise.
10803 * sunrpc/xdr_ref.c: Likewise.
10804 * sunrpc/xdr_sizeof.c: Likewise.
10805 * sunrpc/xdr_stdio.c: Likewise.
10807 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10810 2010-08-19 Andreas Schwab <schwab@redhat.com>
10812 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10814 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10816 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10817 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10818 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10819 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10820 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10821 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10822 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10823 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10824 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10825 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10826 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10827 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10828 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10829 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10831 2010-07-26 Anton Blanchard <anton@samba.org>
10833 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10834 * malloc/arena.c (heap_trim): Likewise.
10836 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10838 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10841 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10843 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10845 * sysdeps/i386/elf/Makefile: New file.
10847 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10849 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10850 from fanotify_init.
10851 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10854 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10856 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10858 * sysdeps/multiarch/strcmp.S: Likewise.
10860 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10862 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10863 strncase_l-nonascii.
10864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10865 Add strncase_l-ssse3.
10866 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10867 * sysdeps/x86_64/strcmp.S: Likewise.
10868 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10869 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10870 * sysdeps/x86_64/strncase.S: New file.
10871 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10872 * sysdeps/x86_64/strncase_l.S: New file.
10873 * string/Makefile (strop-tests): Add strncasecmp.
10874 * string/test-strncasecmp.c: New file.
10876 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10879 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10882 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10884 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10886 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10888 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10889 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10892 2010-05-01 Alan Modra <amodra@gmail.com>
10894 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10895 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10896 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10897 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10898 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10899 tidying. Don't tail-call __sigjmp_save for static lib.
10900 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10902 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10903 (CALL_MCOUNT): Add eh info, and nop after bl.
10904 (TAIL_CALL_SYSCALL_ERROR): New macro.
10905 (PSEUDO_RET): Use it.
10906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10907 Correct save location of integer regs and cr.
10908 (_dl_profile_resolve): Correct cr save location. Delete nops
10909 after bl when SHARED. Reduce cfi size a little by better
10910 placement of cfi directives.
10911 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10912 make a stack frame. Instead use parm save area as a temp.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10914 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10916 Don't make a stack frame for parent, use parm save area.
10917 Increase child stack frame to 112 bytes. Don't save unused reg,
10918 and adjust reg usage. Set up cfi on error recovery and
10919 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10921 (__makecontext): Add dummy nop after jump to exit.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10923 Use correct parm save area and cr save, reduce stack frame.
10924 Correct cfi for possible PSEUDO_RET frame setup.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10926 Branch to local label emitted by PSEUDO_RET rather than
10929 2010-08-12 Andreas Schwab <schwab@redhat.com>
10932 * locale/programs/locale.c (print_assignment): New function.
10933 (show_locale_vars): Use it.
10935 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10937 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10939 (struct statfs64): Likewise.
10940 (_STATFS_F_FLAGS): Define.
10941 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10943 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10944 (ST_VALID): Define locally.
10945 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10946 __statvfs_getflags, use the provided value.
10947 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10948 __ASSUME_STATFS_F_FLAGS.
10950 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10952 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10953 Add sys/fanotify.h.
10954 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10955 fanotify_mask for GLIBC_2.13.
10956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10957 fanotify_init and fanotify_mark.
10958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10959 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10961 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10963 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10964 prlimit64 for GLIBC_2.13.
10965 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10971 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10975 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10978 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10979 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10981 * nss/Makefile: Add rules to build and run tst-nss-test1.
10982 * shlib-versions: Add entry for libnss_test1.
10983 * nss/nss_test1.c: New file.
10984 * nss/tst-nss-test1.c: New file.
10986 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10987 (__nss_configure_lookup): Set appropriate entry in
10988 __nss_configure_lookup to true.
10989 * nss/nsswitch.h: Define enum with indeces of databases in
10990 databases and __nss_database_custom arrays. Declare
10991 __nss_database_custom.
10992 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10993 to avoid using nscd when custom rules are installed.
10994 * nss/getXXbyYY_r.c: Likewise.
10995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10997 * nss/nss_files/files-parse.c: Whitespace fixes.
10999 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11002 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11003 * posix/fnmatch_loop.c: Likewise.
11005 2010-07-17 Andi Kleen <ak@linux.intel.com>
11007 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11008 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11009 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11010 * Versions.def [GLIBC_2.13]: Add.
11012 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11014 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11015 Also fail if tpwd after pwuid call is NULL.
11017 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11019 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11020 when converting to ms.
11022 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11024 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11025 EOPNOTSUPP errors with ENOTTY.
11026 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11027 EOPNOTSUPP errors with ENOTTY.
11029 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11031 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11032 Add strcasecmp_l-ssse3.
11033 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11035 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11036 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11037 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11039 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11041 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11043 * string/Makefile (strop-tests): Add strcasecmp.
11044 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11045 strcasecmp_l-nonascii.
11046 (gen-as-const-headers): Add locale-defines.sym.
11047 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11048 * sysdeps/x86_64/strcasecmp.S: New file.
11049 * sysdeps/x86_64/strcasecmp_l.S: New file.
11050 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11051 * sysdeps/x86_64/locale-defines.sym: New file.
11052 * string/test-strcasecmp.c: New file.
11054 * string/test-strcasestr.c: Test both ends of the range of characters.
11055 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11057 2010-07-29 Roland McGrath <roland@redhat.com>
11060 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11062 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11064 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11067 2010-07-27 Andreas Schwab <schwab@redhat.com>
11069 * manual/memory.texi (Malloc Tunable Parameters): Document
11072 2010-07-26 Roland McGrath <roland@redhat.com>
11075 * configure.in (-fgnu89-inline check): Set and substitute
11076 gnu89_inline, not libc_cv_gnu89_inline.
11077 * configure: Regenerated.
11078 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11080 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11082 * string/test-strnlen.c: New file.
11083 * string/Makefile (strop-tests): Add strnlen.
11084 * string/tester.c (test_strnlen): Add a few more test cases.
11085 * string/tst-strlen.c: Better error reporting.
11087 * sysdeps/x86_64/strnlen.S: New file.
11089 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11091 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11092 lower-latency instructions.
11094 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11096 * string/test-strcasestr.c: New file.
11097 * string/test-strstr.c: New file.
11098 * string/Makefile (strop-tests): Add strstr and strcasestr.
11099 * string/str-two-way.h: Don't undefine MAX.
11100 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11102 2010-07-21 Andreas Schwab <schwab@redhat.com>
11104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11105 strcasestr-nonascii.
11106 (CFLAGS-strcasestr-nonascii.c): Define.
11107 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11108 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11109 Remove unused attribute.
11111 2010-07-20 Roland McGrath <roland@redhat.com>
11113 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11114 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11115 ld.so.cache was broken. With it, there is no way to disable dsocaps
11116 like LD_HWCAP_MASK can disable hwcaps.
11118 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11120 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11122 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11124 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11125 call in strcasestr.
11126 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11127 __strcasestr_sse42_nonascii.
11128 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11129 strcasestr-nonascii.c.
11130 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11132 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11135 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11137 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11139 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11144 2010-07-06 Andreas Schwab <schwab@redhat.com>
11147 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11150 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11153 _PC_PIPE_BUF using F_GETPIPE_SZ.
11155 2010-07-05 Roland McGrath <roland@redhat.com>
11157 * manual/arith.texi (Rounding Functions): Fix rint description
11158 implicit in round description.
11160 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11162 * elf/Makefile: Fix linking for a few tests to make recent linker
11165 2010-06-30 Andreas Schwab <schwab@redhat.com>
11167 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11168 $(common-objpfx)libc_nonshared.a.
11170 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11172 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11173 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11174 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11175 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11176 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11177 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11178 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11179 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11194 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11195 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11196 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11197 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11198 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11199 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11200 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11201 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11202 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11203 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11204 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11205 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11221 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11223 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11224 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11225 * string/memmove.c (memmove): Renamed to ...
11226 (MEMMOVE): ...this. Default to memmove.
11227 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11228 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11231 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11232 mempcpy-ssse3-back memmove-ssse3-back.
11233 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11236 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11237 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11238 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11239 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11240 * sysdeps/x86_64/multiarch/memmove.c: New file.
11241 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11242 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11243 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11244 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11245 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11248 (index_Fast_Copy_Backward): Define.
11249 (HAS_ARCH_FEATURE): Define.
11250 (HAS_FAST_REP_STRING): Define.
11251 (HAS_FAST_COPY_BACKWARD): Define.
11253 2010-06-21 Andreas Schwab <schwab@redhat.com>
11255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11256 Restore proper fallback handling.
11258 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11261 * posix/group_member.c (__group_member): Correct checking loop.
11263 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11264 OOM in getpwuid_r correctly. Return error number when the caller
11265 should return, otherwise -1.
11266 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11267 call returning > 0 value.
11268 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11270 2010-06-07 Andreas Schwab <schwab@redhat.com>
11272 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11273 libc_nonshared.a from targets in modules-names.
11275 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11277 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11280 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11282 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11283 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11287 2010-06-02 Andreas Schwab <schwab@redhat.com>
11289 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11291 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11302 2010-06-14 Roland McGrath <roland@redhat.com>
11304 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11306 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11308 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11309 __REDIRECT followed by __THROW.
11310 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11311 * posix/getopt.h (getopt): Likewise.
11313 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11315 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11316 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11317 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11319 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11320 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11322 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11324 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11326 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11330 Properly check family and model.
11332 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11334 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11336 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11338 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11340 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11342 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11345 2010-05-19 Andreas Schwab <schwab@redhat.com>
11347 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11350 2010-05-21 Andreas Schwab <schwab@redhat.com>
11352 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11353 and internal_recvmmsg.
11354 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11355 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11356 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11357 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11359 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11360 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11361 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11363 2010-05-20 Andreas Schwab <schwab@redhat.com>
11365 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11367 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11369 POWER7 optimizations.
11370 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11371 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11373 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11375 * version.h: Update for 2.13 development version.
11377 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11379 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11380 exceptions. Return 0.
11382 2010-05-07 Roland McGrath <roland@redhat.com>
11384 * elf/ldconfig.c (main): Add a const.
11386 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11388 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11389 (args_options): Add no-idn option.
11390 (ahosts_keys_int): Add idn_flags to ai_flags.
11391 (parse_option): Handle 'i' option to clear idn_flags.
11393 * malloc/malloc.c (_int_free): Possible race in the most recently
11394 added check. Only act on the data if no current modification
11397 See ChangeLog.17 for earlier changes.