1 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4 * sysdeps/x86_64/memset_chk.S: Likewise.
6 2012-04-08 Andreas Jaeger <aj@suse.de>
9 * manual/startup.texi (Environment Access): Describe return value
10 for putenv and setenv.
13 * manual/filesys.texi (Directory Entries): Add description for
17 * manual/filesys.texi (Directory Entries): Clarify that it's file
18 system not operating system in the description of DT_UNKNOWN.
21 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23 2012-04-08 Stephen Compall <s11@member.fsf.org>
26 * manual/llio.texi (Opening and Closing Files): Add cross
27 reference to explain mode argument.
29 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32 * sysdeps/x86_64/memset_chk.S: Likewise.
34 2012-04-07 David S. Miller <davem@davemloft.net>
36 * elf/elf.h (R_SPARC_WDISP10): Define.
37 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40 R_SPARC_SIZE64 and R_SPARC_H34.
42 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45 conditions and remove no longer applicable assertion.
47 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49 * bits/byteswap.h (__bswap_16): Removed.
50 Include <bits/byteswap-16.h> to get __bswap_16.
51 * sysdeps/i386/bits/byteswap.h: Likewise.
52 * sysdeps/s390/bits/byteswap.h: Likewise.
53 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54 * bits/byteswap-16.h: New file.
55 * sysdeps/i386/bits/byteswap-16.h: Likewise.
56 * sysdeps/s390/bits/byteswap-16.h: Likewise.
57 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58 * string/Makefile (headers): Add bits/byteswap-16.h.
60 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66 * nss/tst-nss-static.c: New.
68 2012-04-06 Robert Millan <rmh@gnu.org>
71 * manual/llio.texi (File Position Primitive): lseek
72 refers to WHENCE when it really means OFFSET.
74 2012-04-06 Andreas Jaeger <aj@suse.de>
76 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79 * abilist/libc.abilist: Add __poll and __ppoll.
81 2012-04-05 David S. Miller <davem@davemloft.net>
83 * scripts/check-local-headers.sh: Accept a host triplet in the
84 path matched by the exclude regexp.
86 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
88 * sysdeps/powerpc/powerpc32/dl-machine.h
89 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
90 * sysdeps/s390/s390-32/dl-machine.h
91 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
92 * sysdeps/sparc/sparc32/dl-machine.h
93 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
94 * sysdeps/sparc/sparc64/dl-machine.h
95 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
97 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
99 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
100 undefined symbol errors.
102 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
105 2012-04-05 Michael Matz <matz@suse.de>
108 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
110 2012-04-05 Andreas Jaeger <aj@suse.de>
113 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
119 which ROUND is no valid rounding mode.
121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
123 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
125 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
129 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
130 an exception using FPU order intentionally.
132 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
134 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
135 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
136 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
137 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
139 2012-04-05 Simon Josefsson <simon@josefsson.org>
142 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
143 EINVAL when BUFLEN is too smal.
145 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
148 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
149 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
151 2012-04-03 Andreas Jaeger <aj@suse.de>
154 * manual/setjmp.texi (System V contexts): Fix sentence.
157 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
158 New macro for this case.
159 [!__GNUC__] (__bswap_64): New inline function for this case.
160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
161 * bits/byteswap.h: Likewise.
162 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
163 ull, guard with __GLIBC_HAVE_LONG_LONG.
165 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
166 __GLIBC_HAVE_LONG_LONG.
168 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
169 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
171 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
175 inptr and inend, rather than using last_ch.
177 2012-04-02 David S. Miller <davem@davemloft.net>
179 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
180 * stdio-common/printf-parse.h (read_int): Change return type to
181 'int', return -1 on INT_MAX overflow.
182 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
183 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
184 overflows INT_MAX. Check for overflow of in-format-string precision
185 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
186 SIZE_MAX not INT_MAX for integer overflow test.
187 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
188 skip the construct in the format string but do not record anything.
189 * stdio-common/bug22.c: Adjust to test both width/prevision
190 INT_MAX overflow as well as total length INT_MAX overflow. Check
191 explicitly for proper errno values.
193 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
195 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
197 * string/test-strcmp.c [! WIDE]: Likewise.
198 * time/tst-mktime2.c: Likewise for INT_MAX.
199 * string/test-string.h: #include <sys/param.h> for MIN.
201 * csu/init-first.c (__libc_init_first): Call __ctype_init.
202 * sysdeps/i386/init-first.c (init): Likewise.
203 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
204 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
205 * sysdeps/sh/init-first.c (init): Likewise.
207 2012-04-01 Ulrich Drepper <drepper@gmail.com>
209 * po/ru.po: Update from translation team.
210 * po/vi.po: Likewise.
212 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
214 * resolv/nss_dns/dns-host.c: Merge copyright years.
216 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
219 Optimize memcpy with prefetch if
220 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
221 src, dst pointers have unequal 16 byte alignments.
223 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
226 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
227 from a CNAME entry and return the minimum ttl for the query.
228 (gaih_getanswer_slice): Likewise.
230 2012-03-30 Jeff Law <law@redhat.com>
232 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
234 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
235 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
237 * resolv/nss_dns/dns-host.c: Update copyright year.
239 2012-03-30 Ulrich Drepper <drepper@gmail.com>
241 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
242 requests to save a system call. Fix check that all bytes are sent.
244 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
245 comments for sendmmsg.
247 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
251 with only 1 character between 0x0041 and 0x01b0.
252 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
253 * wcsmbs/tst-mbsnrtowcs.c: New file.
255 2012-03-29 David S. Miller <davem@davemloft.net>
257 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
258 small copies by hand.
260 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
263 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
264 _nss_compat_initgroups_dyn): Fall back to malloc/free
265 for large group memberships.
267 2012-03-28 David S. Miller <davem@davemloft.net>
269 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
270 that branches into memcpy.
271 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
274 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
277 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
279 * sysdeps/sparc/mempcpy.S: New file.
281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
282 the IFUNC routine in the libc case.
283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
285 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
286 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
287 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
288 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
289 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
290 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
291 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
292 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
294 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
295 loop to 256 bytes instead of 64 bytes and fix test signedness.
297 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
298 * sysdeps/sparc/sparc32/Makefile: rather than here...
299 * sysdeps/sparc/sparc64/Makefile: and here.
301 2012-03-28 Ulrich Drepper <drepper@gmail.com>
303 * malloc/mallocbug.c: Avoid warnings about unused variables.
305 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
308 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
309 in the right place. Discard and retry query if response is
310 larger than input buffer size.
312 2012-03-28 Joseph Myers <joseph@codesourcery.com>
317 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
318 x for large integer exponent.
319 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
320 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
321 sign of result as needed afterwards.
322 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
323 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
324 result for underflowing pow the same as for overflow.
325 (__kernel_standard_l): Handle powl overflow and underflow here
326 rather than calling __kernel_standard.
327 * math/libm-test.inc (pow_test): Add more tests.
342 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
343 * sysdeps/ieee754/k_standard.c: Include <float.h>.
344 (__kernel_standard_l): New function.
345 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
347 * math/w_acosl.c (__acosl): Likewise.
348 * math/w_asinl.c (__asinl): Likewise.
349 * math/w_atan2l.c (__atan2l): Likewise.
350 * math/w_atanhl.c (__atanhl): Likewise.
351 * math/w_coshl.c (__coshl): Likewise.
352 * math/w_exp10l.c (__exp10l): Likewise.
353 * math/w_exp2l.c (__exp2l): Likewise.
354 * math/w_fmodl.c (__fmodl): Likewise.
355 * math/w_hypotl.c (__hypotl): Likewise.
356 * math/w_j0l.c (__j0l, __y0l): Likewise.
357 * math/w_j1l.c (__j1l, __y1l): Likewise.
358 * math/w_jnl.c (__jnl, __ynl): Likewise.
359 * math/w_lgammal.c (__lgammal): Likewise.
360 * math/w_log10l.c (__log10l): Likewise.
361 * math/w_log2l.c (__log2l): Likewise.
362 * math/w_logl.c (__logl): Likewise.
363 * math/w_powl.c (__powl): Likewise.
364 * math/w_remainderl.c (__remainderl): Likewise.
365 * math/w_scalbl.c (sysv_scalbl): Likewise.
366 * math/w_sinhl.c (__sinhl): Likewise.
367 * math/w_sqrtl.c (__sqrtl): Likewise.
368 * math/w_tgammal.c (__tgammal): Likewise.
369 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
370 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
371 * math/libm-test.inc (acos_test): Add more tests.
372 (acosh_test): Likewise.
373 (asin_test): Likewise.
374 (atanh_test): Likewise.
375 (exp_test): Likewise.
376 (exp10_test): Likewise.
377 (exp2_test): Likewise.
378 (expm1_test): Likewise.
379 (lgamma_test): Likewise.
380 (log_test): Likewise.
381 (log10_test): Likewise.
382 (log1p_test): Likewise.
383 (log2_test): Likewise.
384 (pow_test): Do not allow some spurious overflow exceptions.
385 (sqrt_test): Add more tests.
386 (tgamma_test): Likewise.
391 2012-03-27 Anton Blanchard <anton@samba.org>
393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
399 2012-03-27 David S. Miller <davem@davemloft.net>
401 * conform/Makefile: Run run-conformtest.sh using $(BASH).
403 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
406 2012-03-27 Andreas Jaeger <aj@suse.de>
408 * sysdeps/x86_64/elf/configure.in: Moved to ...
409 * sysdeps/x86_64/configure.in: ... here.
410 * sysdeps/x86_64/elf/start.S: Moved to ...
411 * sysdeps/x86_64/start.S: ... here.
412 * sysdeps/x86_64/elf/configure: Delete.
414 * sysdeps/x86_64/configure.in: Merge contents from
415 sysdeps/i386/configure.in (without i686 check).
417 * sysdeps/i386/elf/Versions: Merge into ...
418 * sysdeps/i386/Versions: ... this.
419 * sysdeps/i386/elf/Versions: Delete file.
420 * sysdeps/i386/elf/start.S: Moved to ...
421 * sysdeps/i386/start.S: ...here.
422 * sysdeps/i386/elf/configure.in: Merge into...
423 * sysdeps/i386/configure.in: ...here.
424 * sysdeps/i386/elf/configure.in: Delete file.
425 * sysdeps/i386/elf/configure: Delete file.
427 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
428 * debug/backtracesyms.c: ... here.
429 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
430 * debug/backtracesymsfd.c: ... here.
431 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
432 * sysdeps/generic/ifunc-sel.h: ... here.
434 * sysdeps/unix/i386/start.c: Delete file.
435 * sysdeps/unix/sparc/start.c: Delete file.
436 * sysdeps/unix/start.c: Delete file.
438 * sysdeps/sh/elf/configure.in: Moved to ...
439 * sysdeps/sh/configure.in: ... here.
440 * sysdeps/sh/elf/start.S: Moved to ...
441 * sysdeps/sh/start.S: ... here.
442 * sysdeps/sh/elf/configure: Delete file.
444 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
445 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
446 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
447 * sysdeps/powerpc/powerpc64/entry.h: ... here.
448 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
449 * sysdeps/powerpc/powerpc64/start.S: here.
450 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
451 * sysdeps/powerpc/powerpc64/Makefile: ... this.
452 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
453 * sysdeps/powerpc/powerpc64/configure.in: ... this.
454 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
456 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
457 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
458 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
459 * sysdeps/powerpc/powerpc32/start.S: ... here.
460 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
461 * sysdeps/powerpc/powerpc32/configure.in: ... this.
462 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
464 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
465 * sysdeps/powerpc/ifunc-sel.h: ... here.
466 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
467 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
469 * sysdeps/sparc/elf/configure.in: Moved to ...
470 * sysdeps/sparc/configure.in: ... here.
471 * sysdeps/sparc/elf/configure: Delete file.
472 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
473 * sysdeps/sparc/sparc32/start.S: ... here.
474 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
475 * sysdeps/sparc/sparc64/start.S: ... here.
476 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
477 * sysdeps/sparc/sparc32/Makefile: ... this.
478 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
479 * sysdeps/sparc/sparc64/Makefile: ... this.
481 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
482 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
483 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
484 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
485 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
486 * sysdeps/s390/s390-32/setjmp.S: ... here.
487 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
488 * sysdeps/s390/s390-32/configure.in: ... here.
489 * sysdeps/s390/s390-32/elf/configure: Delete file.
490 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
491 * sysdeps/s390/s390-32/start.S: ... here.
493 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
494 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
495 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
496 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
497 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
498 * sysdeps/s390/s390-64/setjmp.S: ... here.
499 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
500 * sysdeps/s390/s390-64/configure.in: ... here
501 * sysdeps/s390/s390-64/elf/configure: Delete file.
502 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
503 * sysdeps/s390/s390-64/start.S: ... here.
504 * sysdeps/s390/s390-64/elf/configure: Delete.
506 * configure.in: Remove support for elf directories in sysdeps.
508 * configure: Regenerated.
509 * sysdeps/i386/configure: Regenerated.
510 * sysdeps/powerpc/powerpc32/configure: Regenerated.
511 * sysdeps/powerpc/powerpc64/configure: Regenerated.
512 * sysdeps/s390/s390-32/configure: Regenerated.
513 * sysdeps/s390/s390-64/configure: Regenerated.
514 * sysdeps/sh/configure: Regenerated.
515 * sysdeps/sparc/configure: Regenerated.
516 * sysdeps/x86_64/configure: Regenerated.
518 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
523 denormal result into account.
525 2012-03-25 Roland McGrath <roland@hack.frob.com>
527 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
528 Reported by Allan McRae <allan@archlinux.org>.
530 2012-03-23 Jeff Law <law@redhat.com>
532 * nss/getnssent.c (__nss_getent): Fix typo.
534 2012-03-23 David S. Miller <davem@davemloft.net>
536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
538 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
540 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
541 to pad to uint64_t for each field.
542 (dl_tls_index): Replace unsigned long with uint64_t.
544 2012-03-23 Daniel Jacobowitz <dmj@google.com>
545 Paul Pluzhnikov <ppluzhnikov@google.com>
548 * grp/Makefile (otherlibs): Don't set it.
549 * inet/Makefile (otherlibs): Likewise.
550 * login/Makefile (otherlibs): Likewise.
551 * nscd/Makefile (otherlibs): Likewise.
552 * posix/Makefile (otherlibs): Likewise.
553 * pwd/Makefile (otherlibs): Likewise.
554 * rt/Makefile (otherlibs): Likewise.
555 * sunrpc/Makefile (otherlibs): Likewise.
556 * nss/Makefile (otherlibs): Likewise.
557 Add libnss_files to routines and static-only-routines.
558 ($(objpfx)getent): Remove rule.
559 * resolv/Makefile: Add libnss_dns and libresolv to routines and
560 static-only-routines.
562 2012-03-22 Joseph Myers <joseph@codesourcery.com>
565 * math/s_cexp.c: Include <float.h>.
566 (__cexp): Handle exp result overflowing not necessarily
567 overflowing both real and imaginary parts of result.
568 * math/s_cexpf.c: Likewise.
569 * math/s_cexpl.c: Likewise.
570 * math/libm-test.inc (cexp_test): Add more tests.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
576 * include/link.h (ELFW): New macro.
577 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
578 Replace ELF64_R_TYPE with ELFW(R_TYPE).
580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
582 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
585 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
589 (struct La_x32_retval): Likewise.
591 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
593 * sysdeps/x86_64/preconfigure.in: New file.
594 * sysdeps/x86_64/preconfigure: New generated file.
596 2012-03-22 Joseph Myers <joseph@codesourcery.com>
599 * math/e_exp2l.c: Include <float.h>.
600 (__ieee754_exp2l): Handle overflow and underflow cases
601 separately. Only pass fractional part of argument to
603 * math/libm-test.inc (exp2_test): Add more tests.
605 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
606 negating x to take absolute value.
607 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
612 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
613 computing low part if x was negated.
614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
616 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
618 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
620 (pltexit): Cast int_retval to ptrdiff_t.
621 * elf/tst-auditmod3b.c: Likewise.
622 * elf/tst-auditmod4b.c: Likewise.
623 * elf/tst-auditmod5b.c: Likewise.
624 * elf/tst-auditmod6b.c: Likewise.
625 * elf/tst-auditmod6c.c: Likewise.
626 * elf/tst-auditmod7b.c: Likewise.
628 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
631 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
633 (La_x32_regs): New macro.
634 (La_x32_retval): Likewise.
635 (la_x32_gnu_pltenter): New function prototype.
636 (la_x32_gnu_pltexit): Likewise.
638 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
645 * configure.in (libc_cv_cc_nofma): Check for option to disable
646 generation of FMA instructions.
647 * configure: Regenerate.
648 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
649 * sysdeps/ieee754/dbl-64/Makefile: New file.
650 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
651 Remove brandred-fma4.
652 (CFLAGS-brandred-fma4.c): Remove.
653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
659 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
661 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
662 LLONG_MAX != LONG_MAX.
663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
664 (_fitoa_word): Likewise.
665 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
666 LLONG_MAX != LONG_MAX.
667 * stdio-common/_itowa.h: Include <_itoa.h>.
668 (_itowa_word): Use _ITOA_WORD_TYPE on value.
669 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
670 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
672 (_ITOA_WORD_TYPE): Likewise.
673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
674 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
676 2012-03-21 David S. Miller <davem@davemloft.net>
678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
680 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
683 of x86_64 when setting libc_cv_slibdir, libdir and
685 * sysdeps/unix/sysv/linux/configure: Regenerated.
687 2012-03-21 Joseph Myers <joseph@codesourcery.com>
689 * manual/lang.texi (Old Varargs): Remove section.
690 (How Variadic): Update menu.
691 (va_start): Do not mention varargs.h.
693 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
694 Joseph Myers <joseph@codesourcery.com>
696 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
698 * configure: Regenerated.
700 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
702 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
703 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
706 2012-03-21 Joseph Myers <joseph@codesourcery.com>
709 * Makefile (files-for-dist): Remove NOTES.
710 (NOTES): Remove rule.
711 * README: Don't refer to NOTES.
712 * manual/creature.texi: Don't include macros.texi.
713 * manual/intro.texi (creature.texi): Remove comment referring to
716 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
717 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
718 * configure: Regenerated.
719 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
721 (libc_cv_as_i686): Likewise.
722 (libc_cv_cc_avx): Likewise.
723 (libc_cv_cc_sse2avx): Likewise.
724 (libc_cv_cc_fma4): Likewise.
725 (libc_cv_cc_novzeroupper): Likewise.
726 * sysdeps/i386/configure: Regenerated.
729 * sysdeps/i386/fpu/s_cexp.S: Remove.
730 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
731 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
732 * math/libm-test.inc (cexp_test): Add more tests.
733 * sysdeps/i386/fpu/libm-test-ulps: Update.
734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
736 2012-03-21 Allan McRae <allan@archlinux.org>
738 * timezone/Makefile: Do not install iso3166.tab and zone.tab
740 2012-03-21 Joseph Myers <joseph@codesourcery.com>
743 * math/w_exp2.c: Do not include <float.h>.
744 (o_threshold, u_threshold): Remove.
745 (__exp2): Calculate result before checking finiteness and calling
747 * math/w_exp2f.c: Likewise.
748 * math/w_exp2l.c: Likewise.
749 * math/libm-test.inc (exp2_test): Require overflow exception for
753 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
754 range of signed 64-bit integers before using fistpll. Remove
755 checks for whether integers fit in mantissa bits.
756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
757 the range of signed 32-bit integers before using fistpl. Remove
758 checks for whether integers fit in mantissa bits.
759 * sysdeps/i386/fpu/e_powl.S (p64): New object.
760 (__ieee754_powl): Test for y outside the range of signed 64-bit
761 integers before using fistpll. Reduce 64-bit values to 63-bit
763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
764 divide-by-zero is raised for zero to large negative powers.
765 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
766 (__ieee754_powl): Test for y outside the range of signed 64-bit
767 integers before using fistpll. Reduce 64-bit values to 63-bit
769 * math/libm-test.inc (pow_test): Add more tests.
771 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
773 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
774 <stdio-common/_itoa.h>.
775 * debug/segfault.c: Likewise.
776 * elf/dl-cache.c: Likewise.
777 * elf/dl-minimal.c: Likewise.
778 * elf/dl-misc.c: Likewise.
779 * elf/dl-sysdep.c: Likewise.
780 * elf/dl-version.c: Likewise.
781 * elf/rtld.c: Likewise.
782 * hurd/hurdsock.c: Likewise.
783 * hurd/lookup-retry.c: Likewise.
784 * malloc/malloc.c: Likewise.
785 * malloc/mtrace.c: Likewise.
786 * nscd/nscd_getgr_r.c: Likewise.
787 * nscd/nscd_getpw_r.c: Likewise.
788 * nscd/nscd_getserv_r.c: Likewise.
789 * posix/getopt_init.c: Likewise.
790 * posix/wordexp.c: Likewise.
791 * stdio-common/_itoa.c: Likewise.
792 * stdio-common/printf_fphex.c: Likewise.
793 * stdio-common/vfprintf.c: Likewise.
794 * string/_strerror.c: Likewise.
795 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
796 * sysdeps/i386/i686/hp-timing.h: Likewise.
797 * sysdeps/mach/_strerror.c: Likewise.
798 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
799 * sysdeps/mach/hurd/sethostid.c: Likewise.
800 * sysdeps/mach/hurd/xmknodat.c: Likewise.
801 * sysdeps/mach/xpg-strerror.c: Likewise.
802 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
804 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
805 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
807 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
808 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
809 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
810 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
811 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
812 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
813 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
814 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
816 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
817 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
818 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
820 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
821 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
822 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
824 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
826 * stdio-common/_itoa.h: Moved to ...
827 * sysdeps/generic/_itoa.h: Here.
829 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
831 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
832 instead of "_itoa.h" and "_itowa.h".
833 * stdio-common/vfprintf.: Likewise.
835 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
837 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
839 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
840 (__signbit): Likwise.
844 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
846 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
849 2012-03-20 Joseph Myers <joseph@codesourcery.com>
851 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
852 OVERFLOW_EXCEPTION_OK.
853 * math/libm-test.inc ("Philosophy"): Update comment about
855 (OVERFLOW_EXCEPTION): Define.
856 (OVERFLOW_EXCEPTION_OK): Likewise.
857 (INVALID_EXCEPTION_OK): Renumber.
858 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
859 (IGNORE_ZERO_INF_SIGN): Likewise.
860 (test_exceptions): Handle FE_OVERFLOW.
861 (exp10_test): Expect overflow exceptions.
862 (exp2_test): Likewise.
863 (expm1_test): Likewise.
864 (nextafter_test): Likewise.
865 (pow_test): Likewise.
866 (scalbn_test): Likewise.
867 (scalbln_test): Likewise.
869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
871 * sysdeps/x86_64/bits/atomic.h
872 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
874 (atomic_exchange_acq): Likewise.
875 (__arch_exchange_and_add_body): Likewise.
876 (__arch_add_body): Likewise.
877 (atomic_add_negative): Likewise.
878 (atomic_add_zero): Likewise.
880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
883 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
887 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
888 Check __x86_64__ instead of __WORDSIZE.
890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
892 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
894 2012-03-19 David S. Miller <davem@davemloft.net>
896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
898 * sysdeps/sparc/fpu/fenv_private.h: New file.
899 * sysdeps/sparc/fpu/math_private.h: Use it.
900 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
902 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
903 (libc_feholdexcept_setroundl): Remove.
904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
906 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
907 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
911 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
912 int64_t instead of long int.
913 (INSERT_WORDS64): Likwise.
915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
917 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
918 _Unwind_GetCFA return to _Unwind_Ptr first.
920 2012-03-19 Joseph Myers <joseph@codesourcery.com>
923 * math/s_clog.c: Include <float.h>.
924 (__clog): Scale large or subnormal inputs.
925 * math/s_clogf.c: Likewise.
926 * math/s_clogl.c: Likewise.
927 * math/s_clog10.c: Include <float.h>.
929 (__clog10): Scale large or subnormal inputs.
930 * math/s_clog10f.c: Likewise.
931 * math/s_clog10l.c: Likewise.
932 * math/libm-test.inc (clog_test): Add more tests.
933 (clog10_test): Likewise.
934 * sysdeps/i386/fpu/libm-test-ulps: Update.
935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
940 * math/libm-test.inc (atan2_test): Add another test.
942 * Makerules (common-objdir-compile): Remove.
943 * sysdeps/unix/Makefile (config-generated): Do not add
944 $(unix-generated) to variable.
945 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
946 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
948 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
950 [generic bits/local_lim.h] (before-compile): Do not append to
952 [generic bits/local_lim.h] (common-generated): Likewise.
953 [generic sys/param.h] (before-compile): Do not append to variable.
954 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
955 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
956 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
957 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
959 [generic sys/param.h] (sys/param.h-includes): Remove variable.
960 [generic sys/param.h] (sys/param.h-includes): Remove rule.
961 [generic sys/param.h] ($(addprefix
962 $(common-objpfx),$(sys/param.h-includes))): Likewise.
963 [generic sys/param.h] (common-generated): Do not append to
965 [generic sys/param.h] (sysdep_headers): Likewise.
966 [generic bits/errno.h] (before-compile): Do not append to
968 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
970 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
971 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
972 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
973 [generic bits/errno.h] (common-generated): Do not append to
975 [generic bits/ioctls.h] (before-compile): Do not append to
977 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
979 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
980 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
981 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
983 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
984 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
985 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
986 [generic bits/ioctls.h] (common-generated): Do not append to
988 [generic sys/syscall.h] (syscall.h): Remove variable.
989 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
991 [generic sys/syscall.h] (before-compile): Do not append to
993 [generic sys/syscall.h] (common-generated): Likewise.
994 * sysdeps/unix/errnos-tmpl.c: Remove file.
995 * sysdeps/unix/errnos.awk: Likewise.
996 * sysdeps/unix/ioctls-tmpl.c: Likewise.
997 * sysdeps/unix/ioctls.awk: Likewise.
998 * sysdeps/unix/mk-local_lim.c: Likewise.
999 * sysdeps/unix/snarf-ioctls: Likewise.
1001 2012-03-19 Richard Henderson <rth@twiddle.net>
1003 * sysdeps/i386/fpu/fenv_private.h: New file.
1004 * sysdeps/i386/fpu/math_private.h: Use it.
1005 (math_opt_barrier, math_force_eval): Remove.
1006 (libc_feholdexcept_setround_53bit): Remove.
1007 (libc_feupdateenv_53bit): Remove.
1008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1009 (math_opt_barrier, math_force_eval): Remove.
1010 (libc_feholdexcept): Remove.
1011 (libc_feholdexcept_setround): Remove.
1012 (libc_fetestexcept, libc_fesetenv): Remove.
1013 (libc_feupdateenv_test): Remove.
1014 (libc_feupdateenv, libc_feholdsetround): Remove.
1015 (libc_feresetround): Remove.
1017 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1018 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1020 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1021 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1022 (libc_feupdateenv_testl): New.
1023 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1024 (libc_feupdateenv_testf): New.
1025 (libc_feupdateenv): Use libc_feupdateenv_test.
1026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1027 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1029 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1030 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1031 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1032 (libc_feresetround_noex): New.
1033 (libc_feresetround_noexf): New.
1034 (libc_feresetround_noexl): New.
1035 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1036 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1037 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1038 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1043 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1044 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1045 SET_RESTORE_ROUND_NOEX.
1046 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1047 SET_RESTORE_ROUND_NOEXF.
1048 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1049 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1050 (libc_feholdsetroundf): New.
1051 (libc_feresetround, libc_feresetroundf): New.
1053 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1054 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1055 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1057 * sysdeps/generic/math_private.h: Include <fenv.h>.
1058 (default_libc_feholdexcept): New.
1059 (default_libc_feholdexcept_setround): New.
1060 (default_libc_fesetenv, default_libc_feupdateenv): New.
1061 (libc_feholdexcept): Only define if undefined.
1062 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1064 (libc_feholdexcept_setroundl): Likewise.
1065 (libc_feholdexcept_setround_53bit): Likewise.
1066 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1069 (libc_feupdateenv_53bit): Likewise.
1070 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1071 (libc_feholdexcept): Convert from macro to inline function.
1072 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1073 (libc_fesetenv, libc_feupdateenv): Likewise.
1075 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1076 not previously defined.
1077 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1078 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1079 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1080 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1081 * sysdeps/ieee754/flt-32/math_private.h: New file.
1082 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1083 math_private.h below SET_FLOAT_WORD.
1084 (__isnan, __isinf_ns, __finite): Remove.
1085 (__isnanf, __isinf_nsf, __finitef): Remove.
1087 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1091 2012-03-17 David S. Miller <davem@davemloft.net>
1094 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1097 2012-03-16 David S. Miller <davem@davemloft.net>
1099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1105 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1106 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1107 sysdep_routines when subdir is sysvipc.
1108 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1111 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1121 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1122 (__lround): Renamed to ...
1123 (__llround): This. Replace long int with long long int.
1124 Define lround functions as aliases of llround functions.
1125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1129 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1130 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1131 adresses to uintptr_t. Replace "long int" and "unsigned long
1132 int" with "greg_t" on va_arg.
1134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1136 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1137 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1139 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1140 Move e_machine check before EI_CLASS check. Handle x32
1141 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1142 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1143 SKIP_EM_IA_64 and include
1144 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1146 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1147 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1148 (add_system_dir): New macro.
1150 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1151 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1153 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1164 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1166 * math/w_j0f.c (j0f): Likewise.
1168 * math/w_j0l.c (__j0l): Likewise.
1170 * math/w_j1.c (j1): Likewise.
1172 * math/w_j1f.c (j1f): Likewise.
1174 * math/w_j1l.c (__j1l): Likewise.
1176 * math/w_jn.c (jn): Likewise.
1178 * math/w_jnf.c (jnf): Likewise.
1180 * math/w_jnl.c (__jnl): Likewise.
1182 * math/libm-test.inc (j0_test): Add more tests.
1183 (j1_test): Likewise.
1184 (jn_test): Likewise. Add trailing semicolon to existing test.
1185 (y0_test): Likewise.
1186 (y1_test): Likewise.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1193 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1194 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1196 (__tanl): Set errno for infinite argument.
1197 * sysdeps/i386/fpu/mptan.c: Remove.
1198 * sysdeps/i386/fpu/s_tan.S: Likewise.
1199 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1200 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1201 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1202 * math/libm-test.inc (tan_test): Add more tests and enable more
1203 tests for double and long double.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1207 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1209 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1210 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1212 2012-03-16 Roland McGrath <roland@hack.frob.com>
1214 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1215 * configure.in: Use it for both main tree and add-ons.
1216 * configure: Regenerated.
1218 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1220 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1222 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1224 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1228 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1229 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1232 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1234 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1237 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1238 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1239 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1240 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1241 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1242 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1243 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1244 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1245 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1246 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1247 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1248 * math/libm-test.inc (cos_test): Add more tests and enable more
1249 tests for long double.
1250 (sin_test): Likewise.
1251 (sincos_test): Likewise.
1252 * sysdeps/i386/fpu/libm-test-ulps: Update.
1253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1255 2012-03-16 David S. Miller <davem@davemloft.net>
1257 * sysdeps/sparc/fpu/math_private.h: New file.
1259 2012-03-15 David S. Miller <davem@davemloft.net>
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1275 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1276 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1278 * sysdeps/sparc/sparc-ifunc.h: New file.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1324 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1326 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1330 2012-03-15 Andreas Jaeger <aj@suse.de>
1333 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1334 ieee754/flt-32 implementation for sin, cos and sincos.
1335 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1336 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1337 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1338 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1339 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1340 ieee754/flt-32 implementation for tan.
1342 * math/libm-test.inc (cos_test): Enable some large input tests for
1344 (sin_test): Likewise.
1345 (sincos_test): Likewise.
1346 (tan_test): Add tests for large input.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1350 2012-03-15 Andreas Jaeger <aj@suse.de>
1353 * math/libm-test.inc (cos_test): Add more test cases.
1354 (sin_test): Likewise.
1355 (sincos_test): Likewise.
1357 2012-03-15 Andreas Jaeger <aj@suse.de>
1360 * math/libm-test.inc (cos_test): Add a test case for large input
1362 (sin_test): Likewise.
1363 (sincos_test): Likewise.
1365 2012-03-15 Andreas Jaeger <aj@suse.de>,
1366 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1370 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1371 * sysdeps/i386/fpu/branred.c: Likewise.
1372 * sysdeps/i386/fpu/dosincos.c: Likewise.
1373 * sysdeps/i386/fpu/mpa.c: Likewise.
1374 * sysdeps/i386/fpu/s_cos.S: Likewise.
1375 * sysdeps/i386/fpu/s_sin.S: Likewise.
1376 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1377 * sysdeps/i386/fpu/sincos32.c: Likewise.
1379 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1381 (libc_feupdateenv_53bit): Define.
1382 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1384 (libc_feupdateenv_53bit): Define.
1386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1387 53 bit (without extend i386 double precision).
1389 * math/libm-test.inc (sincos_test): Add tests for large input.
1393 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1395 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1399 2012-03-15 David S. Miller <davem@davemloft.net>
1401 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1429 fmin/fmax sysdep routines.
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1432 2012-03-14 David S. Miller <davem@davemloft.net>
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1511 * sysdeps/sparc/configure.in: New file.
1512 * sysdeps/sparc/configure: Generate.
1513 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1514 * configure: Regenerate.
1515 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1516 * config.make.in (have-as-vis3): New.
1517 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1518 available use -Av9d instead of -Av9a.
1519 * sysdeps/sparc/sparc64/Makefile: Likewise.
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1536 fzeros/fnegs to load 0x80000000 into a float register instead of
1538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1540 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1544 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1545 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1546 ($(inst_includedir)/bits/syscall.h): Remove rule.
1547 ($(objpfx)bits/syscall.d): Include instead of
1548 $(objpfx)syscall-list.d.
1549 (generated): Change syscall-list.h and syscall-list.d to
1550 bits/syscall.h and bits/syscall.d.
1552 2012-03-14 Roland McGrath <roland@hack.frob.com>
1555 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1557 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1560 * math/s_csqrt.c: Include <float.h>.
1561 (__csqrt): Scale large or subnormal inputs.
1562 * math/s_csqrtf.c: Likewise.
1563 * math/s_csqrtl.c: Likewise.
1564 * math/libm-test.inc (csqrt_test): Add more tests.
1565 * sysdeps/i386/fpu/libm-test-ulps: Update.
1566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1569 * math/libm-test.inc (hypot_test): Add more tests.
1571 2012-03-13 David S. Miller <davem@davemloft.net>
1574 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1575 double-precision for the calculation instead of scaling.
1577 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1579 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1580 manipulate bits before adding and subtracting TWO52[sx].
1581 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1586 2012-03-13 David S. Miller <davem@davemloft.net>
1588 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1589 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1591 rtld-global-offsets.h
1592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1599 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1600 'err' in the ifdef scope in which it is actually used.
1602 * nss/nss_db/db-init.c: Include string.h
1604 2012-03-12 David S. Miller <davem@davemloft.net>
1606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1607 masking out of the most significant byte of random value used.
1608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1609 Fix coding style in previous change.
1611 * sysdeps/unix/sysv/linux/kernel-features.h
1612 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1613 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1615 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1618 2012-03-11 David S. Miller <davem@davemloft.net>
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1621 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1622 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1623 for 'resultvar' otherwise things get truncated on 64-bit.
1625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1626 Fix masking out of the most significant byte of random value used.
1628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1630 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634 2012-03-09 David S. Miller <davem@davemloft.net>
1636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1637 variables with appropriate CPP guards.
1638 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1639 frame pointer, not the stack pointer. Correct layout comments. Fix test
1640 on resulting framesize and the management of the outregs buffer for pltexit.
1641 Preserve floating point return values across _dl_call_pltexit call.
1642 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1643 framesize and the management of the outregs buffer for pltexit.
1644 Preserve floating point return values across _dl_call_pltexit
1646 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1647 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1648 (print_exit): Fix format string for return register value.
1650 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1652 * sunrpc/Makefile (others): Add rpcgen.
1653 ($(objpfx)rpcgen): Remove special build rule and dependency on
1655 * sunrpc/rpcgen.c: New file.
1657 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1660 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1661 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1662 * sysdeps/i386/crti.S: Likewise.
1663 * sysdeps/i386/crtn.S: Likewise.
1664 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1665 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1667 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1668 * sysdeps/sh/crti.S: Likewise.
1669 * sysdeps/sh/crtn.S: Likewise.
1670 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1673 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1675 * locale/programs/locfile-kw.gperf: Likewise.
1676 * locale/programs/charmap-kw.h: Regenerated.
1677 * locale/programs/locfile-kw.h: Likewise.
1680 * intl/plural.y: Replace FSF snail mail address with URL.
1681 * intl/plural.c: Regenerated.
1683 2012-03-09 Richard Henderson <rth@twiddle.net>
1685 * include/math_private.h: Remove file.
1686 * math/math_private.h: Move file ...
1687 * sysdeps/generic/math_private.h: ... here.
1689 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1690 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1691 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1693 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1694 and <math_private.h>.
1695 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1696 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1697 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1698 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1699 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1783 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1792 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1795 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1796 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1797 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1800 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1801 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1802 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1805 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1828 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1829 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1832 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1834 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1835 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1836 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1837 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1838 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1839 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1840 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1841 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1842 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1843 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1844 * sysdeps/ieee754/k_standard.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1995 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2005 * sysdeps/ieee754/s_lib_version.c: Likewise.
2006 * sysdeps/ieee754/s_matherr.c: Likewise.
2007 * sysdeps/ieee754/s_signgam.c: Likewise.
2008 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2010 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2011 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2013 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2014 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2015 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2016 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2017 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2018 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2019 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2020 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2021 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2022 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2025 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2030 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2032 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2033 * sunrpc/rpc_main.c: Likewise.
2034 * sunrpc/rpc_svcout.c: Likewise.
2036 2012-03-09 David S. Miller <davem@davemloft.net>
2038 * include/math_private.h: New file.
2040 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2042 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2043 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2044 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2045 from <bits/socket_type.h>.
2046 (enum __socket_type): Don't define here.
2047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2052 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2055 * Makerules ($(inst_includedir)/%.h): New rule.
2056 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2057 (install-others): Remove variable setting.
2058 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2060 2012-03-08 Richard Henderson <rth@twiddle.net>
2062 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2063 from macro to inline function; merge with the
2064 !__LIBC_INTERNAL_MATH_INLINES version.
2065 (__ieee754_sqrtf): Likewise.
2067 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2069 (__rintf, __floor, __floorf): Likewise.
2071 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2072 macro to inline function.
2073 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2075 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2076 not <math/math_private.h>.
2078 2012-03-08 David S. Miller <davem@davemloft.net>
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2082 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2084 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2086 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2088 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2089 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2091 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2093 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2094 be defined individually, they must be defined as a block. Define
2095 S for printing a string instead of hidint the different by using a
2096 macro for adding the 'l'.
2097 * stdio-common/tst-fphex-wide.c: Adjust.
2099 2012-03-07 Marek Polacek <polacek@redhat.com>
2101 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2103 2012-03-08 Marek Polacek <polacek@redhat.com>
2106 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2107 * stdio-common/tst-fphex.c: Define a few macros to make the
2108 test reusable. Use them.
2109 * stdio-common/tst-fphex-wide.c: New file.
2111 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2114 * manual/macros.texi (gnusystems): New macro.
2115 (nongnusystems): Likewise.
2116 (gnulinuxhurdsystems): Likewise.
2117 (gnuhurdsystems): Likewise..
2118 (gnulinuxsystems): Likewise.
2119 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2120 variants of the GNU system, not "GNU system".
2121 * manual/conf.texi: Likewise.
2122 * manual/errno.texi: Likewise. Update example of errno macro
2124 * manual/filesys.texi: Likewise.
2125 (getumask): Document as specific to GNU/Hurd.
2126 * manual/install.texi: Likewise. Reword some references to
2128 * manual/intro.texi: Likewise.
2129 * manual/io.texi: Likewise.
2130 (File Name Portability): Detail which constraints are inapplicable
2131 to all GNU systems and which are only inapplicable to GNU/Hurd.
2132 * manual/job.texi: Likewise.
2133 * manual/llio.texi: Likewise.
2134 (O_NOCTTY): Document as present on GNU/Linux.
2135 * manual/maint.texi: Likewise.
2136 * manual/memory.texi: Likewise.
2137 * manual/pattern.texi: Likewise.
2138 * manual/pipe.texi: Likewise.
2139 * manual/process.texi: Likewise.
2140 * manual/resource.texi: Likewise.
2141 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2143 * manual/setjmp.texi: Likewise.
2144 * manual/signal.texi: Likewise.
2145 * manual/startup.texi: Likewise.
2146 * manual/stdio.texi: Likewise.
2147 * manual/terminal.texi: Likewise.
2148 (ONLCR): Document as POSIX.
2149 (OXTABS): Document availability on GNU/Linux as XTABS.
2150 (ONOEOT): Document availability separately from other bits.
2151 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2152 * manual/time.texi: Likewise.
2153 * manual/users.texi: Likewise.
2154 * INSTALL: Regenerated.
2155 * sysdeps/gnu/errlist.c: Regenerated.
2157 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2158 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2159 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2161 * configure: Regenerated.
2163 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2165 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2166 default includes instead of AC_HEADER_CHECK.
2167 * sysdeps/i386/configure: Regenerated.
2170 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2171 * math/s_cacoshf.c (__cacoshf): Likewise.
2172 * math/s_cacoshl.c (__cacoshl): Likewise.
2173 * math/s_casinh.c (__casinh): Set signs of result from argument.
2174 * math/s_casinhf.c (__casinhf): Likewise.
2175 * math/s_casinhl.c (__casinhl): Likewise.
2176 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2177 (casinh_test): Add more tests.
2178 * sysdeps/i386/fpu/libm-test-ulps: Update.
2179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2181 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2183 * po/zh_TW.po: Update from translation team.
2185 * login/Makefile (distribute): Remove variable.
2186 * catgets/Makefile: Likewise.
2187 * mach/Makefile: Likewise.
2188 * malloc/Makefile: Likewise.
2189 * misc/Makefile: Likewise.
2190 * iconv/Makefile: Likewise.
2191 * nscd/Makefile: Likewise.
2192 * hurd/Makefile: Likewise.
2193 * manual/Makefile: Likewise.
2194 * locale/Makefile: Likewise.
2195 * intl/Makefile: Likewise.
2196 * conform/Makefile: Likewise.
2197 * nss/Makefile: Likewise.
2198 * time/Makefile: Likewise.
2199 * soft-fp/Makefile: Likewise.
2200 * dirent/Makefile: Likewise.
2201 * gmon/Makefile: Likewise.
2202 * po/Makefile: Likewise.
2203 * rt/Makefile: Likewise.
2204 * socket/Makefile: Likewise.
2205 * math/Makefile: Likewise.
2206 * signal/Makefile: Likewise.
2207 * debug/Makefile: Likewise.
2208 * elf/Makefile: Likewise.
2209 * timezone/Makefile: Likewise.
2210 * stdlib/Makefile: Likewise.
2211 * iconvdata/Makefile: Likewise.
2212 * sunrpc/Makefile: Likewise.
2213 * io/Makefile: Likewise.
2214 * argp/Makefile: Likewise.
2215 * inet/Makefile: Likewise.
2216 * hesiod/Makefile: Likewise.
2217 * grp/Makefile: Likewise.
2218 * csu/Makefile: Likewise.
2219 * wctype/Makefile: Likewise.
2220 * crypt/Makefile: Likewise.
2221 * libio/Makefile: Likewise.
2222 * string/Makefile: Likewise.
2223 * nis/Makefile: Likewise.
2224 * resolv/Makefile: Likewise.
2225 * stdio-common/Makefile: Likewise.
2226 * wcsmbs/Makefile: Likewise.
2227 * dlfcn/Makefile: Likewise.
2228 * posix/Makefile: Likewise.
2230 * timezone/Makefile: Don't install timezone files, just the programs
2233 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2235 * nss/databases.def: Add missing gshadow entry.
2237 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2239 2012-03-06 Marek Polacek <polacek@redhat.com>
2242 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2243 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2244 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2245 * stdio-common/tst-long-dbl-fphex.c: New file.
2247 2012-03-06 David S. Miller <davem@davemloft.net>
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2250 (set_obp_int): New function.
2251 (get_obp_int): New function.
2252 (__get_clockfreq_via_dev_openprom): Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2254 Avoid unused variable warnings on 'val' and use builtin_expect.
2255 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2257 (INLINE_CLONE_SYSCALL): Likewise.
2259 2012-03-05 David S. Miller <davem@davemloft.net>
2261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2263 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2271 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2274 Replace gettimeofday with __vdso_gettimeofday.
2276 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2277 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2278 __vdso_clock_gettime and __vdso_getcpu.
2280 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2281 time with __vdso_time.
2283 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2285 * manual/lang.texi (size_t): Note types to which size_t may be
2286 equivalent with the GNU C Library, but do not describe when
2287 differences between them are significant.
2289 2012-03-05 Andreas Jaeger <aj@suse.de>
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2293 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2296 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2297 (__ieee754_pow): Save and restore rounding mode and use
2298 round-to-nearest for main computations.
2299 * math/libm-test.inc (pow_test_tonearest): New function.
2300 (pow_test_towardzero): Likewise.
2301 (pow_test_downward): Likewise.
2302 (pow_test_upward): Likewise.
2303 (main): Call the new functions.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308 * math/libm-test.inc (cosh_test_tonearest): New function.
2309 (cosh_test_towardzero): Likewise.
2310 (cosh_test_downward): Likewise.
2311 (cosh_test_upward): Likewise.
2312 (sinh_test_tonearest): Likewise.
2313 (sinh_test_towardzero): Likewise.
2314 (sinh_test_downward): Likewise.
2315 (sinh_test_upward): Likewise.
2316 (main): Call the new functions.
2317 * sysdeps/i386/fpu/libm-test-ulps: Update.
2318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2320 2012-03-05 Tom de Vries <tom@codesourcery.com>
2322 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2323 default stack guard is set in last bytes.
2324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2326 2012-03-05 Kees Cook <keescook@chromium.org>
2328 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2331 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2332 possibly allocate from heap instead of stack.
2333 * stdio-common/bug-vfprintf-nargs.c: New file.
2334 * stdio-common/Makefile (tests): Add nargs overflow test.
2336 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2340 2012-03-03 Marek Polacek <polacek@redhat.com>
2342 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2343 * math/math_private.h: Likewise.
2344 * stdlib/tst-strtod.c: Likewise.
2345 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2346 * sysdeps/x86_64/bits/atomic.h: Likewise.
2348 2012-03-02 David S. Miller <davem@davemloft.net>
2350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2354 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2355 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2356 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2357 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2359 2012-03-02 Roland McGrath <roland@hack.frob.com>
2362 * manual/examples/README: New file, says the example source files
2363 can be used under GPL>=2.
2364 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2365 line containing just "*/".
2366 * manual/examples/add.c: Add copyright header (GPL>=2).
2367 * manual/examples/argp-ex1.c: Likewise.
2368 * manual/examples/argp-ex2.c: Likewise.
2369 * manual/examples/argp-ex3.c: Likewise.
2370 * manual/examples/argp-ex4.c: Likewise.
2371 * manual/examples/atexit.c: Likewise.
2372 * manual/examples/db.c: Likewise.
2373 * manual/examples/dir.c: Likewise.
2374 * manual/examples/dir2.c: Likewise.
2375 * manual/examples/execinfo.c: Likewise.
2376 * manual/examples/filecli.c: Likewise.
2377 * manual/examples/filesrv.c: Likewise.
2378 * manual/examples/fmtmsgexpl.c: Likewise.
2379 * manual/examples/genpass.c: Likewise.
2380 * manual/examples/inetcli.c: Likewise.
2381 * manual/examples/inetsrv.c: Likewise.
2382 * manual/examples/isockad.c: Likewise.
2383 * manual/examples/longopt.c: Likewise.
2384 * manual/examples/memopen.c: Likewise.
2385 * manual/examples/memstrm.c: Likewise.
2386 * manual/examples/mkfsock.c: Likewise.
2387 * manual/examples/mkisock.c: Likewise.
2388 * manual/examples/mygetpass.c: Likewise.
2389 * manual/examples/pipe.c: Likewise.
2390 * manual/examples/popen.c: Likewise.
2391 * manual/examples/rprintf.c: Likewise.
2392 * manual/examples/search.c: Likewise.
2393 * manual/examples/select.c: Likewise.
2394 * manual/examples/setjmp.c: Likewise.
2395 * manual/examples/sigh1.c: Likewise.
2396 * manual/examples/sigusr.c: Likewise.
2397 * manual/examples/stpcpy.c: Likewise.
2398 * manual/examples/strdupa.c: Likewise.
2399 * manual/examples/strftim.c: Likewise.
2400 * manual/examples/strncat.c: Likewise.
2401 * manual/examples/subopt.c: Likewise.
2402 * manual/examples/swapcontext.c: Likewise.
2403 * manual/examples/termios.c: Likewise.
2404 * manual/examples/testopt.c: Likewise.
2405 * manual/examples/testpass.c: Likewise.
2406 * manual/examples/timeval_subtract.c: Likewise.
2409 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2411 * manual/timeval_subtract.c.texi: ... here, new file.
2413 2012-03-02 David S. Miller <davem@davemloft.net>
2415 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2417 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2420 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2421 (__sin): Save and restore rounding mode and use round-to-nearest
2422 for all computations.
2423 (__cos): Save and restore rounding mode and use round-to-nearest
2424 for all computations.
2425 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2427 (tan): Save and restore rounding mode and use round-to-nearest for
2429 * math/libm-test.inc (cos_test_tonearest): New function.
2430 (cos_test_towardzero): Likewise.
2431 (cos_test_downward): Likewise.
2432 (cos_test_upward): Likewise.
2433 (sin_test_tonearest): Likewise.
2434 (sin_test_towardzero): Likewise.
2435 (sin_test_downward): Likewise.
2436 (sin_test_upward): Likewise.
2437 (tan_test_tonearest): Likewise.
2438 (tan_test_towardzero): Likewise.
2439 (tan_test_downward): Likewise.
2440 (tan_test_upward): Likewise.
2441 (main): Call the new functions.
2442 * sysdeps/i386/fpu/libm-test-ulps: Update.
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2447 small n, then large n, before computing and testing k+n.
2448 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2453 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2454 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2455 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2457 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2458 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2461 * math/libm-test.inc (scalbn_test): Add more tests.
2462 (scalbln_test): Likewise.
2464 * manual/filesys.texi (mode_t): Describe constraints on size and
2465 signedness, not exact equivalence to a particular type.
2467 (ino64_t): Likewise.
2469 (nlink_t): Likewise.
2470 (blkcnt_t): Likewise.
2471 (blkcnt64_t): Likewise.
2472 * manual/llio.texi (off_t): Likewise.
2475 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2476 (__ieee754_exp): Save and restore rounding mode and use
2477 round-to-nearest for all computations.
2478 * math/libm-test.inc (exp_test_tonearest): New function.
2479 (exp_test_towardzero): Likewise.
2480 (exp_test_downward): Likewise.
2481 (exp_test_upward): Likewise.
2482 (main): Call the new functions.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2486 2012-03-01 Chris Demetriou <cgd@google.com>
2488 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2489 have predictable order.
2491 2012-03-01 David S. Miller <davem@davemloft.net>
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2495 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2500 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2501 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2502 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2504 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2506 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2508 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2513 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2514 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2516 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2517 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2518 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2519 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2520 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2523 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2524 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2532 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2533 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2534 * sysdeps/sparc/elf/configure: Regenerated.
2536 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2538 * configure.in (AS, LD): Require binutils 2.20 or later.
2539 * configure: Regenerated.
2540 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2541 as required minimum version.
2542 * INSTALL: Regenerated.
2546 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2547 before squaring exponent.
2548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2549 bottom long double and 27 bits of top long double before squaring
2551 * math/libm-test.inc (erfc_test): Add more tests.
2552 * sysdeps/i386/fpu/libm-test-ulps: Update.
2553 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556 2012-03-01 Kai Tietz <ktietz@redhat.com>
2558 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2559 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2560 containing bit-fields.
2561 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2562 * soft-fp/single.h (_FP_UNION_S): Likewise.
2563 * soft-fp/double.h (_FP_UNION_D): Likewise.
2565 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2568 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2569 not include ../strcmp.S.
2570 [USE_AS_STRNCASECMP_L]: Likewise.
2571 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2572 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2573 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2574 (__strncasecmp_l_ia32): Define as alias to
2575 __strncasecmp_l_nonascii.
2578 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2585 2012-02-29 Jeff Law <law@redhat.com>
2587 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2590 2012-02-29 Marek Polacek <polacek@redhat.com>
2593 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2594 * elf/Makefile: Add rules to run tst-unused-dep.out.
2596 2012-02-28 David S. Miller <davem@davemloft.net>
2598 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2599 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2602 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2603 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2605 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2607 * math/libm-test.inc (llround_test): Move one test from
2608 lround_test. Use TEST_f_L in moved test.
2609 (lround_test): Move misplaced test to llround_test. Add testcase
2612 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2614 * sysdeps/x86_64/fpu/e_expf.S: New file.
2615 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2617 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2620 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2621 of remain_len that may cause incomplete multi-byte character and
2623 * posix/bug-regex33.c: New file.
2624 * posix/Makefile (tests): Add bug-regex33.
2626 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2628 * manual/macros.texi: New file.
2629 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2630 * manual/libc.texinfo: Include macros.texi.
2631 * manual/creatute.texi: Likewise.
2632 * manual/install.texi: Likewise.
2633 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2634 @glibcadj{} in references to the GNU C Library.
2635 * manual/charset.texi: Likewise.
2636 * manual/conf.texi: Likewise.
2637 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2638 when not using those macros.
2639 * manual/creature.texi: Likewise.
2640 * manual/crypt.texi: Likewise.
2641 * manual/errno.texi: Likewise.
2642 * manual/filesys.texi: Likewise.
2643 * manual/header.texi: Likewise.
2644 * manual/install.texi: Likewise.
2645 * manual/intro.texi: Likewise.
2646 * manual/io.texi: Likewise.
2647 * manual/job.texi: Likewise.
2648 * manual/lang.texi: Likewise.
2649 * manual/libc.texiinfo: Likewise.
2650 * manual/llio.texi: Likewise.
2651 * manual/locale.texi: Likewise.
2652 * manual/maint.texi: Likewise.
2653 * manual/math.texi: Likewise.
2654 * manual/memory.texi: Likewise.
2655 * manual/message.texi: Likewise.
2656 * manual/nss.texi: Likewise.
2657 * manual/pattern.texi: Likewise.
2658 * manual/process.texi: Likewise.
2659 * manual/resource.texi: Likewise.
2660 * manual/search.texi: Likewise.
2661 * manual/setjmp.texi: Likewise.
2662 * manual/signal.texi: Likewise.
2663 * manual/socket.texi: Likewise.
2664 * manual/startup.texi: Likewise.
2665 * manual/stdio.texi: Likewise.
2666 * manual/string.texi: Likewise.
2667 * manual/sysinfo.texi: Likewise.
2668 * manual/syslog.texi: Likewise.
2669 * manual/terminal.texi: Likewise.
2670 * manual/time.texi: Likewise.
2671 * manual/users.texi: Likewise.
2672 * INSTALL: Regenerated.
2673 * NOTES: Regenerated.
2674 * sysdeps/gnu/errlist.c: Regenerated.
2676 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2678 * include/dirent.h: Include <dirstream.h> before
2681 2012-02-28 David S. Miller <davem@davemloft.net>
2683 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2684 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2688 2012-02-27 David S. Miller <davem@davemloft.net>
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2696 frame pointer instead of stack pointer relative arg slot.
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2701 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2704 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2706 2012-02-27 David S. Miller <davem@davemloft.net>
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2714 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2715 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2717 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2719 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2720 later. Allow versions 5-9.
2721 * configure: Regenerated.
2722 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2723 required minimum version and 4.6 as recommended version. Do not
2724 mention bugs in GCC 2.7 and 2.8.
2725 * INSTALL: Regenerated.
2727 2012-02-27 David S. Miller <davem@davemloft.net>
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2734 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2739 manipulate bits before adding and subtracting TWO112[sx].
2740 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2742 2012-02-27 Roland McGrath <roland@hack.frob.com>
2745 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2746 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2747 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2748 being in POSIX, because they are in 1003.1-2008.
2750 * rt/tst-aio.c: Include <fcntl.h>.
2751 * rt/tst-aio7.c: Likewise.
2752 * rt/tst-aio64.c: Likewise.
2754 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2756 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2758 * manual/install.texi (--with-headers): Describe headers as
2759 interface headers, not private headers.
2760 (Specific advice for GNU/Linux systems): Describe use of headers
2761 from "make headers_install", not private headers from older
2763 * INSTALL: Regenerated.
2764 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2766 * sysdeps/unix/sysv/linux/configure: Regenerated.
2768 * manual/llio.texi (fclean): Remove documentation.
2770 * manual/Makefile (libc-texi-generated): New variable. Include
2772 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2773 $(libc-texi-generated), not duplicated list of files.
2774 (version.texi, stamp-version): New rules.
2775 (realclean): Remove $(libc-texi-generated), not individual files
2776 from that list. Do not remove dir-add.texinfo.
2777 * manual/libc.texinfo: Comment out uses of edition numbers and
2778 references to printed manual. Remove last-updated dates.
2779 (EDITION): Comment out.
2781 (VERSION, UPDATED): Remove.
2782 (version.texi): Include.
2784 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2786 * sysdeps/posix/spawni.c: Include <signal.h>.
2787 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2788 * sysdeps/pthread/aio_fsync.c: Likewise.
2790 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2792 * conform/Makefile (tests): Run only when not cross-compiling and
2793 when fast-check is not defined.
2795 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2796 * conform/data/limits.h-data: Fixes for POSIX2008.
2797 * conform/run-conformtest.sh: Run all tests.
2798 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2800 * include/bits/dlfcn.h: Likewise.
2801 * include/langinfo.h: Likewise.
2802 * include/monetary.h: Likewise.
2803 * include/sys/poll.h: Likewise.
2805 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2807 * posix/spawn.h: Define __need_sigset_t.
2808 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2809 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2810 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2811 to get sigevent_t only.
2812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2816 process_vm_writev only for __USE_GNU.
2817 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2819 * conform/Makefile: For now ignore errors from run-conformtest.
2820 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2821 POSIX to avoid namespace pollution. Don't prepend headers.
2822 * conform/data/aio.h-data: Fixes for POSIX testing.
2823 * conform/data/fcntl.h-data: Likewise.
2824 * conform/data/glob.h-data: Likewise.
2825 * conform/data/grp.h-data: Likewise.
2826 * conform/data/pthread.h-data: Likewise.
2827 * conform/data/pwd.h-data: Likewise.
2828 * conform/data/signal.h-data: Likewise.
2829 * conform/data/spawn.h-data: Likewise.
2830 * conform/data/stdio.h-data: Likewise.
2831 * conform/data/stdlib.h-data: Likewise.
2832 * conform/data/stropts.h-data: Likewise.
2833 * conform/data/sys/mman.h-data: Likewise.
2834 * conform/data/sys/stat.h-data: Likewise.
2835 * conform/data/sys/types.h-data: Likewise.
2836 * conform/data/sys/wait.h-data: Likewise.
2837 * conform/data/time.h-data: Likewise.
2838 * conform/data/unistd.h-data: Likewise.
2839 * conform/data/utime.h-data: Likewise.
2841 * io/sys/stat.h: fchmod was always in POSIX.
2842 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2843 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2844 * rt/aio.h: Define __need_timespec before including <time.h>.
2845 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2846 struct. Add forward declaration of pthread_attr_t and use it in
2848 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2850 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2851 always remove CLK_TCK definition.
2853 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2855 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2857 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2859 * conform/run-conformtest.sh: New file.
2860 * conform/Makefile: Run run-conformtest for tests.
2861 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2864 * conform/data/uchar.h-data: New file.
2865 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2866 * conform/data/arpa/inet.h-data: Likewise.
2867 * conform/data/assert.h-data: Likewise.
2868 * conform/data/complex.h-data: Likewise.
2869 * conform/data/cpio.h-data: Likewise.
2870 * conform/data/ctype.h-data: Likewise.
2871 * conform/data/dirent.h-data: Likewise.
2872 * conform/data/dlfcn.h-data: Likewise.
2873 * conform/data/errno.h-data: Likewise.
2874 * conform/data/fcntl.h-data: Likewise.
2875 * conform/data/float.h-data: Likewise.
2876 * conform/data/fmtmsg.h-data: Likewise.
2877 * conform/data/fnmatch.h-data: Likewise.
2878 * conform/data/ftw.h-data: Likewise.
2879 * conform/data/glob.h-data: Likewise.
2880 * conform/data/grp.h-data: Likewise.
2881 * conform/data/iconv.h-data: Likewise.
2882 * conform/data/inttypes.h-data: Likewise.
2883 * conform/data/langinfo.h-data: Likewise.
2884 * conform/data/libgen.h-data: Likewise.
2885 * conform/data/limits.h-data: Likewise.
2886 * conform/data/locale.h-data: Likewise.
2887 * conform/data/math.h-data: Likewise.
2888 * conform/data/monetary.h-data: Likewise.
2889 * conform/data/mqueue.h-data: Likewise.
2890 * conform/data/ndbm.h-data: Likewise.
2891 * conform/data/net/if.h-data: Likewise.
2892 * conform/data/netdb.h-data: Likewise.
2893 * conform/data/netinet/in.h-data: Likewise.
2894 * conform/data/nl_types.h-data: Likewise.
2895 * conform/data/poll.h-data: Likewise.
2896 * conform/data/pthread.h-data: Likewise.
2897 * conform/data/pwd.h-data: Likewise.
2898 * conform/data/regex.h-data: Likewise.
2899 * conform/data/sched.h-data: Likewise.
2900 * conform/data/search.h-data: Likewise.
2901 * conform/data/semaphore.h-data: Likewise.
2902 * conform/data/setjmp.h-data: Likewise.
2903 * conform/data/signal.h-data: Likewise.
2904 * conform/data/spawn.h-data: Likewise.
2905 * conform/data/stdarg.h-data: Likewise.
2906 * conform/data/stdio.h-data: Likewise.
2907 * conform/data/stdlib.h-data: Likewise.
2908 * conform/data/string.h-data: Likewise.
2909 * conform/data/strings.h-data: Likewise.
2910 * conform/data/stropts.h-data: Likewise.
2911 * conform/data/sys/ipc.h-data: Likewise.
2912 * conform/data/sys/mman.h-data: Likewise.
2913 * conform/data/sys/msg.h-data: Likewise.
2914 * conform/data/sys/resource.h-data: Likewise.
2915 * conform/data/sys/select.h-data: Likewise.
2916 * conform/data/sys/sem.h-data: Likewise.
2917 * conform/data/sys/shm.h-data: Likewise.
2918 * conform/data/sys/socket.h-data: Likewise.
2919 * conform/data/sys/stat.h-data: Likewise.
2920 * conform/data/sys/statvfs.h-data: Likewise.
2921 * conform/data/sys/time.h-data: Likewise.
2922 * conform/data/sys/timeb.h-data: Likewise.
2923 * conform/data/sys/times.h-data: Likewise.
2924 * conform/data/sys/types.h-data: Likewise.
2925 * conform/data/sys/uio.h-data: Likewise.
2926 * conform/data/sys/un.h-data: Likewise.
2927 * conform/data/sys/utsname.h-data: Likewise.
2928 * conform/data/sys/wait.h-data: Likewise.
2929 * conform/data/syslog.h-data: Likewise.
2930 * conform/data/tar.h-data: Likewise.
2931 * conform/data/termios.h-data: Likewise.
2932 * conform/data/utime.h-data: Likewise.
2933 * conform/data/utmpx.h-data: Likewise.
2934 * conform/data/varargs.h-data: Likewise.
2935 * conform/data/wchar.h-data: Likewise.
2936 * conform/data/wctype.h-data: Likewise.
2937 * conform/data/wordexp.h-data: Likewise.
2939 * include/stropts.h: New file.
2940 * include/uchar.h: New file.
2941 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2942 * include/assert.h: Likewise.
2943 * include/ctype.h: Likewise.
2944 * include/dirent.h: Likewise.
2945 * include/dlfcn.h: Likewise.
2946 * include/fcntl.h: Likewise.
2947 * include/fnmatch.h: Likewise.
2948 * include/glob.h: Likewise.
2949 * include/grp.h: Likewise.
2950 * include/libio.h: Likewise.
2951 * include/locale.h: Likewise.
2952 * include/math.h: Likewise.
2953 * include/net/if.h: Likewise.
2954 * include/netdb.h: Likewise.
2955 * include/netinet/in.h: Likewise.
2956 * include/pthread.h: Likewise.
2957 * include/pwd.h: Likewise.
2958 * include/regex.h: Likewise.
2959 * include/sched.h: Likewise.
2960 * include/search.h: Likewise.
2961 * include/setjmp.h: Likewise.
2962 * include/signal.h: Likewise.
2963 * include/stdio.h: Likewise.
2964 * include/stdlib.h: Likewise.
2965 * include/string.h: Likewise.
2966 * include/sys/cdefs.h: Likewise.
2967 * include/sys/mman.h: Likewise.
2968 * include/sys/msg.h: Likewise.
2969 * include/sys/resource.h: Likewise.
2970 * include/sys/select.h: Likewise.
2971 * include/sys/socket.h: Likewise.
2972 * include/sys/stat.h: Likewise.
2973 * include/sys/statvfs.h: Likewise.
2974 * include/sys/time.h: Likewise.
2975 * include/sys/times.h: Likewise.
2976 * include/sys/uio.h: Likewise.
2977 * include/sys/utsname.h: Likewise.
2978 * include/sys/wait.h: Likewise.
2979 * include/termios.h: Likewise.
2980 * include/time.h: Likewise.
2981 * include/ulimit.h: Likewise.
2982 * include/unistd.h: Likewise.
2983 * include/utime.h: Likewise.
2984 * include/wchar.h: Likewise.
2985 * include/wctype.h: Likewise.
2986 * include/wordexp.h: Likewise.
2988 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2990 * time/time.h: TIME_UTC must be a macro.
2991 Make timespec_get available for ISO C11 only as well.
2993 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2995 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2996 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2998 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3000 * configure.in: Use -o not -a in test for unsupported multi-arch.
3002 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3004 * manual/texinfo.tex: Update to version 2012-01-19.16.
3006 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3008 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3010 2012-02-24 Roland McGrath <roland@hack.frob.com>
3013 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3014 * manual/fdl-1.3.texi: New file.
3015 * manual/fdl-1.1.texi: File removed.
3018 * manual/libc.texinfo (FDL_VERSION): New @set.
3019 Use it for mention of FDL in cover text.
3020 (Documentation License): Use it in @include file name.
3022 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3023 Roland McGrath <roland@hack.frob.com>
3026 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3027 not LONG_LONG_MAX and LONG_LONG_MIN.
3028 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3029 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3031 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3033 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3038 manipulate bits before adding and subtracting TWO23[sx].
3039 * math/libm-test.inc (nearbyint_test): Add more tests.
3041 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3044 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3045 bits before adding and subtracting TWO23[sx].
3046 * math/libm-test.inc (rint_test): Add more tests.
3047 (rint_test_tonearest): Likewise.
3048 (rint_test_towardzero): Likewise.
3049 (rint_test_downward): Likewise.
3050 (rint_test_upward: Likewise.
3052 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3055 * include/stdc-predef.h: New file. Extracted from features.h.
3056 * include/features.h: Include stdc-predef.h.
3057 * Makefile (headers): Add stdc-predef.h.
3058 * CONFORMANCE (Compiler limitations): Update.
3060 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3062 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3064 2012-02-21 David S. Miller <davem@davemloft.net>
3066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3067 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3069 2012-02-20 David S. Miller <davem@davemloft.net>
3071 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3072 using a normal save/restore sequence, rather than allocating a
3073 dummy stack frame just to store a frame pointer and restore.
3074 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3076 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3078 * manual/install.texi: Fix stray word in line-wrapped comment.
3080 2012-02-20 David S. Miller <davem@davemloft.net>
3082 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3083 both binutils and gcc support GOTDATA.
3085 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3086 "rd %pc" in the PIC register setup sequences.
3088 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3089 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3090 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3091 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3092 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3094 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3097 (SYSCALL_ERROR_HANDLER): Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3101 (SYSCALL_ERROR_HANDLER): Likewise.
3103 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3104 (HAVE_GCC_GOTDATA): New.
3105 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3106 relocation support in both binutils and gcc.
3107 * sysdeps/sparc/elf/configure: Regenerate.
3109 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3110 * sysdeps/sparc/sparc32/elf/configure: Delete.
3111 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3112 * sysdeps/sparc/sparc64/elf/configure: Delete.
3113 * sysdeps/sparc/elf/configure.in: New file.
3114 * sysdeps/sparc/elf/configure: Generate.
3116 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3117 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3118 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3119 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3120 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3122 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3124 * manual/install.texi: Do not mention specific glibc version
3126 * manual/libc.texinfo (VERSION, UPDATED): Update.
3127 (@copying): Use @copyright{} and range of years.
3129 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3132 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3133 [crti.S not in sysdirs] (generated): Do not append.
3134 [crti.S not in sysdirs] (omit-deps): Likewise.
3135 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3136 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3137 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3138 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3139 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3141 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3142 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3143 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3144 * csu/defs.awk: Remove file.
3145 * sysdeps/generic/initfini.c: Likewise.
3146 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3148 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3151 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3153 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3154 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3158 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3160 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3161 (__EPOLL_PACKED): Define to empty if not defined by
3163 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3167 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3170 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3172 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3174 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3178 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3183 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3187 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3190 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3192 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3194 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3195 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3197 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3199 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3202 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3204 * math/w_acos.c: Use non-signaling floating-point comparisons.
3205 * math/w_acosf.c: Likewise.
3206 * math/w_acosh.c: Likewise.
3207 * math/w_acoshf.c: Likewise.
3208 * math/w_acoshl.c: Likewise.
3209 * math/w_acosl.c: Likewise.
3210 * math/w_asin.c: Likewise.
3211 * math/w_asinf.c: Likewise.
3212 * math/w_asinl.c: Likewise.
3213 * math/w_atanh.c: Likewise.
3214 * math/w_atanhf.c: Likewise.
3215 * math/w_atanhl.c: Likewise.
3216 * math/w_exp2.c: Likewise.
3217 * math/w_exp2f.c: Likewise.
3218 * math/w_exp2l.c: Likewise.
3219 * math/w_j0.c: Likewise.
3220 * math/w_j0f.c: Likewise.
3221 * math/w_j0l.c: Likewise.
3222 * math/w_j1.c: Likewise.
3223 * math/w_j1f.c: Likewise.
3224 * math/w_j1l.c: Likewise.
3225 * math/w_jn.c: Likewise.
3226 * math/w_jnf.c: Likewise.
3227 * math/w_log.c: Likewise.
3228 * math/w_log10.c: Likewise.
3229 * math/w_log10f.c: Likewise.
3230 * math/w_log10l.c: Likewise.
3231 * math/w_log2.c: Likewise.
3232 * math/w_log2f.c: Likewise.
3233 * math/w_log2l.c: Likewise.
3234 * math/w_logf.c: Likewise.
3235 * math/w_logl.c: Likewise.
3236 * math/w_sqrt.c: Likewise.
3237 * math/w_sqrtf.c: Likewise.
3238 * math/w_sqrtl.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3241 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3245 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3248 * manual/string.texi (strnlen): Use correct parameter name in
3249 equivalent expression.
3251 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3254 * manual/users.texi (seteuid): Consistently use neweuid for
3257 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3260 * manual/nss.texi (Services in the NSS configuration): Correct
3261 list of services in example configuration file.
3263 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3266 * manual/arith.texi: Remove statements about negative zero
3267 behaving identically to zero.
3269 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3272 * manual/install.texi: Do not document upgrading from libc5.
3274 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3277 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3279 2012-02-18 David S. Miller <davem@davemloft.net>
3281 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3282 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3283 %o7 across the call.
3284 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3289 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3290 * sysdeps/sparc/crtn.S: Likewise.
3292 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3294 * aout/Makefile: Remove.
3296 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3299 * manual/examples/argp-ex1.c (main): Format definition in GNU
3301 * manual/examples/argp-ex2.c (main): Likewise.
3302 * manual/examples/argp-ex3.c (main): Likewise.
3303 * manual/examples/argp-ex4.c (main): Likewise.
3304 * manual/examples/longopt.c (main): Use new-style prototype
3306 * manual/examples/strncat.c (main): Specify return type and use
3307 (void) for arguments.
3308 * manual/examples/subopt.c (main): Use char **argv argument.
3310 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3313 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3316 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3319 * manual/string.texi (strchr): Change when strchrnul is
3322 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3325 * manual/locale.texi (setlocale): Document LOCPATH.
3327 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3330 * manual/process.texi (execle): Move @dots{} before last argument.
3332 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3335 * manual/charset.texi (Generic Charset Conversion): Fix typo
3336 (LC_TYPE -> LC_CTYPE).
3338 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3341 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3342 (scalbnf): Likewise.
3343 (scalbnl): Likewise.
3344 (scalbln): Likewise.
3345 (scalblnf): Likewise.
3346 (scalblnl): Likewise.
3347 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3351 * manual/filesys.texi (telldir): Use braces around return type.
3352 * manual/llio.texi (mmap): Add space after comma.
3354 * manual/math.texi (jn): Use @var{} on parameter names.
3360 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3362 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3364 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3365 (sched_get_priority_max): Likewise.
3366 * manual/signal.texi (sigvec): Add space after comma.
3367 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3369 (if_indextoname): Likewise.
3370 (if_freenameindex): Likewise.
3371 (sendto): Use ',' instead of '.' in prototype.
3372 * manual/startup.texi (syscall): Use @dots{} instead of literal
3374 * manual/stdio.texi (__fpending): Separate initial words of
3375 paragraph from @deftypefun line.
3376 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3378 (vsyslog): Use @var{} on parameter names.
3379 * manual/terminal.texi (stty): Use @var{} on parameter names.
3380 * manual/users.texi (getutmp): Use @var{} on parameter names.
3381 (getutmpx): Likewise.
3383 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3386 * manual/stdio.texi (fopen): Fix typos in description of
3389 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3392 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3393 get clock_id definition.
3395 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3398 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3399 (madvise): Cast every argument to void on its own.
3401 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3404 * manual/startup.texi (Exit Status): Fix typo.
3406 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3409 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3410 * manual/examples/argp-ex2.c: Likewise.
3411 * manual/examples/argp-ex3.c: Likewise.
3413 2012-02-16 Richard Henderson <rth@redhat.com>
3415 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3416 * sysdeps/s390/s390-32/initfini.c: Remove.
3417 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3418 * sysdeps/s390/s390-64/initfini.c: Remove.
3420 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3422 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3423 compiler output for sysdeps/generic/initfini.c.
3424 * sysdeps/sh/elf/initfini.c: Remove file.
3426 2012-02-16 David S. Miller <davem@davemloft.net>
3429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3431 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3432 * sysdeps/sparc/crti.S: New file.
3433 * sysdeps/sparc/crtn.S: New file.
3434 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3435 * sysdeps/sparc/sparc64/Makefile: Likewise.
3437 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3440 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3442 2012-02-15 Roland McGrath <roland@hack.frob.com>
3445 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3447 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3448 (write, read, close): Likewise.
3449 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3451 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3453 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3454 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3455 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3456 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3458 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3462 2012-02-14 Marek Polacek <polacek@redhat.com>
3464 * sysdeps/x86_64/crti.S: New file.
3465 * sysdeps/x86_64/crtn.S: New file.
3466 * sysdeps/x86_64/elf/initfini.c: Remove file.
3468 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3470 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3471 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3472 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3473 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3475 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3479 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3481 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3482 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3484 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3486 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3490 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3492 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3493 __feraiseexcept instead of feraiseexcept.
3495 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3496 nanosleep invocations.
3497 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3498 strings, and add error checking for a nanosleep invocations.
3500 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3502 Replace FSF snail mail address with URLs, as per GNU coding standards.
3503 Most of the snail mail addresses were wrong anyway, and omitting
3504 them makes the source code easier to maintain. Almost all of the
3505 changes are to license notices and to locale LC_IDENTIFICATION
3506 addresses, except for this one:
3507 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3508 not its snail mail address.
3510 2012-02-09 Richard Henderson <rth@twiddle.net>
3512 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3513 of kernel-features.h.
3515 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3517 2012-02-08 Marek Polacek <polacek@redhat.com>
3519 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3520 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3521 * sysdeps/gnu/_G_config.h: Likewise.
3522 * sysdeps/generic/_G_config.h: Likewise.
3524 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3526 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530 * sysdeps/powerpc/powerpc32/crti.S: New file.
3531 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3532 * sysdeps/powerpc/powerpc64/crti.S: New file.
3533 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3535 * Makeconfig (have-initfini): Don't set.
3536 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3537 * configure.in (nopic_initfini): Don't substitute.
3538 * config.h.in (HAVE_INITFINI): Don't #undef.
3539 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3540 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3542 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3544 Support crti.S and crtn.S provided directly by architectures.
3545 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3546 [crti.S in sysdirs] (omit-deps): Likewise.
3547 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3548 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3549 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3550 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3551 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3552 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3553 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3554 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3555 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3556 compiler output for sysdeps/generic/initfini.c.
3557 * sysdeps/i386/elf/Makefile: Remove file.
3558 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3560 2012-02-07 Marek Polacek <polacek@redhat.com>
3562 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3563 * sysdeps/gnu/_G_config.h: Likewise.
3564 * sysdeps/mach/hurd/_G_config.h: Likewise.
3566 2012-02-07 Marek Polacek <polacek@redhat.com>
3568 * math/Makefile (tests): Add tst-CMPLX2.
3569 * math/tst-CMPLX2.c: New file.
3571 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3575 * math/libm-test.inc (jn_test): Add missing L suffix.
3577 2012-02-06 Marek Polacek <polacek@redhat.com>
3579 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3580 * sysdeps/i386/fpu/e_powf.S: Likewise.
3581 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3582 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3584 * sysdeps/i386/fpu/e_pow.S: Likewise.
3585 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3587 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3588 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3589 * sysdeps/i386/fpu/e_log2.S: Likewise.
3590 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3592 * sysdeps/i386/fpu/e_powl.S: Likewise.
3593 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3594 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3595 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3596 * sysdeps/i386/fpu/e_logl.S: Likewise.
3597 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3598 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3599 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3600 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3601 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3602 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3603 * sysdeps/i386/fpu/e_log.S: Likewise.
3604 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3605 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3606 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3607 * sysdeps/i386/fpu/e_logf.S: Likewise.
3608 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3610 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3611 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3612 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3613 * sysdeps/i386/fpu/e_log10.S: Likewise.
3614 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3615 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3616 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3617 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3618 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3619 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3620 * sysdeps/i386/asm-syntax.h: Likewise.
3621 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3622 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3623 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3624 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3625 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3627 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3628 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3629 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3630 * sysdeps/powerpc/sysdep.h: Likewise.
3631 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3634 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3637 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3639 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3641 * sysdeps/i386/sysdep.h: Include <features.h>.
3642 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3645 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3647 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3649 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3652 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3654 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3655 (SETUP_PIC_REG): Use GET_PC_THUNK.
3656 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3659 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3661 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3662 for non-PIC compilation.
3663 (SETUP_PIC_REG): Add .p2align directive.
3664 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3665 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3702 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3703 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3706 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3708 * math/tst-CMPLX.c: Include <stdio.h>.
3710 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3712 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3714 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3715 * sysdeps/sparc/bits/mathdef.h: Likewise.
3717 2012-01-31 Marek Polacek <polacek@redhat.com>
3719 * libio/libio.h: Don't define _PARAMS.
3720 * locale/programs/config.h: Don't define PARAMS.
3721 * stdlib/strtol_l.c: Likewise.
3722 (__strtol_l): Remove PARAMS from the prototype.
3724 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3726 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3727 names. Just use the correct names. Remove unnecessary wrapper
3729 * malloc/arena.c: Likewise.
3730 * malloc/hooks.c: Likewise.
3732 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3733 ARENA_TEST says not to. Simplify test for creation of a new arena.
3734 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3736 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3738 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3740 (update_get_addr): New function.
3741 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3742 GET_ADDR_MODULE parameter.
3744 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3746 * crypt/cert.c: Remove __STDC__ conditionals.
3747 * crypt/crypt-entry.c: Likewise.
3748 * crypt/crypt_util.c: Likewise.
3749 * libio/filedoalloc.c: Likewise.
3750 * libio/fileops.c: Likewise.
3751 * libio/genops.c: Likewise.
3752 * libio/iofclose.c: Likewise.
3753 * libio/iofdopen.c: Likewise.
3754 * libio/iofopen.c: Likewise.
3755 * libio/iofopen64.c: Likewise.
3756 * libio/iogetdelim.c: Likewise.
3757 * libio/iopopen.c: Likewise.
3758 * libio/obprintf.c: Likewise.
3759 * libio/oldfileops.c: Likewise.
3760 * libio/oldiofclose.c: Likewise.
3761 * libio/oldiofdopen.c: Likewise.
3762 * libio/oldiofopen.c: Likewise.
3763 * libio/oldiopopen.c: Likewise.
3764 * libio/wfiledoalloc.c: Likewise.
3765 * libio/wgenops.c: Likewise.
3766 * locale/programs/xmalloc.c: Likewise.
3767 * misc/syslog.c: Likewise.
3768 * stdio-common/xbug.c: Likewise.
3769 * string/memchr.c: Likewise.
3770 * string/memcmp.c: Likewise.
3771 * string/memrchr.c: Likewise.
3772 * string/rawmemchr.c: Likewise.
3773 * sysdeps/posix/getcwd.c: Likewise.
3774 * time/strftime_l.c: Likewise.
3776 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3778 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3779 * config.make.in (config-cflags-sse2avx): Define.
3780 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3783 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3785 * scripts/config.guess: Update from upstream config git repository.
3786 * scripts/config.sub: Likewise.
3788 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3790 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3792 (R_TILEPRO_*, R_TILEGX_*): New macros.
3794 * scripts/firstversions.awk: Fix bug in version range handling.
3796 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3798 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3800 * include/sys/epoll.h: New file.
3801 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3804 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3806 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3807 Avoid unnecessary __WORDSIZE == 64 test.
3808 (fmaxf): Use VEX format if possible.
3813 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3814 * math/math_private.h: Remove libc_fegetround* and
3816 * sysdeps/i386/configure.in: Check for -msse2avx.
3817 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3818 also if SSE2AVX is defined.
3819 Remove libc_fegetround* and libc_fesetround*.
3820 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3821 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3830 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3832 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3834 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3838 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3841 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3843 * Makeconfig (libm): Define.
3844 * elf/Makefile: Add rules to build and run tst-relsort1.
3845 * elf/tst-relsort1.c: New file.
3846 * elf/tst-relsort1mod1.c: New file.
3847 * elf/tst-relsort1mod2.c: New file.
3849 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3851 * math/s_ldexp.c: Remove __STDC__ conditionals.
3852 * math/s_ldexpf.c: Likewise.
3853 * math/s_ldexpl.c: Likewise.
3854 * math/s_nextafter.c: Likewise.
3855 * math/s_nexttowardf.c: Likewise.
3856 * math/s_significand.c: Likewise.
3857 * math/s_significandf.c: Likewise.
3858 * math/s_significandl.c: Likewise.
3859 * math/w_jnl.c: Likewise.
3860 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3861 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3862 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3863 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3864 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3879 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3882 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3896 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3897 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3898 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3899 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3900 * sysdeps/ieee754/k_standard.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3980 * sysdeps/ieee754/s_matherr.c: Likewise.
3981 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3986 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3988 * crypt/md5.h: Remove __STDC__ conditionals.
3989 * libio/libioP.h: Likewise.
3990 * locale/programs/config.h: Likewise.
3991 * sysdeps/generic/sysdep.h: Likewise.
3992 * sysdeps/i386/asm-syntax.h: Likewise.
3993 * sysdeps/s390/asm-syntax.h: Likewise.
3994 * sysdeps/unix/sysdep.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3998 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4000 * libio/libio.h: Remove __STDC__ conditionals.
4001 * malloc/obstack.h: Likewise.
4002 * math/complex.h: Likewise.
4003 * math/math.h: Likewise.
4004 * sysdeps/generic/_G_config.h: Likewise.
4005 * sysdeps/gnu/_G_config.h: Likewise.
4006 * sysdeps/mach/hurd/_G_config.h: Likewise.
4007 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4008 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4009 * sysdeps/sparc/bits/mathdef.h: Likewise.
4011 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4014 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4015 Clean up HAS_* macros.
4016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4017 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4027 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4029 * elf/tst-unique3.cc (gets): Remove declaration.
4030 * elf/tst-unique3lib.cc (gets): Likewise.
4031 * elf/tst-unique3lib2.cc (gets): Likewise.
4032 * elf/tst-unique4.cc (gets): Likewise.
4034 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4036 * include/stdio.h: Add C++ protection. Add gets declarations and
4038 * debug/tst-chk1.c: Don't declare gets here.
4039 * stdio-common/tst-gets.c: Likewise.
4041 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4043 * posix/glob: Remove directory.
4045 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4047 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4049 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4051 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4052 of the non-standard EPFNOSUPPORT.
4054 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4056 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4057 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4058 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4060 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4062 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4064 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4066 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4068 * nscd/grpcache.c (cache_addgr): Likewise.
4069 * nscd/hstcache.c (cache_addhst): Likewise.
4070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4071 * nscd/pwdcache.c (cache_addpw): Likewise.
4072 * nscd/servicescache.c (cache_addserv): Likewise.
4074 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4076 * malloc/malloc.c: Various cleanups.
4077 * malloc/hooks.c: Likewise.
4079 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4080 * stdlib/bug-fmtmsg1.c: New file.
4082 * stdlib/fmtmsg.c (init): Add missing unlock.
4083 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4085 2012-01-12 Marek Polacek <polacek@redhat.com>
4087 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4090 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4092 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4093 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4094 macro to ensure uniqueness of label name.
4095 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4096 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4098 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4100 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4102 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4103 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4107 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4109 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4111 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4112 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4113 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4115 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4117 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4119 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4122 * math/bits/math-finite.h: Add ldexp support.
4124 2012-01-10 Marek Polacek <polacek@redhat.com>
4126 * locale/programs/localedef.h (show_archive_content): Add noreturn
4129 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4131 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4133 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4135 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4137 * io/Makefile (headers): Add bits/poll2.h.
4139 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4142 typo #include statement.
4144 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4146 * include/sys/cdefs.h: Define __attribute_alloc_size.
4147 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4148 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4149 * elf/pldd.c: Likewise.
4150 * iconv/iconv_charmap.c: Likewise.
4151 * iconv/iconvconfig.c: Likewise.
4152 * iconv/strtab.c: Likewise.
4153 * locale/programs/locale.c: Likewise.
4154 * locale/programs/localedef.h: Likewise.
4155 * locale/programs/simple-hash.c: Likewise.
4156 * nscd/nscd.h: Likewise.
4157 * nss/makedb.c: Likewise.
4158 * sysdeps/generic/ldconfig.h: Likewise.
4159 * locale/programs/localedef.c: Remove xmalloc prototype.
4160 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4162 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4164 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4167 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4169 * math/Makefile (tests): Add tst-CMPLX.
4170 * math/tst-CMPLX.c: New file.
4172 * math/complex.h (CMPLXL): Fix typo.
4174 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4175 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4177 * debug/tst-chk1.c: Add poll and ppoll tests.
4178 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4179 * include/sys/poll.h: Add hidden proto for ppoll.
4180 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4181 * sysdeps/mach/hurd/ppoll.c: Likewise.
4182 * io/ppoll.c: Likewise.
4183 * debug/poll_chk.c: New file.
4184 * debug/ppoll_chk.c: New file.
4185 * include/bits/poll2.h: New file.
4186 * io/bits/poll2.h: New file.
4189 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4191 * configure.in: static is always set to yes. Remove.
4192 * config.make.in: Don't set build-static.
4193 * Makeconfig: Remove use of build-static.
4194 * dlfcn/Makefile: Likewise.
4195 * elf/Makefile: Likewise.
4196 * math/Makefile: Likewise.
4197 * misc/Makefile: Likewise.
4198 * nptl/Makefile: Likewise.
4199 * sysdeps/mach/hurd/Makefile: Likewise.
4201 * configure.in: PWD_P is not used anymore.
4202 * config.make.in: Remove PWD_P entry.
4204 * configure.in: Remove last remnants of RANLIB.
4205 No need to check for signed size_t anymore.
4206 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4208 Remove __builtin_expect test because we require at least gcc 3.4.
4209 * aclocal.m4: Likewise.
4211 * wcsmbs/mbrtoc16.c: Implement using towc function.
4212 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4213 * wcsmbs/wcsmbsload.c: Likewise.
4214 * iconv/gconv_simple.c: Likewise.
4215 * iconv/gconv_int.h: Likewise.
4216 * iconv/gconv_builtin.h: Likewise.
4217 * iconv/iconv_prog.c: Remove CHAR16 handling.
4219 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4221 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4223 * configure.in: Remove --with-elf and --enable-bounded options.
4224 Dont set base_machine for ia64. More non-ELF conditions removed.
4225 Remove testing and setting of leading underscore information.
4226 * config.make.in (build-bounded): Set to no.
4227 * config.h.in: Remove NO_UNDERSCORES entry.
4228 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4230 * csu/start.c: Remove !NO_UNDERSCORE code.
4231 * locale/localeinfo.h: Likewise.
4232 * sysdeps/generic/machine-gmon.h: Likewise.
4233 * sysdeps/generic/sysdep.h: Likewise.
4234 * sysdeps/i386/sysdep.h: Likewise.
4235 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4236 * sysdeps/mach/sysdep.h: Likewise.
4237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4239 * sysdeps/sh/sysdep.h: Likewise.
4240 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4241 * sysdeps/unix/i386/sysdep.S: Likewise.
4242 * sysdeps/unix/sparc/start.c: Likewise.
4243 * sysdeps/unix/sparc/sysdep.S: Likewise.
4244 * sysdeps/unix/sparc/sysdep.h: Likewise.
4245 * sysdeps/unix/start.c: Likewise.
4246 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4247 * sysdeps/x86_64/sysdep.h: Likewise.
4249 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4252 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4254 * argp/argp-fmtstream.h: Use const instead __const.
4255 * argp/argp.h: Likewise.
4256 * assert/assert.h: Likewise.
4257 * bits/fenv.h: Likewise.
4258 * bits/sched.h: Likewise.
4259 * bits/sigset.h: Likewise.
4260 * bits/sigthread.h: Likewise.
4261 * catgets/nl_types.h: Likewise.
4262 * conform/data/pthread.h-data: Likewise.
4263 * crypt/crypt-private.h: Likewise.
4264 * crypt/crypt.h: Likewise.
4265 * crypt/crypt_util.c: Likewise.
4266 * ctype/ctype.h: Likewise.
4267 * debug/execinfo.h: Likewise.
4268 * debug/mbsnrtowcs_chk.c: Likewise.
4269 * debug/mbsrtowcs_chk.c: Likewise.
4270 * debug/wcsnrtombs_chk.c: Likewise.
4271 * debug/wcsrtombs_chk.c: Likewise.
4272 * debug/wcstombs_chk.c: Likewise.
4273 * dirent/dirent.h: Likewise.
4274 * dlfcn/dlfcn.h: Likewise.
4275 * elf/neededtest4.c: Likewise.
4276 * grp/grp.h: Likewise.
4277 * gshadow/gshadow.h: Likewise.
4278 * iconv/gconv.h: Likewise.
4279 * iconv/gconv_int.h: Likewise.
4280 * iconv/gconv_simple.c: Likewise.
4281 * iconv/iconv.h: Likewise.
4282 * iconv/loop.c: Likewise.
4283 * iconv/skeleton.c: Likewise.
4284 * include/aio.h: Likewise.
4285 * include/aliases.h: Likewise.
4286 * include/argz.h: Likewise.
4287 * include/arpa/inet.h: Likewise.
4288 * include/assert.h: Likewise.
4289 * include/dirent.h: Likewise.
4290 * include/dlfcn.h: Likewise.
4291 * include/execinfo.h: Likewise.
4292 * include/fcntl.h: Likewise.
4293 * include/fenv.h: Likewise.
4294 * include/glob.h: Likewise.
4295 * include/grp.h: Likewise.
4296 * include/libintl.h: Likewise.
4297 * include/mntent.h: Likewise.
4298 * include/netdb.h: Likewise.
4299 * include/pwd.h: Likewise.
4300 * include/rpc/netdb.h: Likewise.
4301 * include/sched.h: Likewise.
4302 * include/search.h: Likewise.
4303 * include/shadow.h: Likewise.
4304 * include/signal.h: Likewise.
4305 * include/stdio.h: Likewise.
4306 * include/stdlib.h: Likewise.
4307 * include/string.h: Likewise.
4308 * include/sys/socket.h: Likewise.
4309 * include/sys/stat.h: Likewise.
4310 * include/sys/statfs.h: Likewise.
4311 * include/sys/statvfs.h: Likewise.
4312 * include/sys/syslog.h: Likewise.
4313 * include/sys/time.h: Likewise.
4314 * include/sys/uio.h: Likewise.
4315 * include/time.h: Likewise.
4316 * include/unistd.h: Likewise.
4317 * include/utmp.h: Likewise.
4318 * include/wchar.h: Likewise.
4319 * include/wctype.h: Likewise.
4320 * inet/aliases.h: Likewise.
4321 * inet/arpa/inet.h: Likewise.
4322 * inet/netinet/ether.h: Likewise.
4323 * inet/netinet/in.h: Likewise.
4324 * intl/libintl.h: Likewise.
4325 * io/bits/fcntl2.h: Likewise.
4326 * io/fcntl.h: Likewise.
4327 * io/ftw.h: Likewise.
4328 * io/sys/poll.h: Likewise.
4329 * io/sys/stat.h: Likewise.
4330 * io/sys/statfs.h: Likewise.
4331 * io/sys/statvfs.h: Likewise.
4332 * io/utime.h: Likewise.
4333 * libio/bits/stdio.h: Likewise.
4334 * libio/bits/stdio2.h: Likewise.
4335 * libio/libio.h: Likewise.
4336 * libio/libioP.h: Likewise.
4337 * libio/stdio.h: Likewise.
4338 * locale/lc-ctype.c: Likewise.
4339 * locale/locale.h: Likewise.
4340 * login/utmp.h: Likewise.
4341 * malloc/arena.c: Likewise.
4342 * malloc/malloc.c: Likewise.
4343 * malloc/malloc.h: Likewise.
4344 * malloc/mcheck.c: Likewise.
4345 * malloc/mtrace.c: Likewise.
4346 * math/bits/mathcalls.h: Likewise.
4347 * math/fenv.h: Likewise.
4348 * math/math_private.h: Likewise.
4349 * misc/bits/error.h: Likewise.
4350 * misc/bits/syslog.h: Likewise.
4351 * misc/err.h: Likewise.
4352 * misc/error.h: Likewise.
4353 * misc/fstab.h: Likewise.
4354 * misc/mntent.h: Likewise.
4355 * misc/regexp.h: Likewise.
4356 * misc/search.h: Likewise.
4357 * misc/sgtty.h: Likewise.
4358 * misc/sys/mman.h: Likewise.
4359 * misc/sys/syslog.h: Likewise.
4360 * misc/sys/uio.h: Likewise.
4361 * misc/sys/xattr.h: Likewise.
4362 * misc/ttyent.h: Likewise.
4363 * nis/rpcsvc/ypclnt.h: Likewise.
4364 * nss/nss.h: Likewise.
4365 * posix/bits/unistd.h: Likewise.
4366 * posix/fnmatch.h: Likewise.
4367 * posix/glob.h: Likewise.
4368 * posix/sched.h: Likewise.
4369 * posix/spawn.h: Likewise.
4370 * posix/sys/wait.h: Likewise.
4371 * posix/unistd.h: Likewise.
4372 * posix/wordexp.h: Likewise.
4373 * pwd/pwd.h: Likewise.
4374 * resolv/netdb.h: Likewise.
4375 * resource/sys/resource.h: Likewise.
4376 * rt/aio.h: Likewise.
4377 * rt/bits/mqueue2.h: Likewise.
4378 * rt/mqueue.h: Likewise.
4379 * shadow/shadow.h: Likewise.
4380 * signal/signal.h: Likewise.
4381 * socket/send.c: Likewise.
4382 * socket/sendto.c: Likewise.
4383 * socket/sys/socket.h: Likewise.
4384 * stdio-common/printf.h: Likewise.
4385 * stdlib/bits/stdlib.h: Likewise.
4386 * stdlib/fmtmsg.h: Likewise.
4387 * stdlib/monetary.h: Likewise.
4388 * stdlib/stdlib.h: Likewise.
4389 * stdlib/ucontext.h: Likewise.
4390 * streams/stropts.h: Likewise.
4391 * string/argz.h: Likewise.
4392 * string/bits/string2.h: Likewise.
4393 * string/string.h: Likewise.
4394 * string/strings.h: Likewise.
4395 * sunrpc/rpc/auth.h: Likewise.
4396 * sunrpc/rpc/auth_des.h: Likewise.
4397 * sunrpc/rpc/clnt.h: Likewise.
4398 * sunrpc/rpc/netdb.h: Likewise.
4399 * sunrpc/rpc/pmap_clnt.h: Likewise.
4400 * sunrpc/rpc/xdr.h: Likewise.
4401 * sysdeps/generic/inttypes.h: Likewise.
4402 * sysdeps/generic/net/if.h: Likewise.
4403 * sysdeps/generic/sys/swap.h: Likewise.
4404 * sysdeps/gnu/net/if.h: Likewise.
4405 * sysdeps/gnu/utmpx.h: Likewise.
4406 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4407 * sysdeps/i386/i486/bits/string.h: Likewise.
4408 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4409 * sysdeps/s390/bits/string.h: Likewise.
4410 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4411 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4412 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4413 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4414 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4415 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4416 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4417 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4418 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4419 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4420 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4421 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4422 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4423 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4424 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4438 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4439 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4440 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4441 * sysvipc/sys/ipc.h: Likewise.
4442 * sysvipc/sys/msg.h: Likewise.
4443 * sysvipc/sys/sem.h: Likewise.
4444 * sysvipc/sys/shm.h: Likewise.
4445 * termios/termios.h: Likewise.
4446 * time/sys/time.h: Likewise.
4447 * time/time.h: Likewise.
4448 * wcsmbs/bits/wchar2.h: Likewise.
4449 * wcsmbs/uchar.h: Likewise.
4450 * wcsmbs/wchar.h: Likewise.
4451 * wctype/wctype.h: Likewise.
4454 * Makeconfig: Remove all but ELF support including AIX support.
4455 * Makerules: Likewise.
4456 * config.h.in: Likewise.
4457 * config.make.in: Likewise.
4458 * configure: Likewise.
4459 * configure.in: Likewise.
4460 * csu/Makefile: Likewise.
4461 * csu/version.c: Likewise.
4462 * debug/Makefile: Likewise.
4463 * dlfcn/Makefile: Likewise.
4464 * elf/Makefile: Likewise.
4465 * extra-lib.mk: Likewise.
4466 * iconv/Makefile: Likewise.
4467 * include/libc-symbols.h: Likewise.
4468 * include/shlib-compat.h: Likewise.
4469 * resolv/Makefile: Likewise.
4470 * resolv/res_libc.c: Likewise.
4471 * rt/Makefile: Likewise.
4472 * sysdeps/i386/asm-syntax.h: Likewise.
4473 * sysdeps/i386/sysdep.h: Likewise.
4474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4475 * sysdeps/mach/sysdep.h: Likewise.
4476 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4477 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4478 * sysdeps/s390/asm-syntax.h: Likewise.
4479 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4481 * sysdeps/sh/sysdep.h: Likewise.
4482 * sysdeps/unix/sparc/sysdep.h: Likewise.
4483 * sysdeps/wordsize-32/divdi3.c: Likewise.
4484 * sysdeps/x86_64/sysdep.h: Likewise.
4486 * argp/Versions: Remove _argp_unlock_xxx.
4489 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4490 * abilist/libBrokenLocale.abilist: Likewise.
4491 * abilist/libanl.abilist: Likewise.
4492 * abilist/libc.abilist: Likewise.
4493 * abilist/libcrypt.abilist: Likewise.
4494 * abilist/libdl.abilist: Likewise.
4495 * abilist/libm.abilist: Likewise.
4496 * abilist/libnsl.abilist: Likewise.
4497 * abilist/libpthread.abilist: Likewise.
4498 * abilist/libresolv.abilist: Likewise.
4499 * abilist/librt.abilist: Likewise.
4500 * abilist/libthread_db.abilist: Likewise.
4501 * abilist/libutil.abilist: Likewise.
4502 * abilist/libnss_db.abilist: New file.
4504 * scripts/abilist.awk: Add support for indirect functions.
4506 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4508 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4510 * shlib-versions: Remove entries for ports architectures.
4512 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4514 * elf/stackguard-macros.h: Remove support for IA-64.
4515 * elf/tst-auditmod1.c: Likewise.
4516 * sysdeps/generic/ldsodefs.h: Likewise.
4518 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4519 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4523 * configure.in: Remove --enable-omitfp support.
4525 * config.make.in: Likewise.
4526 * Makeconfig: Likewise.
4527 * manual/install.texi: Likewise.
4529 In case anyone cares, the IA-64 architecture could move to ports.
4530 * sysdeps/ia64/*: Removed.
4531 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4532 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4535 * configure.in: Remove entries for unsupported architectures.
4538 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4539 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4541 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4542 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4543 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4544 fall back to using wcrtomb.
4545 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4546 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4548 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4549 * wcsmbs/tst-c16c32-1.c: New file.
4551 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4554 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4556 * elf/tst-unique3.cc: Add explicit declaration of gets.
4557 * elf/tst-unique3lib.cc: Likewise.
4558 * elf/tst-unique3lib2.cc: Likewise.
4559 * elf/tst-unique4.cc: Likewise.
4561 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4563 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4566 * assert/assert.h (static_assert): Don't define for C++.
4567 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4568 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4570 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4572 * iconv/loop.c (single loop): Fix assertion in storing of
4575 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4577 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4579 * posix/getconf.c: Update copyright year.
4580 * nss/getent.c: Likewise.
4581 * nss/makedb.c: Likewise.
4582 * iconv/iconvconfig.c: Likewise.
4583 * iconv/iconv_prog.c: Likewise.
4584 * elf/ldconfig.c: Likewise.
4585 * elf/pldd.c: Likewise.
4586 * elf/sotruss.ksh: Likewise.
4587 * catgets/gencat.c: Likewise.
4588 * csu/version.c: Likewise.
4589 * elf/ldd.bash.in: Likewise.
4590 * elf/sprof.c (print_version): Likewise.
4591 * locale/programs/locale.c: Likewise.
4592 * locale/programs/localedef.c: Likewise.
4593 * login/programs/pt_chown.c: Likewise.
4594 * nscd/nscd.c (print_version): Likewise.
4595 * debug/xtrace.sh: Likewise.
4596 * malloc/memusage.sh: Likewise.
4597 * malloc/mtrace.pl: Likewise.
4598 * debug/catchsegv.sh: Likewise.
4600 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4602 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4605 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4608 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4609 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4611 * iconv/gconv_int.h: Likewise.
4612 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4613 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4614 from libc for GLIBC_2.16.
4615 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4616 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4617 * wcsmbs/uchar.h: Really define mbstate_t.
4618 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4619 * wcsmbs/c16rtomb.c: New file.
4620 * wcsmbs/mbrtoc16.c: New file.
4621 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4623 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4624 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4626 * wcsmbs/wchar.h: Add missing __restrict.
4628 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4631 * time/Makefile (routines): Add timespec_get.
4632 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4633 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4634 timespec for ISO C11.
4635 * time/timespec_get.c: New file.
4636 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4637 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4640 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4641 * stdlib/stdlib.h: Declare aligned_alloc.
4642 * Versions.def: Add GLIBC_2.16 for libc.
4643 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4646 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4649 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4653 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4656 * assert/assert.h (static_assert): Define.
4658 * version.h: Update for 2.16 development version.
4661 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4664 * version.h (RELEASE): Bump for 2.15 release.
4665 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4667 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4668 Patch by Marek Polacek <mpolacek@redhat.com>.
4670 * bits/byteswap.h: Protect long long constants with __extension__.
4671 * sysdeps/i386/bits/byteswap.h: Likewise.
4672 * sysdeps/ia64/bits/byteswap.h: Likewise.
4673 * sysdeps/s390/bits/byteswap.h: Likewise.
4674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4676 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4681 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4683 2011-12-23 Marek Polacek <polacek@redhat.com>
4685 * elf/dl-addr.c (determine_info): Add inline keyword.
4686 * elf/tst-auditmod4b.c (check_avx): Likewise.
4687 * elf/tst-auditmod6b.c (check_avx): Likewise.
4688 * elf/tst-auditmod6c.c (check_avx): Likewise.
4689 * elf/tst-auditmod7b.c (check_avx): Likewise.
4691 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4693 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4696 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4699 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4700 processing for last bytes.
4702 2011-08-06 Bruno Haible <bruno@clisp.org>
4705 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4706 U+0385, not to U+1FEE.
4709 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4710 entry for U+00A5 U+0301.
4712 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4715 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4716 buffer for the output is too small.
4718 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4722 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4723 SSE flags if possible.
4725 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4729 processing for last bytes.
4731 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4733 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4734 (syscall-list-default-options, syscall-list-default-condition)
4735 (syscall-list-includes): Define.
4736 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4737 list of ABIs and options and #if conditions for each ABI. Do not
4738 handle common syscalls between ABIs specially.
4739 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4741 (syscall-list-variants, syscall-list-32bit-options)
4742 (syscall-list-32bit-condition, syscall-list-64bit-options)
4743 (syscall-list-64bit-condition): Define.
4744 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
4753 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4755 (syscall-list-variants, syscall-list-32bit-options)
4756 (syscall-list-32bit-condition, syscall-list-64bit-options)
4757 (syscall-list-64bit-condition): Define.
4759 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4761 * locale/iso-639.def: Add brx entry.
4764 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4765 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4767 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4768 __feraiseexcept_renamed.
4770 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4773 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4774 EPOLLET with unsigned values.
4775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4778 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4779 to large cancellation.
4780 * math/s_cacoshf.c: Likewise.
4781 * math/s_cacoshl.c: Likewise.
4783 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4787 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4788 * math/s_cacoshf.c: Likewise.
4789 * math/s_cacoshl.c: Likewise.
4791 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4794 * iconv/gconv.h: Define __GCONV_SWAP.
4795 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4796 * iconvdata/utf-16.c: Likewise.
4797 * iconvdata/utf-32.c: Likewise.
4799 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4802 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4803 numerator after shifting it by one limb.
4805 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4808 under [__USE_EXTERN_INLINES].
4810 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4813 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4815 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4817 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4818 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4820 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4821 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4822 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4823 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4824 for strncasecmp/strncasecmp_l compilation.
4825 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4826 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4828 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4831 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4834 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4837 * time/tzfile.c (__tzfile_read): Check values from file header.
4839 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4841 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4842 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4843 * powerpc/powerpc32/dl-start.S: Likewise.
4844 * powerpc/powerpc32/elf/start.S: Likewise.
4845 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4846 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4847 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4848 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4849 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4850 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4851 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4852 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4853 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4854 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4855 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4856 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4857 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4858 * powerpc/powerpc32/memset.S: Likewise.
4859 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4860 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4861 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4862 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4863 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4864 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4865 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4866 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4867 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4868 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4869 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4870 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4871 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4873 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * math/libm-test.inc: Added more nearbyint tests.
4876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4881 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4883 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4886 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4888 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4889 Add wcscpy-ssse3 wcscpy-c.
4890 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4891 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4892 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4893 * sysdeps/x86_64/wcschr.S: New file.
4894 * sysdeps/x86_64/wcsrchr.S: New file.
4895 * string/test-strcmp.c: Remove checking of wcscmp function for
4897 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4898 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4899 wcsrchr-sse2 wcsrchr-c.
4900 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4901 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4902 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4903 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4904 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4905 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4906 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4907 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4908 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4909 * wcsmbc/wcschr.c (WCSCHR): New macro.
4911 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4913 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4914 * wcsmbs/test-wcsrchr.c: New file.
4915 * string/test-strrchr.c: Add wcsrchr support.
4917 * wcsmbs/test-wcscpy.c: New file.
4918 * string/test-strcpy.c: Add wcscpy support.
4921 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4926 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4929 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4931 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4933 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4934 Minor optimizations.
4936 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4937 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4938 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4940 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4942 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4943 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4944 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4945 for gcc to avoid warnings.
4946 * inet/Makefile (tests): Add tst-checks.
4947 * inet/tst-checks.c: New file.
4949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4952 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4955 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4956 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4958 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4960 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4962 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4965 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4967 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4970 conditional on GCC version.
4971 (__arch_compare_and_exchange_val_8_acq)
4972 (__arch_compare_and_exchange_val_16_acq)
4973 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4974 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4975 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4977 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/sh/backtrace.c: New file.
4981 2011-12-02 Andreas Schwab <schwab@redhat.com>
4983 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4986 2011-12-01 Andreas Schwab <schwab@redhat.com>
4988 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4989 falling back to utime.
4991 2011-11-30 Andreas Schwab <schwab@redhat.com>
4993 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4994 expectations for float.
4996 2011-11-29 Andreas Schwab <schwab@redhat.com>
4998 * locale/weight.h (findidx): Add parameter len.
4999 * locale/weightwc.h (findidx): Likewise.
5000 * posix/fnmatch_loop.c (FCT): Adjust caller.
5001 * posix/regcomp.c (build_equiv_class): Likewise.
5002 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5003 * posix/regexec.c (check_node_accept_bytes): Likewise.
5004 * string/strcoll_l.c (STRCOLL): Likewise.
5005 * string/strxfrm_l.c (STRXFRM): Likewise.
5007 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5009 * Makefile.in: Remove CVSOPT handling.
5010 * configure.in: Remove use of AC_REVISION.
5011 * iconvdata/Makefile (distribute): No need to filter out CVS.
5012 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5015 2011-11-16 Andreas Schwab <schwab@redhat.com>
5017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5018 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5019 [USE_AS_STRNCASECMP_L]: Likewise.
5020 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5021 NO_TLS_DIRECT_SEG_REFS.
5022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5023 Fix argument offsets for non-PIC.
5024 [USE_AS_STRNCASECMP_L]: Likewise.
5025 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5026 NO_TLS_DIRECT_SEG_REFS.
5028 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5030 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5032 * locale/loadlocale.c (_nl_load_locale): Likewise.
5034 2011-11-15 Andreas Schwab <schwab@redhat.com>
5036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5037 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5039 (SYSCALL_GETTIME): Set errno on error.
5041 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5042 count references to noai6ai_cached.
5044 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5046 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5048 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5049 FD_CLOEXEC for /proc/self/maps.
5051 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5052 FD_CLOEXEC for /proc/meminfo.
5054 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5057 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5058 FD_CLOEXEC for given file.
5060 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5062 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5063 FD_CLOEXEC for /etc/hosts.
5064 (_gethtent): Likewise.
5066 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5068 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5069 cancellation and set FD_CLOEXEC for /etc/netgroup.
5071 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5072 reading /etc/publickey.
5074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5075 allow cancellation when reading /etc/group.
5077 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5079 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5081 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5082 when using data file.
5084 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5086 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5087 (write_nis_obj): Use "c" and "e" in fopen.
5089 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5091 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5093 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5095 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5097 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5100 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5102 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5104 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5106 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5107 file parsing and set FD_CLOEXEC.
5109 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5111 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5113 2011-11-14 Andreas Schwab <schwab@redhat.com>
5115 * malloc/arena.c (arena_get2): Don't call reused_arena when
5116 _int_new_arena failed.
5118 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5120 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5121 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5123 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5126 to compile strcasecmp and strncasecmp.
5127 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5128 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5130 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5132 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5134 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5135 locale-defines.sym to gen-as-const-headers.
5136 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5137 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5139 to compile strcasecmp and strncasecmp.
5140 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5141 strcasecmp_l and strncasecmp_l.
5142 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5143 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5144 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5145 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5146 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5147 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5148 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5149 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5150 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5151 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5152 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5154 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5156 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5157 result of SYSDEP_GETTIME_CPU to retval.
5158 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5159 parameter list to macro. Remove trailing semicolon. Adjust users.
5161 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5164 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5166 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5168 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5169 from unused variable.
5171 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5173 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5176 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5179 * sunrpc/rpc_prot.c (rejected): Fix case value.
5181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5182 unsigned long long int to avoid warnings in shift.
5184 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5186 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5189 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5190 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5191 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5193 * nis/nis_table.c (nis_list): Use variable of correct type for
5194 result of __follow_path call.
5196 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5199 of math functions ceil, trunc, floor, round, and sqrt, when
5200 avaliable on the platform.
5201 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5203 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5204 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5205 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5207 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5209 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5212 2011-11-11 Roland McGrath <roland@hack.frob.com>
5214 * include/unistd.h: Fix __readlink return type.
5215 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5217 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5219 * stdlib/ucontext.h: Undo last change for makecontext.
5221 2011-11-11 Andreas Schwab <schwab@redhat.com>
5223 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5225 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5226 * setjmp/setjmp.h: Mark functions as non-leaf.
5227 * setjmp/bits/setjmp2.h: Likewise.
5228 * stdlib/ucontext.h: Likewise.
5230 2011-11-10 Andreas Schwab <schwab@redhat.com>
5232 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5233 (reused_arena): Don't check arena limit.
5234 (arena_get2): Atomically check arena limit.
5236 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5238 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5239 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5244 2011-11-07 Andreas Schwab <schwab@redhat.com>
5246 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5247 handler when locking.
5249 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5250 Fix size of allocated buffer.
5252 2011-11-04 Andreas Schwab <schwab@redhat.com>
5255 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5256 declarations for long double functions.
5257 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5259 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5261 2011-11-03 Andreas Schwab <schwab@redhat.com>
5263 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5266 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5269 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5271 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5273 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5275 * include/alloca.h (stackinfo_alloca_round): Define.
5276 (extend_alloca): Use it.
5277 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5278 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5281 * scripts/check-local-headers.sh: Ignore libaudit.h.
5283 * nscd/Makefile (extra-objs): Make recursively expanded.
5285 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5287 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5290 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5291 * posix/tst-rfc3484-2.c: Likewise.
5292 * posix/tst-rfc3484-3.c: Likewise.
5294 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5296 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5298 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5299 process_vm_writev from libc using GLIBC_2.15 version.
5301 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5303 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5305 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5308 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5311 * nss/getent.c (initgroups_keys): Show error message in case no group
5314 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5315 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5316 __bump_nl_timestamp.
5317 * nscd/connections (nscd_init): When host database is served open
5318 netlink socket and request notification about configuration changes.
5319 (main_loop_poll): Track netlink file descriptor and bump timestamp
5320 in case data becomes available.
5321 (main_loop_epoll): Likewise.
5322 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5323 (database_pers_head): Add extra_data fileds.
5324 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5325 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5326 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5329 in6ai data, call __free_in6ai.
5330 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5332 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5333 interface information. Reuse previous data if netlink timestamp
5335 (__bump_nl_timestamp): New function.
5336 (__free_in6ai): New function.
5338 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5340 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5341 close_not_cancel_no_status here.
5342 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5344 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5347 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5350 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5351 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5352 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5354 2011-07-03 Andreas Jaeger <aj@suse.de>
5357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5358 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5359 * math/libm-test.inc (sin_test): Add test case.
5361 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5364 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5365 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5367 * elf/chroot_canon.c (chroot_canon): Cleanups.
5369 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5372 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5373 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5375 * string/test-strchr.c: Make usable for strchrnul testing.
5376 * string/test-strchrnul.c: New file.
5377 * string/Makefile (strop-tests): Add strchrnul.
5379 * po/it.po: Update from translation team.
5380 * po/es.po: Likewise.
5382 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5385 the three constants needed as parameters. Drop the others.
5386 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5387 __m128i_strloadu_tolower.
5388 Create and initialize variable zero and use it in all the places
5389 where _mm_setzero_si128 was used.
5391 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5392 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5393 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5394 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5396 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5397 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5398 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5399 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5400 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5401 __mpranred, __mptan.
5402 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5403 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5404 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5405 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5406 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5407 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5409 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5410 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5412 2011-10-28 Andreas Schwab <schwab@redhat.com>
5414 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5416 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5419 wide char related routines to wcsmbs subdir.
5421 2011-10-27 Andreas Schwab <schwab@redhat.com>
5424 * misc/sys/cdefs.h (__THROWNL): Define.
5425 * posix/unistd.h: Use __THREADNL instead of __THREAD
5426 for memory synchronization functions.
5428 2011-10-26 Roland McGrath <roland@hack.frob.com>
5431 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5433 * manual/stdio.texi (Obstack Streams): Node removed.
5435 2011-10-26 Andreas Schwab <schwab@redhat.com>
5437 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5438 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5441 * math/math_private.h (math_force_eval): Allow non-addressable
5443 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5445 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5447 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5459 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5465 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5466 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5469 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5470 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5472 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5473 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5474 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5475 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5476 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5477 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5479 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5480 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5483 place. Use VEX encoding when compiling for AVX.
5485 2011-10-25 Andreas Schwab <schwab@redhat.com>
5487 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5488 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5490 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5492 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5494 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5495 useless if() expression.
5496 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5506 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5508 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5509 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5510 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5516 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5518 2011-10-25 Andreas Schwab <schwab@redhat.com>
5520 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5524 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5526 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5527 .text section. Avoid duplicate constants.
5528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5538 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5540 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5545 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5553 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5560 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5561 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5562 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5563 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5564 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5566 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5567 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5570 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5574 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5576 * sysdeps/x86_64/dla.h: Move to ...
5577 * sysdeps/x86_64/fpu/dla.h: ...here.
5578 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5579 situations. Use __builtin_fma only for gcc 4.6 and up.
5581 * config.make.in: Add have-mfma4 entry.
5582 * configure.in: Substitute libc_cv_cc_fma4.
5583 * math/Makefile (dbl-only-routines): Add sincostab.
5584 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5585 Use __sincostab not sincos.
5586 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5593 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5594 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5595 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5596 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5598 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5599 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5601 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5602 define aliases when function name is a macro.
5603 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5604 sysdeps/ieee754/dbl-64/sincos.tbl.
5605 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5606 fma4-enabled routines.
5607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5630 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5632 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5634 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5635 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5636 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5638 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5649 2011-10-24 Andreas Schwab <schwab@redhat.com>
5651 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5653 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5657 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5659 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5661 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5662 Remove unused variable magic_bits.
5663 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5665 * string/strnlen.c: Define and use STRNLEN macro.
5666 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5667 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5669 * wcsmbs/wcslen.c: Define and use WCSLEN.
5670 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5671 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5672 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5673 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5674 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5675 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5676 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5678 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5681 strnlen-sse2-no-bsf.
5682 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5684 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5685 Add strnlen support.
5686 (USE_AS_STRNLEN): New macro.
5687 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5688 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5689 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5690 * sysdeps/x86_64/wcslen.S: New file.
5692 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5695 XMM-moves are used for copying on small sizes.
5697 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5699 * wcsmbs/Makefile (strop-tests): Add wcschr.
5700 * wcsmbs/test-wcschr.c: New file.
5701 * string/test-strchr.c: Update.
5705 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5707 * wcsmbs/Makefile (strop-tests): Add wcslen.
5708 * wcsmbs/test-wcslen.c: New file.
5709 * string/test-strlen.c: Update.
5713 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5715 * po/it.po: Update from translation team.
5717 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5719 * sysdeps/x86_64/wcscmp.S: Update.
5720 Fix wrong comparison semantics.
5721 wcscmp shall use signed comparison not unsigned.
5722 Don't use substraction to avoid overflow bug.
5723 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5724 * wcsmbc/wcscmp.c: Likewise.
5725 * string/test-strcmp.c: Likewise.
5726 Add new tests to check cases with negative values.
5728 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5730 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5731 * sysdeps/x86_64/dla.h: ...here. New file.
5732 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5742 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5745 __ynl_finite aliases.
5747 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5751 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5753 [DLA_FMA] (EMULV): Use DLA_FMA.
5754 [DLA_FMA] (MUL12): Use EMULV.
5755 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5756 that are not needed.
5757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5765 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5767 * math/s_nan.c: Undef __nan.
5768 * math/s_nanf.c: Undef __nanf.
5769 * math/s_nanl.c: Undef __nanl.
5770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5773 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5775 * math/s_catan.c: Add branch predictions.
5776 * math/s_catanf.c: Likewise.
5777 * math/s_catanh.c: Likewise.
5778 * math/s_catanhf.c: Likewise.
5779 * math/s_catanhl.c: Likewise.
5780 * math/s_catanl.c: Likewise.
5781 * math/s_cexp.c: Likewise.
5782 * math/s_cexpf.c: Likewise.
5783 * math/s_cexpl.c: Likewise.
5784 * math/s_clog.c: Likewise.
5785 * math/s_clog10.c: Likewise.
5786 * math/s_clog10f.c: Likewise.
5787 * math/s_clog10l.c: Likewise.
5788 * math/s_clogf.c: Likewise.
5789 * math/s_clogl.c: Likewise.
5790 * math/s_csqrt.c: Likewise.
5791 * math/s_csqrtf.c: Likewise.
5792 * math/s_csqrtl.c: Likewise.
5793 * math/s_ctanf.c: Likewise.
5794 * math/s_ctanh.c: Likewise.
5795 * math/s_ctanhf.c: Likewise.
5796 * math/s_ctanhl.c: Likewise.
5797 * math/s_ctanl.c: Likewise.
5799 * math/math_private.h: Define __nan, __nanf, __nanl.
5800 * math/s_cacosh.c: Include <math_private.h>.
5801 * math/s_cacoshl.c: Likewise.
5802 * math/s_casinh.c: Likewise.
5803 * math/s_casinhf.c: Likewise.
5804 * math/s_casinhl.c: Likewise.
5805 * math/s_ccos.c: Rely entire on ccosh.
5806 * math/s_ccosf.c: Rely entire on ccoshf.
5807 * math/s_ccosl.c: Rely entirely on ccoshl.
5808 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5809 Remove tests for FE_INVALID.
5810 * math/s_ccoshf.c: Likewise.
5811 * math/s_ccoshl.c: Likewise.
5812 * math/s_csin.c: Likewise.
5813 * math/s_csinf.c: Likewise.
5814 * math/s_csinh.c Likewise.
5815 * math/s_csinhf.c: Likewise.
5816 * math/s_csinhl.c: Likewise.
5817 * math/s_csinl.c: Likewise.
5818 * math/s_ctan.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5820 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5823 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5826 compilation problems.
5828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5831 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5833 * sysdeps/i386/configure.in: Test for -mfma4 option.
5834 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5835 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5836 COMMON_CPUID_INDEX_80000001.
5837 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5838 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5839 use it if FMA3 is not supported.
5840 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5842 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5843 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5845 2011-10-20 Andreas Schwab <schwab@redhat.com>
5848 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5849 it would create a cycle with a link time dependency.
5851 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5853 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5855 * string/Makefile (strop-tests): Add rawmemchr.
5856 * string/test-rawmemchr.c: New file.
5858 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5860 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5861 when compiling str{,n}casecmp and when AVX is available. Hook up
5862 new optimized code in initializers.
5864 2011-10-19 Andreas Schwab <schwab@redhat.com>
5866 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5867 __feraiseexcept instead of feraiseexcept.
5869 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5871 * math/math_private.h: Define defaults for libc_fetestexcept and
5873 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5874 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5875 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5876 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5877 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5878 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5879 libc_fetestexcept and libc_feupdateenv.
5881 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5882 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5883 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5884 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5885 libc_feholdexcept_setround.
5887 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5888 Add s_nearbyint-c and s_nearbyintf-c.
5889 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5891 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5896 * math/math_private.h: Define defaults for libc_fegetround,
5897 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5898 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5899 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5901 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5903 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5904 Remove comments and hacks for old compiler versions.
5905 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5906 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5909 2011-10-18 Andreas Schwab <schwab@redhat.com>
5911 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5912 (__feraiseexcept_renamed): Add __NTH.
5913 (feraiseexcept): Add __NTH. Rename local variables to fix
5914 namespace violations.
5916 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5920 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5922 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5923 recently added interfaces.
5924 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5926 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5927 about macro parameter expansion.
5929 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5930 __NO_MATH_INLINES is defined. Cleanups.
5932 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5933 and __floorf is target has SSE4.1.
5934 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5935 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5936 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5937 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5939 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5943 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5945 2011-10-17 Andreas Schwab <schwab@redhat.com>
5947 * misc/sys/cdefs.h: Fix last change.
5949 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5952 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5954 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5956 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5957 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5962 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5963 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5964 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5965 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5966 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5967 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5968 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5969 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5970 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5972 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5974 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5976 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5979 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5980 ceil, ceilf, floor, floorf.
5982 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5983 Perform IRELATIVE relocations last.
5985 * elf/do-rel.h: Add another parameter nrelative, replacing the
5986 local variable with the same name. Change name of the function
5987 to end in Rel or Rela (uppercase).
5988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5989 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5990 elf_dynamic_do_##reloc function.
5992 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5994 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5995 is sufficient, at least on modern CPUs.
5997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5999 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6000 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6002 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6004 * math/bits/math-finite.h: Add entries for exp.
6005 * math/e_expl.c: Add __*_finite alias.
6006 * sysdeps/i386/fpu/e_exp.S: Likewise.
6007 * sysdeps/i386/fpu/e_expf.S: Likewise.
6008 * sysdeps/i386/fpu/e_expl.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6010 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6014 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6015 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6017 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6018 is sufficient, at least on modern CPUs.
6020 * ctype/ctype-info.c (__ctype_init): Define.
6021 * include/ctype.h (__ctype_init): Declare.
6022 (__ctype_b_loc): The variable is always initialized.
6023 (__ctype_toupper_loc): Likewise.
6024 (__ctype_tolower_loc): Likewise.
6025 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6026 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6028 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6030 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6032 * configure.in: Also look in $cxxmachine/include for C++ system
6035 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6037 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6038 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6039 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6040 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6042 (USE_AS_WMEMCMP): New macro.
6044 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6045 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6046 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6047 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6049 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6050 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6051 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6052 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6053 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6054 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6055 (USE_AS_WMEMCMP): New macro.
6056 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6057 * sysdeps/string/test-memcmp.c: Update.
6060 * wcsmbs/wmemcmp.c: Update.
6061 (WMEMCMP): New macro.
6064 2011-10-12 Andreas Jaeger <aj@suse.de>
6067 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6069 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6071 * libio/iofwide.c (do_length): Avoid warning.
6073 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6075 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6077 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6079 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6080 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6081 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6082 * sysdeps/i386/i686/fpu/e_log.S: New file.
6083 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6084 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6086 * ctype/ctype.h: Add support for inlined isXXX functions when
6089 2011-10-14 Andreas Schwab <schwab@redhat.com>
6091 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6095 2011-10-13 Roland McGrath <roland@hack.frob.com>
6098 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6100 2011-10-13 Andreas Schwab <schwab@redhat.com>
6102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6103 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6106 * sysdeps/x86_64/memrchr.S: Check for zero size.
6108 * string/stratcliff.c: Add memrchr tests.
6110 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6113 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6114 rawmemchr-sse2 rawmemchr-sse2-bsf.
6115 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6116 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6117 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6118 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6119 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6120 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6121 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6122 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6123 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6124 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6125 * string/memrchr.c (MEMRCHR): New macro.
6127 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6129 Add integration with gcc's -ffinite-math-only and optimize wrapper
6131 * Versions.def: Define GLIBC_2.15 version for libm.
6132 * math/Makefile (headers): Add bits/math-finite.h.
6133 * math/bits/math-finite.h: New file.
6134 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6135 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6136 * math/e_acoshl.c: Add __*_finite alias.
6137 * math/e_acosl.c: Likewise.
6138 * math/e_asinl.c: Likewise.
6139 * math/e_atan2l.c: Likewise.
6140 * math/e_atanhl.c: Likewise.
6141 * math/e_coshl.c: Likewise.
6142 * math/e_exp10.c: Likewise.
6143 * math/e_exp10f.c: Likewise.
6144 * math/e_exp10l.c: Likewise.
6145 * math/e_exp2l.c: Likewise.
6146 * math/e_fmodl.c: Likewise.
6147 * math/e_gammal_r.c: Likewise.
6148 * math/e_hypotl.c: Likewise.
6149 * math/e_j0l.c: Likewise.
6150 * math/e_j1l.c: Likewise.
6151 * math/e_jnl.c: Likewise.
6152 * math/e_lgammal_r.c: Likewise.
6153 * math/e_log10l.c: Likewise.
6154 * math/e_log2l.c: Likewise.
6155 * math/e_logl.c: Likewise.
6156 * math/e_powl.c: Likewise.
6157 * math/e_sinhl.c: Likewise.
6158 * math/e_sqrtl.c: Likewise.
6159 * math/e_scalb.c: Completely rewritten and optimized.
6160 * math/e_scalbf.c: Likewise.
6161 * math/e_scalbl.c: Likewise.
6162 * math/w_acos.c: Likewise.
6163 * math/w_acosf.c: Likewise.
6164 * math/w_acosl.c: Likewise.
6165 * math/w_acosh.c: Likewise.
6166 * math/w_acoshf.c: Likewise.
6167 * math/w_acoshl.c: Likewise.
6168 * math/w_asin.c: Likewise.
6169 * math/w_asinf.c: Likewise.
6170 * math/w_asinl.c: Likewise.
6171 * math/w_atan2.c: Likewise.
6172 * math/w_atan2f.c: Likewise.
6173 * math/w_atan2l.c: Likewise.
6174 * math/w_atanh.c: Likewise.
6175 * math/w_atanhf.c: Likewise.
6176 * math/w_atanhl.c: Likewise.
6177 * math/w_exp10.c: Likewise.
6178 * math/w_exp10f.c: Likewise.
6179 * math/w_exp10l.c: Likewise.
6180 * math/w_fmod.c: Likewise.
6181 * math/w_fmodf.c: Likewise.
6182 * math/w_fmodl.c: Likewise.
6183 * math/w_j0.c: Likewise.
6184 * math/w_j0f.c: Likewise.
6185 * math/w_j0l.c: Likewise.
6186 * math/w_j1.c: Likewise.
6187 * math/w_j1f.c: Likewise.
6188 * math/w_j1l.c: Likewise.
6189 * math/w_jn.c: Likewise.
6190 * math/w_jnf.c: Likewise.
6191 * math/w_log.c: Likewise.
6192 * math/w_logf.c: Likewise.
6193 * math/w_logl.c: Likewise.
6194 * math/w_log10.c: Likewise.
6195 * math/w_log10f.c: Likewise.
6196 * math/w_log10l.c: Likewise.
6197 * math/w_log2.c: Likewise.
6198 * math/w_log2f.c: Likewise.
6199 * math/w_log2l.c: Likewise.
6200 * math/w_pow.c: Likewise.
6201 * math/w_powf.c: Likewise.
6202 * math/w_powl.c: Likewise.
6203 * math/w_remainder.c: Likewise.
6204 * math/w_remainderf.c: Likewise.
6205 * math/w_remainderl.c: Likewise.
6206 * math/w_scalb.c: Likewise.
6207 * math/w_scalbf.c: Likewise.
6208 * math/w_scalbl.c: Likewise.
6209 * math/w_sqrt.c: Likewise.
6210 * math/w_sqrtf.c: Likewise.
6211 * math/w_sqrtl.c: Likewise.
6212 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6213 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6215 * math/math_private.h: Declare __kernel_standard_f.
6216 * math/w_cosh.c: Remove cruft and optimize a bit.
6217 * math/w_coshf.c: Likewise.
6218 * math/w_coshl.c: Likewise.
6219 * math/w_exp2.c: Likewise.
6220 * math/w_exp2f.c: Likewise.
6221 * math/w_exp2l.c: Likewise.
6222 * math/w_hypot.c: Likewise.
6223 * math/w_hypotf.c: Likewise.
6224 * math/w_hypotl.c: Likewise.
6225 * math/w_lgamma.c: Likewise.
6226 * math/w_lgamma_r.c: Likewise.
6227 * math/w_lgammaf.c: Likewise.
6228 * math/w_lgammaf_r.c: Likewise.
6229 * math/w_lgammal.c: Likewise.
6230 * math/w_lgammal_r.c: Likewise.
6231 * math/w_sinh.c: Likewise.
6232 * math/w_sinhf.c: Likewise.
6233 * math/w_sinhl.c: Likewise.
6234 * math/w_tgamma.c: Likewise.
6235 * math/w_tgammaf.c: Likewise.
6236 * math/w_tgammal.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6239 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6240 Minor optimizations. Pretty printing. Remove cruft.
6241 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6242 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6245 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6246 * sysdeps/i386/fpu/e_asin.S: Likewise.
6247 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6248 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6249 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6250 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6254 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6255 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6256 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6257 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6258 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6259 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6260 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6261 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6262 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6263 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6264 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6265 * sysdeps/i386/fpu/e_log.S: Likewise.
6266 * sysdeps/i386/fpu/e_log10.S: Likewise.
6267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6268 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6269 * sysdeps/i386/fpu/e_log2.S: Likewise.
6270 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6271 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6272 * sysdeps/i386/fpu/e_logf.S: Likewise.
6273 * sysdeps/i386/fpu/e_logl.S: Likewise.
6274 * sysdeps/i386/fpu/e_pow.S: Likewise.
6275 * sysdeps/i386/fpu/e_powf.S: Likewise.
6276 * sysdeps/i386/fpu/e_powl.S: Likewise.
6277 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6278 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6279 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6280 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6281 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6282 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6283 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6284 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6285 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6310 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6311 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6313 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6317 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6318 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6319 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6320 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6321 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6322 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6323 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6324 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6325 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6326 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6377 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6378 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6379 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6382 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6383 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6384 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6385 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6386 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6387 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6388 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6389 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6390 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6391 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6392 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6394 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6396 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6397 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6398 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6399 (__isnanf): Likewise.
6400 (__isinf_ns): Likewise.
6401 (__isinf_nsf): Likewise.
6402 (__finite): Likewise.
6403 (__finitef): Likewise.
6404 (__ieee754_sqrt): Define as macro.
6405 (__ieee754_sqrtf): Define as macro.
6406 (__ieee754_sqrtl): Define as macro.
6407 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6409 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6410 __FINITE_MATH_ONLY__ consistent.
6411 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6413 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6415 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6418 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6420 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6422 * po/ja.po: Update from translation team.
6424 2011-10-08 Roland McGrath <roland@hack.frob.com>
6426 * locale/programs/locarchive.c (prepare_address_space): New function.
6427 (create_archive, enlarge_archive, open_archive): Use it.
6429 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6430 inside [SHARED], where it is used.
6432 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6434 * nss/getent.c (netgroup_keys): Remove unused variable.
6435 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6437 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6439 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6440 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6443 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6444 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6445 * math/Makefile (libm-calls): Add s_isinf_ns.
6446 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6447 * math/multc3.c: Likewise.
6448 * math/s_casin.c: Likewise.
6449 * math/s_casinf.c: Likewise.
6450 * math/s_casinl.c: Likewise.
6451 * math/s_ccos.c: Likewise.
6452 * math/s_ccosf.c: Likewise.
6453 * math/s_ccosl.c: Likewise.
6454 * math/s_ctan.c: Likewise.
6455 * math/s_ctanf.c: Likewise.
6456 * math/s_ctanh.c: Likewise.
6457 * math/s_ctanhf.c: Likewise.
6458 * math/s_ctanhl.c: Likewise.
6459 * math/s_ctanl.c: Likewise.
6460 * math/w_fmod.c: Likewise.
6461 * math/w_fmodf.c: Likewise.
6462 * math/w_fmodl.c: Likewise.
6463 * math/w_remainder.c: Likewise.
6464 * math/w_remainderf.c: Likewise.
6465 * math/w_remainderl.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6467 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6468 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6470 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6471 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6472 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6473 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6475 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6477 * stdio-common/printf_fphex.c: Likewise.
6478 * stdio-common/printf_size.c: Likewise.
6480 * math/e_exp10.c: Include math_private.h using <...> not "...".
6481 * math/e_exp10f.c: Likewise.
6482 * math/e_exp10l.c: Likewise.
6483 * math/e_exp2l.c: Likewise.
6484 * math/e_j0l.c: Likewise.
6485 * math/e_j1l.c: Likewise.
6486 * math/e_jnl.c: Likewise.
6487 * math/e_lgammal_r.c: Likewise.
6488 * math/e_rem_pio2l.c: Likewise.
6489 * math/e_scalb.c: Likewise.
6490 * math/e_scalbf.c: Likewise.
6491 * math/e_scalbl.c: Likewise.
6492 * math/k_cosl.c: Likewise.
6493 * math/k_sinl.c: Likewise.
6494 * math/k_tanl.c: Likewise.
6495 * math/s_cacoshf.c: Likewise.
6496 * math/s_catan.c: Likewise.
6497 * math/s_catanf.c: Likewise.
6498 * math/s_catanh.c: Likewise.
6499 * math/s_catanhf.c: Likewise.
6500 * math/s_catanhl.c: Likewise.
6501 * math/s_catanl.c: Likewise.
6502 * math/s_ccosh.c: Likewise.
6503 * math/s_ccoshf.c: Likewise.
6504 * math/s_ccoshl.c: Likewise.
6505 * math/s_cexp.c: Likewise.
6506 * math/s_cexpf.c: Likewise.
6507 * math/s_cexpl.c: Likewise.
6508 * math/s_clog.c: Likewise.
6509 * math/s_clog10.c: Likewise.
6510 * math/s_clog10f.c: Likewise.
6511 * math/s_clog10l.c: Likewise.
6512 * math/s_clogf.c: Likewise.
6513 * math/s_clogl.c: Likewise.
6514 * math/s_csin.c: Likewise.
6515 * math/s_csinf.c: Likewise.
6516 * math/s_csinh.c: Likewise.
6517 * math/s_csinhf.c: Likewise.
6518 * math/s_csinhl.c: Likewise.
6519 * math/s_csinl.c: Likewise.
6520 * math/s_csqrt.c: Likewise.
6521 * math/s_csqrtf.c: Likewise.
6522 * math/s_csqrtl.c: Likewise.
6523 * math/s_ctan.c: Likewise.
6524 * math/s_ctanf.c: Likewise.
6525 * math/s_ctanh.c: Likewise.
6526 * math/s_ctanhf.c: Likewise.
6527 * math/s_ctanhl.c: Likewise.
6528 * math/s_ctanl.c: Likewise.
6529 * math/s_ldexp.c: Likewise.
6530 * math/s_ldexpf.c: Likewise.
6531 * math/s_ldexpl.c: Likewise.
6532 * math/s_significand.c: Likewise.
6533 * math/s_significandf.c: Likewise.
6534 * math/s_significandl.c: Likewise.
6535 * math/w_acos.c: Likewise.
6536 * math/w_acosf.c: Likewise.
6537 * math/w_acosh.c: Likewise.
6538 * math/w_acoshf.c: Likewise.
6539 * math/w_acoshl.c: Likewise.
6540 * math/w_acosl.c: Likewise.
6541 * math/w_asin.c: Likewise.
6542 * math/w_asinf.c: Likewise.
6543 * math/w_asinl.c: Likewise.
6544 * math/w_atan2.c: Likewise.
6545 * math/w_atan2f.c: Likewise.
6546 * math/w_atan2l.c: Likewise.
6547 * math/w_atanh.c: Likewise.
6548 * math/w_atanhf.c: Likewise.
6549 * math/w_atanhl.c: Likewise.
6550 * math/w_cosh.c: Likewise.
6551 * math/w_coshf.c: Likewise.
6552 * math/w_coshl.c: Likewise.
6553 * math/w_dremf.c: Likewise.
6554 * math/w_exp10.c: Likewise.
6555 * math/w_exp10f.c: Likewise.
6556 * math/w_exp10l.c: Likewise.
6557 * math/w_exp2.c: Likewise.
6558 * math/w_exp2f.c: Likewise.
6559 * math/w_fmod.c: Likewise.
6560 * math/w_fmodf.c: Likewise.
6561 * math/w_fmodl.c: Likewise.
6562 * math/w_hypot.c: Likewise.
6563 * math/w_hypotf.c: Likewise.
6564 * math/w_hypotl.c: Likewise.
6565 * math/w_j0.c: Likewise.
6566 * math/w_j0f.c: Likewise.
6567 * math/w_j0l.c: Likewise.
6568 * math/w_j1.c: Likewise.
6569 * math/w_j1f.c: Likewise.
6570 * math/w_j1l.c: Likewise.
6571 * math/w_jn.c: Likewise.
6572 * math/w_jnf.c: Likewise.
6573 * math/w_jnl.c: Likewise.
6574 * math/w_lgamma.c: Likewise.
6575 * math/w_lgamma_r.c: Likewise.
6576 * math/w_lgammaf.c: Likewise.
6577 * math/w_lgammaf_r.c: Likewise.
6578 * math/w_lgammal.c: Likewise.
6579 * math/w_lgammal_r.c: Likewise.
6580 * math/w_log.c: Likewise.
6581 * math/w_log10.c: Likewise.
6582 * math/w_log10f.c: Likewise.
6583 * math/w_log10l.c: Likewise.
6584 * math/w_log2.c: Likewise.
6585 * math/w_log2f.c: Likewise.
6586 * math/w_log2l.c: Likewise.
6587 * math/w_logf.c: Likewise.
6588 * math/w_logl.c: Likewise.
6589 * math/w_pow.c: Likewise.
6590 * math/w_powf.c: Likewise.
6591 * math/w_powl.c: Likewise.
6592 * math/w_remainder.c: Likewise.
6593 * math/w_remainderf.c: Likewise.
6594 * math/w_remainderl.c: Likewise.
6595 * math/w_scalb.c: Likewise.
6596 * math/w_scalbf.c: Likewise.
6597 * math/w_scalbl.c: Likewise.
6598 * math/w_sinh.c: Likewise.
6599 * math/w_sinhf.c: Likewise.
6600 * math/w_sinhl.c: Likewise.
6601 * math/w_sqrt.c: Likewise.
6602 * math/w_sqrtf.c: Likewise.
6603 * math/w_sqrtl.c: Likewise.
6604 * math/w_tgamma.c: Likewise.
6605 * math/w_tgammaf.c: Likewise.
6606 * math/w_tgammal.c: Likewise.
6608 * po/ja.po: Update from translation team.
6610 2011-09-29 Andreas Jaeger <aj@suse.de>
6613 * sunrpc/netname.c (netname2host): Fix logic.
6617 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6619 * math/w_remainder.c (__remainder): Likewise.
6620 * math/w_remainderf.c (__remainderf): Likewise.
6621 * math/libm-test.inc (remainder_test): Add test cases.
6623 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6625 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6628 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6630 * string/test-memcmp.c: Avoid unncessary #defines.
6631 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6633 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6635 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6636 Use new sse2 version for core i3 - i7 as it's faster
6638 (bit_Prefer_PMINUB_for_stringop): New.
6639 * sysdeps/x86_64/rawmemchr.S: Update.
6640 Replace with faster SSE2 version.
6641 * sysdeps/x86_64/memrchr.S: New file.
6642 * sysdeps/x86_64/memchr.S: Update.
6643 Replace with faster SSE2 version.
6645 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6647 * elf/dl-load.c (lose): Add cast to avoid warning.
6649 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6651 * po/ca.po: Update from translation team.
6653 * inet/getnetgrent_r.c: Hook up nscd.
6654 * nscd/Makefile (routines): Add nscd_netgroup.
6655 (nscd-modules): Add netgroupcache.
6656 (CFLAGS-netgroupcache.c): Define.
6657 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6658 (cache_search): Add const to second parameter.
6659 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6661 (dbs): Add netgrdb entry.
6662 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6663 (verify_persistent_db): Handle netgrdb.
6664 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6665 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6667 (netgroup_response_header): Define.
6668 (innetgroup_response_header): Define.
6669 (datahead): Add netgroup_response_header and innetgroup_response_header
6671 * nscd/nscd.conf: Add entries for netgroup cache.
6672 * nscd/nscd.h (dbtype): Add netgrdb.
6673 (_PATH_NSCD_NETGROUP_DB): Define.
6674 (netgroup_iov_disabled): Declare.
6675 (xmalloc, xcalloc, xrealloc): Move declarations here.
6676 (cache_search): Adjust prototype.
6677 Add netgroup-related prototypes.
6678 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6679 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6680 (__nscd_innetgr): Declare.
6681 * nscd/selinux.c (perms): Use access_vector_t as element type and
6682 add netgroup-related initializers.
6683 * nscd/netgroupcache.c: New file.
6684 * nscd/nscd_netgroup.c: New file.
6685 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6686 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6687 For four parameters use innetgr.
6688 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6689 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6690 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6691 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6693 * nscd/connections.c (register_traced_file): Don't register file
6694 for disabled databases.
6696 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6698 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6700 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6701 from tree and freeing node.
6703 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6705 * nss/nsswitch.c (__nss_database_lookup): Handle
6706 nss_parse_service_list out of memory case.
6708 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6710 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6713 2011-10-04 Andreas Schwab <schwab@redhat.com>
6715 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6716 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6718 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6719 elf_machine_rela, elf_machine_lazy_rel.
6720 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6721 (ELF_DYNAMIC_DO_REL): Likewise.
6722 (ELF_DYNAMIC_DO_RELA): Likewise.
6723 (ELF_DYNAMIC_RELOCATE): Likewise.
6724 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6725 to ELF_DYNAMIC_DO_REL.
6726 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6727 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6728 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6730 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6731 skip_ifunc, don't call ifunc function if non-zero.
6732 (elf_machine_rela): Likewise.
6733 (elf_machine_lazy_rel): Likewise.
6734 (elf_machine_lazy_rela): Likewise.
6735 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6736 (elf_machine_lazy_rel): Likewise.
6737 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6739 (elf_machine_lazy_rel): Likewise.
6740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6742 (elf_machine_lazy_rel): Likewise.
6743 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6744 (elf_machine_lazy_rel): Likewise.
6745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6746 (elf_machine_lazy_rel): Likewise.
6747 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6748 (elf_machine_lazy_rel): Likewise.
6749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6750 (elf_machine_lazy_rel): Likewise.
6751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6752 (elf_machine_lazy_rel): Likewise.
6753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6754 (elf_machine_lazy_rel): Likewise.
6756 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6758 * nss/nss_files/files-init.c (_nss_files_init): Use static
6759 initialization for all the *_traced_file variables.
6761 2011-09-28 Andreas Schwab <schwab@redhat.com>
6763 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6765 2011-09-27 Roland McGrath <roland@hack.frob.com>
6768 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6770 2011-09-27 Andreas Schwab <schwab@redhat.com>
6772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6773 Reread the line before reparsing it.
6775 2011-09-26 Andreas Schwab <schwab@redhat.com>
6777 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6779 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6780 Maxim Kuvyrkov <maxim@codesourcery.com>
6781 Joseph Myers <joseph@codesourcery.com>
6783 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6784 if needed for __stack_chk_guard.
6786 2011-09-19 Roland McGrath <roland@hack.frob.com>
6788 * sysdeps/posix/spawni.c (script_execute): Always define it.
6789 It will be optimized away if unused.
6790 (maybe_script_execute): New function.
6791 (__spawni): Call it.
6793 * Makerules: Don't include tls.make.
6794 (config-tls): Always set to thread.
6795 * tls.make.c: File removed.
6797 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6799 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6800 * config.make.in (CPPFLAGS-config): New substituted variable.
6802 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6807 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6808 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6810 2011-09-15 Roland McGrath <roland@hack.frob.com>
6812 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6813 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6815 (CALL_FAIL): Likewise.
6816 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6817 (CALL_FAIL): Macro removed.
6818 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6820 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6823 for __FINITE_MATH_ONLY__ == 1.
6825 2011-09-15 Andreas Schwab <schwab@redhat.com>
6827 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6828 __ieee754_sqrt instead of sqrt.
6829 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6830 __ieee754_sqrtf instead of sqrtf.
6831 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6832 __floorf instead of floorf.
6833 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6834 __floorf, __truncf instead of floorf, truncf.
6836 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6838 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6840 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6841 __extern_always_inline.
6842 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6845 2011-09-14 Andreas Schwab <schwab@redhat.com>
6847 * elf/rtld.c (dl_main): Also relocate in dependency order when
6848 doing symbol dependency testing.
6850 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6853 Always define `refsym'.
6855 2011-09-13 Andreas Schwab <schwab@redhat.com>
6857 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6858 (__FD_ELT): Renamed from __FDELT.
6859 * misc/bits/select2.h (__FD_ELT): Likewise.
6860 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6861 __FD_MASK instead of __FDELT, __FDMASK.
6862 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6864 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6867 * elf/Makefile (gen-ldd): Fix pattern.
6869 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6870 (init_tls): Likewise.
6872 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6876 2011-09-12 Andreas Schwab <schwab@redhat.com>
6878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6879 `struct cmsghdr *' instead of `void *'.
6880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6883 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6885 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6887 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6890 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6892 * configure.in: Remove --with-tls option.
6893 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6894 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6895 out in case it is missing.
6896 * sysdeps/ia64/elf/configure.in: Likewise.
6897 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6898 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6899 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6900 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6901 * sysdeps/sh/elf/configure.in: Likewise.
6902 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6903 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6904 * sysdeps/x86_64/elf/configure.in: Likewise.
6905 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6906 * sysdeps/mach/hurd/tls.h: Likewise.
6909 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6912 * configure.in: Fix use of AC_INIT.
6914 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6916 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6918 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6920 * malloc/hooks.c: Likewise.
6923 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6924 variables statically.
6925 (narenas): Initialize.
6926 (list_lock): Initialize.
6927 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6928 initializtion of main_arena and list_lock. Small cleanups.
6929 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6930 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6931 Add initializers to main_arena and mp_.
6932 (malloc_state): Remove pagesize member. Change all users to use
6935 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6936 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6937 is always initialized.
6939 * malloc/malloc.c: Removed unused configurations and dead code.
6940 * malloc/arena.c: Likewise.
6941 * malloc/hooks.c: Likewise.
6942 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6944 * include/tls.h: Removed. USE___THREAD must always be defined.
6945 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6946 * elf/dl-libc.c: Likewise.
6947 * elf/dl-tsd.c: Likewise.
6948 * include/errno.h: Likewise.
6949 * include/netdb.h: Likewise.
6950 * include/resolv.h: Likewise.
6951 * inet/herrno-loc.c: Likewise.
6952 * inet/herrno.c: Likewise.
6953 * malloc/arena.c: Likewise.
6954 * malloc/hooks.c: Likewise.
6955 * malloc/malloc.c: Likewise.
6956 * resolv/res-state.c: Likewise.
6957 * resolv/res_libc.c: Likewise.
6958 * sysdeps/i386/dl-machine.h: Likewise.
6959 * sysdeps/ia64/dl-machine.h: Likewise.
6960 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6961 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6962 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6963 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6964 * sysdeps/sh/dl-machine.h: Likewise.
6965 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6966 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6967 * sysdeps/unix/i386/sysdep.S: Likewise.
6968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6969 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6974 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6978 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6979 * sysdeps/x86_64/dl-machine.h: Likewise.
6980 * tls.make.c: Likewise.
6982 * configure.in: Remove --with-__thread option. Make tests for
6983 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6984 tls_model attribute fail if no support is available. Remove
6986 * Makeconfig: Adjust for dropped configure option. All features are
6988 * Makerules: Likewise.
6989 * Versions.def: Likewise.
6990 * argp/argp-fmtstream.c: Likewise.
6991 * argp/argp-fmtstream.h: Likewise.
6992 * argp/argp-help.c: Likewise.
6993 * assert/assert.c: Likewise.
6994 * config.h.in: Likewise.
6995 * config.make.in: Likewise.
6996 * configure: Likewise.
6997 * configure.in: Likewise.
6998 * csu/Versions: Likewise.
6999 * csu/init.c: Likewise.
7000 * elf/tst-audit2.c: Likewise.
7001 * elf/tst-tls10.c: Likewise.
7002 * elf/tst-tls10.h: Likewise.
7003 * elf/tst-tls11.c: Likewise.
7004 * elf/tst-tls12.c: Likewise.
7005 * elf/tst-tls14.c: Likewise.
7006 * elf/tst-tlsmod11.c: Likewise.
7007 * elf/tst-tlsmod12.c: Likewise.
7008 * elf/tst-tlsmod13.c: Likewise.
7009 * elf/tst-tlsmod13a.c: Likewise.
7010 * elf/tst-tlsmod14a.c: Likewise.
7011 * elf/tst-tlsmod15b.c: Likewise.
7012 * elf/tst-tlsmod16a.c: Likewise.
7013 * elf/tst-tlsmod16b.c: Likewise.
7014 * elf/tst-tlsmod7.c: Likewise.
7015 * elf/tst-tlsmod8.c: Likewise.
7016 * elf/tst-tlsmod9.c: Likewise.
7017 * gmon/gmon.c: Likewise.
7018 * grp/fgetgrent_r.c: Likewise.
7019 * grp/putgrent.c: Likewise.
7020 * hurd/fopenport.c: Likewise.
7021 * include/libc-symbols.h: Likewise.
7022 * include/tls.h: Likewise.
7023 * intl/gettextP.h: Likewise.
7024 * intl/loadinfo.h: Likewise.
7025 * locale/global-locale.c: Likewise.
7026 * locale/localeinfo.h: Likewise.
7027 * mach/devstream.c: Likewise.
7028 * malloc/arena.c: Likewise.
7029 * malloc/set-freeres.c: Likewise.
7030 * misc/err.c: Likewise.
7031 * misc/getttyent.c: Likewise.
7032 * misc/mntent_r.c: Likewise.
7033 * posix/getopt.c: Likewise.
7034 * posix/wordexp.c: Likewise.
7035 * pwd/fgetpwent_r.c: Likewise.
7036 * resolv/Versions: Likewise.
7037 * resolv/res_hconf.c: Likewise.
7038 * shadow/fgetspent_r.c: Likewise.
7039 * shadow/putspent.c: Likewise.
7040 * stdio-common/printf_fphex.c: Likewise.
7041 * stdio-common/tmpfile.c: Likewise.
7042 * stdlib/abort.c: Likewise.
7043 * stdlib/fmtmsg.c: Likewise.
7044 * sunrpc/auth_unix.c: Likewise.
7045 * sunrpc/clnt_perr.c: Likewise.
7046 * sunrpc/clnt_tcp.c: Likewise.
7047 * sunrpc/clnt_udp.c: Likewise.
7048 * sunrpc/clnt_unix.c: Likewise.
7049 * sunrpc/openchild.c: Likewise.
7050 * sunrpc/svc_simple.c: Likewise.
7051 * sunrpc/svc_tcp.c: Likewise.
7052 * sunrpc/svc_udp.c: Likewise.
7053 * sunrpc/svc_unix.c: Likewise.
7054 * sunrpc/xdr.c: Likewise.
7055 * sunrpc/xdr_array.c: Likewise.
7056 * sunrpc/xdr_rec.c: Likewise.
7057 * sunrpc/xdr_ref.c: Likewise.
7058 * sunrpc/xdr_stdio.c: Likewise.
7060 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7062 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7064 2011-07-03 Andreas Jaeger <aj@suse.de>
7066 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7067 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7068 regenerate with gen-libm-tests.pl.
7070 2010-05-12 Petr Baudis <pasky@suse.cz>
7073 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7074 around j0() zero points by switching to j1().
7075 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7080 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7082 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7084 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7087 Patch in part by Pavel Roskin <proski@gnu.org>.
7090 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7092 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7093 Free memory block if necessary.
7096 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7097 be NULL. Don't lock in this case.
7099 2011-09-09 Roland McGrath <roland@hack.frob.com>
7101 * elf/elf.h (ELFOSABI_GNU): New macro.
7102 (ELFOSABI_LINUX): Define to that.
7104 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7106 * string/strncat.c (strncat): Undef the symbol in case it has been
7107 defined in bits/string.h.
7109 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7111 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7113 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7116 2011-08-17 Andreas Jaeger <aj@suse.de>
7118 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7120 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7121 Ian Lance Taylor <iant@google.com>
7123 * math/libm-test.inc (lround_test): New testcase.
7124 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7126 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7128 * Makefile: Remove support for automatic cvs check-ins.
7129 * Makerules: Likewise.
7130 * config.make.in: Likewise.
7131 * configure.in: Likewise.
7132 * intl/Makefile: Likewise.
7133 * locale/Makefile: Likewise.
7134 * po/Makefile: Likewise.
7135 * posix/Makefile: Likewise.
7136 * sysdeps/gnu/Makefile: Likewise.
7137 * sysdeps/mach/hurd/Makefile: Likewise.
7138 * sysdeps/sparc/sparc32/Makefile: Likewise.
7141 * posix/Makefile (bug-regex32-ENV): Define.
7142 Patch by John Stanley <jpsinthemix@verizon.net>.
7144 * misc/Makefile (headers): Add bits/select2.h.
7145 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7146 * misc/bits/select2.h: New file.
7147 * include/bits/select2.h: New file.
7148 * debug/Makefile (routines): Add fdelt_chk.
7149 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7150 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7152 * debug/fdelt_chk.c: New file.
7154 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7155 * wcsmbs/test-wmemcmp.c: Likewise.
7156 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7157 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7159 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7161 * string/Makefile (strop-tests): Add memcmp.
7162 * string/test-wmemcmp.c: New file.
7163 * string/test-memcmp.c: Add wmemcmp support.
7165 2011-09-08 Roland McGrath <roland@hack.frob.com>
7168 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7171 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7172 garbage value in a __mach_port_mod_refs call in the cases of the
7173 task-self and thread-self ports.
7175 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7177 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7179 2011-09-08 Andreas Schwab <schwab@redhat.com>
7181 * elf/dl-load.c (lose): Check for non-null L.
7183 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7185 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7187 * elf/dl-libc.c (dlerror_run): Pass back error code from
7191 * elf/dl-load.c (lose): Free l_origin if it is valid.
7193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7200 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7202 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7205 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7206 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7208 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7209 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7210 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7211 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7212 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7213 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7215 2011-08-15 Alan Modra <amodra@gmail.com>
7218 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7219 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7220 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7221 ppc_mcount to static-only-routines.
7222 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7224 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7225 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7227 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7229 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7230 for finite and infinity parameters.
7232 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7235 and add nop instructions for throughput optimization.
7236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7238 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7241 aligned copy for power7 with vector-scalar instructions.
7242 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7244 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7246 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7249 2011-09-07 Andreas Schwab <schwab@redhat.com>
7252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7255 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7257 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7258 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7259 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7260 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7263 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7266 Forgot to demangle the pointer.
7268 * sysdeps/i386/sysdep.h: Define atom_text_section.
7269 * sysdeps/x86_64/sysdep.h: Likewise.
7270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7271 section with atom_text_section.
7272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7273 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7276 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7278 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7280 already be defined. Change to take two parameters and don't assign
7281 result to variable. Adjust all users.
7282 Define INTERNAL_GETTIME if not already defined.
7283 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7286 HAVE_CLOCK_GETTIME_VSYSCALL.
7287 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7290 gettimeofday vsyscall, just use time.
7292 2011-09-06 Andreas Schwab <schwab@redhat.com>
7294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7297 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7299 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7303 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7305 syscall if possible.
7307 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7309 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7310 e_ident. Don't pass to find_mapsXX.
7311 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7313 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7316 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7317 * sysdeps/x86_64/multiarch/strchr.S: Update.
7318 Check bit_slow_BSF bit.
7319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7321 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7323 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7326 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7329 (__spawni): Change last parameter to be flag. Test
7330 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7331 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7332 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7333 * posix/spawni.c: Likewise.
7334 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7335 * posix/spawnp.c: Likewise. Change normal version to use
7336 SPAWN_XFLAGS_USE_PATH.
7337 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7338 SPAWN_XFLAGS_TRY_SHELL.
7341 * posix/glob.h: Remove gcc 1.x support.
7344 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7346 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7349 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7351 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7352 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7353 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7354 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7355 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7358 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7360 * sysdeps/x86_64/wcscmp.S: New file.
7362 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7363 wcscmp-c wcscmp-sse2
7364 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7365 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7367 * wcsmbs/wcscmp.c: Allow renaming.
7369 2011-09-05 David S. Miller <davem@davemloft.net>
7371 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7372 stack slot, rather than the struct return pointer slot.
7373 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7374 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7378 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7380 * po/ja.po: Update from translation team.
7383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7384 kernel in 64-bit binaries.
7386 2011-09-01 David S. Miller <davem@davemloft.net>
7388 * elf/elf.h (HWCAP_SPARC_*): Move to..
7389 * sysdeps/sparc/sysdep.h: this new file and add new values.
7390 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7391 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7392 _DL_HWCAP_COUNT to 24.
7393 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7395 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7396 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7397 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7399 instead of magic constants.
7400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7402 2011-08-31 David S. Miller <davem@davemloft.net>
7404 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7406 Reimplement to do errno handling inline.
7407 (SYSCALL_ERROR_HANDLER): New macro.
7408 (__SYSCALL_STRING): Do not do errno handling in asm.
7409 (__CLONE_SYSCALL_STRING): Delete.
7410 (__INTERNAL_SYSCALL_STRING): Delete.
7411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7412 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7413 (PSEUDO): Reimplement to do errno handling inline.
7414 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7415 (SYSCALL_ERROR_HANDLER): New macro.
7416 (__SYSCALL_STRING): Do not do errno handling in asm.
7417 (__CLONE_SYSCALL_STRING): Delete.
7418 (__INTERNAL_SYSCALL_STRING): Delete.
7419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7420 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7422 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7423 (inline_syscall*): Add 'err' argument.
7424 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7425 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7426 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7427 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7429 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7430 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7432 2011-08-30 Andreas Schwab <schwab@redhat.com>
7434 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7436 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7438 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7441 2011-08-24 David S. Miller <davem@davemloft.net>
7443 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7445 2011-08-24 Andreas Schwab <schwab@redhat.com>
7447 * elf/Makefile: Add rules to build and run unload8 test.
7448 * elf/unload8.c: New file.
7449 * elf/unload8mod1.c: New file.
7450 * elf/unload8mod1x.c: New file.
7451 * elf/unload8mod2.c: New file.
7452 * elf/unload8mod3.c: New file.
7454 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7457 2011-08-23 David S. Miller <davem@davemloft.net>
7459 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7460 subtract stack bias.
7461 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7462 %sp not %fp in calculations.
7463 (_JMPBUF_UNWINDS_ADJ): Likewise.
7465 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7466 (aio_suspend): Call it to force an exception region around the
7467 AIO_MISC_WAIT() invocation.
7469 2011-08-23 Andreas Schwab <schwab@redhat.com>
7471 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7474 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7476 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7478 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7480 (Elf64_FuncDesc): Remove.
7482 2011-08-22 David S. Miller <davem@davemloft.net>
7484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7485 sigaltstack check, add missing cfi directives.
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7487 missing cfi directives, and sigaltstack handling.
7489 2011-08-16 Andreas Schwab <schwab@redhat.com>
7492 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7493 object is seen twice.
7494 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7496 * elf/Makefile (distribute): Add tst-initorder2.c.
7497 (tests): Add tst-initorder2.
7498 (modules-names): Add tst-initorder2a tst-initorder2b
7499 tst-initorder2c tst-initorder2d. Add rules to build them.
7500 ($(objpfx)tst-initorder2.out): New rule.
7501 * elf/tst-initorder2.c: New file.
7502 * elf/tst-initorder2.exp: New file.
7504 2011-08-22 Andreas Schwab <schwab@redhat.com>
7506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7508 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7509 dependencies back to end of function.
7511 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7514 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7517 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7518 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7519 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7520 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7521 of __vdso_gettimeofday.
7522 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7523 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7525 (_libc_vdso_platform_setup): Remove initialization of
7526 __vdso_gettimeofday and __vdso_time.
7528 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7530 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7532 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7535 * elf/dl-open.c (add_to_global): Report additions to the global scope
7536 for LD_DEBUG=scopes.
7537 (dl_open_worker): Also print scope of newly loaded dependencies.
7538 (_dl_show_scope): Indicate if there is no scope.
7541 * stdio-common/Makefile (tests): Add bug24.
7542 * stdio-common/bug24.c: New file.
7544 2011-08-19 Andreas Jaeger <aj@suse.de>
7547 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7548 non-existant file when using close-on-exec mode.
7550 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7553 the very first instruction.
7555 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7556 the CFI state in the end.
7557 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7558 inclusion of dl-trampoline.h.
7559 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7561 2011-08-19 Andreas Schwab <schwab@redhat.com>
7563 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7564 expectations for long double.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7567 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7569 2011-08-14 David S. Miller <davem@davemloft.net>
7571 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7572 artificual limit depends upon the system page size.
7574 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7576 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7577 * resolv/Makefile: Define CFLAGS-libresolv.
7579 2011-08-17 Andreas Schwab <schwab@redhat.com>
7581 * nss/makedb.c (compute_tables): Make variables used in nested
7584 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7586 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7587 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7588 if buffer was too small.
7590 * elf/pldd.c (main): Attach to all threads in the process.
7591 Rewrite /proc handling to use *at functions.
7593 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7595 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7596 specifies first scope to show.
7597 (dl_open_worker): Update callers. Move printing scope of new
7598 object to before the relocation.
7599 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7600 * sysdeps/generic/ldsodefs.h: Update declaration.
7602 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7603 string for the scope number.
7605 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7607 * nscd/servicescache.c (cache_addserv): Make sure written is always
7610 2011-08-14 Roland McGrath <roland@hack.frob.com>
7612 * sysdeps/i386/i486/bits/atomic.h
7613 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7614 statement expression, so as to suppress "set but not used" warning.
7615 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7617 * string/strncat.c (STRNCAT): Use prototype definition.
7619 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7620 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7622 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7623 (localedef-modules): Add localedef.
7624 (locale-modules): Add locale.
7626 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7627 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7630 2011-08-14 David S. Miller <davem@davemloft.net>
7632 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7633 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7635 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7637 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7638 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7639 * elf/rtld.c (dl_main): Set l_name of vDSO.
7640 Call _dl_show_scope when DL_DEBUG_SCOPES.
7641 (process_dl_debug): Recognize scopes flag and also set it for all.
7642 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7643 Declare _dl_show_scope.
7645 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7646 (do_dlopen): Pass caller_dlopen to dl_open.
7647 (__libc_dlopen_mode): Initialize caller_dlopen.
7649 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7650 of libc. Make tolower call locale-independent. Optimize a bit by
7651 using isdigit instead of isalnum.
7652 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7654 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7656 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7657 was a dependency or dynamically loaded.
7659 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7661 * intl/l10nflist.c: Allow architecture-specific pop function.
7662 * sysdeps/x86_64/l10nflist.c: New file.
7664 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7667 2011-08-10 Andreas Schwab <schwab@redhat.com>
7669 * include/dirent.h: Add libc_hidden_proto for scandirat and
7670 scandirat64. Don't declare __scandirat64.
7671 * dirent/scandirat.c: Add libc_hidden_def.
7672 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7673 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7675 2011-08-10 David S. Miller <davem@davemloft.net>
7677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7683 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7685 * Versions.def [libc]: Add GLIBC_2.15.
7686 * dirent/Makefile (routines): Add scandirat and scandirat64.
7687 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7689 * dirent/dirent.h: Declare scandirat and scandirat64.
7690 * dirent/scandirat.c: New file.
7691 * dirent/scandirat64.c: New file.
7692 * sysdeps/wordsize-64/scandirat.c: New file.
7693 * sysdeps/wordsize-64/scandirat64.c: New file.
7694 * dirent/opendir.c: Define opendirat.
7695 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7697 * dirent/scandir64.c: Adjust for scandir.c change.
7698 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7699 __scandirat64, and __scandir_cancel_handler.
7700 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7701 additional parameter and use openat instead of open (outside of ld.so).
7702 Add new __opendir as wrapper around __opendirat.
7703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7704 here without requiring old scandirat implementation.
7706 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7708 * dirent/scandir.c (cancel_handler): Renamed to
7709 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7710 defined. Adjust users.
7711 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7714 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7716 * string/test-string.h (IMPL): Use __STRING to expand name and then
7719 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7722 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7724 * string/Makefile: Update.
7725 (strop-tests): Append strncat.
7726 * string/test-wcscmp.c: New file.
7727 New comprehensive test for wcscmp.
7728 * string/test-strcmp.c: Update.
7731 2011-07-22 Andreas Schwab <schwab@redhat.com>
7733 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7736 2011-07-26 Andreas Schwab <schwab@redhat.com>
7738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7739 encoding to ACE if AI_IDN.
7741 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7744 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7746 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7749 Fix overflow bug in strncat.
7750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7752 * string/test-strncat.c: Update.
7753 Add new tests for checking overflow bugs.
7755 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7758 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7759 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7760 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7761 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7762 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7763 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7764 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7765 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7767 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7768 (USE_AS_STRCAT): Define.
7769 Add strcat and strncat support.
7770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7772 2011-07-25 Andreas Schwab <schwab@redhat.com>
7774 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7775 __n bigger than INT_MAX+1.
7776 (__strncmp_g): Likewise.
7778 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7780 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7781 * libio/stido.h: Likewise.
7783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7788 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7791 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7795 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7800 (_dl_x86_64_save_sse): Likewise.
7802 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7806 (_dl_x86_64_save_sse): Likewise.
7808 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7810 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7812 2011-07-21 Andreas Schwab <schwab@redhat.com>
7814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7816 (_dl_x86_64_save_sse): Use correct AVX check.
7818 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7820 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7821 bug in strncpy/strncat.
7822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7824 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7826 * string/tester.c (test_strcat): Add tests for different alignments
7827 of source and destination.
7828 (test_strncat): Likewise.
7830 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7833 * posix/glob.c (glob): Check passed in values before using them in
7834 expressions to avoid some overflows.
7835 (glob_in_dir): Likewise.
7838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7839 check for AVX enablement so that we don't crash with old kernels and
7841 * elf/tst-audit4.c: Add same checks here.
7842 * elf/tst-audit6.c: Likewise.
7844 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7846 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7848 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7850 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7852 * po/cs.po: Update from translation team.
7853 * po/bg.po: Likewise.
7855 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7857 * misc/sys/cdefs.h: Add support for const attribute.
7858 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7859 to gnu_dev_{major,minor,makedev} functions.
7861 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7863 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7865 2011-07-20 Andreas Schwab <schwab@redhat.com>
7867 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7870 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7873 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7874 register in order to avoid conflicts with the soft frame pointer
7875 being held in r11 when necessary.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7877 (INTERNAL_VSYSCALL_NCS): Likewise.
7879 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7881 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7882 * elf/dl-fini.c (_dl_fini): Adjust caller.
7883 * elf/dl-close.c (_dl_close_worker): Likewise.
7884 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7886 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7888 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7889 "aux_cache->nlibs < 0".
7891 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7892 in the reload-count case.
7894 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7897 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7898 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7899 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7900 * sysdeps/x86_64/multiarch/strcat.S: New file.
7901 * sysdeps/x86_64/multiarch/strncat.S: New file.
7902 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7903 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7904 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7905 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7907 (USE_AS_STRCAT): Define.
7908 Add strcat and strncat support.
7909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7911 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7912 * string/strncat.c: Update.
7913 (USE_AS_STRNCAT): Define.
7914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7915 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7917 * sysdeps/x86_64/multiarch/init-arch.h
7918 (bit_Prefer_PMINUB_for_stringop): New.
7919 (index_Prefer_PMINUB_for_stringop): Likewise.
7920 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7921 bit_Prefer_PMINUB_for_stringop.
7923 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7925 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7927 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7928 of casting of buffer.
7929 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7930 buffer32 and buffer64.
7931 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7932 writes instead of casting of buffer.
7933 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7935 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7938 2011-07-19 Andreas Schwab <schwab@redhat.com>
7940 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7942 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7944 * nscd/nscd.c (termination_handler): Don't do anything for a database
7945 if it has not yet been initialized.
7947 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7949 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7951 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7953 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7955 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7957 * po/nl.po: Update from translation team.
7958 * po/sv.po: Likewise.
7960 2011-07-16 Roland McGrath <roland@hack.frob.com>
7962 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7963 now disallowed by GCC.
7965 * configure.in (use-default-link): Default to yes if a test -shared
7966 link meets our qualifications.
7967 * configure: Regenerated.
7969 * config.make.in (output-format): New variable.
7970 * configure.in: Check for ld --print-output-format support.
7971 * configure: Regenerated.
7972 * Makerules ($(common-objpfx)format.lds)
7973 [$(output-format) != unknown]: Just use $(output-format),
7974 instead of the linker-script munging.
7976 2011-07-14 Roland McGrath <roland@hack.frob.com>
7978 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7979 of $(common-objpfx)shlib.lds.
7980 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7982 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7983 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7985 * configure.in (-z relro check): Adjust test code to add a large
7986 writable data section after it.
7987 * configure: Regenerated.
7989 2011-07-11 Roland McGrath <roland@hack.frob.com>
7991 * configure.in (-z relro check): Fix test code to make the variable
7993 * configure: Regenerated.
7995 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7997 * nscd/nscd.h (struct traced_file): Define.
7998 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7999 elements. Add traced_files.
8000 (inotify_fd): Declare.
8001 (register_traced_file): Declare.
8002 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8003 (inotify_fd): Export.
8004 (resolv_conf_descr): Remove.
8005 (nscd_init): Move inotify descriptor creation to main.
8006 Don't register files for notification here.
8007 (register_traced_file): New function.
8008 (invalidate_cache): Don't use reset_res to determine whether to call
8009 res_init, go through the list of registered files.
8010 (main_loop_poll): The inotify descriptors are now stored in the
8011 structures for the traced files.
8012 (main_loop_epoll): Likewise
8013 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8014 to __nss_disable_nscd.
8015 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8016 for a database anymore. Check the records for all the registered
8018 * nss/Makefile (libnss_files-routines): Add files-init.
8019 (libnss_db-routines): Add db-init.
8020 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8021 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8022 * nss/nss_db/db-init.c: New file.
8023 * nss/nss_files/files-init.c: New file.
8024 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8025 __nss_lookup_function.
8026 (__nss_lookup_function): Call nss_load_library.
8027 (nss_load_all_libraries): New function.
8028 (__nss_disable_nscd): Take parameter with callback function for files
8029 to register. Set is_nscd. Load all the DSOs for the NSS modules
8030 used for the cached services.
8031 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8032 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8033 options for features to all the files in nscd.
8035 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8037 2011-07-10 Roland McGrath <roland@hack.frob.com>
8039 * csu/elf-init.c (__libc_csu_init): Comment typo.
8041 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8043 * po/pl.po: Update from translation team.
8044 * po/ja.po: Likewise.
8045 * po/ru.po: Likewise.
8046 * po/ko.po: Likewise.
8047 * po/fr.po: Likewise.
8049 2011-07-09 Roland McGrath <roland@hack.frob.com>
8051 * configure.in (.ctors/.dtors header and trailer check):
8052 Use an empirical test on a built program.
8053 * configure: Regenerated.
8055 * configure.in (-z relro check): Use an empirical test on a built DSO.
8056 Detect, but do not require, on ia64.
8057 * configure: Regenerated.
8059 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8060 Update tests that use readelf to use $READELF instead.
8061 * configure: Regenerated.
8063 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8065 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8066 if the result is not used.
8068 2011-07-05 Andreas Jaeger <aj@suse.de>
8071 * stdlib/tst-strtod.c: Add testcase.
8073 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8075 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8076 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8077 The latter has a higher limit. Take additional parameter to pass to
8079 (__pathconf): Pass file to __statfs_link_max.
8080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8082 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8086 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8087 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8089 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8090 (__statfs_filesize_max): Likewise.
8091 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8093 2011-07-05 Andreas Jaeger <aj@suse.de>
8095 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8097 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8099 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8101 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8104 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8106 * Makefile (strop-tests): Add strncat.
8107 * string/test-strncat.c: New file.
8109 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8111 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8113 2011-06-21 Andreas Jaeger <aj@suse.de>
8115 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8116 Copy rule from iconvdata/Makefile.
8118 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8121 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8122 but no long options are defined, just return 'W'.
8124 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8127 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8129 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8131 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8133 (innetgr): Likewise.
8135 2011-07-05 Roland McGrath <roland@hack.frob.com>
8137 * config.make.in (install_root): Default to $(DESTDIR).
8139 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8141 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8143 2011-07-02 Roland McGrath <roland@hack.frob.com>
8145 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8147 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8148 containing directory rather than embedding absolute directory names.
8150 * scripts/check-local-headers.sh: Rewritten using awk.
8151 Match by word, not by line. Print error messages for matches.
8152 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8154 * Makerules [shlib-lds-flags empty]:
8155 ($(common-objpfx)libc_pic.opts): New target.
8156 ($(common-objpfx)libc_pic.os.clean): New target.
8157 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8159 * config.make.in (OBJCOPY): New variable.
8160 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8161 * configure: Regenerated.
8163 * config.make.in (use-default-link): New variable.
8164 * configure.in (use_default_link): Grok --with-default-link to set it.
8165 * configure: Regenerated.
8166 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8167 (shlib-lds, shlib-lds-flags): Define to empty.
8169 * Makerules (shlib-lds): New variable.
8170 (shlib-lds-flags): New variable.
8171 (build-shlib, build-moduile, build-module-asneeded): Use it.
8172 ($(common-objpfx)libc.so): Use $(shlib-lds).
8173 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8174 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8176 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8177 DT_FLAGS/DT_FLAGS_1 with zero flags.
8179 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8180 linker script munging.
8182 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8184 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8186 * crypt/sha512.c (sha512_process_block): Perform total addition using
8187 128-bit if possible.
8188 (__sha512_finish_ctx): Likewise.
8189 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8191 * crypt/sha256.c (SWAP64): Define.
8192 (sha256_process_block): Perform total addition using 64-bit if
8194 (__sha256_finish_ctx): Likewise.
8196 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8198 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8200 * nscd/hstcache.c (cache_addhst): Likewise.
8201 * nscd/grpcache.c (cache_addgr): Likewise.
8202 * nscd/aicache.c (addhstaiX): Likewise
8203 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8205 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8207 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8209 * nscd/hstcache.c (cache_addhst): Likewise.
8210 * nscd/grpcache.c (cache_addgr): Likewise.
8211 * nscd/aicache.c (addhstaiX): Likewise
8213 2011-07-01 Andreas Schwab <schwab@redhat.com>
8215 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8216 domain only when needed.
8218 2011-06-30 Andreas Schwab <schwab@redhat.com>
8220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8223 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8225 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8226 are re-adding the entry.
8227 * nscd/servicescache.c (cache_addserv): Likewise.
8229 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8231 * sysdeps/generic/dl-irel.h: fix protection against multiple
8233 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8235 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8238 * malloc/memusage.sh: Fix quoting in message.
8239 * debug/xtrace.sh: Likewise.
8241 * configure.in: Remove support for --experimental-malloc option, make
8243 * config.make.in: Likewise.
8244 * malloc/Makefile: Likewise.
8246 2011-06-27 Andreas Schwab <schwab@redhat.com>
8248 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8249 two-byte characters.
8251 2011-06-27 Roland McGrath <roland@hack.frob.com>
8253 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8254 AC_CACHE_CHECK invocation.
8255 * configure: Regenerated.
8257 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8259 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8262 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8263 bit from old_res_options.
8265 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8267 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8268 value type for setfct.
8270 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8273 __gettimeofday instead of gettimeofday.
8275 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8277 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8279 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8286 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8289 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8290 strcpy-sse2-unaligned strncpy-sse2-unaligned
8291 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8292 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8293 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8294 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8295 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8298 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8299 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8300 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8301 (STRCPY): Support SSE2 and SSSE3 versions.
8303 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8307 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8308 kernels which artificially limit size of requests.
8310 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8313 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8314 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8315 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8316 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8318 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8319 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8322 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8323 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8324 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8325 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8326 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8328 Enable unaligned load optimization for Intel Core i3, i5 and i7
8330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8332 (index_Fast_Unaligned_Load): Define.
8333 (HAS_FAST_UNALIGNED_LOAD): Define.
8335 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8337 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8339 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8343 until it is clear that the information is realy needed.
8344 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8346 2011-06-22 Andreas Schwab <schwab@redhat.com>
8348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8350 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8353 /sys/devices/system/cpu/online if it is usable.
8355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8356 reading the information from the /proc filesystem to once a second.
8358 2011-06-21 Andreas Jaeger <aj@suse.de>
8360 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8361 NULL after inclusion of kernel headers.
8363 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8365 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8366 calls to internal_setent.
8369 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8370 addresses using gethostbyname4_r ignore IPv4 addresses.
8372 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8373 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8375 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8377 2011-06-20 David S. Miller <davem@davemloft.net>
8379 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8381 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8383 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8385 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8386 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8387 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8388 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8389 * sysdeps/x86_64/dl-irel.h: Likewise.
8391 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8392 * elf/dl-sym.c: Likewise.
8394 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8396 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8397 need to dereference resplen2.
8399 2011-06-14 Andreas Schwab <schwab@redhat.com>
8401 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8403 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8405 * Makeconfig: Define vardbdir and inst_vardbdir.
8406 * nss/Makefile: Add rules to install db-Makefile.
8408 * nss/nss_db/db-XXX.c: Cleanup.
8410 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8411 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8413 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8414 * nss/makedb.c: Implement -g option to specify that value strings
8415 are generated and should not be added to table iterated over for
8417 * nss/nss_db/db-initgroups.c: New file.
8419 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8422 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8423 (internal_getgrouplist): Adjust to name change.
8424 Update use_initgroups_entry if this is not the first call.
8425 * nss/databases.def: Add initgroups entry.
8427 * nss/makedb.c (compute_tables): Check result of multiple hash table
8428 sizes to minimize maximum chain length.
8430 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8432 * Versions.def: Add entry for libnss_db.
8433 * shlib-versions: Likewise.
8434 * nss/Makefile: Add rules to build libnss_db.
8435 * nss/Versions: Add libnss_db information. Organize libnss_files
8437 * nss/db-Makefile: Add gshadow support. Change rules for the new
8438 makedb progra. Some minor improvements to generate smaller files.
8439 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8441 * nss/makedb.c: ...here.
8442 Improve database format to be smaller and require less memory at
8444 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8446 * nss/nss_db/db-netgrp.c: Likewise.
8447 * nss/nss_db/db-open.c: Likewise.
8448 * nss/nss_files/flies-XXX.x: Adjust comments.
8449 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8450 * nss/nss_files/files-grp.c: Likewise.
8451 * nss/nss_files/files-hosts.c: Likewise.
8452 * nss/nss_files/files-network.c: Likewise.
8453 * nss/nss_files/files-proto.c: Likewise.
8454 * nss/nss_files/files-pwd.c: Likewise.
8455 * nss/nss_files/files-rpc.c: Likewise.
8456 * nss/nss_files/files-service.c: Likewise.
8457 * nss/nss_files/files-sgrp.c: Likewise.
8458 * nss/nss_files/files-spwd.c: Likewise.
8459 * nss/nss_db/db-alias.c: Removed.
8460 * nss/nss_db/dummy-db.h: Removed.
8462 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8464 * nss/makedb.c: Rewritten to not use database library.
8465 * nss/Makefile: Update to build new makedb program.
8467 2011-06-14 Andreas Jaeger <aj@suse.de>
8469 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8472 2011-06-10 Andreas Schwab <schwab@redhat.com>
8474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8477 2011-06-10 Roland McGrath <roland@hack.frob.com>
8479 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8480 * elf/Makefile ($(objpfx)ld.so): Likewise.
8482 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8483 Don't list ld.so twice in dependencies.
8485 * posix/bug-regex31.c: Include <stdlib.h>.
8487 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8489 * nis/nss_compat/compat-spwd.c
8490 (getspent_next_nss_netgr): Remove unused variable.
8491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8493 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8494 nonmembers" output to use the right array.
8496 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8498 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8500 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8501 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8502 * catgets/gencat.c (read_input_file): Likewise.
8503 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8505 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8506 variable definition inside #if's controlling its use.
8508 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8510 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8512 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8514 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8517 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8519 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8520 * configure: Regenerated.
8522 * Makerules: Revert last change.
8523 * elf/Makefile: Likewise.
8525 2011-06-09 Roland McGrath <roland@hack.frob.com>
8527 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8528 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8529 (reloc-link): Likewise.
8531 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8533 * elf/Makefile: Add rules to build pldd.
8534 * elf/pldd.c: New file.
8535 * elf/pldd-xx.c: New file.
8537 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8539 * version.h: Update for 2.15 development version.
8541 2011-06-07 David S. Miller <davem@davemloft.net>
8543 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8546 elf_machine_lazy_rel): Likewise.
8547 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8549 elf_machine_lazy_rel): Likewise.
8550 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8551 dl_hwcap via passed in argument.
8552 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8555 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8557 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8559 2011-06-06 Roland McGrath <roland@hack.frob.com>
8562 * manual/fdl-1.1.texi: New file, verbatim from:
8563 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8564 * manual/lgpl-2.1.texi: New file, verbatim from:
8565 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8566 * manual/Makefile (licenses): New variable, list those new file names.
8568 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8570 * manual/fdl.texi: File removed.
8571 * manual/lesser.texi: File removed.
8572 * manual/libc.texinfo (Copying, Documentation License):
8573 Use new @include file names, put @appendix directive before @include.
8575 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8578 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8579 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8580 (mq_open): Add __NTH.
8582 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8585 Assume Intel Core i3/i5/i7 processor if AVX is available.
8587 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8592 2011-05-31 Andreas Schwab <schwab@redhat.com>
8594 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8595 memory. Use alloca_account. Fix memory leak when retrying.
8597 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8599 * version.h (RELEASE): Bump for 2.14 release.
8600 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8602 * config.make.in (RANLIB): Remove entry.
8604 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8606 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8607 (libc.pot): Work around missing support for .ksh extension in xgettext.
8610 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8611 if both request failed.
8612 (send_dg): In case of server errors clear resplen or *resplen2.
8615 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8616 when there are multiple maps.
8617 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8618 (_dl_fini): Remove test here.
8620 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8622 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8625 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8626 bit from old_res_options.
8627 (gaih_inet): Likewise.
8630 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8633 * resolv/res_init.c (res_setoptions): Make the code more compact.
8636 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8640 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8642 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8645 * malloc/malloc.h: Declare malloc hook variables as volatile.
8647 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8651 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8652 raise in the comment.
8653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8655 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8657 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8660 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8661 grow the buffers more if it already has to be sufficient.
8662 (build_wcs_upper_buffer): Likewise.
8663 * posix/regexec.c (check_matching): Likewise.
8664 (clean_state_log_if_needed): Likewise.
8665 (extend_buffers): Don't enlarge buffers beyond size of the input
8667 Patches mostly by Emil Wojak <emil@wojak.eu>.
8668 * posix/bug-regex32.c: New file.
8669 * posix/Makefile (tests): Add bug-regex32.
8671 * locale/findlocale.c (_nl_find_locale): Return right away if
8672 _nl_explode_name failed.
8673 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8675 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8677 * debug/xtrace.sh: Unify messages.
8678 * malloc/memusage.sh: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8682 time symbol from vDSO. Substitute with vsyscall if not available.
8683 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8686 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8687 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8688 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8689 Add sendmmsg and internal_sendmmsg.
8690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8691 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8694 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8695 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8698 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8701 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8702 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8708 * iconvdata/Makefile (tests): Add bug-iconv9.
8709 * iconvdata/bug-iconv9.c: New file.
8711 2011-05-27 Andreas Schwab <schwab@redhat.com>
8714 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8716 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8719 (struct user_regs_struct): Change intcs field back to cs.
8721 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8723 * po/ja.po: Update from translation team.
8725 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8728 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8729 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8731 2011-05-20 Andreas Schwab <schwab@redhat.com>
8733 * stdlib/longlong.h: Update from GCC.
8735 2011-05-23 Andreas Schwab <schwab@redhat.com>
8737 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8739 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8741 (__sysconf): Pass it down.
8743 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8746 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8749 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8750 add in in __libc_use_alloca calls. Adjust callers.
8751 (glob): Use malloc in some situations.
8753 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8754 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8757 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8759 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8760 and CLOCK_BOOTTIME_ALARM.
8763 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8766 * string/_strerror.c (__strerror_r): Print negative errors as signed
8770 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8771 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8772 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8774 * configure.in: Fix typo in redirection and correct removal of test
8778 * locale/setlocale.c (new_composite_name): Fix test to check for
8779 identical name of all categories.
8782 * libio/filedoalloc.c (local_isatty): New function.
8783 (_IO_file_doallocate): Use local_isatty.
8784 * stdio-common/perror.c (perror): In case a new stream is used
8785 forward the stream error.
8786 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8789 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8794 * include/alloca.h (extend_alloca_account): Define.
8797 * posix/regex.h: Fix comments with documentation of user-accessible
8798 fields after compilation and describe correct free'ing of pattern
8799 after re_compile_pattern.
8800 Patch by Reuben Thomas <rrt@sc3d.org>.
8802 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8804 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8805 and -mno-altivec to prevent the compiler from using Altivec and/or
8806 VSX instructions when the corresponding registers are not available.
8808 2011-05-19 Andreas Schwab <schwab@redhat.com>
8810 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8812 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8814 * libio/freopen.c (freopen): Use __dup2, not dup2.
8815 * libio/freopen64.c (freopen64): Likewise.
8817 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8820 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8821 * math/Makefile (tests): Add test-powl.
8822 (CFLAGS-test-powl.c): Define.
8823 * math/test-powl.c: New file.
8825 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8827 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8829 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8832 * iconvdata/gb18030.c: Update to GB18020-2005.
8834 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8836 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8837 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8838 Patch by Aharon Robbins <arnold@skeeve.com>.
8841 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8845 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8849 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8850 point to strings before performing equality test for error_one_per_line
8854 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8858 (struct user_fpregs_struct): Avoid __uint*_t types.
8861 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8862 symbol info. Use it instead of calling _dl_addr locally.
8863 (lock_and_info): New function.
8864 (tr_freehook): Call lock_and_info and pass symbol info as additional
8865 parameter to tr_where.
8866 (tr_mallochook): Likewise.
8867 (tr_reallochook): Likewise.
8868 (tr_memalignhook): Likewise.
8870 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8871 used and couldn't be at all thread-safe.
8873 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8875 * libio/freopen.c (freopen): Don't close old file descriptor
8876 before the new one is opened. Instead dup the new file descriptor
8877 to the old one after the new stream is created.
8878 * libio/freopen64.c (freopen64): Likewise.
8879 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8880 * libio/fileops.c (_IO_new_file_close_it): Handle new
8881 _IO_FLAGS2_NOCLOSE flag.
8882 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8883 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8884 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8885 _IO_FLAGS2_NOCLOSE flag.
8886 * include/unistd.h: Add hidden_proto for dup3.
8888 * io/dup3.c: Define hidden symbol.
8889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8892 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8893 when an incomplete long option is used.
8894 * posix/tst-getopt_long1.c: New file.
8895 * posix/Makefile (tests): Add tst-getopt_long1.
8898 * scripts/config.guess: Update from autoconf-2.68.
8899 * scripts/config.sub: Likewise.
8902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8904 (has_cpuclock): ...this. New function.
8905 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8906 macro here based on has_cpuclock code.
8909 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8910 First byte (not low byte) is now always NUL.
8911 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8914 Use non-cancelable interfaces.
8917 * locale/iso-639.def: Add entry for Sorani.
8920 * include/stdlib.h: Move include protection to the right place.
8921 Define abort_msg_s. Declare __abort_msg with it.
8922 * stdlib/abort.c (__abort_msg): Adjust type.
8923 * assert/assert.c (__assert_fail_base): New function. Majority
8924 of code from __assert_fail. Allocate memory for __abort_msg with
8926 (__assert_fail): Now call __assert_fail_base.
8927 * assert/assert-perr.c: Remove bulk of implementation. Use
8929 * include/assert.hL Declare __assert_fail_base.
8930 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8932 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8934 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8938 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8939 until all modules are registered in the DTV.
8940 * elf/Makefile: Add rules to build and run tst-tls19.
8941 * elf/tst-tls19.c: New file.
8942 * elf/tst-tls19mod1.c: New file.
8943 * elf/tst-tls19mod2.c: New file.
8944 * elf/tst-tls19mod3.c: New file.
8945 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8948 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8952 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8953 two-byte sequence errors.
8954 * iconvdata/Makefile (tests): Add bug-iconv8.
8955 * iconvdata/bug-iconv8.c: New file.
8958 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8961 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8964 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8965 (dummy_getcfa): New function.
8966 (init): Get _Unwind_GetCFA address, use dummy if not found.
8967 (backtrace_helper): In recursion check, also check whether CFA changes.
8968 (__backtrace): Completely initialize arg.
8970 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8971 storing incomplete byte sequence in state object. Avoid testing for
8972 guaranteed too small input if we know there is enough data available.
8974 2011-05-11 Andreas Schwab <schwab@redhat.com>
8976 * Makeconfig (+link-pie): Indent.
8977 * Rules (binaries-pie): Define if $(have-fpie) and
8979 (binaries-shared): Also filter out $(binaries-pie).
8980 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8981 * nscd/Makefile (others-pie): Add nscd.
8982 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8983 ($(objpfx)nscd): Remove command override.
8984 * login/Makefile (others-pie): Add pt_chown.
8985 ($(objpfx)pt_chown): Remove command override.
8986 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8987 remove command overrides.
8989 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8991 * libio/tst_putwc.c: Fix error messages.
8994 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8995 currently writing and seek to current position when not.
8996 * libio/Makefile (tests): Add bug-fclose1.
8997 * libio/bug-fclose1.c: New file.
8999 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9002 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9003 don't set DF_1_NODELETE here.
9004 (do_lookup_x): When entering new entry test for copy relocation
9005 and if necessary set DF_1_NODELETE flag.
9006 * elf/tst-unique4.cc: New file.
9007 * elf/tst-unique4.h: New file.
9008 * elf/tst-unique4lib.cc: New file.
9009 * elf/Makefile: Add rules to build and run tst-unique4.
9010 Patch by Piotr Bury <pbury@goahead.com>.
9012 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9015 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9018 * misc/mntent_r.c (addmntent): Flush the stream after the output
9021 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9022 (is_trusted_path_normalize): Skip initial colon. Append slash
9023 to empty buffer. Duplicate is_trusted_path code but allow
9024 constructed patch to be prefix.
9025 (is_dst): Allow $ORIGIN followed by /.
9026 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9027 Correct testing of result of is_trusted_path_normalize
9028 (decompose_rpath): Fix warning.
9030 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9033 * grp/initgroups.c (internal_getgrouplist): When we found the service
9034 list through the initgroups entry in nsswitch.conf do not always
9035 continue on a successful lookup. Don't always use the
9036 __nss_group_database value if it is set.
9037 * nss/nsswitch.conf (initgroups): Change action for successful db
9038 lookup to continue for compatibility.
9040 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9043 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9045 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9047 * iconvdata/tst-tables.sh: Likewise.
9048 * iconvdata/cp770.c: New file.
9049 * iconvdata/cp771.c: New file.
9050 * iconvdata/cp772.c: New file.
9051 * iconvdata/cp773.c: New file.
9052 * iconvdata/cp774.c: New file.
9053 * iconvdata/testdata/CP770: New file.
9054 * iconvdata/testdata/CP770..UTF8: New file.
9055 * iconvdata/testdata/CP771: New file.
9056 * iconvdata/testdata/CP771..UTF8: New file.
9057 * iconvdata/testdata/CP772: New file.
9058 * iconvdata/testdata/CP772..UTF8: New file.
9059 * iconvdata/testdata/CP773: New file.
9060 * iconvdata/testdata/CP773..UTF8: New file.
9061 * iconvdata/testdata/CP774: New file.
9062 * iconvdata/testdata/CP774..UTF8: New file.
9064 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9066 * iconvdata/gen-8bit-gap.sh: Likewise.
9067 * iconvdata/gen-8bit.sh: Likewise.
9069 * locale/iso-639.def: Add ary entry.
9072 * locale/C-translit.h.in: Add U20A1 transliteration.
9075 * locale/iso-639.def: Add wae entry.
9076 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9079 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9083 * locale/C-translit.h.in: Add entry for U20B9.
9084 Patch by pravin.d.s@gmail.com.
9086 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9089 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9090 ENAMETOOLONG use generic getcwd.
9091 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9092 in rtld. Use *stat64.
9093 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9094 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9095 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9096 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9097 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9098 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9099 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9101 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9102 * dirent/rewinddir.c: Add libc_hidden_def.
9103 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9104 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9106 * include/dirent.h (__alloc_dir): Add flags parameter.
9107 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9108 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9110 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9111 from fdopendir if O_CLOEXEC is already set.
9113 2011-03-15 Alan Modra <amodra@gmail.com>
9115 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9116 l_tls_firstbyte_offset non-zero. Save padding offset in
9117 l_tls_firstbyte_offset for later use.
9118 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9119 freeing static tls block.
9121 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9123 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9124 where #ifdef was intended. The intent is to prevent ARG_MAX from
9125 being defined by the kernel headers.
9127 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9130 * resolv/resolv.h: Define RES_NOTLDQUERY.
9131 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9132 no-tld-query and set RES_NOTLDQUERY.
9133 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9134 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9135 modern BIND to search name as TLD unless forbidden.
9137 2011-05-07 Petr Baudis <pasky@suse.cz>
9138 Ulrich Drepper <drepper@gmail.com>
9141 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9142 (is_trusted_path): ...to here.
9143 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9144 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9145 using is_trusted_path_normalize() in setuid scripts.
9147 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9149 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9150 __BEGIN/__END_DECLS.
9152 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9155 NSS_STATUS_NOTFOUND if no record was found.
9157 2011-05-05 Andreas Schwab <schwab@redhat.com>
9159 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9160 (headers-not-in-tirpc): Remove rpc/netdb.h
9161 * resolv/netdb.h: Revert last change.
9163 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9165 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9166 circular dependency between libgcc.a and libc.a.
9168 2011-05-05 Andreas Schwab <schwab@redhat.com>
9170 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9171 * nis/Makefile: Don't install rpcsvc/*.
9172 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9173 instead of <rpc/types.h>.
9174 (MAXHOSTNAMELEN): Define.
9176 2011-05-03 Andreas Schwab <schwab@redhat.com>
9178 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9180 2011-04-28 Maciej Babinski <mbabinski@google.com>
9183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9184 gethostbyname4_r when IPv6 results are possible.
9186 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9189 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9190 _PC_PIPE_BUF handling.
9192 2011-04-30 Bruno Haible <bruno@clisp.org>
9195 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9196 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9198 * inet/getnameinfo.c (getnameinfo): Likewise.
9200 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9202 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9203 to groups setting in database lookup.
9204 * nss/nsswitch.conf: Add initgroups entry.
9206 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9209 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9211 Patch by Eric Blake <eblake@redhat.com>.
9213 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9215 * sunrpc/Makefile (need-export-routines): Add svc_run.
9216 (routines): Remove svc_run.
9217 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9218 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9219 * sunrpc/svc_run.c (svc_run): Likewise.
9220 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9222 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9225 problem in reallocation in last patch.
9227 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9229 * sunrpc/Makefile: Move inclusion of Rules.
9231 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9233 * nss/nss_files/files-initgroups.c: New file.
9234 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9235 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9236 _nss_files_initgroups_dyn.
9238 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9240 * elf/elf.h (R_ARM_IRELATIVE): Define.
9242 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9244 * po/ru.po: Update from translation team.
9246 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9248 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9251 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9255 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9256 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9258 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9260 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9262 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9264 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9268 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9271 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9273 * stdlib/bug-getcontext.c: New file.
9274 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9276 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9278 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9279 instructions into .machine "z9-109".
9280 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9281 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9283 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9285 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9286 between environment variables and auxiliary vector.
9288 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9290 * Makefile: Add rules to build linkobj/libc.so.
9291 * include/libc-symbols.h: Define libc_hidden_nolink.
9292 * include/rpc/auth.h: Mark functions which are to be hidden.
9293 * include/rpc/auth_des.h: Likewise.
9294 * include/rpc/auth_unix.h: Likewise.
9295 * include/rpc/clnt.h: Likewise.
9296 * include/rpc/des_crypt.h: Likewise.
9297 * include/rpc/key_prot.h: Likewise.
9298 * include/rpc/pmap_clnt.h: Likewise.
9299 * include/rpc/pmap_prot.h: Likewise.
9300 * include/rpc/pmap_rmt.h: Likewise.
9301 * include/rpc/rpc_msg.h: Likewise.
9302 * include/rpc/svc.h: Likewise.
9303 * include/rpc/svc_auth.h: Likewise.
9304 * include/rpc/xdr.h: Likewise.
9305 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9306 * nss/Makefile: Likewise.
9307 * sunrpc/Makefile: Don't install headers. Build library with normal
9308 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9309 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9310 for the compat linking library. Remove use of INTDEF/INTUSE.
9311 * sunrpc/auth_none.c: Likewise.
9312 * sunrpc/auth_unix.c: Likewise.
9313 * sunrpc/authdes_prot.c: Likewise.
9314 * sunrpc/authuxprot.c: Likewise.
9315 * sunrpc/clnt_gen.c: Likewise.
9316 * sunrpc/clnt_perr.c: Likewise.
9317 * sunrpc/clnt_raw.c: Likewise.
9318 * sunrpc/clnt_simp.c: Likewise.
9319 * sunrpc/clnt_tcp.c: Likewise.
9320 * sunrpc/clnt_udp.c: Likewise.
9321 * sunrpc/clnt_unix.c: Likewise.
9322 * sunrpc/des_crypt.c: Likewise.
9323 * sunrpc/des_soft.c: Likewise.
9324 * sunrpc/get_myaddr.c: Likewise.
9325 * sunrpc/key_call.c: Likewise.
9326 * sunrpc/key_prot.c: Likewise.
9327 * sunrpc/netname.c: Likewise.
9328 * sunrpc/pm_getmaps.c: Likewise.
9329 * sunrpc/pm_getport.c: Likewise.
9330 * sunrpc/pmap_clnt.c: Likewise.
9331 * sunrpc/pmap_prot.c: Likewise.
9332 * sunrpc/pmap_prot2.c: Likewise.
9333 * sunrpc/pmap_rmt.c: Likewise.
9334 * sunrpc/publickey.c: Likewise.
9335 * sunrpc/rpc_cmsg.c: Likewise.
9336 * sunrpc/rpc_common.c: Likewise.
9337 * sunrpc/rpc_dtable.c: Likewise.
9338 * sunrpc/rpc_prot.c: Likewise.
9339 * sunrpc/rpc_thread.c: Likewise.
9340 * sunrpc/rtime.c: Likewise.
9341 * sunrpc/svc.c: Likewise.
9342 * sunrpc/svc_auth.c: Likewise.
9343 * sunrpc/svc_authux.c: Likewise.
9344 * sunrpc/svc_raw.c: Likewise.
9345 * sunrpc/svc_run.c: Likewise.
9346 * sunrpc/svc_simple.c: Likewise.
9347 * sunrpc/svc_tcp.c: Likewise.
9348 * sunrpc/svc_udp.c: Likewise.
9349 * sunrpc/svc_unix.c: Likewise.
9350 * sunrpc/svcauth_des.c: Likewise.
9351 * sunrpc/xcrypt.c: Likewise.
9352 * sunrpc/xdr.c: Likewise.
9353 * sunrpc/xdr_array.c: Likewise.
9354 * sunrpc/xdr_float.c: Likewise.
9355 * sunrpc/xdr_intXX_t.c: Likewise.
9356 * sunrpc/xdr_mem.c: Likewise.
9357 * sunrpc/xdr_rec.c: Likewise.
9358 * sunrpc/xdr_ref.c: Likewise.
9359 * sunrpc/xdr_sizeof.c: Likewise.
9360 * sunrpc/xdr_stdio.c: Likewise.
9362 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9365 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9366 * sysdeps/ia64/dl-tls.h: Likewise.
9367 * sysdeps/powerpc/dl-tls.h: Likewise.
9368 * sysdeps/s390/dl-tls.h: Likewise.
9369 * sysdeps/sh/dl-tls.h: Likewise.
9370 * sysdeps/sparc/dl-tls.h: Likewise.
9371 * sysdeps/x86_64/dl-tls.h: Likewise.
9372 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9374 2011-03-14 Andreas Schwab <schwab@redhat.com>
9376 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9377 rpath element also skip the following colon.
9378 (expand_dynamic_string_token): Add is_path parameter and pass
9379 down to DL_DST_REQUIRED and _dl_dst_substitute.
9380 (decompose_rpath): Call expand_dynamic_string_token with
9381 non-zero is_path. Ignore empty rpaths.
9382 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9385 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9390 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9393 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9394 Patch by Filipe David Manana <fdmanana@apache.org>.
9396 2011-04-07 Andreas Schwab <schwab@redhat.com>
9398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9399 Maintain aligned stack.
9400 (CHECK_RSP): Remove unused macro.
9402 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9404 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9407 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9409 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9411 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9413 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9416 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9417 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9418 * sysdeps/x86_64/memmove.c: New file.
9419 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9420 (memcpy): Renamed to ...
9421 (__new_memcpy): This.
9422 (memcpy): Provide GLIBC_2_14 memcpy.
9423 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9424 (memcpy): Provide GLIBC_2_2_5 memcpy.
9426 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9429 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9431 2011-03-30 Andreas Schwab <schwab@redhat.com>
9433 * misc/syncfs.c: New file.
9434 * misc/Makefile (routines): Add syncfs.
9435 * posix/unistd.h: Declare syncfs.
9436 * sysdeps/unix/syscalls.list: Add syncfs.
9438 2011-04-01 Andreas Schwab <schwab@redhat.com>
9440 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9445 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9447 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9450 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9460 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9461 sync_file_range.c with -fexceptions.
9462 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9463 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9464 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9465 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9466 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9467 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9469 sync_file_range as cancellation point
9470 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9471 now a wrapper around __call_sync_file_range with cancellation handling.
9472 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9473 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9474 function name to __call_sync_file_range.
9475 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9476 Add call_sync_file_range.
9478 2011-04-01 Andreas Schwab <schwab@redhat.com>
9480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9483 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9485 * iconv/iconv.h: Fix typo in comment.
9486 * io/fcntl.h: Likewise.
9487 * libio/stdio.h: Likewise.
9488 * posix/spawn.h: Likewise.
9489 * posix/unistd.h: Likewise.
9490 * stdlib/stdlib.h: Likewise.
9491 * time/time.h: Likewise.
9492 * wcsmbs/wchar.h: Likewise.
9494 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9495 open_by_handle): Add.
9496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9497 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9498 Augment a few comments.
9499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9504 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9507 * io/fcntl.h (AT_EMPTY_PATH): Define.
9509 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9511 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9512 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9513 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9515 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9516 * Versions.def: Add GLIBC_2.14.
9517 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9520 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9522 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9524 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9526 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9529 * string/test-strncmp.c (do_page_test): New function.
9531 (test_main): Call check2.
9532 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9534 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9537 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9538 Handle cache information in CPU leaf 4.
9539 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9541 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9544 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9545 character representation.
9546 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9548 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9550 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9551 END(__isnan) to END(__isnanf) to match function entry point/label
9552 EALIGN(__isnanf,...).
9554 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9556 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9558 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9561 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9562 copy from the symbol referenced in the relocation to initialize the
9564 Patch by Piotr Bury <pbury@goahead.com>.
9565 * elf/Makefile: Add rules to build and tst-unique3.
9566 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9567 * elf/tst-unique3.cc: New file.
9568 * elf/tst-unique3.h: New file.
9569 * elf/tst-unique3lib.cc: New file.
9570 * elf/tst-unique3lib2.cc: New file.
9572 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9574 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9576 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9577 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9580 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9582 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9583 to-be-loaded object along a path to loader is ld.so.
9585 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9586 Ulrich Drepper <drepper@gmail.com>
9588 * sysdeps/x86_64/memset.S: After aligning destination, code
9589 branches to different locations depending on the value of
9590 misalignment, when multiarch is enabled. Fix this.
9592 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9594 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9595 Set _x86_64_preferred_memory_instruction for AMD processsors.
9596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9597 Set bit_Prefer_SSE_for_memop for AMD processors.
9599 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9601 * libio/fmemopen.c (fmemopen): Optimize a bit.
9603 2011-03-03 Andreas Schwab <schwab@redhat.com>
9605 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9607 2011-03-03 Roland McGrath <roland@redhat.com>
9609 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9611 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9613 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9614 __bzero_ultra1 instead of __memset_ultra1.
9616 2011-02-23 Andreas Schwab <schwab@redhat.com>
9617 Ulrich Drepper <drepper@gmail.com>
9620 * include/link.h (struct link_map): Add l_orig_initfini.
9621 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9622 returning unsuccessfully.
9623 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9624 close of a file loaded at startup, restore the original l_initfini
9626 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9627 list, store the pointer.
9628 * elf/Makefile ($(objpfx)noload-mem): New rule.
9629 (noload-ENV): Define.
9630 (tests): Add $(objpfx)noload-mem.
9631 * elf/noload.c: Include <memcheck.h>.
9632 (main): Call mtrace. Close all opened handles.
9634 2011-02-17 Andreas Schwab <schwab@redhat.com>
9637 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9638 dependencies are missing.
9640 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9642 Fix __if_freereq crash: Unlike the generic version which uses free,
9644 * sysdeps/mach/hurd/ifreq.h: New file.
9646 2011-01-27 Petr Baudis <pasky@suse.cz>
9647 Ulrich Drepper <drepper@gmail.com>
9650 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9652 * stdio-common/bug23.c: New file.
9653 * stdio-common/Makefile (tests): Add bug23.
9655 2010-09-28 Andreas Schwab <schwab@redhat.com>
9656 Ulrich Drepper <drepper@gmail.com>
9659 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9660 before performing relro protection. At old place add assertion
9661 to make sure nothing changed.
9663 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9664 Glauber de Oliveira Costa <glommer@gmail.com>
9666 * elf/elf.h: Add new ARM TLS relocs.
9668 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9671 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9673 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9675 * sysdeps/wordsize-64/tst-writev.c: New file.
9677 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9679 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9680 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9681 insns in _dl_start to prevent a TOC reference before relocs are
9684 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9687 * Makeconfig: Remove RANLIB definition.
9688 * Makerules: Don't use RANLIB.
9689 * aclocal.m4: Remove ranlib test.
9690 * configure.in: No need to check for ranlib.
9691 * elf/rtld-Rules: Don't use RANLIB.
9693 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9695 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9697 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9698 inclusion protection macro.
9700 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9701 SIGRTMIN and SIGRTMAX and print information in that case only when
9702 SIGRTMIN is defined.
9704 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9706 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9707 arginfo fn returning -1.
9709 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9710 and thousands string is zero terminated.
9712 2011-02-03 Andreas Schwab <schwab@redhat.com>
9714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9715 sysdeps/unix/sysv/linux/bits/socket.h.
9717 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9719 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9720 (__CPU_COUNT): Remove old macros.
9721 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9722 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9723 (__CPU_ALLOC, __CPU_FREE): Add macros.
9724 (__sched_cpualloc, __sched_cpufree): Add declarations.
9726 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9728 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9729 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9730 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9731 (readdhstai): Return value of addhstaiX call.
9732 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9733 (addgrbyX): Return value returned by cache_addgr.
9734 (readdgrbyname): Return value returned by addgrbyX.
9735 (readdgrbygid): Likewise.
9736 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9737 (addpwbyX): Return value returned by cache_addpw.
9738 (readdpwbyname): Return value returned by addhstbyX.
9739 (readdpwbyuid): Likewise.
9740 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9741 (addservbyX): Return value returned by cache_addserv.
9742 (readdservbyname): Return value returned by addservbyX:
9743 (readdservbyport): Likewise.
9744 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9745 (addhstbyX): Return value returned by cache_addhst.
9746 (readdhstbyname): Return value returned by addhstbyX.
9747 (readdhstbyaddr): Likewise.
9748 (readdhstbynamev6): Likewise.
9749 (readdhstbyaddrv6): Likewise.
9750 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9751 (readdinitgroups): Return value returned by addinitgroupsX.
9752 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9753 (prune_cache): Keep track of timeout value of re-added entries.
9754 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9755 * nscd/nscd.h: Adjust prototypes of readd* functions.
9757 2011-02-04 Roland McGrath <roland@redhat.com>
9759 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9760 (nis_stats): Likewise.
9761 * nis/nis_modify.c (nis_modify): Likewise.
9762 * nis/nis_remove.c (nis_remove): Likewise.
9763 * nis/nis_add.c (nis_add): Likewise.
9765 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9767 * posix/fnmatch_loop.c: Add some consts.
9769 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9771 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9774 * config.make.in (config-cflags-novzeroupper): Define.
9775 * configure.in: Substitute libc_cv_cc_novzeroupper.
9776 * elf/Makefile (AVX-CFLAGS): Define.
9777 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9778 (CFLAGS-tst-auditmod4a.c): Likewise.
9779 (CFLAGS-tst-auditmod4b.c): Likewise.
9780 (CFLAGS-tst-auditmod6b.c): Likewise.
9781 (CFLAGS-tst-auditmod6c.c): Likewise.
9782 (CFLAGS-tst-auditmod7b.c): Likewise.
9783 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9785 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9787 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9788 function to the callback.
9789 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9791 2011-02-02 Andreas Schwab <schwab@redhat.com>
9793 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9796 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9799 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9801 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9803 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9806 * elf/Makefile: Add rules to build and run new test.
9807 * elf/tst-initorder.c: New file.
9808 * elf/tst-initorder.exp: New file.
9809 * elf/tst-initordera1.c: New file.
9810 * elf/tst-initordera2.c: New file.
9811 * elf/tst-initordera3.c: New file.
9812 * elf/tst-initordera4.c: New file.
9813 * elf/tst-initorderb1.c: New file.
9814 * elf/tst-initorderb2.c: New file.
9815 * elf/tst-order-a1.c: New file.
9816 * elf/tst-order-a2.c: New file.
9817 * elf/tst-order-a3.c: New file.
9818 * elf/tst-order-a4.c: New file.
9819 * elf/tst-order-b1.c: New file.
9820 * elf/tst-order-b2.c: New file.
9821 * elf/tst-order-main.c: New file.
9822 New test case by George Gensure <werkt0@gmail.com>.
9824 2010-10-01 Andreas Schwab <schwab@redhat.com>
9826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9827 decoding ACE if AI_CANONIDN.
9829 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9831 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9833 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9835 * version.h (RELEASE): Bump for 2.13 release.
9836 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9838 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9840 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9842 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9849 * posix/getconf.c: Update copyright year.
9850 * catgets/gencat.c: Likewise.
9851 * csu/version.c: Likewise.
9852 * debug/catchsegv.sh: Likewise.
9853 * debug/xtrace.sh: Likewise.
9854 * elf/ldconfig.c: Likewise.
9855 * elf/ldd.bash.in: Likewise.
9856 * elf/sprof.c (print_version): Likewise.
9857 * iconv/iconv_prog.c: Likewise.
9858 * iconv/iconvconfig.c: Likewise.
9859 * locale/programs/locale.c: Likewise.
9860 * locale/programs/localedef.c: Likewise.
9861 * malloc/memusage.sh: Likewise.
9862 * malloc/mtrace.pl: Likewise.
9863 * nscd/nscd.c (print_version): Likewise.
9864 * nss/getent.c: Likewise.
9866 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9867 PF_CAIF, and PF_ALG.
9868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9870 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9872 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9873 (modules-names): Use them.
9874 (ifunc-test-modules, ifunc-pie-tests): Define.
9875 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9876 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9877 (test-extras): Likewise.
9878 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9879 $(compile-command.c).
9880 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9881 (all-built-dso): Define.
9882 (check-textrel.out, check-execstack.out): Depend on it.
9884 * configure.in: Don't override --enable-multi-arch.
9886 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9889 * nscd/hstcache.c (tryagain): Define.
9890 (cache_addhst): Return tryagain not notfound for temporary errors.
9891 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9894 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9897 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9898 to make the syscall.
9899 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9902 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9903 and fall back to matching as normal character if the string ends before
9904 the matching ']' is found. This is what POSIX requires.
9905 * posix/testfnm.c: Adjust test result.
9906 * posix/globtest.sh: Adjust test result. Add new test.
9907 * posix/tst-fnmatch.input: Likewise.
9908 * posix/tst-fnmatch2.c: Add new test.
9910 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9912 * elf/Makefile (check-execstack): Revert last change. Depend on
9914 (check-execstack.h): New target.
9915 (generated): Add check-execstack.h.
9916 * elf/check-execstack.c: Include "check-execstack.h".
9917 (main): Revert last change.
9918 (handle_file): Return zero if GNU_STACK is absent and
9919 DEFAULT_STACK_PERMS doesn't include PF_X.
9921 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9923 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9924 in child fails because the descriptor is already closed.
9925 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9926 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9927 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9930 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9934 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9935 temporary buffer used to handle multi lookups locally.
9936 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9938 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9940 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9943 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9945 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9948 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9951 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9952 characters. When rounding increased number of integer digits recompute
9954 * stdio-common/tst-grouping.c: New file.
9955 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9957 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9959 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9960 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9962 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9964 * bits/select.h: Likewise.
9966 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9968 * po/ja.po: Update from translation team.
9970 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9973 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9974 implementation just like for lxstat, fxstatat, et al.
9976 2010-12-27 Jim Meyering <meyering@redhat.com>
9979 * posix/regexec.c (build_trtable): Return failure indication upon
9980 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9982 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9985 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9986 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9987 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9991 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9994 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9995 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9997 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9999 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10000 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10001 script has SORT_BY_INIT_PRIORITY.
10002 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10003 NO_CTORS_DTORS_SECTIONS is defined.
10004 * elf/soinit.c: Likewise.
10005 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10006 NO_CTORS_DTORS_SECTIONS is defined.
10007 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10008 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10009 * sysdeps/sh/init-first.c: Likewise.
10010 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10012 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10014 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10015 always use the slow path.
10017 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10019 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10020 similar rule which adds the sysdep directories to the header search in
10021 order to pick up the correct platform stackinfo.h.
10022 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10023 perform test if it is, otherwise return successfully without testing.
10024 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10025 DEFAULT_STACK_PERMS define in stackinfo.h.
10026 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10027 defined in stackinfo.h.
10028 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10029 DEFAULT_STACK_PERMS defined in stackinfo.h.
10030 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10031 * sysdeps/ia64/stackinfo.h: Likewise.
10032 * sysdeps/s390/stackinfo.h: Likewise.
10033 * sysdeps/sh/stackinfo.h: Likewise.
10034 * sysdeps/sparc/stackinfo.h: Likewise.
10035 * sysdeps/x86_64/stackinfo.h: Likewise.
10036 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10037 PF_X for powerpc64. Retain PF_X for powerpc32.
10039 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10041 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10043 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10044 GETDENTS_64BIT_ALIGNED.
10046 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10048 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10050 2010-12-10 Andreas Schwab <schwab@redhat.com>
10052 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10055 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10056 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10058 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10059 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10061 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10064 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10067 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10069 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10071 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10073 * po/it.po: Update from translation team.
10075 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10080 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10082 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10084 2010-11-24 Andreas Schwab <schwab@redhat.com>
10086 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10088 (gaih_getanswer_slice): Likewise.
10090 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10094 2010-05-31 Petr Baudis <pasky@suse.cz>
10097 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10098 silently even in the chroot mode.
10100 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10102 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10103 last patch a bit. Pretty printing
10105 2010-05-31 Petr Baudis <pasky@suse.cz>
10108 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10109 initialization of skip_initgroups_dyn.
10111 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10114 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10116 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10118 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10120 2010-11-11 Andreas Schwab <schwab@redhat.com>
10122 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10123 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10124 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10125 ($(objpfx)tst-fnmatch-mem): New rule.
10126 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10127 * posix/tst-fnmatch.c (main): Call mtrace.
10129 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10132 Support Intel processor model 6 and model 0x2c.
10134 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10139 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10142 * string/test-strncasecmp.c (check_result): New function.
10143 (do_one_test): Use it.
10144 (check1): New function.
10145 (test_main): Use it.
10146 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10147 Support strcasecmp and strncasecmp.
10149 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10152 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10155 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10157 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10161 * sysdeps/x86_64/multiarch/bzero.S: New file.
10162 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10163 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10164 * sysdeps/x86_64/multiarch/memset.S: New file.
10165 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10167 Set bit_Prefer_SSE_for_memop for Intel processors.
10168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10170 (index_Prefer_SSE_for_memop): Define.
10171 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10173 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10175 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10176 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10178 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10181 * sysdeps/i386/i686/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.
10186 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10187 (__x86_64_raw_data_cache_size_half): Likewise.
10188 (__x86_64_raw_shared_cache_size): Likewise.
10189 (__x86_64_raw_shared_cache_size_half): Likewise.
10190 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10191 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10192 and __x86_64_raw_shared_cache_size_half. Round
10193 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10194 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10195 to multiple of 256 bytes.
10197 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10201 of inacessible symlinks. Verify result of symlink before returning it.
10202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10203 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10205 2010-10-28 Erich Ritz <erichritz@gmail.com>
10207 * math/math.h (isinf): Fix typo in comment.
10209 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10211 * po/da.po: Update from translation team.
10213 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10215 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10216 is added to the list.
10218 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10219 Ulrich Drepper <drepper@gmail.com>
10221 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10222 the global list here. Move code to...
10223 (_dl_add_to_namespace_list): ...here. New function.
10224 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10225 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10226 * elf/dl-load.c (lose): Don't remove the element from the list.
10227 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10228 (_dl_map_object): Likewise.
10230 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10233 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10234 into all bytes of SSE register.
10235 Patch by Richard Li <richardpku@gmail.com>.
10237 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10240 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10243 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10245 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10246 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10248 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10253 2010-10-22 Andreas Schwab <schwab@redhat.com>
10255 * include/dlfcn.h (__RTLD_SECURE): Define.
10256 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10257 mode & __RTLD_SECURE instead.
10258 (open_path): Rename preloaded parameter to secure.
10259 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10260 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10261 * elf/dl-deps.c (openaux): Likewise.
10262 * elf/rtld.c (struct map_args): Remove is_preloaded.
10263 (map_doit): Don't use it.
10264 (dl_main): Likewise.
10265 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10266 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10268 2010-09-09 Andreas Schwab <schwab@redhat.com>
10270 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10271 (sysd-rules-targets): Remove duplicates.
10272 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10273 rtld-%.$o dependency.
10275 2010-10-18 Andreas Schwab <schwab@redhat.com>
10277 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10278 _dl_map_object do it.
10280 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10282 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10283 fast fma builtins, define the macros in the C99 standard.
10284 (FP_FAST_FMAF): Likewise.
10285 (FP_FAST_FMAL): Likewise.
10286 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10288 * bits/mathdef.h: Update copyright year.
10289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10291 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10293 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10294 builtins, define the macros in the C99 standard.
10295 (FP_FAST_FMAF): Likewise.
10296 (FP_FAST_FMAL): Likewise.
10297 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10299 (FP_FAST_FMAF): Likewise.
10301 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10304 * math/libm-test.inc (fma_test): Some new testcases.
10305 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10307 y and infinite z. Do multiplication by C already in long double.
10308 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10310 y and infinite z. Do bitwise or of inexact bit into u.d.
10311 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10312 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10313 * sysdeps/i386/fpu/s_fma.S: Removed.
10314 * sysdeps/i386/fpu/s_fmal.S: Removed.
10316 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10319 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10321 computation is not scheduled after fetestexcept. Fix value
10322 of minimum denormal long double.
10324 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10327 * math/libm-test.inc (fma_test): Add some more tests.
10328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10331 2010-10-15 Andreas Schwab <schwab@redhat.com>
10333 * scripts/data/localplt-s390-linux-gnu.data: New file.
10334 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10336 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10339 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10340 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10342 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10344 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10346 if one of x and y is very large and the other is subnormal.
10347 * sysdeps/s390/fpu/s_fmaf.c: New file.
10348 * sysdeps/s390/fpu/s_fma.c: New file.
10349 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10350 * sysdeps/powerpc/fpu/s_fma.S: New file.
10351 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10352 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10353 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10355 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10358 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10361 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10362 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10363 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10364 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10365 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10368 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10371 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10372 * posix/bug-regex31.input: Add test case.
10374 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10376 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10377 * posix/bug-regex31.input: New file.
10380 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10381 (parse_sub_exp): Fix last change, use postorder.
10383 * posix/bug-regex31.c: New file.
10384 * posix/Makefile: Add rules to build and run bug-regex31.
10386 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10389 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10392 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10393 to have entries in sys_siglist.
10396 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10399 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10402 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10403 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10404 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10405 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10406 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10407 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10408 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10409 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10410 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10411 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10412 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10413 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10414 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10415 * math/ftestexcept.c (fetestexcept): Likewise.
10416 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10417 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10418 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10419 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10420 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10421 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10424 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10427 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10430 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10432 * string/bug-strstr1.c: New file.
10433 * string/Makefile: Add rules to build and run bug-strstr1.
10435 2010-10-05 Eric Blake <eblake@redhat.com>
10438 * string/str-two-way.h (two_way_long_needle): Always clear memory
10439 when skipping input due to the shift table.
10441 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10444 * malloc/mcheck.c: Handle large requests.
10447 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10448 for strncmp and strncasecmp.
10449 * string/stratcliff.c: Add tests for strcmp and strncmp.
10450 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10452 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10454 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10457 2010-09-30 Andreas Jaeger <aj@suse.de>
10459 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10460 (CGROUP_SUPER_MAGIC): Define.
10461 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10462 Handle btrfs and cgroup file systems.
10463 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10466 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10468 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10469 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10471 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10474 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10475 trying to locate the ELF header.
10477 2010-09-27 Andreas Schwab <schwab@redhat.com>
10480 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10481 Mask out sign-bit copies when constructing f_fsid.
10483 2010-09-24 Petr Baudis <pasky@suse.cz>
10485 * debug/stack_chk_fail_local.c: Add missing licence exception.
10486 * debug/warning-nop.c: Likewise.
10488 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10490 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10491 implementing getdents64 using getdents syscall, set d_type if
10492 __ASSUME_GETDENTS32_D_TYPE.
10494 2010-09-16 Andreas Schwab <schwab@redhat.com>
10496 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10497 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10499 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10502 * posix/unistd.h: Undo change of feature selection for ftruncate from
10505 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10507 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10510 2010-09-20 Andreas Schwab <schwab@redhat.com>
10512 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10516 2010-09-14 Andreas Schwab <schwab@redhat.com>
10518 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10519 variables after CHECK_SP call.
10520 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10522 2010-09-13 Andreas Schwab <schwab@redhat.com>
10523 Ulrich Drepper <drepper@redhat.com>
10525 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10526 re-relocationg ld.so.
10527 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10528 _dl_init_paths call.
10529 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10532 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10534 * resolv/res_init.c (__res_vinit): Count the default server we added.
10536 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10537 Ulrich Drepper <drepper@redhat.com>
10540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10541 (____longjmp_chk): Use %ebx for saving value across system call.
10544 2010-09-06 Andreas Schwab <schwab@redhat.com>
10546 * manual/Makefile: Don't mix pattern rules with normal rules.
10548 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10550 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10552 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10553 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10554 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10555 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10559 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10562 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10563 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10565 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10567 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10568 * sysdeps/x86_64/addmul_1.S: Likewise.
10569 * sysdeps/x86_64/lshift.S: Likewise.
10570 * sysdeps/x86_64/mul_1.S: Likewise.
10571 * sysdeps/x86_64/rshift.S: Likewise.
10572 * sysdeps/x86_64/sub_n.S: Likewise.
10573 * sysdeps/x86_64/submul_1.S: Likewise.
10575 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10577 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10578 Define __sched_param instead of SCHED_* and sched_param when
10579 <bits/sched.h> is included with __need_schedparam defined.
10580 * bits/sched.h [__need_schedparam]
10581 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10582 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10583 (__defined_schedparam): Define to 1.
10584 (__sched_param): New structure, identical to sched_param.
10585 (__need_schedparam): Undefine.
10587 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10589 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10590 (epoll_create1): Declare.
10592 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10594 2010-08-31 Andreas Schwab <schwab@redhat.com>
10597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10598 shifting retval into place.
10600 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10602 * nis/rpcsvc/nis.h: Update copyright notice.
10603 * nis/rpcsvc/nis.x: Likewise.
10604 * nis/rpcsvc/nis_callback.h: Likewise.
10605 * nis/rpcsvc/nis_callback.x: Likewise.
10606 * nis/rpcsvc/nis_object.x: Likewise.
10607 * nis/rpcsvc/nis_tags.h: Likewise.
10608 * nis/rpcsvc/yp.h: Likewise.
10609 * nis/rpcsvc/yp.x: Likewise.
10610 * nis/rpcsvc/ypupd.h: Likewise.
10611 * nis/yp_xdr.c: Likewise.
10612 * nis/ypupdate_xdr.c: Likewise.
10614 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10615 mainly the body of pmap_getport. Add parameters to specify timeouts.
10616 (pmap_getport): Use __libc_rpc_getport.
10617 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10618 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10619 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10621 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10626 2010-08-27 Roland McGrath <roland@redhat.com>
10628 * sysdeps/i386/i686/multiarch/Makefile
10629 (CFLAGS-varshift.c): New variable.
10631 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10633 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10634 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10636 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10638 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10640 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10642 * sysdeps/x86_64/strlen.S: Unroll the loop.
10643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10644 strlen-sse2 strlen-sse2-bsf.
10645 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10646 __strlen_no_bsf if bit_Slow_BSF is set.
10647 (__strlen_sse42): Removed.
10648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10649 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10651 2010-08-25 Roland McGrath <roland@redhat.com>
10653 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10654 * sysdeps/x86_64/multiarch/varshift.c: New file.
10655 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10656 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10657 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10658 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10660 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10663 strlen-sse2 strlen-sse2-bsf.
10664 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10665 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10666 (__strlen_sse2): Removed.
10667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10670 bit_Slow_BSF for Atom.
10671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10672 (index_Slow_BSF): Define.
10673 (HAS_SLOW_BSF): Define.
10675 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10678 * resolv/res_init.c (__res_vinit): When no server address at all
10679 is given default to loopback.
10681 2010-08-24 Roland McGrath <roland@redhat.com>
10683 * configure.in: Remove config-name.h generation.
10684 * configure: Regenerated.
10685 * config-name.in: File removed.
10686 * scripts/config-uname.sh: New file.
10687 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10688 ($(objdir)config-name.h): New target.
10690 * sunrpc/rpc_parse.h: Avoid nested comment.
10692 2010-08-24 Richard Henderson <rth@redhat.com>
10693 Ulrich Drepper <drepper@redhat.com>
10694 H.J. Lu <hongjiu.lu@intel.com>
10696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10698 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10699 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10700 _mm_alignr_epi8 with _mm_loadu_si128.
10701 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10702 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10703 (__m128i_shift_right): Removed.
10704 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10705 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10706 * sysdeps/x86_64/multiarch/varshift.h: New file.
10707 * sysdeps/x86_64/multiarch/varshift.S: New file.
10709 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10711 * configure.in: Move assembler checks to before sysdep dir checking.
10713 2010-08-20 Petr Baudis <pasky@suse.cz>
10715 * LICENSES: Sync the sunrpc license.
10717 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10719 * sunrpc/auth_des.c: Update copyright notice once again.
10720 * sunrpc/auth_none.c: Likewise.
10721 * sunrpc/auth_unix.c: Likewise.
10722 * sunrpc/authdes_prot.c: Likewise.
10723 * sunrpc/authuxprot.c: Likewise.
10724 * sunrpc/bindrsvprt.c: Likewise.
10725 * sunrpc/clnt_gen.c: Likewise.
10726 * sunrpc/clnt_perr.c: Likewise.
10727 * sunrpc/clnt_raw.c: Likewise.
10728 * sunrpc/clnt_simp.c: Likewise.
10729 * sunrpc/clnt_tcp.c: Likewise.
10730 * sunrpc/clnt_udp.c: Likewise.
10731 * sunrpc/clnt_unix.c: Likewise.
10732 * sunrpc/des_crypt.c: Likewise.
10733 * sunrpc/des_soft.c: Likewise.
10734 * sunrpc/get_myaddr.c: Likewise.
10735 * sunrpc/getrpcport.c: Likewise.
10736 * sunrpc/key_call.c: Likewise.
10737 * sunrpc/key_prot.c: Likewise.
10738 * sunrpc/openchild.c: Likewise.
10739 * sunrpc/pm_getmaps.c: Likewise.
10740 * sunrpc/pm_getport.c: Likewise.
10741 * sunrpc/pmap_clnt.c: Likewise.
10742 * sunrpc/pmap_prot.c: Likewise.
10743 * sunrpc/pmap_prot2.c: Likewise.
10744 * sunrpc/pmap_rmt.c: Likewise.
10745 * sunrpc/rpc/auth.h: Likewise.
10746 * sunrpc/rpc/auth_unix.h: Likewise.
10747 * sunrpc/rpc/clnt.h: Likewise.
10748 * sunrpc/rpc/des_crypt.h: Likewise.
10749 * sunrpc/rpc/key_prot.h: Likewise.
10750 * sunrpc/rpc/netdb.h: Likewise.
10751 * sunrpc/rpc/pmap_clnt.h: Likewise.
10752 * sunrpc/rpc/pmap_prot.h: Likewise.
10753 * sunrpc/rpc/pmap_rmt.h: Likewise.
10754 * sunrpc/rpc/rpc.h: Likewise.
10755 * sunrpc/rpc/rpc_des.h: Likewise.
10756 * sunrpc/rpc/rpc_msg.h: Likewise.
10757 * sunrpc/rpc/svc.h: Likewise.
10758 * sunrpc/rpc/svc_auth.h: Likewise.
10759 * sunrpc/rpc/types.h: Likewise.
10760 * sunrpc/rpc/xdr.h: Likewise.
10761 * sunrpc/rpc_clntout.c: Likewise.
10762 * sunrpc/rpc_cmsg.c: Likewise.
10763 * sunrpc/rpc_common.c: Likewise.
10764 * sunrpc/rpc_cout.c: Likewise.
10765 * sunrpc/rpc_dtable.c: Likewise.
10766 * sunrpc/rpc_hout.c: Likewise.
10767 * sunrpc/rpc_main.c: Likewise.
10768 * sunrpc/rpc_parse.c: Likewise.
10769 * sunrpc/rpc_parse.h: Likewise.
10770 * sunrpc/rpc_prot.c: Likewise.
10771 * sunrpc/rpc_sample.c: Likewise.
10772 * sunrpc/rpc_scan.c: Likewise.
10773 * sunrpc/rpc_scan.h: Likewise.
10774 * sunrpc/rpc_svcout.c: Likewise.
10775 * sunrpc/rpc_tblout.c: Likewise.
10776 * sunrpc/rpc_util.c: Likewise.
10777 * sunrpc/rpc_util.h: Likewise.
10778 * sunrpc/rpcinfo.c: Likewise.
10779 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10780 * sunrpc/rpcsvc/key_prot.x: Likewise.
10781 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10782 * sunrpc/rpcsvc/mount.x: Likewise.
10783 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10784 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10785 * sunrpc/rpcsvc/rex.x: Likewise.
10786 * sunrpc/rpcsvc/rstat.x: Likewise.
10787 * sunrpc/rpcsvc/rusers.x: Likewise.
10788 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10789 * sunrpc/rpcsvc/spray.x: Likewise.
10790 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10791 * sunrpc/rtime.c: Likewise.
10792 * sunrpc/svc.c: Likewise.
10793 * sunrpc/svc_auth.c: Likewise.
10794 * sunrpc/svc_authux.c: Likewise.
10795 * sunrpc/svc_raw.c: Likewise.
10796 * sunrpc/svc_run.c: Likewise.
10797 * sunrpc/svc_simple.c: Likewise.
10798 * sunrpc/svc_tcp.c: Likewise.
10799 * sunrpc/svc_udp.c: Likewise.
10800 * sunrpc/svc_unix.c: Likewise.
10801 * sunrpc/svcauth_des.c: Likewise.
10802 * sunrpc/xcrypt.c: Likewise.
10803 * sunrpc/xdr.c: Likewise.
10804 * sunrpc/xdr_array.c: Likewise.
10805 * sunrpc/xdr_float.c: Likewise.
10806 * sunrpc/xdr_mem.c: Likewise.
10807 * sunrpc/xdr_rec.c: Likewise.
10808 * sunrpc/xdr_ref.c: Likewise.
10809 * sunrpc/xdr_sizeof.c: Likewise.
10810 * sunrpc/xdr_stdio.c: Likewise.
10812 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10815 2010-08-19 Andreas Schwab <schwab@redhat.com>
10817 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10819 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10821 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10822 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10823 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10824 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10826 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10827 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10828 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10830 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10831 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10832 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10833 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10834 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10836 2010-07-26 Anton Blanchard <anton@samba.org>
10838 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10839 * malloc/arena.c (heap_trim): Likewise.
10841 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10843 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10846 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10848 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10850 * sysdeps/i386/elf/Makefile: New file.
10852 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10854 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10855 from fanotify_init.
10856 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10859 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10861 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10863 * sysdeps/multiarch/strcmp.S: Likewise.
10865 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10868 strncase_l-nonascii.
10869 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10870 Add strncase_l-ssse3.
10871 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10872 * sysdeps/x86_64/strcmp.S: Likewise.
10873 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10874 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10875 * sysdeps/x86_64/strncase.S: New file.
10876 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10877 * sysdeps/x86_64/strncase_l.S: New file.
10878 * string/Makefile (strop-tests): Add strncasecmp.
10879 * string/test-strncasecmp.c: New file.
10881 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10884 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10887 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10889 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10891 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10893 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10897 2010-05-01 Alan Modra <amodra@gmail.com>
10899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10900 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10901 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10902 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10903 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10904 tidying. Don't tail-call __sigjmp_save for static lib.
10905 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10907 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10908 (CALL_MCOUNT): Add eh info, and nop after bl.
10909 (TAIL_CALL_SYSCALL_ERROR): New macro.
10910 (PSEUDO_RET): Use it.
10911 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10912 Correct save location of integer regs and cr.
10913 (_dl_profile_resolve): Correct cr save location. Delete nops
10914 after bl when SHARED. Reduce cfi size a little by better
10915 placement of cfi directives.
10916 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10917 make a stack frame. Instead use parm save area as a temp.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10919 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10921 Don't make a stack frame for parent, use parm save area.
10922 Increase child stack frame to 112 bytes. Don't save unused reg,
10923 and adjust reg usage. Set up cfi on error recovery and
10924 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10926 (__makecontext): Add dummy nop after jump to exit.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10928 Use correct parm save area and cr save, reduce stack frame.
10929 Correct cfi for possible PSEUDO_RET frame setup.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10931 Branch to local label emitted by PSEUDO_RET rather than
10934 2010-08-12 Andreas Schwab <schwab@redhat.com>
10937 * locale/programs/locale.c (print_assignment): New function.
10938 (show_locale_vars): Use it.
10940 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10942 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10944 (struct statfs64): Likewise.
10945 (_STATFS_F_FLAGS): Define.
10946 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10948 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10949 (ST_VALID): Define locally.
10950 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10951 __statvfs_getflags, use the provided value.
10952 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10953 __ASSUME_STATFS_F_FLAGS.
10955 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10958 Add sys/fanotify.h.
10959 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10960 fanotify_mask for GLIBC_2.13.
10961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10962 fanotify_init and fanotify_mark.
10963 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10964 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10968 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10969 prlimit64 for GLIBC_2.13.
10970 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10975 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10976 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10980 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10983 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10984 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10986 * nss/Makefile: Add rules to build and run tst-nss-test1.
10987 * shlib-versions: Add entry for libnss_test1.
10988 * nss/nss_test1.c: New file.
10989 * nss/tst-nss-test1.c: New file.
10991 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10992 (__nss_configure_lookup): Set appropriate entry in
10993 __nss_configure_lookup to true.
10994 * nss/nsswitch.h: Define enum with indeces of databases in
10995 databases and __nss_database_custom arrays. Declare
10996 __nss_database_custom.
10997 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10998 to avoid using nscd when custom rules are installed.
10999 * nss/getXXbyYY_r.c: Likewise.
11000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11002 * nss/nss_files/files-parse.c: Whitespace fixes.
11004 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11007 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11008 * posix/fnmatch_loop.c: Likewise.
11010 2010-07-17 Andi Kleen <ak@linux.intel.com>
11012 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11013 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11014 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11015 * Versions.def [GLIBC_2.13]: Add.
11017 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11019 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11020 Also fail if tpwd after pwuid call is NULL.
11022 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11024 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11025 when converting to ms.
11027 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11029 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11030 EOPNOTSUPP errors with ENOTTY.
11031 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11032 EOPNOTSUPP errors with ENOTTY.
11034 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11036 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11037 Add strcasecmp_l-ssse3.
11038 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11040 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11041 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11042 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11044 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11046 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11048 * string/Makefile (strop-tests): Add strcasecmp.
11049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11050 strcasecmp_l-nonascii.
11051 (gen-as-const-headers): Add locale-defines.sym.
11052 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11053 * sysdeps/x86_64/strcasecmp.S: New file.
11054 * sysdeps/x86_64/strcasecmp_l.S: New file.
11055 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11056 * sysdeps/x86_64/locale-defines.sym: New file.
11057 * string/test-strcasecmp.c: New file.
11059 * string/test-strcasestr.c: Test both ends of the range of characters.
11060 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11062 2010-07-29 Roland McGrath <roland@redhat.com>
11065 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11067 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11069 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11072 2010-07-27 Andreas Schwab <schwab@redhat.com>
11074 * manual/memory.texi (Malloc Tunable Parameters): Document
11077 2010-07-26 Roland McGrath <roland@redhat.com>
11080 * configure.in (-fgnu89-inline check): Set and substitute
11081 gnu89_inline, not libc_cv_gnu89_inline.
11082 * configure: Regenerated.
11083 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11085 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11087 * string/test-strnlen.c: New file.
11088 * string/Makefile (strop-tests): Add strnlen.
11089 * string/tester.c (test_strnlen): Add a few more test cases.
11090 * string/tst-strlen.c: Better error reporting.
11092 * sysdeps/x86_64/strnlen.S: New file.
11094 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11096 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11097 lower-latency instructions.
11099 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11101 * string/test-strcasestr.c: New file.
11102 * string/test-strstr.c: New file.
11103 * string/Makefile (strop-tests): Add strstr and strcasestr.
11104 * string/str-two-way.h: Don't undefine MAX.
11105 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11107 2010-07-21 Andreas Schwab <schwab@redhat.com>
11109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11110 strcasestr-nonascii.
11111 (CFLAGS-strcasestr-nonascii.c): Define.
11112 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11114 Remove unused attribute.
11116 2010-07-20 Roland McGrath <roland@redhat.com>
11118 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11119 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11120 ld.so.cache was broken. With it, there is no way to disable dsocaps
11121 like LD_HWCAP_MASK can disable hwcaps.
11123 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11125 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11127 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11129 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11130 call in strcasestr.
11131 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11132 __strcasestr_sse42_nonascii.
11133 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11134 strcasestr-nonascii.c.
11135 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11137 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11139 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11140 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11141 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11142 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11144 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11146 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11149 2010-07-06 Andreas Schwab <schwab@redhat.com>
11152 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11155 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11158 _PC_PIPE_BUF using F_GETPIPE_SZ.
11160 2010-07-05 Roland McGrath <roland@redhat.com>
11162 * manual/arith.texi (Rounding Functions): Fix rint description
11163 implicit in round description.
11165 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11167 * elf/Makefile: Fix linking for a few tests to make recent linker
11170 2010-06-30 Andreas Schwab <schwab@redhat.com>
11172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11173 $(common-objpfx)libc_nonshared.a.
11175 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11177 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11178 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11179 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11180 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11181 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11182 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11183 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11184 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11199 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11200 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11201 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11202 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11203 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11204 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11205 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11206 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11207 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11208 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11209 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11210 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11226 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11228 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11229 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11230 * string/memmove.c (memmove): Renamed to ...
11231 (MEMMOVE): ...this. Default to memmove.
11232 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11233 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11236 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11237 mempcpy-ssse3-back memmove-ssse3-back.
11238 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11241 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11242 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11243 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11244 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11245 * sysdeps/x86_64/multiarch/memmove.c: New file.
11246 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11247 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11248 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11249 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11250 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11253 (index_Fast_Copy_Backward): Define.
11254 (HAS_ARCH_FEATURE): Define.
11255 (HAS_FAST_REP_STRING): Define.
11256 (HAS_FAST_COPY_BACKWARD): Define.
11258 2010-06-21 Andreas Schwab <schwab@redhat.com>
11260 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11261 Restore proper fallback handling.
11263 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11266 * posix/group_member.c (__group_member): Correct checking loop.
11268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11269 OOM in getpwuid_r correctly. Return error number when the caller
11270 should return, otherwise -1.
11271 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11272 call returning > 0 value.
11273 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11275 2010-06-07 Andreas Schwab <schwab@redhat.com>
11277 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11278 libc_nonshared.a from targets in modules-names.
11280 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11282 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11285 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11287 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11288 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11292 2010-06-02 Andreas Schwab <schwab@redhat.com>
11294 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11296 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11307 2010-06-14 Roland McGrath <roland@redhat.com>
11309 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11311 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11313 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11314 __REDIRECT followed by __THROW.
11315 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11316 * posix/getopt.h (getopt): Likewise.
11318 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11320 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11321 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11322 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11324 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11325 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11327 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11331 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11335 Properly check family and model.
11337 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11339 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11341 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11343 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11345 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11347 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11350 2010-05-19 Andreas Schwab <schwab@redhat.com>
11352 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11355 2010-05-21 Andreas Schwab <schwab@redhat.com>
11357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11358 and internal_recvmmsg.
11359 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11360 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11361 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11362 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11364 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11365 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11366 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11368 2010-05-20 Andreas Schwab <schwab@redhat.com>
11370 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11372 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11374 POWER7 optimizations.
11375 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11376 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11378 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11380 * version.h: Update for 2.13 development version.
11382 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11384 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11385 exceptions. Return 0.
11387 2010-05-07 Roland McGrath <roland@redhat.com>
11389 * elf/ldconfig.c (main): Add a const.
11391 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11393 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11394 (args_options): Add no-idn option.
11395 (ahosts_keys_int): Add idn_flags to ai_flags.
11396 (parse_option): Handle 'i' option to clear idn_flags.
11398 * malloc/malloc.c (_int_free): Possible race in the most recently
11399 added check. Only act on the data if no current modification
11402 See ChangeLog.17 for earlier changes.